PDA

View Full Version : [SOLVED] Update Problem



slotto
December 13th, 2009, 06:31 PM
Hi,
I'm a new Ubuntu User. I migrated from Windows about 1 month ago.
Last week during an update, it hung up and the update couldn't complete. I got an error message, so I came here. I saw a similar problem another user was having so I followed their fix. It was to open terminal window and type something like... sodo rm * in some directory. I did that and my problem went away. Since then I couldn't get any uptates.
Today I get this message "Could not download all repository indexes" "Lists directory /var/lib/apt/lists partial is missing."

If someone could help, I would surely appreciate it.
Thanks,
Steve

Soul-Sing
December 13th, 2009, 06:53 PM
sudo mkdir -p /var/lib/apt/lists/partial

slakkie
December 13th, 2009, 07:31 PM
mkdir -p /var/cache/apt /var/cache/apt/apt-file /var/cache/apt/archives /var/cache/apt/archives/partial /var/cache/apt/partial


All the dirs you would need.

slotto
December 13th, 2009, 07:37 PM
This worked. Thanks leoquant.

slakkie, I get this...
mkdir: cannot create directory `/var/cache/apt/apt-file': Permission denied
mkdir: cannot create directory `/var/cache/apt/partial': Permission denied

slakkie
December 13th, 2009, 08:39 PM
This worked. Thanks leoquant.

slakkie, I get this...
mkdir: cannot create directory `/var/cache/apt/apt-file': Permission denied
mkdir: cannot create directory `/var/cache/apt/partial': Permission denied

sorry, you need to be root to do that, sudo mkdir -p <directories>

slotto
December 14th, 2009, 01:24 AM
These directories are now created.
Thanks, Slakkie!

Steve