installing rpms from yum

Craig Thomas cjtinhp at optonline.net
Fri Apr 29 18:21:16 UTC 2005


On Fri, 2005-04-29 at 08:49 -0400, Matthew Miller wrote:
> On Fri, Apr 29, 2005 at 12:36:27PM +0100, Paul Howarth wrote:
> > If you want to install RPMs you've downloaded yourself, just use rpm to 
> > install them:
> > # rpm -Uvh your.first.downloaded.rpm your.second.downloaded.rpm ...
> 
> FWIW, the develop version of yum can work on local downloaded files too,

This is supported in FC3's yum [isn't it]?

[cwt at jaja ~]$ rpm -q yum
yum-2.2.0-0.fc3
[cwt at jaja ~]$

[root at jaja ~]# ls /home/cwt/downloads | grep rpm
synaptic-0.55.1-1.1.fc3.rf.i386.rpm
[root at jaja ~]# yum
install /home/cwt/downloads/synaptic-0.55.1-1.1.fc3.rf.i386.r pm
Setting up Install Process
Setting up Repos
dag                       100% |=========================| 1.1 kB
00:00
base                      100% |=========================| 1.1 kB
00:00
updates-released          100% |=========================|  951 B
00:00
extras                    100% |=========================|  951 B
00:00
Reading repository metadata in from local files
dag       : ################################################## 2216/2216
base      : ################################################## 2622/2622
primary.xml.gz            100% |=========================| 349 kB
00:01
MD Read   : ################################################## 872/872
updates-re: ################################################## 872/872
extras    : ################################################## 1109/1109
Examining /home/cwt/downloads/synaptic-0.55.1-1.1.fc3.rf.i386.rpm:
synaptic - 0. 55.1-1.1.fc3.rf.i386
Marking /home/cwt/downloads/synaptic-0.55.1-1.1.fc3.rf.i386.rpm to be
installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package synaptic.i386 0:0.55.1-1.1.fc3.rf set to be updated
--> Running transaction check
--> Processing Dependency: libapt-pkg-libc6.3-6.so.0 for package:
synaptic
--> Processing Dependency: apt >= 0.5.4 for package: synaptic
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for apt to pack into transaction set.
apt-0.5.15cnc6-4.1.fc3.rf 100% |=========================|  18 kB
00:00
---> Package apt.i386 0:0.5.15cnc6-4.1.fc3.rf set to be updated
--> Running transaction check

Dependencies Resolved
Transaction Listing:
  Install: synaptic.i386 0:0.55.1-1.1.fc3.rf
- /home/cwt/downloads/synaptic-0.55 .1-1.1.fc3.rf.i386.rpm

Performing the following to resolve dependencies:
  Install: apt.i386 0:0.5.15cnc6-4.1.fc3.rf - dag
Total download size: 6.2 M
Is this ok [y/N]: n
Exiting on user Command
Complete!
[root at jaja ~]#

-- 
Craig Thomas <cjtinhp at optonline.net>




More information about the users mailing list