[Yum] RE: package gnome-vfs2 needs gnome-mime-data >= 2.0.0-11

Karl Vogel karl.vogel at seagha.com
Wed Nov 5 11:41:30 UTC 2003


Found the problem!

gnome-mime-data of RH 8.0 is a noarch package, while the
one from RH 9 is arch i386.

clientStuff.py is filtering the update package out in genupdatedhdrlist,
since exactarch is set in yum.conf.

So... to upgrade from RH8.0 to RH9 you *MUST* set the following in
yum.conf:

	exactarch=0


Maybe yum should allow a transition from noarch to a defined arch
even when exactarch is set?!


> -----Original Message-----
> From: Karl Vogel 
> Sent: Wednesday, November 05, 2003 11:38
> To: 'yum at lists.dulug.duke.edu'
> Subject: package gnome-vfs2 needs gnome-mime-data >= 2.0.0-11
> 
> 
> >On Fri, 2003-10-03 at 13:34, Tom Hines wrote:
> >> Hi. I've finally gotten around to installing yum and
> >> trying to update from 8.0 to 9. I've read that I just
> >> have to point yum to the rhl 9 repositories and it
> >> should work, but it failed with a dependency not
> >> provided. Here is the output:
> >> 
> >> 
> >> .package gnome-vfs2 needs gnome-mime-data >= 2.0.0-11
> >> (not provided)
> >
> >good possibility that this is a genuinely broken dependency 
> w/no way out
> >of it except removing it.
> >
> >try removing gnome-vfs2.
> >
> >I've done a bunch of rhl 8.0 -> 9 upgrades and they worked 
> pretty well.
> >
> >-sv
> 
> I seem to be bumping into the same problem when trying to upgrade from
> RH 8.0 to RH 9. From what I can see, yum doesn't detect/download the
> gnome-mime-data package/header of rhl-9-stock. 
> 
> ie. doing:  yum list gnome-mime-data
> 
> Only shows the installed gnome-mime-data of RH 8.0 but not the one
> from the rhl-9-stock repository. 
> 
> I also checked the /var/cache/yum/rhl-9-stock/headers directory, and
> yum hadn't downloaded the gnome-mime-data header
> 
> 
> 
> === more details:
> 
> # yum list gnome-mime-data
> Gathering header information file(s) from server(s)
> Server: Red Hat Linux 9 stock @ dulug
> Server: Red Hat Linux 9 updates/errata @ dulug
> Finding updated packages
> Downloading needed headers
> Looking in Available Packages:
> Name                                Arch   Version            
>       Repo
> --------------------------------------------------------------
> ------------------
> 
> Looking in Installed Packages:
> Name                                Arch   Version            
>       Repo
> --------------------------------------------------------------
> ------------------
> gnome-mime-data                     noarch 2.0.0-9                  db
> 
> # cat /etc/yum.conf
> [main]
> cachedir=/var/cache/yum
> debuglevel=2
> logfile=/var/log/yum.log
> pkgpolicy=newest
> distroverpkg=redhat-release
> tolerant=1
> exactarch=1
> 
> [rhl-9-stock]
> name = Red Hat Linux 9 stock @ dulug
> baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat/9/i386/
> 
> [rhl-9-updates]
> name = Red Hat Linux 9 updates/errata @ dulug
> baseurl=http://mirror.dulug.duke.edu/pub/yum-repository/redhat
> /updates/9/
> 
> # grep gnome-mime-data /var/cache/yum/rhl-9-stock/header.info
> 0:gnome-mime-data-2.2.0-1.i386=RedHat/RPMS/gnome-mime-data-2.2
> .0-1.i386.rpm
> 
> # ls -l 
> /var/cache/yum/rhl-9-stock/headers/gnome-mime-data-0-2.2.0-1.i386.hdr
> ls: 
> /var/cache/yum/rhl-9-stock/headers/gnome-mime-data-0-2.2.0-1.i
> 386.hdr: No such file or directory
> 
> 
> Tried to download it myself:
> 
> # cd /var/cache/yum/rhl-9-stock/headers
> # wget 
http://mirror.dulug.duke.edu/pub/yum-repository/redhat/9/i386/headers/gnome-
mime-data-0-2.2.0-1.i386.hdr

but it didn't make any difference. yum list gnome-mime-data still didn't
show it.

# rpm -q yum rpm python rpm-python redhat-release
yum-2.0.4-1
rpm-4.1.1-1.8x
python-2.2.1-17
rpm-python-4.1.1-1.8x
redhat-release-8.0-8

# rpm -Va --nomd5 --nofiles

Gave no output.. so everything is ok.



More information about the Yum mailing list