Partial update removes existing packages without checking/installing replacements

Bug #219444 reported by Raghvendra Sharma
26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Its noticed that the update manager attempts for a "partial upgrade" (normally when the system is running beta and going to a RC or full release).

However, its removing packages which it finds are obsolete or so, without really looking for or installing a replacement package for them.

For example in my case, it removed itself. :)

In another example, it removed an important c library, which resulted in the system reinstall.

Its been discussed on ubuntu forums for some length now.

I would imagine an improved update manager removing older versions of packages only when a newer version is available for installation.

Also, it turned out that some things are different on a system when going through updates channel, as compared to a fresh install (from a CD or so) channel. Thats not really fair on the developer/enthusiast who's been following the system, only to find at the end that the system he carries is a different from the official release ?

Imagine situation of a support engineer in that case. He goes to a customer to handle prob for software A on system B. Happily assuming that he also has software A on system B (his version is through updates). It might be very much possible that he cant reproduce the issue altogether.

Again, I would imagine an improved update manager making the updated system an exact replica of the release system (as of that point in time).

Here are some threads on ubuntuforums discussing these issues ....

http://ubuntuforums.org/showthread.php?t=751775&page=12

http://ubuntuforums.org/showthread.p...66#post4694766

http://ubuntuforums.org/showthread.php?t=759107

Revision history for this message
mabovo (mabovo) wrote :

Never happen with me during Hardy development cycle but in Gutsy I lost my /etc/apt/sources.list. That reminds me if Update Manager lacks some kind of integration just because it has been broken closer to RC.

Revision history for this message
Kayvan Sylvan (kayvan) wrote :

Same thing happened to me. In addition, I now see the following:

kayvan@ksub0804:~$ sudo aptitude install update-manager
[...]
Building tag database... Done
The following packages are BROKEN:
  update-manager
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/907kB of archives. After unpacking 2294kB will be used.
The following packages have unmet dependencies:
  update-manager: Depends: update-manager-core (= 1:0.87.18) but it is not installable
Resolving dependencies...
Unable to resolve dependencies! Giving up...
Abort.

Revision history for this message
Christopher Peplin (chris.peplin) wrote :

I can also confirm this bug. I've been running the beta on two machines, and just went to install the RC on my third tonight. There was one non-standard package that errored out during the upgrade (ampache), and after that, the entire update failed and update-manager removed itself along with ubuntu-desktop and update-notifier.

Revision history for this message
Christopher Peplin (chris.peplin) wrote :

I was able to resolve this issue for now by copying the previous package version from another machine:

update-manager-core_1%3a0.87.18_amd64.deb

Once I downgraded update-manager-core with this package, I was able to reinstall ubuntu-desktop, update-manager and update-notifier.

Revision history for this message
Xavier Lapointe (lapointe-xavier) wrote :

Seems that someone has compile the right version:

(Amd64, other version on your left.)

https://bugs.launchpad.net/ubuntu/hardy/amd64/update-manager/1:0.87.21

Revision history for this message
Xavier Lapointe (lapointe-xavier) wrote :

oups, sorry about that, heres the right link provided by Michael Vogt:

https://bugs.launchpad.net/ubuntu/hardy/+package/update-manager

Revision history for this message
Raghvendra Sharma (raghav) wrote :

Right, installing the xxx.21 fixes the system situation and installs update-manager.

However, the fact that this happened in update-manager, shouldnt it be fixed ?

Revision history for this message
MeNtAl_DaRkNeSs (mentaldarkness-pt) wrote :

Thanks Xavier Lapointe! This link: https://bugs.launchpad.net/ubuntu/hardy/amd64/update-manager/1:0.87.21 , fixed my problem =)

Best Regards to all,

Revision history for this message
Richard Birnie (rbirnie-deactivatedaccount) wrote :

The correct version has now been uploaded. Closing bug

Changed in update-manager:
status: New → Fix Released
Revision history for this message
Raghvendra Sharma (raghav) wrote :

Hi Richard,

Sorry, but I dont think its the final solution, and therefore request you not to close bug. Providing the missing package is not the solution for the problem in update-manager.

The update-manager should not behave like that in first place. Furthermore, the issue with handling of "partial upgrade" is still open/unanswered. Why does it behave like that ?

Also, the small little things that go unhandled just because someone was following through updates all the time ?

Please dont close this bug at this stage ? Initiate a discussion/investigation and there should be a better solution ...

Revision history for this message
Raghvendra Sharma (raghav) wrote :

I think the issue with update-manager is not just about providing the missing package. Its a larger issue with the way of working.

Please take a second look at the bug report/request.

Changed in update-manager:
status: Fix Released → Incomplete
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

update-manager has removed ubuntu-desktop, nautilus and gnome-panel here, making it impossible to start GNOME.

See bug 269409.

Marking as high priority.

Changed in update-manager:
importance: Undecided → High
status: Incomplete → Confirmed
Revision history for this message
Baptiste Mille-Mathias (bmillemathias) wrote :

Same than Emilio here

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Attaching/var/log/dist-upgrade/apt.log as requested by Michael.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

/var/log/dist-upgrade/main.log in case it helps

Revision history for this message
Pedro Villavicencio (pedro) wrote :

According to the maintainer this is fixed now, is anybody still having this issue?

Changed in update-manager:
status: Confirmed → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

closing it, feel free to re open the report if you still have this issue with latest updates on intrepid.

Changed in update-manager:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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