Upgrade to 7.10 hangs at "Modifying the software channels/Checking package manager"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: update-manager
Upgrade to gutsy rc hangs at "Modifying the software channels/Checking package manager".
I followed the official instructions (update-manager -d). I don't get any dbus error.
I found other people that seem to have this problem:
http://
schroeder (schroedhelm) wrote : | #1 |
Michael Vogt (mvo) wrote : | #2 |
Is there still CPU activity when this happens? I.e. does it show up in "top". Does the file /var/log/
Changed in update-manager: | |
status: | New → Incomplete |
cicoandcico (cicoandcico) wrote : | #3 |
sorry, but i can't test any more because i've already performed a clean installation, leaving my /home partition.
pavel (poolee) wrote : | #4 |
- dist-upgrade logs Edit (2.2 KiB, application/octet-stream)
I have the sam problem. Upgrade freeze at "Modifying the software channels/Checking package manager". No errors in logs. No disk and cpu activity.
schroeder (schroedhelm) wrote : | #5 |
I just tested it again: after the "some support for packages ended" dialog update-manager freezes. There is some disc and cpu activity for a little while after the freeze but then it just stops. The logs dont change anymore and the process called "gutsy" disappears from "top".
Charles Roduit (charles-roduit) wrote : | #6 |
Have the same problem on a laptop at "Modifying the software channels/Checking package manager". But the problem doesn't appears on my desktop computer.
The day before the final release, I think this problem to be very important and urgent to solve !!!
Charles Roduit (charles-roduit) wrote : | #7 |
BTW, I think its an important bug to solve.
If I kill the update-manager, the source-list keeps the modifications where "feisty" was replaced by "gusty". By this way, the update-manager believes on a normal update and propose the user to update normally.
I don't really know if this is bad (I've never tried), but I think logically that this will break the system. For beginners, not aware to the possible problem, this would results in an unusable linux.
So please, change the status to release critical.
schroeder (schroedhelm) wrote : | #8 |
Ok, I did some more testing and debugging on my machine:
The update-manager hangs on the this line in 'DistUpgradeVie
self.dialog_
None of the lines after that line are executed:
# work around problem that scroll_to() does not
# work when it is not realized
self.dialog_
self.treeview_
self.treeview_
self.treeview_
self.dialog_
res = self.dialog_
self.dialog_
if res == gtk.RESPONSE_YES:
return True
return False
Here is what I did: I placed my own debug statements in the py file, recompiled and reran the gutsy executable from the temporary directory. The debug statements appeared in the main.log file up until the 'self.dialog_
Let me know if I can do some more debugging to get to the bottom of this.
Chris
schroeder (schroedhelm) wrote : | #9 |
For further clarification...
These are my statements from' DistUpgradeCont
[...]
# My debug
logging.
# ask the user if he wants to do the changes
res = self._view.
# My debug
logging.
[...]
Result: Debug 1 appears in the log, Debug 2 doesnt. I traced the confirmChanges function with debug statements to the line of code mentioned in the comment above.
Hope this helps.
Sparkzy (michaeltarrant) wrote : Upgrade to 7.10 hangs at "Installing Upgrades" | #10 |
My upgrade froze at the last section "Installing Upgrades". The progress bar remains at 0% for applying changes.
I opened a terminal and ran, "ps aux | grep dist". There were four instances of DistUpgradeViewKDE.
I left it for 30 to 45 minutes as I got ready to go to work this morning. I ran the "ps aux | grep dist" again, and the four instances of DistUpgradeViewKDE were still there. The progress bar was still at 0%.
If there's something else I could check (after work), I'd be happy to help.
(P.S. This is my first bug report. I'm assuming the symptoms I'm seeing are related to the bug(s) described above. If not, I'd be happy to move this report.)
mudlark (mike-flycatcher) wrote : | #11 |
I am upgrading from rc to 7,10. The upgrade fails during the modifying software channels.
An error box appears saying the system is up to date.
closing the box and the wizard rolls the upgrade back.
running update goes back to the distribution update wizard.
justin (justin-griggs) wrote : | #12 |
I've got the same problem here. I'm trying to upgrade from feisty. hangs at fetching 54 of 59. Not sure what I'm supposed to do.
Wade Simmons (wadesimmons) wrote : | #13 |
I can confirm the same problem on one of my desktops (after the "some support for packages ended" dialog, the update-manager freezes). Let me know if there is any information that I can collect to help debug this.
costales (costales) wrote : | #14 |
Same error :(
costales (costales) wrote : | #15 |
Hi!
I had got the same problem.
TO FIX:
Go menu: System / Administration / Software Sources.
I checked in the first tab:
Canonical-supported open....
Community-
Propietary driver....
Sofware restricted by copyright....
I checked in the second tab:
Third-party....
I unchecked in the first tab:
Source code.....
Cdrom with Ubuntu 7.10.....
It works now perfect :D
Marquinos.
costales (costales) wrote : | #16 |
Aclaration:
I have got a hp nx7300 laptop ;) 1,8 Ghz, and 1 Gb RAM.
Clemens Wehrmann (cwehrmann) wrote : | #17 |
Me Too:
Upgrade from Feisty (released) to Gutsy (released) hangs on my Athlon K6 exactly as described by schroeder above.
I'm confused by marquinos workaround and am hoping someone can explain what is happening there, or preferably dig into schroeder's analysis.
Euclid R. Leviter (reg-ungenius) wrote : | #18 |
This bug is preventing me from upgrading as well.
I have checked and unchecked in the manner described by marquinos as best as I could comprehend; however, I am still looking at a hung upgrade window.
This bug has borked my repositories. I'm sure I could go through and manually edit each one so I can continue using feisty, but I was hoping this bug would be resolved quickly enough to make this repair unworthy of my time.
Why is this bug not even being taken seriously? Not enough information (Excellent detective skills, schroeder). Not enough people affected (between this thread and the threads on the forums, it looks like the victims could be considerable)?
I implore you to increase the importance of this item.
schroeder (schroedhelm) wrote : | #19 |
Euclid, resetting the repos is easy. Go to System-
Ryan Williams (domhnull-gnomebox) wrote : | #20 |
I fixed my error with it hanging by going to System | Administration | Software Sources and switching the server to the US server instead of the 'Main Server'. After it reloaded the sources I ran the Update Manager and clicked the Upgrade button as recommended. It didn't hang then.
schroeder (schroedhelm) wrote : | #21 |
Ryan's solution didnt fix the problem. I still get the same error as before after using the US server. So, again it was proven that its not an issue with a server timeout like many people seem to have. Not surprising two days after the official release...
Joachim R. (jro) wrote : | #22 |
Going in System | Administration | Software Sources and switching the server to another server helped me. I'm French so I tried out Swiss servers.
But it doesn't explain why the cdupgrade from a DVD stops after the dialog giving the list of packages that are not supported anymore.
Euclid R. Leviter (reg-ungenius) wrote : | #23 |
Switching servers did not solve it for me, either.
Thanks for the tip about resetting the repos, shroeder.
costales (costales) wrote : | #24 |
New aclaration: I did a new Ubuntu 7.10 intallation. Not an update.
I think that the repositories is uncheck is an important issue for solve.
PartisanEntity (partisanentity) wrote : | #25 |
Hi I have the same problem:
When upgrading from web it will hang at 'reading cache'.
When upgrading from the alternate cd it will hang at 'checking package manager'.
I tried changing source servers but that did not help.
This same issue has also been reported here:
https:/
PartisanEntity (partisanentity) wrote : | #26 |
- dist-upgrade-log.zip Edit (23.1 KiB, application/zip)
p.s. here are the logs of /var/log/
Clemens Wehrmann (cwehrmann) wrote : | #27 |
PartisanEntity and others arriving here because your Update Manager is hanging, you probably do _not_ have the same problem as the one for which this bug was opened. This bug is related to a hang of the Update Manager when it is "asking for confirmation" and apparently unable to pop up a confirmation box with the proposed updates/deletes.
If your update manager is hanging while "reading cache" or checking package manager your problem is probably related to the performance of the distribution servers and is discussed under the bug given by PartisanEntity: https:/
Henrik Larsson (lase) wrote : | #28 |
Thanks schroeder!!
Changing the line you pointed out to just return True made my install/upgrade to continue.
The update-manager downloads the upgrade scripts and puts them in /tmp. What I did was to go into the directory /tmp/tmpwArERK/ (i assume the exact name will differ from machine to machine...) and change the line below in 'DistUpgradeCon
Before change:
# ask the user if he wants to do the changes
res = self._view.
return res
After change:
#res = self._view.
# changes,
# self.cache.
return True #res
I then executed just the gutsy upgrade script (running update-manager again will not work since it downloads the script again):
sudo /usr/bin/python /tmp/tmpwArERK/
Brad Johnson (kkhww1902) wrote : | #29 |
I have to change directory to the /tmp/tmp* directory otherwise I get this error:
=======
user@ubuntu:~$ sudo /usr/bin/python /tmp/tmpn6vrDl/
Traceback (most recent call last):
File "/tmp/tmpn6vrDl
logdir = config.
File "/usr/lib/
raise NoSectionError(
=======
This works, gotten further than before... Installing now:
#cd /tmp/tmpwArERK
#sudo /usr/bin/python /tmp/tmpwArERK/
schroeder (schroedhelm) wrote : | #30 |
Henrik, that's a pretty slick hack. ;) Good to know that works.
Clemens, actually the confirmation box pops up and shows a list of packages that are not supported anymore. As soon as I hit "Close", update-manager freezes.
I would really like to know what the problem is but without some more knowledge about the workings of the script further debugging atempts dont make much sense.
Clemens Wehrmann (cwehrmann) wrote : | #31 |
Chris,
Sorry, my statement was misleading. Yes the "no longer supported" confirmation appears, but not the following "final list of added/removed packages for final approval/abort" confirmation. This problem has occurred on only one out of the three machines I've attempted to upgrade. If I can't figure it out in between doing other things today, I'll do what Henrik did,
schroeder (schroedhelm) wrote : | #32 |
Clemens, I agree. I will wait until tomorrow to see if there is any feedback and then go Henrik's route, too.
Kim Sullivan (alicebot) wrote : | #33 |
Since this seems to be a bug only with the GTK frontend, I simply circumvented it by using a different frontend, instead of hacking the scripts. This has the addidional benefit that you actually get the confirmation dialog, and can have a look which packages will be removed.
cd /tmp/tmpXXXXXX
./gutsy --help
sudo ./gutsy --frontend=
You might also want to try DistUpgradeViewKDE (even if you're on Ubuntu) to get a graphical frontend (but I haven't tested it).
Chris: I tried commenting out the line you identified as the culprit in comment 8, but it didn't work, so either the real problem happens elsewhere, or the precompiled pyc files were used instead of the source scripts (my python is a bit rusty).
Clemens Wehrmann (cwehrmann) wrote : | #34 |
I had tried Kim's approach yesterday, but .../gutsy told me:
can't load DistUpgradeView
GTK Accessibility Module initialized
Clemens Wehrmann (cwehrmann) wrote : | #35 |
... which I see now from the trailing comma was a cut and paste error. Sorry about that.
schroeder (schroedhelm) wrote : | #36 |
Kim, that was pretty clever. :) Thanks!
Upgrading.
papugh (papugh) wrote : | #37 |
I have the same issue.
Unfortunately Kim's solution did not work.
After downloading all packages system is trying to run Gtk for instalation process and of course hung.
papugh (papugh) wrote : | #38 |
"sudo update-manager -d"
in fail-safe terminal session allow upgrade without any problems (at least on my machine).
Michael Lustfield (michaellustfield) wrote : | #39 |
Is anybody still having this problem or is running 'sudo update-manager -d' in a fail-safe session good enough. Future upgrades have aimed to solve this issue.
For now, I'm setting the Status to Fix Released. Feel free to set it back to New if the issue continues.
Changed in update-manager: | |
status: | Incomplete → Fix Released |
schroeder (schroedhelm) wrote : | #40 |
I had the same problem with 8.04 (and solved it the same way). When was the fix introduced? For Gutsy or is it going to be fixed in Intrepid?
Same here. update-manager hangs after confirming the dialog that support for some packages has ended. The state under the progress bar says "Asking for confirmation". After a coupe of minutes the update-manager in the taskbar tray reports that there are new updates available. The gutsy repositories have been added to the software packages list under third party packages. I have attached the dist-upgrade logs from after the crash.