← Back to team overview

touch-packages team mailing list archive

[Bug 1356700] Re: apt doesn't always recreate missing directories in /var/cache

 

Also removing everything in /var/cache seems a bit extreme, a more
concise test case would be removing things in /var/cache/apt/.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1356700

Title:
  apt doesn't always recreate missing directories in /var/cache

Status in apt package in Ubuntu:
  Confirmed

Bug description:
  I'm using Ubuntu 14.10 dev with apt 1.0.4ubuntu6 and if /var/cache
  gets emptied apt doesn't recreate in all cases the missing directories
  for example with the command "apt-get clean". Here is an example
  output:

  root@ubuntu:~# apt-get clean
  root@ubuntu:~# rm -fr /var/cache/*
  root@ubuntu:~# apt-get clean
  E: Could not open lock file /var/cache/apt/archives/lock - open (2: No such file or directory)
  E: Unable to lock the download directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1356700/+subscriptions


References