LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   yum update fails (http://www.linuxquestions.org/questions/fedora-35/yum-update-fails-740081/)

micmizer 07-14-2009 05:41 PM

yum update fails
 
Sorry if this has already been posted but i did not find any threads that matched my issue precisely.

When running yum update it appears that several packages are being marked for upgrade however when i start downloading the packages i receive errors with the mirror list i am using. Please see the following.


Code:

[mhelmer@fedora-mhelmer ~]$ su root
Password:
[root@fedora-mhelmer mhelmer]# clear

[root@fedora-mhelmer mhelmer]# yum update
Loaded plugins: refresh-packagekit
fedora                                            | 3.8 kB    00:00   
updates                                          | 4.4 kB    00:00   
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package alsa-plugins-pulseaudio.i586 0:1.0.20-2.fc11 set to be updated
---> Package apr.i586 0:1.3.5-1.fc11 set to be updated
---> Package apr-util.i586 0:1.3.7-1.fc11 set to be updated
---> Package apr-util-ldap.i586 0:1.3.7-1.fc11 set to be updated
---> Package audit.i586 0:1.7.13-1.fc11 set to be updated
---> Package audit-libs.i586 0:1.7.13-1.fc11 set to be updated
---> Package audit-libs-python.i586 0:1.7.13-1.fc11 set to be updated
---> Package automake.noarch 0:1.11-2.fc11 set to be updated
---> Package avahi.i586 0:0.6.25-3.fc11 set to be updated
---> Package avahi-autoipd.i586 0:0.6.25-3.fc11 set to be updated
---> Package avahi-glib.i586 0:0.6.25-3.fc11 set to be updated
---> Package bind-libs.i586 32:9.6.1-2.fc11 set to be updated
---> Package bind-utils.i586 32:9.6.1-2.fc11 set to be updated
---> Package cpuspeed.i586 1:1.5-10.fc11 set to be updated
---> Package cronie.i586 0:1.3-2.fc11 set to be updated
---> Package dhclient.i586 12:4.1.0-22.fc11 set to be updated
---> Package dump.i586 1:0.4-0.1.b42.fc11 set to be updated
---> Package farsight2.i586 0:0.0.12-1.fc11 set to be updated
---> Package festival.i586 0:1.96-12.fc11 set to be updated
---> Package festival-lib.i586 0:1.96-12.fc11 set to be updated
---> Package festival-speechtools-libs.i586 0:1.2.96-12.fc11 set to be updated
---> Package festvox-slt-arctic-hts.noarch 0:0.20061229-12.fc11 set to be updated
---> Package firefox.i586 0:3.5-1.fc11 set to be updated
---> Package gdb.i586 0:6.8.50.20090302-33.fc11 set to be updated
---> Package glx-utils.i586 0:7.6-0.1.fc11 set to be updated
---> Package gnome-python2-extras.i586 0:2.25.3-4.fc11 set to be updated
---> Package gnome-python2-gtkhtml2.i586 0:2.25.3-4.fc11 set to be updated
---> Package gnome-python2-libegg.i586 0:2.25.3-4.fc11 set to be updated
---> Package gnome-terminal.i586 0:2.26.2-1.fc11 set to be updated
---> Package grubby.i586 0:6.0.87-1.fc11 set to be updated
---> Package gstreamer-plugins-base.i586 0:0.10.23-3.fc11 set to be updated
---> Package gstreamer-plugins-good.i586 0:0.10.15-3.fc11 set to be updated
---> Package gstreamer-python.i586 0:0.10.15-1.fc11 set to be updated
---> Package gupnp-av.i586 0:0.4.1-1.fc11 set to be updated
---> Package gvfs.i586 0:1.2.3-7.fc11 set to be updated
---> Package gvfs-archive.i586 0:1.2.3-7.fc11 set to be updated
---> Package gvfs-fuse.i586 0:1.2.3-7.fc11 set to be updated
---> Package gvfs-gphoto2.i586 0:1.2.3-7.fc11 set to be updated
---> Package gvfs-obexftp.i586 0:1.2.3-7.fc11 set to be updated
---> Package gvfs-smb.i586 0:1.2.3-7.fc11 set to be updated
---> Package ibus.i586 0:1.1.0.20090612-1.fc11 set to be updated
---> Package ibus-gtk.i586 0:1.1.0.20090612-1.fc11 set to be updated
---> Package ibus-libs.i586 0:1.1.0.20090612-1.fc11 set to be updated
---> Package ibus-rawcode.i586 0:1.0.0.20090303-3.fc11 set to be updated
---> Package kernel.i586 0:2.6.29.5-191.fc11 set to be installed
---> Package kernel-devel.i586 0:2.6.29.5-191.fc11 set to be installed
---> Package kernel-firmware.noarch 0:2.6.29.5-191.fc11 set to be updated
---> Package kernel-headers.i586 0:2.6.29.5-191.fc11 set to be updated
---> Package lftp.i586 0:3.7.14-1.fc11 set to be updated
---> Package libbdevid-python.i586 0:6.0.87-1.fc11 set to be updated
---> Package libcap.i586 0:2.16-4.fc11.1 set to be updated
---> Package libfprint.i586 0:0.1.0-7.pre2.fc11.1 set to be updated
---> Package libgnomecups.i586 0:0.2.3-6.fc11 set to be updated
---> Package libgweather.i586 0:2.26.1-3.fc11 set to be updated
---> Package libhangul.i586 0:0.0.9-1.fc11 set to be updated
---> Package libpst.i586 0:0.6.41-1.fc11 set to be updated
---> Package libpst-libs.i586 0:0.6.41-1.fc11 set to be updated
---> Package libpurple.i586 0:2.5.8-1.fc11 set to be updated
---> Package libtiff.i586 0:3.8.2-13.fc11 set to be updated
---> Package libtirpc.i586 0:0.2.0-1.fc11 set to be updated
---> Package libxcb.i586 0:1.2-4.fc11 set to be updated
---> Package loudmouth.i586 0:1.4.3-5.fc11 set to be updated
---> Package mesa-dri-drivers.i586 0:7.6-0.1.fc11 set to be updated
---> Package mesa-libGL.i586 0:7.6-0.1.fc11 set to be updated
---> Package mesa-libGLU.i586 0:7.6-0.1.fc11 set to be updated
---> Package mkinitrd.i586 0:6.0.87-1.fc11 set to be updated
---> Package nash.i586 0:6.0.87-1.fc11 set to be updated
---> Package nautilus-sendto.i586 0:1.1.5-2.fc11 set to be updated
---> Package nspr.i586 0:4.8-1.fc11 set to be updated
---> Package pam_krb5.i586 0:2.3.5-1.fc11 set to be updated
---> Package phonon.i586 0:4.3.1-6.fc11 set to be updated
---> Package phonon-backend-xine.i586 0:4.3.1-6.fc11 set to be updated
---> Package pidgin.i586 0:2.5.8-1.fc11 set to be updated
---> Package policycoreutils.i586 0:2.0.62-12.11.fc11 set to be updated
---> Package policycoreutils-gui.i586 0:2.0.62-12.11.fc11 set to be updated
---> Package policycoreutils-python.i586 0:2.0.62-12.11.fc11 set to be updated
---> Package rmt.i586 1:0.4-0.1.b42.fc11 set to be updated
---> Package rpcbind.i586 0:0.2.0-1.fc11 set to be updated
---> Package rpm.i586 0:4.7.0-2.fc11 set to be updated
---> Package rpm-libs.i586 0:4.7.0-2.fc11 set to be updated
---> Package rpm-python.i586 0:4.7.0-2.fc11 set to be updated
---> Package selinux-policy.noarch 0:3.6.12-62.fc11 set to be updated
---> Package selinux-policy-targeted.noarch 0:3.6.12-62.fc11 set to be updated
---> Package sound-juicer.i586 0:2.26.1-4.fc11 set to be updated
---> Package transmission.i586 0:1.72-1.fc11 set to be updated
---> Package unique.i586 0:1.0.8-1.fc11 set to be updated
---> Package vte.i586 0:0.20.5-1.fc11 set to be updated
---> Package xfsprogs.i586 0:3.0.1-6.fc11 set to be updated
---> Package xorg-x11-drv-nouveau.i586 1:0.0.12-40.20090528git0c17b87.fc11 set to be updated
---> Package xulrunner.i586 0:1.9.1-1.fc11 set to be updated
---> Package yelp.i586 0:2.26.0-4.fc11 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================
 Package                  Arch  Version                  Repository
                                                                    Size
=========================================================================
Installing:
 gstreamer-plugins-good    i586  0.10.15-3.fc11          updates 1.3 M
    replacing  gstreamer-plugins-farsight.i586 0.12.10-2.fc11

 kernel                    i586  2.6.29.5-191.fc11        updates  20 M
 kernel-devel              i586  2.6.29.5-191.fc11        updates 6.1 M
Updating:
 alsa-plugins-pulseaudio  i586  1.0.20-2.fc11            updates  37 k
 apr                      i586  1.3.5-1.fc11            updates 136 k
 apr-util                  i586  1.3.7-1.fc11            updates  96 k
 apr-util-ldap            i586  1.3.7-1.fc11            updates  15 k
 audit                    i586  1.7.13-1.fc11            updates 383 k
 audit-libs                i586  1.7.13-1.fc11            updates  83 k
 audit-libs-python        i586  1.7.13-1.fc11            updates  84 k
 automake                  noarch 1.11-2.fc11              updates 579 k
 avahi                    i586  0.6.25-3.fc11            updates 292 k
 avahi-autoipd            i586  0.6.25-3.fc11            updates  34 k
 avahi-glib                i586  0.6.25-3.fc11            updates  19 k
 bind-libs                i586  32:9.6.1-2.fc11          updates 903 k
 bind-utils                i586  32:9.6.1-2.fc11          updates 241 k
 cpuspeed                  i586  1:1.5-10.fc11            updates  37 k
 cronie                    i586  1.3-2.fc11              updates  74 k
 dhclient                  i586  12:4.1.0-22.fc11        updates 345 k
 dump                      i586  1:0.4-0.1.b42.fc11      updates 151 k
 farsight2                i586  0.0.12-1.fc11            updates 162 k
 festival                  i586  1.96-12.fc11            updates 1.4 M
 festival-lib              i586  1.96-12.fc11            updates 455 k
 festival-speechtools-libs i586  1.2.96-12.fc11          updates 1.2 M
 festvox-slt-arctic-hts    noarch 0.20061229-12.fc11      updates 1.6 M
 firefox                  i586  3.5-1.fc11              updates  15 M
 gdb                      i586  6.8.50.20090302-33.fc11  updates 2.2 M
 glx-utils                i586  7.6-0.1.fc11            updates  50 k
 gnome-python2-extras      i586  2.25.3-4.fc11            updates  49 k
 gnome-python2-gtkhtml2    i586  2.25.3-4.fc11            updates  21 k
 gnome-python2-libegg      i586  2.25.3-4.fc11            updates  59 k
 gnome-terminal            i586  2.26.2-1.fc11            updates 1.9 M
 grubby                    i586  6.0.87-1.fc11            updates  94 k
 gstreamer-plugins-base    i586  0.10.23-3.fc11          updates 1.1 M
 gstreamer-python          i586  0.10.15-1.fc11          updates 314 k
 gupnp-av                  i586  0.4.1-1.fc11            updates  31 k
 gvfs                      i586  1.2.3-7.fc11            updates 1.3 M
 gvfs-archive              i586  1.2.3-7.fc11            updates  63 k
 gvfs-fuse                i586  1.2.3-7.fc11            updates  25 k
 gvfs-gphoto2              i586  1.2.3-7.fc11            updates  94 k
 gvfs-obexftp              i586  1.2.3-7.fc11            updates  70 k
 gvfs-smb                  i586  1.2.3-7.fc11            updates 120 k
 ibus                      i586  1.1.0.20090612-1.fc11    updates 399 k
 ibus-gtk                  i586  1.1.0.20090612-1.fc11    updates  21 k
 ibus-libs                i586  1.1.0.20090612-1.fc11    updates  98 k
 ibus-rawcode              i586  1.0.0.20090303-3.fc11    updates  20 k
 kernel-firmware          noarch 2.6.29.5-191.fc11        updates 498 k
 kernel-headers            i586  2.6.29.5-191.fc11        updates 850 k
 lftp                      i586  3.7.14-1.fc11            updates 938 k
 libbdevid-python          i586  6.0.87-1.fc11            updates  70 k
 libcap                    i586  2.16-4.fc11.1            updates  32 k
 libfprint                i586  0.1.0-7.pre2.fc11.1      updates 107 k
 libgnomecups              i586  0.2.3-6.fc11            updates  78 k
 libgweather              i586  2.26.1-3.fc11            updates  13 M
 libhangul                i586  0.0.9-1.fc11            updates 2.3 M
 libpst                    i586  0.6.41-1.fc11            updates  68 k
 libpst-libs              i586  0.6.41-1.fc11            updates  73 k
 libpurple                i586  2.5.8-1.fc11            updates 7.6 M
 libtiff                  i586  3.8.2-13.fc11            updates 309 k
 libtirpc                  i586  0.2.0-1.fc11            updates  81 k
 libxcb                    i586  1.2-4.fc11              updates 131 k
 loudmouth                i586  1.4.3-5.fc11            updates  80 k
 mesa-dri-drivers          i586  7.6-0.1.fc11            updates 2.2 M
 mesa-libGL                i586  7.6-0.1.fc11            updates 174 k
 mesa-libGLU              i586  7.6-0.1.fc11            updates 204 k
 mkinitrd                  i586  6.0.87-1.fc11            updates  90 k
 nash                      i586  6.0.87-1.fc11            updates 168 k
 nautilus-sendto          i586  1.1.5-2.fc11            updates 166 k
 nspr                      i586  4.8-1.fc11              updates 123 k
 pam_krb5                  i586  2.3.5-1.fc11            updates 162 k
 phonon                    i586  4.3.1-6.fc11            updates 155 k
 phonon-backend-xine      i586  4.3.1-6.fc11            updates 166 k
 pidgin                    i586  2.5.8-1.fc11            updates 1.3 M
 policycoreutils          i586  2.0.62-12.11.fc11        updates 936 k
 policycoreutils-gui      i586  2.0.62-12.11.fc11        updates 204 k
 policycoreutils-python    i586  2.0.62-12.11.fc11        updates 259 k
 rmt                      i586  1:0.4-0.1.b42.fc11      updates  24 k
 rpcbind                  i586  0.2.0-1.fc11            updates  53 k
 rpm                      i586  4.7.0-2.fc11            updates 1.0 M
 rpm-libs                  i586  4.7.0-2.fc11            updates 356 k
 rpm-python                i586  4.7.0-2.fc11            updates  50 k
 selinux-policy            noarch 3.6.12-62.fc11          updates 607 k
 selinux-policy-targeted  noarch 3.6.12-62.fc11          updates 2.2 M
 sound-juicer              i586  2.26.1-4.fc11            updates 1.6 M
 transmission              i586  1.72-1.fc11              updates 1.4 M
 unique                    i586  1.0.8-1.fc11            updates  50 k
 vte                      i586  0.20.5-1.fc11            updates 480 k
 xfsprogs                  i586  3.0.1-6.fc11            updates 1.4 M
 xorg-x11-drv-nouveau      i586  1:0.0.12-40.20090528git0c17b87.fc11
                                                          updates 165 k
 xulrunner                i586  1.9.1-1.fc11            updates  10 M
 yelp                      i586  2.26.0-4.fc11            updates 973 k

Transaction Summary
=========================================================================
Install      3 Package(s)       
Update      88 Package(s)       
Remove      0 Package(s)       

Total size: 111 M
Total download size: 4.9 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): dhclient-4.1.0-22.fc11.i586.rpm            | 345 kB    00:01   
(2/7): gdb-6.8.50.20090302-33.fc11.i586.rpm      | 2.2 MB    00:05   
(3/7): grubby-6.0.87-1.fc11.i586.rpm              |  94 kB    00:00   
http://download.fedoraproject.org/pub/fedora/linux/updates/11/i386/mkinitrd-6.0.87-1.fc11.i586.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
(5/7): phonon-4.3.1-6.fc11.i586.rpm              | 155 kB    00:00   
http://download.fedoraproject.org/pub/fedora/linux/updates/11/i386/selinux-policy-3.6.12-62.fc11.noarch.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
(7/7): xfsprogs-3.0.1-6.fc11.i586.rpm            | 1.4 MB    00:03   


