[Bug 1547983] Re: Cache isn't always used

Brian Murray brian at ubuntu.com
Mon Feb 22 18:55:24 UTC 2016


Do you mean the cache on disk (/var/cache/apt/archives)? If so did you
check that the package actually is there on your disk? I tried to
reinstall vim-tiny which was in my cache and saw the following:

 $ sudo apt-get install --reinstall vim-tiny 
[sudo] password for bdmurray: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-2 linux-headers-4.4.0-2-generic linux-image-4.4.0-2-generic linux-image-extra-4.4.0-2-generic linux-tools-4.4.0-2 linux-tools-4.4.0-2-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/428 kB of archives.
After this operation, 0 B of additional disk space will be used.
Sorry, your system lacks support for the snapshot feature
(Reading database ... 910537 files and directories currently installed.)
Preparing to unpack .../vim-tiny_2%3a7.4.963-1ubuntu4_amd64.deb ...
Unpacking vim-tiny (2:7.4.963-1ubuntu4) over (2:7.4.963-1ubuntu4) ...
Setting up vim-tiny (2:7.4.963-1ubuntu4) ...


** Tags added: xenial

** Changed in: apt (Ubuntu)
       Status: New => Incomplete

-- 
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/1547983

Title:
  Cache isn't always used

Status in apt package in Ubuntu:
  Incomplete

Bug description:
  I'm using Ubuntu 16.04 dev with apt 1.2.3 and I'm noticing that using
  "apt-get download" does not always use the cache like this example
  shows:

  root at ubuntu:~/tmp# apt-get install adwaita-icon-theme-full --reinstall
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
  Need to get 8089 kB of archives.
  After this operation, 0 B of additional disk space will be used.
  Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 adwaita-icon-theme-full all 3.18.0-2ubuntu3 [8089 kB]
  60% [1 adwaita-icon-theme-full 6033 kB/8089 kB 75%]                                                                                                                                                                              422 kB/s 4s^C
  root at ubuntu:~/tmp# apt-get download adwaita-icon-theme-full
  Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 adwaita-icon-theme-full all 3.18.0-2ubuntu3 [8089 kB]
  12% [1 adwaita-icon-theme-full 1231 kB/8089 kB 15%]^C

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



More information about the foundations-bugs mailing list