up vote 1 down vote favorite
share [g+] share [fb]

I am newbie in ubuntu. (Version 9.10) I get following error while installing any software from the Ubuntu Software Center.I also get same error while I update ubuntu from Ubuntu Update Center.

Any help??

alt text

link|improve this question

43% accept rate
feedback

1 Answer

Seems like the database is damaged. You could try to restore it from a previous state, like this:

sudo sh -c 'zcat /var/backups/dpkg.status.1.gz > /var/lib/dpkg/status'

Make sure to copy the file first to another backup.

Edit:

su
zcat /var/backups/dpkg.status.1.gz > /var/lib/dpkg/status
exit
link|improve this answer
Thanks.I tried that but it doesn't respond after I hit enter after the command.Cursor keeps blinking. – ravi Feb 1 '10 at 12:29
@ravi: Oh sorry...I should stop c/p commands...pleas try the the edit version. – Bobby Feb 1 '10 at 12:34
Thanks again.But after trying the edited version it gives error as "su: Authentication failure" – ravi Feb 1 '10 at 13:47
means that you need to su or sudo -s to the superuser account before you can do the next step. If you use su, you type the root password. If you use sudo, you type your password. – rescdsk Mar 5 '10 at 19:08
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.