couldn't rebuild package cache

Asked by itskyle666

Trying to run aptitude upgrade and security.ubuntu.com stopped responding for a little while. I am running xubuntu 6.10.

My upgrade stalled and then after the download would not continue I stopped it (Ctrl-C).

Since then if I try to run aptitude update or upgrade I get a command to run dpkg --configure -a

When run I get a segmentation fault (core dumped) and then nothing

What can I do to address this?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Ralph Janke
Solved:
Last query:
Last reply:
Revision history for this message
Joshua Henderson (joshuahenderson) said :
#1

Run:

sudo dpkg --configure -a

in the terminal to give the requested operation superuser privilege. You will need to be logged in as a admin, and it will request your password. Once you enter your password and press enter, it will run the operation.

Revision history for this message
itskyle666 (pyromanick) said :
#2

I'm logged in as a admin when i did this

Revision history for this message
Best Ralph Janke (txwikinger) said :
#3

Ubuntu does not have an admin login in the traditional way. You temporarily obtain superuser privileges for one command via sudo.

I hope this helps

Revision history for this message
itskyle666 (pyromanick) said :
#4

Thanks txwikinger, that solved my question.

Revision history for this message
jmguardado (jmguardado) said :
#5

Thanks, this resolve my problem.