[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#426785: apt-get: cannot remove packages when downloading



Package: apt
Version: 0.6.46.4-0.1
Severity: wishlist
File: /usr/bin/apt-get

Probably fixing this will only add complexity, but still:
Do
# apt-get --download-only --purge dist-upgrade

Then in another window do
# apt-get -m --no-download --purge remove debsecan
The following packages will be REMOVED:
  debsecan*
0 upgraded, 0 newly installed, 1 to remove and 156 not upgraded.
E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the download directory

But there is no need to check for that lock, as we aren't downloading
anything. OK, used dpkg -P instead.



Reply to: