On Sat, 11 Feb 2006, seth vidal wrote: > On Sat, 2006-02-11 at 22:10 -0300, Alejandro Jakubi wrote: >> I would like to know how to make yum install/update a large package with >> several rpm files (eg. OpenOffice) downloaded by a computer with good >> network conection and then copied to a PC with Fedora Core 4 and dial up, >> where such downloads are impossible. >> > > yum install /path/to/the/file.rpm /path/to/the/file2.rpm > > etc etc I had tried that but it does not work. Look at the output appended below, where yum was executed from /var/cache/yum/updates-released/packages, the directory where the large rpms were copied. Yum nevertheless wants to download these same files and besides report wrong sizes. ============== [root@localhost packages]# ls -l open* -rwxr-xr-x 1 root root 6845697 Feb 6 23:24 openoffice.org-calc-2.0.1.1-5.1.i386.rpm -rwxr-xr-x 1 root root 87520532 Feb 6 23:38 openoffice.org-core-2.0.1.1-5.1.i386.rpm -rwxr-xr-x 1 root root 1105349 Feb 6 23:23 openoffice.org-draw-2.0.1.1-5.1.i386.rpm -rw-r--r-- 1 root root 177059 Jan 17 13:47 openoffice.org-graphicfilter-2.0.1.1-5.1.i386.rpm -rw-r--r-- 1 root root 1606417 Jan 17 13:47 openoffice.org-impress-2.0.1.1-5.1.i386.rpm -rw-r--r-- 1 root root 133150 Jan 17 13:47 openoffice.org-javafilter-2.0.1.1-5.1.i386.rpm -rw-r--r-- 1 root root 2801840 Jan 17 13:48 openoffice.org-writer-2.0.1.1-5.1.i386.rpm -rw-r--r-- 1 root root 75954 Jan 17 13:48 openoffice.org-xsltfilter-2.0.1.1-5.1.i386.rpm [root@localhost packages]# yum install `ls open*` Setting up Install Process Setting up repositories http://rpm.livna.org/fedora/4/i386/RPMS.lvn/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')> Trying other mirror. Cannot open/read repomd.xml file for repository: livna failure: repodata/repomd.xml from livna: [Errno 256] No more mirrors to try. Error: failure: repodata/repomd.xml from livna: [Errno 256] No more mirrors to try. [root@localhost packages]# yum install `ls open*` Setting up Install Process Setting up repositories livna 100% |=========================| 951 B 00:00 updates-released 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 http://linux.admin.uillinois.edu/pub/linux/fedora/linux/core/4/i386/os/repodata/repomd.xml: [Errno 4] IOError: HTTP Error 403: Date: Sun, 12 Feb 2006 18:48:15 GMT Server: Apache/2.0.46 (Red Hat) Content-Length: 353 Content-Type: text/html; charset=iso-8859-1 X-Cache: MISS from acelerador.ug.net.ar Connection: close Trying other mirror. base 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 243 kB 01:04 livna : ################################################## 867/867 Added 16 new packages, deleted 4 old in 0.89 seconds primary.xml.gz 100% |=========================| 429 kB 01:49 updates-re: ################################################## 1197/1197 Added 11 new packages, deleted 11 old in 2.17 seconds primary.xml.gz 100% |=========================| 1.0 MB 04:20 extras : ################################################## 3062/3062 Added 32 new packages, deleted 11 old in 3.48 seconds Parsing package install arguments Examining openoffice.org-calc-2.0.1.1-5.1.i386.rpm: openoffice.org-calc - 1:2.0.1.1-5.1.i386 Marking openoffice.org-calc-2.0.1.1-5.1.i386.rpm as an update to openoffice.org-calc - 1:1.9.104-2.i386 Examining openoffice.org-core-2.0.1.1-5.1.i386.rpm: openoffice.org-core - 1:2.0.1.1-5.1.i386 Marking openoffice.org-core-2.0.1.1-5.1.i386.rpm as an update to openoffice.org-core - 1:1.9.104-2.i386 Examining openoffice.org-draw-2.0.1.1-5.1.i386.rpm: openoffice.org-draw - 1:2.0.1.1-5.1.i386 Marking openoffice.org-draw-2.0.1.1-5.1.i386.rpm as an update to openoffice.org-draw - 1:1.9.104-2.i386 Examining openoffice.org-graphicfilter-2.0.1.1-5.1.i386.rpm: openoffice.org-graphicfilter - 1:2.0.1.1-5.1.i386 Marking openoffice.org-graphicfilter-2.0.1.1-5.1.i386.rpm as an update to openoffice.org-graphicfilter - 1:1.9.104-2.i386 Examining openoffice.org-impress-2.0.1.1-5.1.i386.rpm: openoffice.org-impress - 1:2.0.1.1-5.1.i386 Marking openoffice.org-impress-2.0.1.1-5.1.i386.rpm as an update to openoffice.org-impress - 1:1.9.104-2.i386 Examining openoffice.org-javafilter-2.0.1.1-5.1.i386.rpm: openoffice.org-javafilter - 1:2.0.1.1-5.1.i386 Marking openoffice.org-javafilter-2.0.1.1-5.1.i386.rpm as an update to openoffice.org-javafilter - 1:1.9.104-2.i386 Examining openoffice.org-writer-2.0.1.1-5.1.i386.rpm: openoffice.org-writer - 1:2.0.1.1-5.1.i386 Marking openoffice.org-writer-2.0.1.1-5.1.i386.rpm as an update to openoffice.org-writer - 1:1.9.104-2.i386 Examining openoffice.org-xsltfilter-2.0.1.1-5.1.i386.rpm: openoffice.org-xsltfilter - 1:2.0.1.1-5.1.i386 Marking openoffice.org-xsltfilter-2.0.1.1-5.1.i386.rpm as an update to openoffice.org-xsltfilter - 1:1.9.104-2.i386 Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package openoffice.org-impress.i386 1:2.0.1.1-5.1 set to be updated ---> Package openoffice.org-calc.i386 1:2.0.1.1-5.1 set to be updated ---> Package openoffice.org-xsltfilter.i386 1:2.0.1.1-5.1 set to be updated ---> Package openoffice.org-writer.i386 1:2.0.1.1-5.1 set to be updated ---> Package openoffice.org-javafilter.i386 1:2.0.1.1-5.1 set to be updated ---> Package openoffice.org-graphicfilter.i386 1:2.0.1.1-5.1 set to be updated ---> Package openoffice.org-core.i386 1:2.0.1.1-5.1 set to be updated ---> Package openoffice.org-draw.i386 1:2.0.1.1-5.1 set to be updated --> Running transaction check --> Processing Dependency: openoffice.org-core = 1:1.9.104-2 for package: openoffice.org-math --> Processing Dependency: openoffice.org-core = 1:1.9.104-2 for package: openoffice.org-testtools --> Processing Dependency: openoffice.org-core = 1:1.9.104-2 for package: openoffice.org-pyuno --> Restarting Dependency Resolution with new changes. --> Populating transaction set with selected packages. Please wait. ---> Package openoffice.org-testtools.i386 1:2.0.1.1-5.1 set to be updated ---> Package openoffice.org-math.i386 1:2.0.1.1-5.1 set to be updated ---> Package openoffice.org-pyuno.i386 1:2.0.1.1-5.1 set to be updated --> Running transaction check Dependencies Resolved ============================================================================= 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.rpm 113 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.rpm 210 k Updating for dependencies: openoffice.org-math i386 1:2.0.1.1-5.1 updates-released 1.3 M openoffice.org-pyuno i386 1:2.0.1.1-5.1 updates-released 129 k openoffice.org-testtools i386 1:2.0.1.1-5.1 updates-released 374 k Transaction Summary ============================================================================= Install 0 Package(s) Update 11 Package(s) Remove 0 Package(s) Total download size: 241 M Is this ok [y/N]: n Exiting on user Command Complete!