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

Brian Murray brian at ubuntu.com
Wed Jan 7 20:43:41 UTC 2015


With regards to the original problem statement, apt-get clean fails
because there is nothing in /var/cache/apt. However, apt-get update
works fine.

** Changed in: apt (Ubuntu)
   Importance: High => Medium

** Changed in: apt (Ubuntu)
   Importance: Medium => Low

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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 at ubuntu:~# apt-get clean
  root at ubuntu:~# rm -fr /var/cache/*
  root at 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



More information about the foundations-bugs mailing list