"yum issues " thread
Hi all,
I am here by creating this new thread (naming as:"YUM ISSUES THREAD") to solve all yum related issues and trying to expand the knowledge on yum (server) repository creation and yum client configuration and software packages updation.
Please come and join to solve more issues of YUM.
1> My First question regarding yum issues started from here:
-----------Yum-server-side---------------------
-------------------------------------------------------
I am try to update one rpm package(unzip-5.52-6.fc8.i386.rpm) which is located on yum repository created by me in one of my machine in following location:
Repository location:
/var/www/html/updates/unzip-5.52-6.fc8.i386.rpm
After that i created metadata (.xml and .sqlite files) for the new packages in the repository
#createrepo /var/www/html/updates/
Now, repodata directory is created at /var/www/html/updates/ which contains metadata files, These files give straight information to yum-client for installation and updation.
---------------- yum-client-side -------------------
------------------------------------------------------------
As usual in the client-side
I created .repo file at /etc/yum.repos.d/ and this containing info as shown below:
#vi /etc/yum.repos.d/sample.repo
[updates]
name=sample updates
baseurl=http://10.0.0.145:80/updates/
enabled=1
gpgcheck=1
~
(for your clarity: No doubt apache is also running on server-side)
But when i used to run yum update , it(yum update) is asking some public key kind of thing. where do i get this public key or else how can i generate this key (weather in server / client side i need to generate). I need clear information regarding this.
I tried as shown below:
#yum update unzip-5.52-6.fc8.i386
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package unzip.i386 0:5.52-6.fc8 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Updating:
unzip i386 5.52-6.fc8 updates 142 k
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 1 Package(s)
Remove 0 Package(s)
Total download size: 142 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): unzip-5.52-6.fc8.i 100% |=========================| 142 kB 00:00
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6df2196f
Public key for unzip-5.52-6.fc8.i386.rpm is not installed
If possible try to provide a solution as early as possible.
Thanks in advance
Narendra
|