Error Downloading Packages:
  mkinitrd-6.0.87-1.fc11.i586: failure: mkinitrd-6.0.87-1.fc11.i586.rpm from updates: (256, 'No more mirrors to try.')
  selinux-policy-3.6.12-62.fc11.noarch: failure: selinux-policy-3.6.12-62.fc11.noarch.rpm from updates: (256, 'No more mirrors to try.')


Here is my repository files
fedora.repo
Code:

[root@fedora-mhelmer yum.repos.d]# cat fedora.repo
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[root@fedora-mhelmer yum.repos.d]# ls
fedora-rawhide.repo  fedora.repo~        fedora-updates.repo~
fedora.repo          fedora-updates.repo  fedora-updates-testing.repo

fedora-updates.repo
Code:

[root@fedora-mhelmer yum.repos.d]# cat fedora-updates.repo
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/debug/
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[root@fedora-mhelmer yum.repos.d]#


And here is the update i made to my hosts file (/etc/hosts):

80.239.156.215 mirrors.fedoraproject.org
213.129.242.84 mirrors.rpmfusion.org



Any ideas? Thanks for your input!

emmalg 07-16-2009 04:45 AM

Hi micmizer

I'm afraid I can't check this at the moment because my virtual machine client wont connect to the server this morning so I don't have access to any of my linux machines!

