Bug 701 - Update of package speech_tools blocked by package libspeech_tools1-1
Summary: Update of package speech_tools blocked by package libspeech_tools1-1
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Anssi Hannula
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-08 04:56 CEST by Dave Hodgins
Modified: 2011-10-05 10:01 CEST (History)
6 users (show)

See Also:
Source RPM: perl-URPM
CVE:
Status comment:


Attachments
Output of urpmi --auto-select --debug (20.25 KB, text/plain)
2011-05-06 21:51 CEST, Dave Hodgins
Details
Output of urpmi --auto-update --debug (15.41 KB, text/plain)
2011-05-10 05:27 CEST, Dave Hodgins
Details
urpmi without --keep (15.69 KB, text/plain)
2011-05-12 01:05 CEST, Dave Hodgins
Details

Description Dave Hodgins 2011-04-08 04:56:41 CEST
From urpmi --auto-select ...

speech_tools-2.1-2.mga1.i586 (in order to keep libspeech_tools1-1.2.96-12mdv2010.1.i586)
Comment 1 Ahmad Samir 2011-05-06 16:03:11 CEST
If this is still valid, could you post the output of:
urpme --test libspeech_tools1

Keywords: (none) => NEEDINFO

Ahmad Samir 2011-05-06 16:03:20 CEST

Blocks: (none) => 56

Comment 2 Dave Hodgins 2011-05-06 18:54:17 CEST
urpme --test libspeech_tools1
To satisfy dependencies, the following 4 packages will be removed (7.7MB):
  festival-1.96-12mdv2010.1.i586
   (due to missing libestbase.so.1.2.96.1,
    due to missing libestools.so.1.2.96.1,
    due to missing libeststring.so.1.2)
  gnome-speech-driver-festival-0.4.25-4.mga1.i586
   (due to missing festival)
  libspeech_tools1-1.2.96-12mdv2010.1.i586
   (due to unsatisfied speech_tools == 1.2.96-12mdv2010.1)
  speech_tools-1.2.96-12mdv2010.1.i586
   (due to missing libestbase.so.1.2.96.1,
    due to missing libestools.so.1.2.96.1,
    due to missing libeststring.so.1.2)
Remove 4 packages? (y/N) n
Comment 3 Ahmad Samir 2011-05-06 21:04:37 CEST
Why didn't festival get updated to festival-2.1-2.mga1 ?

Attach the urpmi-log.txt from executing:
urpmi --auto-update --debug 2>&1 | tee /tmp/urpmi-log.txt
Comment 4 Dave Hodgins 2011-05-06 21:51:15 CEST
Created attachment 356 [details]
Output of urpmi --auto-select --debug
Comment 5 Ahmad Samir 2011-05-08 02:53:22 CEST
Please test next festival and speech_tools packages, I think/hope it'll fix this issue...
Comment 6 Dave Hodgins 2011-05-10 05:27:07 CEST
Created attachment 377 [details]
Output of urpmi --auto-update --debug

Still doesn't force removal of libspeech_tools1-1.2.96-12mdv2010.1.i586
Comment 7 Anssi Hannula 2011-05-11 22:51:29 CEST
The log indicates you are using --keep option or have "keep" in /etc/urpmi/urpmi.cfg. This prevents the removal of libspeech_tools1.

There is still a bug in urpmi, though, as it shouldn't try to upgrade festival when "--keep" prevents removal of libspeech_tools1, which conflicts with festival upgrade.

Please run the failing urpmi command "--debug bug701" option, and then provide the created ./bug701 subdirectory in a tarball or zip, to ensure that we can reproduce this "--keep" bug in the future. This is also needed if you are not in fact using --keep and this is something else.

CC: (none) => anssi.hannula

Comment 8 Dave Hodgins 2011-05-11 23:38:31 CEST
Turns out I previously had --keep in the command, and in urpmi.cfg.

In response to a different bug, I had removed if from the command, but had
forgotten to remove it from urpmi.cfg.

# urpmi --auto-select --debug bug701
Error: can't use --auto-select along with package list.

Checking the man page, the debug option doesn't take any parameters.
What is it specifically you want me to run, and should I run it with the --keep
parameter?
Comment 9 Anssi Hannula 2011-05-11 23:41:00 CEST
Sorry, that's a typo in my part.

I meant "--bug bug701", and yes, I'd like it to be run with "--keep", since the urpmi bug is related to --keep.
Comment 10 Dave Hodgins 2011-05-12 00:21:37 CEST
The zip is too large for bugzilla, so I've uploaded it to
http://www.ody.ca/~dwhodgins/bug701.zip
(Please let me know when you have a copy, so I can delete it)

The actual command I ran was
urpmi --auto-select --resume --noclean --allow-force --allow-nodeps --keep --debug --bug bug701 2>&1 | tee /tmp/urpmi-log.txt

I moved the urpmi-log.txt into the bug701 directory prior to creating the zip.

The urpmi command displayed a mess on the screen, as shown in the log.txt,
and appeared to hang.

Using strace on a seperate konsole showed it was waiting on a read from stdin,
so I switched back to the konsole it was running in, pressed y and enter.

