LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-13-2010, 01:16 AM   #1
parkarnoor
Member
 
Registered: Apr 2010
Posts: 54

Rep: Reputation: 1
yum repository error


Dear all,

[local.repo]
name = my_repo
baseurl=file:///serverimage/serverimage/Server
enabled=1
gpgcheck=0

also in yum.conf
gpgcheck=0

i have copied all files under /serverimage/serverimage/Server from CD.

when i run the command: yum install <packagename>

it is giving error. although it is listing the package successfully.

but on the prompt 'is this OK'(y/n): y

Error downloading packages:
...i386:failure:..i386.rpm from local.repo: [Errno 256] No more mirrors to try.

my linux is : redhat linux 5.5
what i am doing wrong, any idea.

waiting.

--,mr. parkar
UAE
 
Old 10-13-2010, 01:21 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Thumbs up

Quote:
Originally Posted by parkarnoor View Post
Dear all,

when i run the command: yum install <packagename>

it is giving error. although it is listing the package successfully.

--,mr. parkar
UAE
Hi it is listing package successfully means what?
 
Old 10-13-2010, 01:22 AM   #3
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Thumbs up

Quote:
Originally Posted by parkarnoor View Post
Dear all,

when i run the command: yum install <packagename>

it is giving error. although it is listing the package successfully.

--,mr. parkar
UAE
Hi it is listing package successfully means what?

Can you explain it with example and can you post the exact error?
 
Old 10-14-2010, 12:11 AM   #4
parkarnoor
Member
 
Registered: Apr 2010
Posts: 54

Original Poster
Rep: Reputation: 1
hi,

after configuring repository, i run following commands

yum clean all

yum update all. then it shows meants 2308 packages counted

then when i run yum update particular package.

it will show me message...package set to update and then it will find out exact packagte rpm to install. and since i didnot used -y switch. it will ask for is this OK? message to continue intalling package

but when i press y for yes.

the error came. error downloading packages...error 256..no mirrors to copy.

if this is not enough i will post error message today.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. glowe Linux - Newbie 8 01-13-2016 11:55 PM
yum fails with error: Cannot retrieve repository metadata (repomd.xml) for repository dmendonsa Fedora 6 02-10-2010 08:23 PM
CentOS 5.2 yum repository error - Please help tezarin Linux - Software 7 01-07-2009 01:18 PM
Redhat 5.1 Yum Repository vs Fedora x.x Yum Repository lead2gold Linux - Software 1 05-22-2008 03:19 PM
error in configuration of Yum repository. Please help travellers Fedora 2 12-11-2005 11:12 PM


All times are GMT -5. The time now is 03:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration