Alejandro Jakubi ka?e: > On Mon, 13 Feb 2006, Igor Jagec wrote: >># yum localinstall *rpm > I guess that you mean by that running yum from a directory where the rmps are > just those of the package to be installed/updated. Yep. > So, I have copied the rpms > of openoffice already downloaded to a temporary directory, and executing this > command, as shown below, did not work either (see below). First it found the > dependency on openoffice.org-math, which has not been downloaded yet, but > stoped there. Hm... you should report that to Red Hat's bugzilla. > Then, I have downloaded it manually plus two other files (pyuno and testools), > run again and found that yum wanted to download everything again, reporting > wrong sizes as before. Did you ever try to say 'Y'? What happens then? >># rpm -Fvh *rpm --nodeps --nosignature > Isn't it dangerous bypassing the dependency check? I get: > ============= > [root@localhost 1]# rpm -i --test openoffice.org-core-2.0.1.1-5.1.i386.rpm > file /usr/bin/oobase from install of openoffice.org-core-2.0.1.1-5.1 conflicts with file from package openoffice.org-core-1.9.104-2 > file /usr/bin/ooffice from install of openoffice.org-core-2.0.1.1-5.1 conflicts with file from package openoffice.org-core-1.9.104-2 > file /usr/bin/ooviewdoc from install of openoffice.org-core-2.0.1.1-5.1 conflicts with file from package openoffice.org-core-1.9.104-2 > file /usr/bin/openoffice.org-1.9 from install of openoffice.org-core-2.0.1.1-5.1 conflicts with file from package openoffice.org-core-1.9.104-2 > file /usr/share/applications/openoffice.org-1.9-base.desktop from install of openoffice.org-core-2.0.1.1-5.1 conflicts with file from package openoffice.org-core-1.9.104-2 > ============= You don't want to Install (-i), you want to freshen (-F) them. Whenever you force install, or resolve conflicts manually (--replacefiles), you have to know what you are doing. You can try without --nodeps and --nosigrature switches to see what's gonna happen. > Do you mean removing installed packages? Nope, just to freshen them. When you want to upgrade an existing package, you use -F option (usually -Fvh). When you want to install or upgrade some package, you use -U option (usually -Uvh). The second option (-Uvh) does the same thing as -i (or -ivh) but the -i option will not upgrade a package. You need -i option whenever you don't want to upgrade some package (such as kernel package). > But, isn't yum the application > that should handle all this stuff?, as stated in the Fedora Core > documentation. Yum resolves dependencies, not conflicts. > So, is yum capable of installing/updating these large packages from local > rpms? If not, I ask you urgently to solve this problem. I don't know, I use 'yum localinstall' quite often and I never experienced any problem. If you do your upgrades manually with 'rpm -Fvh' command, I believe you wan't have any problems. But I can't be 100% sure. > [root@localhost 1]# ls -l # ll --> shorter version ;) > [root@localhost 1]# yum localinstall *rpm > ============================================================================= > Package Arch Version Repository Size > ============================================================================= > Updating: > openoffice.org-calc i386 1:2.0.1.1-5.1 openoffice.org-calc-2.0.1.1-5.1.i386.rpm 15 M > openoffice.org-core i386 1:2.0.1.1-5.1 openoffice.org-core-2.0.1.1-5.1.i386.rpm 211 M > openoffice.org-draw i386 1:2.0.1.1-5.1 openoffice.org-draw-2.0.1.1-5.1.i386.rpm 2.7 M > openoffice.org-graphicfilter i386 1:2.0.1.1-5.1 openoffice.org-graphicfilter-2.0.1.1-5.1. i386.rpm 374 k > openoffice.org-impress i386 1:2.0.1.1-5.1 openoffice.org-impress-2.0.1.1-5.1.i386.rpm 4. 3 M > openoffice.org-javafilter i386 1:2.0.1.1-5.1 openoffice.org-javafilter-2.0.1.1-5.1.i386.r pm 113 k > openoffice.org-math i386 1:2.0.1.1-5.1 openoffice.org-math-2.0.1.1-5.1.i386.rpm 3.1 M > openoffice.org-pyuno i386 1:2.0.1.1-5.1 openoffice.org-pyuno-2.0.1.1-5.1.i386.rpm 245 k > openoffice.org-testtools i386 1:2.0.1.1-5.1 openoffice.org-testtools-2.0.1.1-5.1.i386.rpm 960 k > openoffice.org-writer i386 1:2.0.1.1-5.1 openoffice.org-writer-2.0.1.1-5.1.i386.rpm 5.8 M > openoffice.org-xsltfilter i386 1:2.0.1.1-5.1 openoffice.org-xsltfilter-2.0.1.1-5.1.i386.r pm 210 k > > Transaction Summary > ============================================================================= > Install 0 Package(s) > Update 11 Package(s) > Remove 0 Package(s) > Total download size: 244 M > Is this ok [y/N]: All the downloads doesn't have to be via Internet, some of them (or all of them) might be locally. At least you can try, and to stop yum if it starts downloading from the internet. -- Igor Jagec