My gut feeling in looking at what you've provided is that you've enabled the mirrors but the mirror URLs are commented out in both the .repo files. Open the .repo files for editing and remove the # before all the lines which start "mirrorlist", save it and try again. Let us know how that went, I may be able to help more later when I can get on my machine!

Cheers
Emma

micmizer 07-16-2009 11:53 AM

i included a snippit of both of my .repo files and you can see that the mirrorlist is commented out because of another issue in fedora 11 that i had to work around. When i uncomment the mirrorlist and comment out baseurl, which is the default, i still get the same error i had after installing fedora 11.

I will not be back in town until next week and unfortunately i do not remember the precise error i was getting.

I hope you resolve the issue with your virtual box and i look forward to some further insight.

Once i am back in town i will put my repo files back to the default and post the error message.

Ryptyde 07-16-2009 01:51 PM

Here's what I do when the updates fail because of one or more packages, first install yumex and run it and when the update fails because of a mirror or package dependency click on the "Package Queue" icon then highlite the offending packages and click remove then click "Process Queue" and it should continue with the download and install.

You can then try updating at a later time when the mirror is available or the package dependency is satisfied for the offending packages. Not uncommon for things like this to happen but usually are sorted within a couple of days. :)

micmizer 07-21-2009 06:11 PM

Ok so i commented out the baseurl and uncommented the mirrorlist in fedora.repo, and fedora-updates.repo files and here is the original error.

# yum update

Loaded plugins: refreash-packagekit
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora.
Please verify its path and try again.

jeromeNP7 07-21-2009 06:34 PM

The first Fedora 10 installation also had some problem with yum repos, leading to the need the update yum itself. At that time I had to download the latet yum RPM file and replace the existing yum with the new one istalled. I'm not sure if this is a similar problems by all means, but if nothing else helps, you might try it out.

Linux


All times are GMT -5. The time now is 08:14 PM.