LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 09-17-2010, 06:19 AM   #1
Keith_EE
LQ Newbie
 
Registered: Sep 2010
Posts: 4

Rep: Reputation: 0
Deleted Repository Now Get errors


Hello,

On the advice from someone to delete repositories, I did. But then when I run software management or software repository, I get the following error in a pop-up window:

There was an error in the repository initialization.
File './repo/repoindex.xml' not found on medium 'http://packman.links2linux.de/package/?cookies=0'

History:
- [AbstractCommand.cc:224] URI=http://packman.links2linux.de/package/repo/repoindex.xml?cookies=0

--------------
I added the repositories back in YaST and also tried a different mirror for packman but I still get this error.

I don't know where to look to see what is causing this, any ideas?

--------------

In YaST when I look at installed packages and the versions, some versions are blue and some are red. What do the different colors mean?

Thanks
 
Old 09-19-2010, 05:12 AM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by Keith_EE View Post
In YaST when I look at installed packages and the versions, some versions are blue and some are red. What do the different colors mean?
This is the easy part, so I'll take that first:
  • 'blue' is a package for which there is an updated version available, and if you click on it, the update ought to be selected and you should just get the updated version as soon as you commit all of the updates on leaving yast
  • 'reds' are packages for which even the existing version is no longer available, after whatever repo configuration changes have been taken into account (could be that you no longer have any repo containing this package selected, could be that you have repo(s) with this package, but only older versions)

'Red' isn't necessarily a 'problem'; if using, eg, factory, a well known tactic is to enable the repo, get the updates and then disable the repo. The packages will then turn red, but if you have once got a stable situation, you won't get updates to a situation which may be less stable, or contain experimental features that you don't want. (Some will argue '...and where's the fun in that...' of course.)

For more advice on the rest, you may have to say which version of SuSE, which GUI and maybe even how you did this.

Quote:
Originally Posted by Keith_EE View Post

There was an error in the repository initialization.
File './repo/repoindex.xml' not found on medium 'http://packman.links2linux.de/package/?cookies=0'...

I added the repositories back in YaST and also tried a different mirror for packman but I still get this error.
There seems something odd about the syntax that you see there; I don't recognise ?cookies=0, and you are using a German repo mirror. Is there a reason for this?

Where exactly are you setting this up (there are several ways of skinning this particular cat and you could be just using one with which I am not familiar) and where did you get the information that you are adding in?

if you are using 11.3/KDE you can tell what is coming from which repo by selecting the repo view (didn't exist in 11.1...not sure about 11.2, I've never used it). alternatively, you can select a 'red' package and go into 'versions'.

To add a repo, you can use webpin or 'one click install' to find a repo with a suitable version of the package. Copy the repo address. Go into yast > install and remove > configuration and add a repo as http, pasting the text that you got earlier. Add a repo name, without 'special' characters such as underscores, etc. Yast will rebuild the package list, showing the effect of your changes.

In general the operation of priorities has changed a bit over releases, and 11.2 was probably the first release in which it worked vaguely correctly. In earlier versions be prepared to select versions manually to sort out the more tricky cases. In the later version, life is a bit simpler. In 11.3 you can probably get away with setting everything at the default priority (but I still let all of the basics have 99, set the 'add-ons' to 105 (eg, packman, webapps, server monitoring) and any personal repos (with someone's name in them...because I think that they are more likely to come and go over time) to 110, but that may just be a habit that I have retained from back when priorities didn't really work all that cleanly).

Last edited by salasi; 09-19-2010 at 05:13 AM. Reason: ...a bit of emphasis...
 
1 members found this post helpful.
Old 11-26-2010, 06:58 AM   #3
Keith_EE
LQ Newbie
 
Registered: Sep 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the help. I clicked on View services and there were repository entries related to the errors. I deleted them and so far everything has been working ok. Thanks again for helping.
 
  


Reply



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 10:55 PM
Cannot retrieve repository metadata (repomd.xml) for repository kapshure Linux - Server 2 07-19-2010 10:25 AM
yum fails with error: Cannot retrieve repository metadata (repomd.xml) for repository dmendonsa Fedora 6 02-10-2010 07:23 PM
Cannot retrieve repository metadata (repomd.xml) for repository ukwho Fedora 6 07-04-2009 03:41 AM
Error: Cannot retrieve repository metadata (repomd.xml) for repository: atrpms. stioanid Linux - Software 3 12-13-2008 01:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:05 PM.

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
Open Source Consulting | Domain Registration