Yum repositories to update or install package from ISO CDROM

Discussion regarding the installation and configuration of Linux distributions.
Post Reply
shahidtanoli1980
Cadet
Posts: 3
Joined: Sat Jan 26, 2008 1:00 am
Location: karachi
Contact:

Yum repositories to update or install package from ISO CDROM

Post by shahidtanoli1980 »

Hello,

I am configuring yum repositories to update from ISO image, it has been configured but I am getting following error while run yum list or yum install package name command.

---------------------------
Existing lock /var/run/yum.pid: another copy is running as pid 2945.

Another app is currently holding the yum lock; waiting for it to exit...

Another app is currently holding the yum lock; waiting for it to exit...
---------------------------


Regards,

Shahid Ismail
ghulam yaseen
Naik
Posts: 68
Joined: Thu Aug 07, 2008 6:09 pm
Location: karachi

yum error

Post by ghulam yaseen »

Dear Shahid,

probably you need to delete /var/run/yum.pid, pkill -9 yum, /etc/init.d/yum-updatesd restart and then try again.


Regards,
Ghulam Yaseen
shahidtanoli1980
Cadet
Posts: 3
Joined: Sat Jan 26, 2008 1:00 am
Location: karachi
Contact:

Post by shahidtanoli1980 »

Dear Ghulam.Yaseen

I have already tried to restart yum-updated service but no luck, it shows following error.

[root@fedora1 yum.repos.d]# yum install bind

Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirror ... &arch=i386 error was

[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>

Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

I observe that there should be comment mirror in default repository file, i will check and let you now if i need your help.

#mirrorlist=http://mirrors.fedoraproject.org/mirror ... =$basearch

Regards,
Shahid Ismail
ghulam yaseen
Naik
Posts: 68
Joined: Thu Aug 07, 2008 6:09 pm
Location: karachi

Yum repositories to update or install package from ISO CDROM

Post by ghulam yaseen »

Dear Shahid,

This error

[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>

means that your DNS are not confogired properly. Kindly check resolv.conf,
Other wise with the heading of this thread

Yum repositories to update or install package from ISO CDROM

it seems that you have CD iso to configure for yum. If this is really the case then check in your yum config file if there is any thing related with the URL which is causing the yum to go WWW and check for the updates, if you find any such thing then please comment that out.

Regards,
Ghulam Yaseen
shahidtanoli1980
Cadet
Posts: 3
Joined: Sat Jan 26, 2008 1:00 am
Location: karachi
Contact:

Post by shahidtanoli1980 »

Dear Ghulam Yaseen,

Issue has been corrected, i have moved/removed default repository file and copied GPG key in the /etc/pki/rpm-gpg.

Regards,
Shahid Ismail
ghulam yaseen
Naik
Posts: 68
Joined: Thu Aug 07, 2008 6:09 pm
Location: karachi

Yum repositories to update or install package from ISO CDROM

Post by ghulam yaseen »

glad to hear this :wink:


Regards,
Post Reply