Yum repositories to update or install package from ISO CDROM

Discussion regarding the installation and configuration of Linux distributions.

Yum repositories to update or install package from ISO CDROM

Postby shahidtanoli1980 » Sat Sep 26, 2009 2:19 pm

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
shahidtanoli1980
Cadet
 
Posts: 3
Joined: Sat Jan 26, 2008 1:00 am
WLM: shahidtanoli1980
Yahoo Messenger: shahidtanoli1980
Location: karachi

yum error

Postby ghulam yaseen » Sat Sep 26, 2009 7:43 pm

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
ghulam yaseen
Naik
 
Posts: 68
Joined: Thu Aug 07, 2008 6:09 pm
Location: karachi

Postby shahidtanoli1980 » Sun Sep 27, 2009 7:41 am

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/mirrorlist?repo=fedora-$releasever&arch=$basearch

Regards,
Shahid Ismail
shahidtanoli1980
Cadet
 
Posts: 3
Joined: Sat Jan 26, 2008 1:00 am
WLM: shahidtanoli1980
Yahoo Messenger: shahidtanoli1980
Location: karachi

Yum repositories to update or install package from ISO CDROM

Postby ghulam yaseen » Mon Sep 28, 2009 9:20 am

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
ghulam yaseen
Naik
 
Posts: 68
Joined: Thu Aug 07, 2008 6:09 pm
Location: karachi

Postby shahidtanoli1980 » Mon Sep 28, 2009 9:25 am

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
shahidtanoli1980
Cadet
 
Posts: 3
Joined: Sat Jan 26, 2008 1:00 am
WLM: shahidtanoli1980
Yahoo Messenger: shahidtanoli1980
Location: karachi

Yum repositories to update or install package from ISO CDROM

Postby ghulam yaseen » Mon Sep 28, 2009 9:31 am

glad to hear this :wink:


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


Return to “%s” Installation

Who is online

Users browsing this forum: No registered users and 2 guests

cron