If it did display the message asking whether or not to continure, it was not
readable.  Should I now test without the --keep?
Comment 11 Anssi Hannula 2011-05-12 00:40:13 CEST
I have the zip (and I'll also keep it in http://onse.fi/files/bug701.zip).

Yes, no more information is needed so you can now test normally without --keep.

Thanks for your help. (note that --keep bugs are currently quite low priority, but we'll get to this bug eventually)
Comment 12 Dave Hodgins 2011-05-12 01:05:18 CEST
Created attachment 391 [details]
urpmi without --keep

Even without the --keep (removed from both the command and urpmi.cfg),
it's still failing.
Comment 13 Ahmad Samir 2011-05-12 02:57:01 CEST
Thanks to Anssi as usual.


IINM, you'll have to resolve the issue manually, you used --keep which installed newer packages, e.g. new festival package got installed and in the same time the old libspeech_tools1-1.2.96-12mdv2010.1 was kept, which wouldn't/shouldn't have happened as new festival requires new libeststring1.2 which conflicts with the old libspeech_tools1-1.2.96-12mdv2010.1.
Comment 14 Anssi Hannula 2011-05-12 02:59:54 CEST
Nope, the new festival was never installed.

Looks like something strange is happening here, I'll have to take a closer look later (I expect it to not be a trivial bug).

In the meantime, feel free remove libspeech_tools1 manually.
Comment 15 Dave Hodgins 2011-05-12 03:18:43 CEST
I've removed it manually, as well as other packages that were causing problems, that
were probably due to the previous use of the keep option.

Should the bug be closed, or left open for the keep problem?
Comment 16 Anssi Hannula 2011-05-12 03:29:48 CEST
Let's keep the bug open. And it is not just a --keep problem anymore, as per comment #12.

Keywords: NEEDINFO => (none)
Assignee: bugsquad => anssi.hannula
Source RPM: festival-2.1-2.mga1.src.rpm => perl-URPM

Comment 17 Anne Nicolas 2011-05-14 10:19:30 CEST
any news on that bug? shall we keep it as release_blocker  ?

CC: (none) => ennael1

Comment 18 Dave Hodgins 2011-05-15 21:10:41 CEST
I think that should be up to Anssi, but in my opinion, this bug should not be
considered a release blocker, now.
Comment 19 Anne Nicolas 2011-05-20 14:55:35 CEST
Anssi any news on this one? If nothing new before the end of this week we will decrease priority
Comment 20 Anssi Hannula 2011-05-20 17:25:50 CEST
As somewhat expected, I didn't have the time during the week to look at this (due to exams every day), but I'll look at this today or tomorrow.
Comment 21 Anssi Hannula 2011-05-21 16:05:29 CEST
OK, this doesn't seem to be a "regular" dependency solver algorithm issue, but somehow urpmi forgets the removals from the transaction.

I'll continue to debug this.
Comment 22 Anssi Hannula 2011-05-21 19:06:42 CEST
It is caused by the "allow-force: 1" you have in urpmi.conf.

When it is specified, urpmi never tries to remove packages due to conflicts (since it could be that the user specified --allow-force to avoid some invalid removal of lots of packages; mdv soft commit 13557).

The fix for this is non-trivial as sometimes when --allow-force is used we do not indeed want to remove any conflicting packages. So some semantic changes to the options are needed if we want to allow the "casual" use of allow-force.

This is not a release blocker, as this doesn't happen without "allow-force: 1" and changing the semantics of urpmi behavior now is a bit too last minute for mga1.

Removing the blocking of bug #56, this is not strictly related to mdv upgrade.

I'll get back to this bugreport at a later time (i.e. at least not before MGA 1).
In the meantime, ideas on how to handle this situation are welcome.

Status: NEW => ASSIGNED
Blocks: 56 => (none)

Ahmad Samir 2011-05-21 19:18:44 CEST

CC: (none) => mageia, pterjan, thierry.vignaud

Comment 23 Dave Hodgins 2011-05-21 22:29:58 CEST
Probably the best way to handle this, would be an errata entry explaining
--keep and --allow-force (or the equivalent urpmi.cfg entries) should not
be used, since they prevent package removal causing conflicts later.
Comment 24 D Morgan 2011-10-03 16:27:04 CEST
any news on this bugreport ?

CC: (none) => dmorganec

Comment 25 Dave Hodgins 2011-10-05 10:01:11 CEST
I think comment 22 indicates this can be closed.  The problem only happens
when people use --allow-force and --allow-nodeps, which I had done while
using Mandriva, to get around bug 2317 type problems, and dependency
problems with backports.

As Mageia is working around bug 2317 by linking needed dependencies, and
will be doing basic qa on backports, there shouldn't be any reason for
people to use --allow-force or --allow-nodeps.

Anssi, if you think the bug should be reopened, please do so.  In the meantime,
I'll go ahead an close the bug as invalid.

Status: ASSIGNED => RESOLVED
Resolution: (none) => INVALID


Note You need to log in before you can comment on or make changes to this bug.