Database not found or corrupted [Solved]

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Database not found or corrupted [Solved]

Postby The Sk » Fri Feb 17, 2012 5:48

Hi all.

I just emerged entropy and I've ran into a problem.

Whenever I try to equo update i get the following:

Code: Select all
castle run # equo update
>> Repository sabayon-weekly hasn't been downloaded yet.
>> Repository sabayon-weekly is not available. Cannot validate
>> RepositoryError()
>> !!! Please update your repositories now in order to remove this message!
>> Repository sabayonlinux.org hasn't been downloaded yet.
>> Repository sabayonlinux.org is not available. Cannot validate
>> RepositoryError()
>> !!! Please update your repositories now in order to remove this message!
>>  @@ Repositories synchronization ...
>>  @@ Resources still locked, giving up!


My repositories.conf looks like this:

# Sabayon Linux Official Repository
repository|sabayonlinux.org|Sabayon Linux Official Repository|http://cerberus.itti.ifce.edu.br/entropy|http://pkg.sabayon.org,sabayon.org
repository|sabayonlinux.org||http://riksun.riken.go.jp/pub/pub/Linux/sabayon/entropy|
repository|sabayonlinux.org||http://ftp.sh.cvut.cz/MIRRORS/sabayon/entropy|
repository|sabayonlinux.org||http://ftp2.cz.freebsd.org/pub/sabayon/entropy|
repository|sabayonlinux.org||http://debian.mirror.dkm.cz/sabayon/entropy|
repository|sabayonlinux.org||http://mirror.us.sabayon.org/sabayon/entropy|
repository|sabayonlinux.org||http://mirror.umoss.org/sabayonlinux/entropy|
repository|sabayonlinux.org||ftp://ftp.klid.dk/sabayonlinux/entropy|
repository|sabayonlinux.org||http://ftp.fsn.hu/pub/linux/distributions/sabayon/entropy|
repository|sabayonlinux.org||ftp://ftp.fsn.hu/pub/linux/distributions/sabayon/entropy|
repository|sabayonlinux.org||http://mirrors.cs.wmich.edu/sabayon/entropy|
repository|sabayonlinux.org||http://ftp.surfnet.nl/pub/os/Linux/distr/sabayonlinux/entropy|
repository|sabayonlinux.org||ftp://ftp.nluug.nl/pub/os/Linux/distr/sabayonlinux/entropy|
repository|sabayonlinux.org||http://ftp.cc.uoc.gr/mirrors/linux/SabayonLinux/entropy|
repository|sabayonlinux.org||http://mirror.dun.nu/sabayonlinux/entropy|
repository|sabayonlinux.org||http://ftp.rnl.ist.utl.pt/pub/sabayon ftp://ftp.rnl.ist.utl.pt/pub/sabayon|
repository|sabayonlinux.org||http://mirror.internode.on.net/pub/sabayonlinux/entropy|
repository|sabayonlinux.org||http://cross-lfs.sabayonlinux.org/entropy|
repository|sabayonlinux.org||http://na.mirror.garr.it/mirrors/sabayonlinux/entropy|



Are these the correct repositories?

Also, whenever I try to run sulfur I get "database not found or corrupted" and it runs on safemode. Any help would be appreciated. Thanks
Last edited by The Sk on Tue Mar 06, 2012 3:06, edited 1 time in total.
The Sk
Young Hen
 
Posts: 30
Joined: Tue Jan 29, 2008 2:10

Re: Database not found or corrupted

Postby The Sk » Mon Mar 05, 2012 5:07

It's somehow fixed. However I can't seem to update the repository, it downloads to about 40 percent, restarts the download from 0 and dies saying it's not available.

Is there a way for me to download it manually and update it kinda like a portage snapshot?
The Sk
Young Hen
 
Posts: 30
Joined: Tue Jan 29, 2008 2:10

Re: Database not found or corrupted

Postby sabayonino » Mon Mar 05, 2012 12:42

The Sk wrote:It's somehow fixed. However I can't seem to update the repository, it downloads to about 40 percent, restarts the download from 0 and dies saying it's not available.

Is there a way for me to download it manually and update it kinda like a portage snapshot?

check if "dhcpcd" service is running

or

Code: Select all
#/etc/init.d/dhcpcd start


Try update repositories again

If it works :
Code: Select all
# rc-update add dhcpcd default
User avatar
sabayonino
Sagely Hen
 
Posts: 1602
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Database not found or corrupted

Postby mélodie » Tue Mar 06, 2012 1:46

The Sk wrote:It's somehow fixed. However I can't seem to update the repository, it downloads to about 40 percent, restarts the download from 0 and dies saying it's not available.


Hi,
Have you checked if enough disk space is available ? In console the command "df -m" or "df -h" will tell you all.
mélodie
Simple Hen
 
Posts: 95
Joined: Tue Feb 14, 2012 10:41

Re: Database not found or corrupted

Postby The Sk » Tue Mar 06, 2012 2:41

Thanks for the info guys.

The problem is my slow connection, it takes a while for it to reach a certain percentage and thus resets the download. If I could download it seperately and update it like a snapshot I would get around this.

EDIT: I managed to do it with svn.
The Sk
Young Hen
 
Posts: 30
Joined: Tue Jan 29, 2008 2:10

Re: Database not found or corrupted

Postby mélodie » Tue Mar 06, 2012 11:57

The Sk wrote:EDIT: I managed to do it with svn.


Hi,
I am curious about the method, how did you do that ?

Strange that entropy does not have any kind of resume method ? pcmanfm from Archlinux for instance can use wget or curl...
mélodie
Simple Hen
 
Posts: 95
Joined: Tue Feb 14, 2012 10:41


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 0 guests