Repository sabayonlinux.org is corrupted. Cannot validate

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Repository sabayonlinux.org is corrupted. Cannot validate

Postby eris23 » Fri Nov 07, 2008 1:46

running sudo equo update
equo update --force doesn't work

>> Repository sabayonlinux.org is corrupted. Cannot validate
>> Cache is now empty.

Traceback (most recent call last):
File "equo.py", line 413, in <module>
rc = text_repositories.repositories(options)
File "../client/text_repositories.py", line 54, in repositories
rc = do_sync(reponames = repo_names, forceUpdate = equoRequestForceUpdate)
File "../client/text_repositories.py", line 180, in do_sync
rc = repoConn.sync()
File "../libraries/entropy.py", line 7669, in sync
rc = self.run_sync()
File "../libraries/entropy.py", line 7053, in run_sync
status = self.handle_eapi3_database_sync(repo)
File "../libraries/entropy.py", line 6689, in handle_eapi3_database_sync
myidpackages = mydbconn.listAllIdpackages()
File "../libraries/entropy.py", line 32379, in listAllIdpackages
self.cursor.execute('SELECT idpackage FROM baseinfo'+branchstring+orderbystring, searchkeywords)
DatabaseError: database disk image is malformed

Frame listAllIdpackages in ../libraries/entropy.py at line 32379
order_by = None
searchkeywords = []
orderbystring =
branch = None
branch_operator = =
self = <entropy.EntropyDatabaseInterface instance at 0xa3bff8c>
branchstring =
eris23
Simple Hen
 
Posts: 65
Joined: Thu Jan 19, 2006 5:53

Re: Repository sabayonlinux.org is corrupted. Cannot validate

Postby wolfden » Fri Nov 07, 2008 6:10

which version of equo/entropy are you using?
User avatar
wolfden
Sharecropper
 
Posts: 8824
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Repository sabayonlinux.org is corrupted. Cannot validate

Postby eris23 » Fri Nov 07, 2008 6:59

0.23.1
eris23
Simple Hen
 
Posts: 65
Joined: Thu Jan 19, 2006 5:53

Re: Repository sabayonlinux.org is corrupted. Cannot validate

Postby eris23 » Fri Nov 07, 2008 10:53

sudo equo database check didn't work
sudo equo database generate didn't work
manually emerging the 0.23.8 packages didn't work
rm /var/lib/entropy/client/database/x86/sabayonlinux.org/standard/x86/3.5/* worked
but is there a better way if it happens again?
eris23
Simple Hen
 
Posts: 65
Joined: Thu Jan 19, 2006 5:53

Re: Repository sabayonlinux.org is corrupted. Cannot validate

Postby wolfden » Fri Nov 07, 2008 12:25

the latest entropy allows you to back up the db - check with equo --help

From the man himself
viewtopic.php?f=76&t=14358#p86532
User avatar
wolfden
Sharecropper
 
Posts: 8824
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Repository sabayonlinux.org is corrupted. Cannot validate

Postby lxnay » Fri Nov 07, 2008 14:59

Just re-download the repository
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3440
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Repository sabayonlinux.org is corrupted. Cannot validate

Postby eris23 » Fri Nov 07, 2008 19:14

so "sudo equo database backup" will backup the repository database. But, is that all the repositories? Or, can one pick and choose (I tend to have jenna as well). It was only the main sabayonlinux repository database that will damaged.

lxnay: which command re-downloads the repository? equo update --force hadn't worked.
eris23
Simple Hen
 
Posts: 65
Joined: Thu Jan 19, 2006 5:53

Re: Repository sabayonlinux.org is corrupted. Cannot validate

Postby lxnay » Fri Nov 07, 2008 20:37

There are two different databases, one is your system database, which seems sane, and which you can backup with the tools provided in 0.23.x. The other one is the repository database, if it got corrupted, who cares, just redownload it using "equo update --force". Try again now since we had several programmed downtimes these days.
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3440
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: Repository sabayonlinux.org is corrupted. Cannot validate

Postby eris23 » Fri Nov 07, 2008 20:46

Again, if the repository database is damaged, and even the --force option won't overwrite it, is it best to "rm /var/lib/entropy/client/database/x86/sabayonlinux.org/standard/x86/3.5/*", or is there a better way?
eris23
Simple Hen
 
Posts: 65
Joined: Thu Jan 19, 2006 5:53

Re: Repository sabayonlinux.org is corrupted. Cannot validate

Postby lxnay » Fri Nov 07, 2008 21:12

it should overwrite it.
What's the output ?
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3440
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Next

Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest