Help! I cannot upgrade to New Ubuntu release 12.04.4 LTS

Nils Kassube kassube at gmx.net
Mon Apr 28 21:12:40 UTC 2014


Rick Magraw wrote:
> I followed Nils suggestion of moving the files, but now I am having a
> problem:
> 
> Error
> Archive directory /var/cache/apt/archive/partial is missing
> Could not open lock file /var/cache/apt/archive/lock - open (2: No
> such file or directory)
> Unable to lock the download directory.

Further to Colin's reply: When running the commands, did you copy & 
paste them from the email or did you type them manually? Maybe you made 
a typo? Please post the output of this command:

ls -ld /var/cache/apt/archives

What the commands should do:

> sudo mv /var/cache/apt/archives/ /home

Move the directory "/var/cache/apt/archives/" to "/home" including the 
subdirectory "partial" and the file "lock".

> sudo ln -s /home/archives /var/cache/apt/

Make a symbolic link in the old directory with the name "archives" 
pointing to the new location in "/home".


Nils




More information about the ubuntu-users mailing list