Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upgpk_viewer in a VM keeps displaying "Failed:failed" error when trying to install updates and aborts the update. #643
Comments
marmarek
assigned
rootkovska
Mar 8, 2015
marmarek
added this to the Release 1 milestone
Mar 8, 2015
marmarek
added
bug
C: core
P: major
labels
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by marmarek on 23 Jul 2012 21:48 UTC
Perhaps this is related to #645? But this doesn't explain why cmdline update works at the same time...
|
Comment by marmarek on 23 Jul 2012 21:48 UTC |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by joanna on 5 Aug 2012 09:53 UTC
I can still see this problem, even with the latest core and without kernel in my template:
[user](user@fedora-17-x64)$ rpm -qa | grep kernel
qubes-core-vm-kernel-placeholder-1.0-1.fc17.x86_64
libreport-plugin-kerneloops-2.0.10-3.fc17.x86_64
abrt-addon-kerneloops-2.0.10-4.fc17.x86_64
[user](user@fedora-17-x64)$ rpm -qa | grep ^qubes
qubes-core-vm-kernel-placeholder-1.0-1.fc17.x86_64
qubes-core-vm-libs-1.7.36-1.fc17.x86_64
qubes-gui-vm-1.4.15-1.fc17.x86_64
qubes-core-vm-systemd-1.7.36-1.fc17.x86_64
qubes-gpg-split-1.0-1.fc17.x86_64
qubes-core-vm-1.7.42-1.fc17.x86_64
?
|
Comment by joanna on 5 Aug 2012 09:53 UTC
? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by marmarek on 6 Aug 2012 12:34 UTC
I've managed to reproduce it (at least on one machine) and have logs (strace etc). Trying to find what is going on...
|
Comment by marmarek on 6 Aug 2012 12:34 UTC |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by marmarek on 6 Aug 2012 12:49 UTC
Ok, found. This is triggered by network problem:
error internal-error Error Type: <class 'yum.Errors.NoMoreMirrorsRepoError'>;
Error Value: failure: repodata/7d03bb9a7d0aaae920422bb8dc8a38fdecf297957cb7b1e970126903fba59b1f-filelists.sqlite.bz2 from updates: [256](Errno) No more mirrors to try.;
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3636, in <module>; main();
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3633, in main; backend.dispatcher(sys.argv[
File : /usr/lib/python2.7/site-packages/packagekit/backend.py, line 836, in dispatcher; self.dispatch_command(args[0](1:]);), args[1:]);
File : /usr/lib/python2.7/site-packages/packagekit/backend.py, line 678, in dispatcher;
(...)
The error message "failed:failed" doesn't tell much here...
This "network problem" looks like be caused by our updates proxy - it blocks the request:
GET ftp://ftp.cogeco.net/fedora/linux/updates/17/x86_64/repodata/7d03bb9a7d0aaae920422bb8dc8a38fdecf297957cb7b1e970126903fba59b1f-filelists.sqlite.bz2 HTTP/1.1
User-Agent: urlgrabber/3.9.1 yum/3.4.3
Host: ftp.cogeco.net:21
Accept: */*
Proxy-Connection: Keep-Alive
Will fix the regexps.
|
Comment by marmarek on 6 Aug 2012 12:49 UTC
The error message "failed:failed" doesn't tell much here... This "network problem" looks like be caused by our updates proxy - it blocks the request:
Will fix the regexps. |
marmarek
assigned
marmarek
and unassigned
rootkovska
Mar 8, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by joanna on 6 Aug 2012 12:52 UTC
Strange, because I remember testing the update with proxy disabled, i.e. I commented out the proxy setting in the /etc/yum.conf/qubes-proxy.conf, allowed all traffic on the f/w, and tried the update again, and... it still failed in this same way.
Besides, this would not explain why yum updated from command line works fine, would it?
|
Comment by joanna on 6 Aug 2012 12:52 UTC Besides, this would not explain why yum updated from command line works fine, would it? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by marmarek on 6 Aug 2012 12:53 UTC
I've also seen "no more mirrors to try" errors during yum update, but this doesn't stop update process. PackageKit stopped on it.
|
Comment by marmarek on 6 Aug 2012 12:53 UTC |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Mar 8, 2015
Member
Comment by marmarek on 9 Aug 2012 10:51 UTC
http://git.qubes-os.org/gitweb/?p=marmarek/core.git;a=commit;h=038933789d2afc83c1dca5ebf30151415e38d0ac
|
Comment by marmarek on 9 Aug 2012 10:51 UTC |
marmarek commentedMar 8, 2015
Reported by joanna on 22 Jul 2012 09:12 UTC
I can now reproduce it quite often, on two different templates, and on two different machines. Interestingly commandline yum update works just fine. Also, there is notething interesting in the logs...
Migrated-From: https://wiki.qubes-os.org/ticket/643