hoary -> breezy upgrade problem

Bug #21071 reported by Michael Vogt
6
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Invalid
Medium
Michael Vogt

Bug Description

When doing a stock hoary install and then doing a apt-get dist-upgrade to breezy
this results in removing ubuntu-desktop:

$ sudo apt-get dist-upgrade
The following packages will be REMOVED:
  [..]
  openoffice.org-thesaurus-en-us postfix-tls ubuntu-desktop xlibmesa-dri
  [..]

This is because the old "ubuntu-desktop" package depends on "readahead".

The new "ubuntu-desktop" package depends on "readahead-list". This package
"Conflicts/Replaces/Provides" "readahead".

Apt can't handle this situation, here is the output of the problemResolver:
[..]
Investigating readahead-list
Package readahead-list has broken dep on readahead
  Considering readahead 0 as a solution to readahead-list 0
  Holding Back readahead-list rather than change readahead
Package ubuntu-desktop has broken dep on readahead-list
  Considering readahead-list 0 as a solution to ubuntu-desktop 0
  Removing ubuntu-desktop rather than change readahead-list
[..]

Aptitude deals with the situation more gracefully by removing "readahead",
installing "readahead-list" and upgrading "ubuntu-desktop".

If we want to support dist-upgrading with apt, we need to do a workaround for
this so that the hoary apt can do the dist-upgrade.

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

And here is the solution:

<mdz> mvo: we could revert the rename
<mvo> mdz: ok, that sounds good to me. shall I do that now or after preview?
<mdz> mvo: after

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

Just as a additional data-point: synaptic (using libapts dist-upgrade algorithm)
is affected by this problem as well.

Revision history for this message
Tollef Fog Heen (tfheen) wrote :

The readahead-list source package now produces the readahead binary package
(with appropriate Conflicts, Replaces and Provides).
I've adjusted the seeds, but not uploaded the new ubuntu-meta.

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

Thanks Tollef,

now that this is worked-around for breezy I set the servity to "normal" but
leave it open because it is still a bug.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Michael is this safe to close as it has been a year or is the bug still there?

Revision history for this message
Rocco Stanzione (trappist) wrote :

Closing this bug due to lack of activity/response and because it's against an end-of-life release.

Changed in apt:
status: Unconfirmed → Rejected
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.