View previous topic :: View next topic |
Author |
Message |
pacho2 Developer
Joined: 04 Mar 2005 Posts: 2599 Location: Oviedo, Spain
|
Posted: Tue Dec 27, 2005 7:31 pm Post subject: equery error after reiserfs curruption (FIXED) |
|
|
Hi!
After a filesystem corruption equery doesn´t work OK. It give me the correct results, but also give me an error:
Code: | portage: CONTENTS line 1 corrupt! |
For example:
Code: |
equery b nautilus
(results)
portage: CONTENTS line 1 corrupt! |
I have tried to re-emerge gentoolkit, but it hasn´t fixed the problem
Thanks a lot for your help and sorry my poor english
Last edited by pacho2 on Wed Dec 28, 2005 5:48 pm; edited 1 time in total |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9555 Location: beyond the rim
|
Posted: Tue Dec 27, 2005 11:47 pm Post subject: |
|
|
Sounds like your installed package database in /var/db/pkg got a bit corrupted.
The following command might give you a hint what files are broken (untested):
Code: | find /var/db/pkg -name "CONTENTS" | xargs egrep -v "^(dev|fif|sym|dir|obj)" |
|
|
Back to top |
|
|
pacho2 Developer
Joined: 04 Mar 2005 Posts: 2599 Location: Oviedo, Spain
|
Posted: Wed Dec 28, 2005 12:36 pm Post subject: |
|
|
I will try it. Thanks a lot
PD: Is there a command for rebuild this database?
Thanks |
|
Back to top |
|
|
pacho2 Developer
Joined: 04 Mar 2005 Posts: 2599 Location: Oviedo, Spain
|
Posted: Wed Dec 28, 2005 5:50 pm Post subject: |
|
|
Genone wrote: | Sounds like your installed package database in /var/db/pkg got a bit corrupted.
The following command might give you a hint what files are broken (untested):
Code: | find /var/db/pkg -name "CONTENTS" | xargs egrep -v "^(dev|fif|sym|dir|obj)" |
|
The problem is fixed. I run the line you sent me, and it gave me a CONTENTS files (hdparm one). I removed this file and re-emerged hdparm for re-create it, and now equery works fine
Thanks a lot |
|
Back to top |
|
|
|