Help! I cannot upgrade to New Ubuntu release 12.04.4 LTS

Nils Kassube kassube at gmx.net
Tue Apr 29 06:41:13 UTC 2014


Rick Magraw wrote:
> rsm at rsm-laptop:~$ ls -ld /var/cache/apt/archives
> ls: cannot access /var/cache/apt/archives: No such file or directory
> rsm at rsm-laptop:~$
> 
> N.B. I did manually type in the original command lines.

Well, that explains it. :) I think you mistyped the ln command because 
the "archives" directory is gone and there is no link with that name. It 
would also match the error message. The directory 
"/var/cache/apt/archives/partial" is indeed missing because the parent 
directory is missing as well and the file "/var/cache/apt/archives/lock" 
can't be opened because there is no directory for it. I Think it would 
be sufficient to run the ln command again:

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


Nils





More information about the ubuntu-users mailing list