Error in repoitory initialization

Hello there. I’m new to linux as of today, and I’m really liking it so far, but I’ve already run into issues.

When I open up the software manager in openSUSE 11.3 (KDE), I receive the following warning message:

There was an error in the repository initialization.
‘repo-update’: http://download.opensuse.org/update/11.3/
[repo-update|http://download.opensuse.org/update/11.3] Repository is not cached

From there, I’m unable to install anything (I want to install WICD because KNetworkManager is not working for me). How do I resolve this issue? And what does the message mean anyway?

Thanks

Try this first in a console
become root by
su -
enter root password (note this does not echo to the screen)
rpm --rebuilddb

Nothing happens – I receive the same message

OK try removing and resetting that repo.

You get no message from the rebuilddb

One thing more, i think you will not find WICD in update/oss repo for 11.3.
You have some options here, either to install from here OR download its rpm and manually install it.

software.opensuse.org: Search Results - WICD

Good luck

Wait a minute. I assume you are connected to the Internet vi hardwire since your wireless is not working. And that it is working. If not you can not get to a repo. Which may cause the error.

I’m no sure what you mean by ‘that repo’, let alone how I’ll reset it

And yes, I didn’t get any message from rebuilddb, but after trying what you suggested. I tried to run the software manager again and received that message.

Thanks. I already have the rpm though – it’s just that I can’t install it until I get this problem fixed.

I’m actually using my mac to get on the internet. I haven’t tried an ethernet cord yet, though, so I’ll see if that gets me online with opensuse for the time being.

Thanks for the quick responses you guys

Hey guys!
I have no clue what happened, but I’m not getting the warning message anymore, in fact I’ve succesfully installed WICD!
All this after I decided to use my ethernet cord. I can’t come up with any logical explanation, but at least the problem is resolved

OK easy one. You did not have the WIFI working so the machine could not get to the Internet. LOL there is no magic. If you can’t get to the Internet then how are you going to get to the repositories that are on the Internet. You first need a Internet connection. :slight_smile:

wait a sec, I’m not quite sure I understand why you have to be connected to the internet. I thought a repository was just a place you could download rpm files and that an rpm file was just something similar to a .tar.gz or .zip file but contained installation information. So, is the material actually installed from the internet? If not, then I don’t see why I can’t just download the files manually on another computer, then install them off of my flash drive.

On 2010-08-10 19:36, lotsofSsquares wrote:
>
> gogalthorp;2204320 Wrote:
>> OK easy one. You did not have the WIFI working so the machine could not
>> get to the Internet. LOL there is no magic. If you can’t get to the
>> Internet then how are you going to get to the repositories that are on
>> the Internet. You first need a Internet connection. :slight_smile:
>
> wait a sec, I’m not quite sure I understand why you have to be
> connected to the internet. I thought a repository was just a place you
> could download rpm files and that an rpm file was just something similar
> to a .tar.gz or .zip file but contained installation information. So, is
> the material actually installed from the internet? If not, then I don’t
> see why I can’t just download the files manually on another computer,
> then install them off of my flash drive.

All the repositories are external, in internet. Metadata and data, all. No internet, no repos.

Of course you can download on another computer, but you can not install those using zypper or yast,
if internet does not work.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

Yes you could just go to the site and download the rpm, true. But to get to that site you must be connected to the Internet, perhaps on another machine. If you tried to install that RPM and it in turn had dependencies there is no way to pull them in. If Yast can not connect to the Internet it can not connect to the repository and can not work. Thus the original error and question. For Yast/zypper to work there must be a Internet connection to get to external repositories. If you disabled any external repositories in the Repository Management section of Yast. You could use the the CD?DVD as a repo and install anything that may be on that disk. But that is far from complete.