View Single Post

   
  #6 (permalink)  
Old 01-18-2008, 05:21 PM
Bill Davidsen
 
Posts: n/a
Default Re: fedora core 4 upgrade

Nico Kadel-Garcia wrote:
> Bill Davidsen wrote:
>> Nico Kadel-Garcia wrote:
>>> metoo wrote:
>>>> i have installed fedora core 4 and i want to upgrade but since i
>>>> didn't have a fast internet connection i obtained a DVD with all the
>>>> latest upgrade packages. what is the correct way to upgrade using
>>>> this set of RPM's ?
>>>> i tried rpm -Fvh * but it didn't work and when i try to rpm -Fvh on
>>>> individual packages i get dependency issues.
>>> Make a local copy of them on your local disk, and run "yum-arch" on
>>> that local copy to sort out what the most recent versions of things
>>> are along with their architecture dependencies and package
>>> dependencies. Then configure your yum, in /etc/yum.repors.d, to point at
>>> that local
>>> repository instead of the net.
>>>

>> But why didn't -F work? It's nice to know some clever and complicated
>> way to work around the problem, but it's also good to understand why
>> the obvious fix doesn't work. It also takes a lot of disk, a lot of
>> time, and requires doing and undoing config changes.

>
> Because the packages have multiple copies of things like glibc, one for the
> i386 architecture and another for the i686 architecture. Which will you
> install? I dunno, that's what yum figures out for you based on your local
> architecutre. And other packages may have new dependencies: for example,
> mozilla may include new packages that are necessary to install the basic
> mozilla package, but didn't exist before. "rpm -F" won't add those: you need
> to use "rpm -U" for those. And even then, I've seen rpm get confused by too
> many related packages, especially when some of them conflicted with other
> packages.
>

rpm -F installs the one you already have installed, that's the
difference between -U and -F, rpm *should* disregard things which are
not installed.

Also, yum-arch generates tons of warnings about being depreciated,
that's not a good sign :-(

--
bill davidsen
SBC/Prodigy Yorktown Heights NY data center
http://newsgroups.news.prodigy.com
Reply With Quote