python2.5-minimal breaks update from Edgy to Feisty

Bug #88512 reported by Mikkel Høgh
2
Affects Status Importance Assigned to Milestone
python2.5 (Ubuntu)
Fix Released
High
Matthias Klose
update-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

Today, I decided to test the update procedure for upgrading to Feisty (which is still alpha, I know). I removed all packages not in main and updated my installation and ran "sudo update-manager -c --dist-upgrade"

It worked fairly well until it came up with the "Could not install 'python2.5-minimal'" and "subprocess post-installation script returned error exit status 1"

I'll attach the files from /var/log/dist-upgrade/ as per the instructions in the error dialogue.

Revision history for this message
Mikkel Høgh (mikl) wrote :

apt.log

Revision history for this message
Mikkel Høgh (mikl) wrote :

term.log

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Can you please also add the file /var/log/dist-upgrade/main.log?

Thanks,
 Michael

Changed in python2.5:
importance: Undecided → High
status: Unconfirmed → Confirmed
Changed in update-manager:
status: Unconfirmed → Needs Info
Revision history for this message
Mikkel Høgh (mikl) wrote :

Well, due to the botched upgrade, the system in question is rather broken now - Most of my programs work but window management is broken.

My problem yesterday did not produce a main.log file. I seem to have run into a different issue today, but that might just be because the system is thoroughly by now. In any case, I will attach the main.log produced by it.

As the new bug prevents me from reproducing the old one, I have tried to do it manually ("sudo aptitude install python2.5-minimal"), and this gets me the attached error-message.

After reading the error message, I tried removing python-docutils and that lets me install python2.5-minimal without problems.

I need to post this now, since I cannot retry the upgrade process without closing Firefox. I will also post the main.log from the other issue, though I suspect that might have been fixed by way of fixing the other problem.
In any case, I'll post the main.log in my next comment.

Revision history for this message
Mikkel Høgh (mikl) wrote :

main.log from the other incident, probably caused by the incomplete upgrade.

Revision history for this message
Mikkel Høgh (mikl) wrote :

After the removal of python-docutils, I was able to complete the upgrade. Now I just hope it boots...

Revision history for this message
Matthias Klose (doko) wrote :

currently this is addressed in 2.5-5ubuntu8 by ignoring errors when byte-compiling packages when a new runtime is installed (rtinstall), there's no ideal solution:

 - moving rtinstall into the python2.5 package leaves packages
   unavailable when just python2.5-minimal is installed. site.py (config
   file) is not available, if python2.5-minimal is not yet configured.

- ignore the errors and re-run rtinstall in apt's Dpkg::Post-Invoke
  hook.

- move the codecs and encodings from the python2.5 package into
  python2.5-minimal. Increases the compressed size of -minimal
  by 580kB, omitting the multibyte codecs increases the size by 200k.

Revision history for this message
Michael Vogt (mvo) wrote :

@Mikkel: I hope your system recovered?

Thanks for looking into this issue Matthias,

I like solution (3) best because it seems to be a small price to pay for more correctness.

Solution (2) would be good if we had dpkg triggers, but currently we have no way to register something in Dpkg::Post-Invoke

Thanks,
 Michael

Revision history for this message
Matthias Klose (doko) wrote :

fixed in python2.5_2.5-5ubuntu9 and python2.4_2.4.4-2ubuntu4

Changed in python2.5:
assignee: nobody → doko
status: Confirmed → Fix Released
Revision history for this message
Mikkel Høgh (mikl) wrote : Re: [Bug 88512] Re: python2.5-minimal breaks update from Edgy to Feisty

Yes, my system did indeed recover, and so far I am very impressed by
Feisty so far. I run it on my spare-time laptop, and I've only found a
few minor annoyances so far. Most of the system is rock solid...

On 07/03/07, Michael Vogt <email address hidden> wrote:
> @Mikkel: I hope your system recovered?
>
> Thanks for looking into this issue Matthias,
>
> I like solution (3) best because it seems to be a small price to pay for
> more correctness.
>
> Solution (2) would be good if we had dpkg triggers, but currently we
> have no way to register something in Dpkg::Post-Invoke
>
> Thanks,
> Michael
>
> --
> python2.5-minimal breaks update from Edgy to Feisty
> https://launchpad.net/bugs/88512
>

--
Kind regards,
Mikkel Høgh

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for update-manager (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.