dist upgrade on feisty tries to remove apt

Bug #75527 reported by peter green
6
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Incomplete
Undecided
John Vivirito
update-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

debian:/# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED
  apt build-essential g++ g++-4.1 gaim gaim-dev gaim-xfire groff-base libaspell15 libgtkspell0
  libstdc++6 libstdc++6-4.1-dev man-db
The following NEW packages will be installed
  e2fslibs e2fsprogs grep hostname libblkid1 libss2 login mount ncurses-base sysvutils
The following packages will be upgraded:
  cpp-4.1 gcc-4.1 gcc-4.1-base libgcc1
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  apt libstdc++6 (due to apt)
4 upgraded, 10 newly installed, 13 to remove and 0 not upgraded.
Need to get 4330kB of archives.
After unpacking 28.7MB disk space will be freed.
You are about to do something potentially harmful
To continue type in the phrase 'Yes, do as I say!'
 ?]

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

Can you please attach the 3 files in /var/log/dist-upgrade

Revision history for this message
Adrien Cunin (adri2000) wrote :

I believe it's a known bug and it has been already reported at least one time: bug #75504.

Revision history for this message
Adrien Cunin (adri2000) wrote :

Oops, in fact bug #75504 is probably not related at all to this one.

But I read about this issue on #ubuntu-devel and it isn't a bug in update-manager, it also happens on the buildds.

Revision history for this message
peter green (plugwash) wrote :

debian:/# ls /var/log/dist-upgrade
ls: /var/log/dist-upgrade: No such file or directory

Revision history for this message
peter green (plugwash) wrote :

i think there are two sides to this issue.

one is the same issue that is in 75504 which is that libstdc++ can't be upgraded due to a dependency problem and the old libstdc++ is blocking other upgrades.

the other is that dist-upgrade is presenting a soloution to an upgrade request that involves removal of essential packages rather than a soloution that involves some stuff not being upgraded.

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

@John: this one is not related to the graphical dist-upgrade tool. apt seems to need a rebuild.

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

Setting it as a duplicate for now, but I agree that the problem resolver is doing stupid things here.

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

sebastian at the time he filed the bug i only new he ran update-manager and yes it looks like its dist-upgrader causing the issue and only way i would have known for sure was to see the logs. but i founnd out the logs are not anywhere on his system because he is in a chroot, but i thought they would still be there. this morning i was gonna have Michael give me his opinion on it since apt in any form is not causing this issue other than in a chroot . he has same version of apt as i do (this was fixed in the newest apt)afaik. so my thought was update-manager had something to do with it. i talked with the reporter for a while in #ubuntu+1 to get as much info as i can but didnt get too much.

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

Peter please try update-manager to finish the issues now. the libstdc++6 has been released for update this should be good to upgrade now. but im sure the issue still is around just not for this set of upgrades. (nothing is held back atm)

Revision history for this message
peter green (plugwash) wrote :

I did not run update manager and never did i say that i did, its a minimal chroot and I don't even think i have update manager installed.

I used apt-get dist-upgrade yesterday without problems, but that is almost certainly the result of the archive being fixed rather than apt being made more sensible.

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

Peter sorry i was just reading logs and it was someone else in another channel that had the update-manager issue.

Revision history for this message
jens_acamedia (commercial-acamedia) wrote :

i dont think its only the update-manager

i just did an apt-get dist-upgrade and it removed ubuntu-desktop along with most of gnome...

im writing this from a partition with edgy...

afaik all the packages failed because they required some patch0.26 or other...

regardless - apt should solve it by holding and not by uninstalling ubuntu-desktop or other essential pieces.

thanks

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.