apt-get download does not use /var/cache/apt/archives
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned |
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@ubuntu:~/tmp# apt-get install adwaita-
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://
60% [1 adwaita-
root@ubuntu:~/tmp# apt-get download adwaita-
Get:1 http://
12% [1 adwaita-
Changed in apt (Ubuntu): | |
importance: | Undecided → Medium |
Changed in apt (Ubuntu): | |
importance: | Medium → Wishlist |
status: | Confirmed → Triaged |
summary: |
- apt-get download does not /var/cache/apt/archives + apt-get download does not use /var/cache/apt/archives |
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 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 tiny_2% 3a7.4.963- 1ubuntu4_ amd64.deb ... 963-1ubuntu4) over (2:7.4. 963-1ubuntu4) ... 963-1ubuntu4) ...
[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-
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-
Unpacking vim-tiny (2:7.4.
Setting up vim-tiny (2:7.4.