vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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. thanks |
| |||
| 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. |
| |||
| 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. thank, i will try this and hopefully it will work. |
| |||
| 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. What did he (and I) miss about the way "rpm -F" works? Other than "*" should have been something like "*i686*.rpm" or he should have used check-update over the net to get a list of what he needed, perhaps. -- bill davidsen SBC/Prodigy Yorktown Heights NY data center http://newsgroups.news.prodigy.com |
| |||
| 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. > What did he (and I) miss about the way "rpm -F" works? Other than "*" > should have been something like "*i686*.rpm" or he should have used > check-update over the net to get a list of what he needed, perhaps. |
| |||
| 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 |
| ||||
| Bill Davidsen wrote: > 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. Well, yes. Except if you have two RPM's of the same software, one for i386 and one for i686, it can't choose. And if, say, the new "mozilla" package has been refactored and requires an additional package "mozilla-nspr", rpm -F isn't going to do it. You have to do an "rpm -U mozilla mozilla-nspr". I've been through all that, painfully and repeatedly. > Also, yum-arch generates tons of warnings about being depreciated, > that's not a good sign :-( About certain packages being deprecated? Which ones? |