Manual for apt

Ralf Mardorf silver.bullet at zoho.com
Sat Sep 3 12:50:44 UTC 2016


On Sat, 3 Sep 2016 08:00:59 -0400, Tom H wrote:
>On Sat, Sep 3, 2016 at 4:01 AM, Ralf Mardorf wrote:
>
>> Packages installed by either apt "full-upgrade" or "install", e.g.
>>
>> # apt -o APT::Color="0" full-upgrade
>> # apt install alpine-pico
>>
>> are not stored in /var/cache/apt/archives/.  
>
>Are you sure? (The following's on a Debian 8 system.)

[weremouse at moonstudio ~]$ ls -lA /var/cache/apt/archives/
total 4
-rw-r----- 1 root root    0 Sep  3 09:14 lock
drwx------ 2 _apt root 4096 Sep  3 09:14 partial
[weremouse at moonstudio ~]$ sudo apt install alpine-pico
[snip]
Unpacking alpine-pico (2.20+dfsg1-2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up alpine-pico (2.20+dfsg1-2) ...
update-alternatives: using /usr/bin/pico.alpine to provide /usr/bin/pico (pico) in auto mode
[weremouse at moonstudio ~]$ ls -lA /var/cache/apt/archives/
total 4
-rw-r----- 1 root root    0 Sep  3 09:14 lock
drwx------ 2 _apt root 4096 Sep  3 14:36 partial
[weremouse at moonstudio ~]$ sudo apt clean
[weremouse at moonstudio ~]$ sudo apt autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
[weremouse at moonstudio ~]$ apt list -a apt
Listing... Done
apt/xenial-updates,now 1.2.12~ubuntu16.04.1 amd64 [installed]
apt/xenial 1.2.10ubuntu1 amd64





More information about the ubuntu-users mailing list