LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-29-2007, 11:56 PM   #1
Darthwader
LQ Newbie
 
Registered: Aug 2007
Distribution: Fedora 7
Posts: 4

Rep: Reputation: 0
Repo being used in installation but not during update


I am using fedora 7 for sometime now and do regular updates and thus made my own repository of the packages that were downloaded during updates. Due to some reasons I had to format my comp but I had saved all the packages before. Now in the new installation I hosted my repository on my own comp by enabling the FTP server and adding its repo file in /etc/yum.repos.d
the following are the contents of repo file that I created

[myrepo]
name=myrepo
baseurl=ftp://172.16.12.167/pub/fedora
enabled=1
gpgcheck=0

I made the repo by using createrepo

Now the problem is that whenever I want to install any software it also checks myrepo and if it is present there it takes from there, that's fine. But when I want to update anything(like I give the command "yum update kernel") then it shows the following error

ftp://172.16.12.167/pub/fedora/repod...elists.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
Error: failure: repodata/filelists.xml.gz from myrepo: [Errno 256] No more mirrors to try.

Why is this happening? When I want to install anything it works fine but when I want to update anything it doesn't...
 
Old 09-30-2007, 07:32 AM   #2
Darthwader
LQ Newbie
 
Registered: Aug 2007
Distribution: Fedora 7
Posts: 4

Original Poster
Rep: Reputation: 0
One more thing... when I give command to install any package and it involves upgrading an already installed one then also it gives an error... If I disable this repo then everything works fine.
If I install any package which doesn't involve any upgradation then myrepo also workd fine
 
  


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 update problem, centos 4.92 repo no longer available parv Linux - Distributions 3 04-15-2007 07:10 PM
how to use syanptic in fc 5 and how to add repo and which repo to be added.. vikas04522 Fedora 1 08-26-2006 12:41 PM
how to use syanptic in fc 5 and how to add repo in it and which repo is to be added.. vikas04522 Linux - Software 1 08-26-2006 12:29 PM
installation of RHEL-4 Update 3 vivek reddy Linux - Software 2 03-29-2006 02:35 AM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 03:49 PM


All times are GMT -5. The time now is 07:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration