No public key available and yum

Alexander Dalloz ad+lists at uni-x.org
Mon Aug 29 13:55:25 UTC 2005


Am Mo, den 29.08.2005 schrieb Vitaliy Ivanov um 15:27:
> On Monday 29 August 2005 16:18, Alexander Dalloz wrote:
> > Am Mo, den 29.08.2005 schrieb Vitaliy Ivanov um 11:25:

> > > Yum won't install dependent packages if you use localinstall.
> >
> > Wrong - it will.
> >
> > Alexander
> 
> I've never used this option of the yum utility, but if you will look through 
> the yum guide at:
> http://fedora.redhat.com/docs/yum/sn-yum-installing-frompackage.html
> 
> you will find that:
> 
> Meeting Dependencies
> 
> You must ensure that all of the dependencies are already installed on your 
> system, because yum cannot download additional packages to complete the 
> installation when performing a localinstall operation. 

.oO I feel you found a documentation bug. I will report it.

I only have an old FC2 with it's yum at hand, but running "yum
localinstall" on CentOS 4.1 shows how that command works:

$ yum localinstall ethereal-gnome-0.10.12-1.EL4.1.i386.rpm
Setting up Local Package Process
Examining ethereal-gnome-0.10.12-1.EL4.1.i386.rpm: ethereal-gnome -
0.10.12-1.EL4.1.i386
Marking ethereal-gnome-0.10.12-1.EL4.1.i386.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package ethereal-gnome.i386 0:0.10.12-1.EL4.1 set to be updated
--> Running transaction check
Setting up Repos
update                    100% |=========================|  951 B   
00:00
base                      100% |=========================| 1.1 kB   
00:00
addons                    100% |=========================|  951 B   
00:00
extras                    100% |=========================| 1.1 kB   
00:00
Reading repository metadata in from local files
update    : ################################################## 116/116
base      : ################################################## 1406/1406
extras    : ################################################## 32/32
Excluding Packages in global exclude list
Finished
--> Processing Dependency: ethereal = 0.10.12-1.EL4.1 for package:
ethereal-gnome
--> Processing Dependency: libethereal.so.0 for package: ethereal-gnome
--> Processing Dependency: libwiretap.so.0 for package: ethereal-gnome
--> Processing Dependency: libnetsnmp.so.5 for package: ethereal-gnome
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for net-snmp-libs to pack into transaction set.
net-snmp-libs-5.1.2-11.i3 100% |=========================|  20 kB   
00:00
---> Package net-snmp-libs.i386 0:5.1.2-11 set to be updated
---> Downloading header for ethereal to pack into transaction set.
ethereal-0.10.12-1.EL4.1. 100% |=========================|  34 kB   
00:00
---> Package ethereal.i386 0:0.10.12-1.EL4.1 set to be updated
--> Running transaction check
--> Processing Dependency: net-snmp >= 5.0 for package: ethereal
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for net-snmp to pack into transaction set.
net-snmp-5.1.2-11.i386.rp 100% |=========================|  32 kB   
00:00
---> Package net-snmp.i386 0:5.1.2-11 set to be updated
--> Running transaction check
 
Dependencies Resolved
Transaction Listing:
  Install: ethereal-gnome.i386 0:0.10.12-1.EL4.1 -
ethereal-gnome-0.10.12-1.EL4.1.i386.rpm
 
Performing the following to resolve dependencies:
  Install: ethereal.i386 0:0.10.12-1.EL4.1 - update
  Install: net-snmp.i386 0:5.1.2-11 - base
  Install: net-snmp-libs.i386 0:5.1.2-11 - base
Total download size: 9.3 M
Is this ok [y/N]: n
Exiting on user Command
Complete!

For the exercise I manually downloaded the
ethereal-gnome-0.10.12-1.EL4.1.i386.rpm file manually to /var/tmp/ and
run there "yum localinstall". You see, yum checks metadata and wants to
fetch the 3 dependencies.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 15:50:54 up 7 days, 12:34, load average: 0.18, 0.19, 0.17 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050829/602e3cc8/attachment-0001.sig>


More information about the fedora-list mailing list