root@d5c73dbb41a2:/# apt-cache policy apt
apt:
Installed: 1.4.6~17.04.1
Candidate: 1.4.8
Version table:
1.4.8 500
500 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 Packages
*** 1.4.6~17.04.1 500
500 http://archive.ubuntu.com/ubuntu zesty-updates/main amd64 Packages
100 /var/lib/dpkg/status
1.4 500
500 http://archive.ubuntu.com/ubuntu zesty/main amd64 Packages
root@d5c73dbb41a2:/# grep Wants /lib/systemd/system/apt-daily.timer
Wants=network-online.target
root@d5c73dbb41a2:/# apt install apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
apt-doc aptitude | synaptic | wajig dpkg-dev powermgmt-base python-apt
The following packages will be upgraded:
apt
1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Need to get 1096 kB of archives.
After this operation, 1024 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 apt amd64 1.4.8 [1096 kB]
Fetched 1096 kB in 1s (850 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 4078 files and directories currently installed.)
Preparing to unpack .../archives/apt_1.4.8_amd64.deb ...
Unpacking apt (1.4.8) over (1.4.6~17.04.1) ...
Setting up apt (1.4.8) ...
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
root@d5c73dbb41a2:/# grep Wants /lib/systemd/system/apt-daily.timer
root@d5c73dbb41a2:/#
Verified on zesty:
root@d5c73dbb41 a2:/# apt-cache policy apt archive. ubuntu. com/ubuntu zesty-proposed/main amd64 Packages archive. ubuntu. com/ubuntu zesty-updates/main amd64 Packages dpkg/status archive. ubuntu. com/ubuntu zesty/main amd64 Packages a2:/# grep Wants /lib/systemd/ system/ apt-daily. timer online. target a2:/# apt install apt archive. ubuntu. com/ubuntu zesty-proposed/main amd64 apt amd64 1.4.8 [1096 kB] apt_1.4. 8_amd64. deb ... a2:/# grep Wants /lib/systemd/ system/ apt-daily. timer a2:/#
apt:
Installed: 1.4.6~17.04.1
Candidate: 1.4.8
Version table:
1.4.8 500
500 http://
*** 1.4.6~17.04.1 500
500 http://
100 /var/lib/
1.4 500
500 http://
root@d5c73dbb41
Wants=network-
root@d5c73dbb41
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
apt-doc aptitude | synaptic | wajig dpkg-dev powermgmt-base python-apt
The following packages will be upgraded:
apt
1 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Need to get 1096 kB of archives.
After this operation, 1024 B of additional disk space will be used.
Get:1 http://
Fetched 1096 kB in 1s (850 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 4078 files and directories currently installed.)
Preparing to unpack .../archives/
Unpacking apt (1.4.8) over (1.4.6~17.04.1) ...
Setting up apt (1.4.8) ...
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
root@d5c73dbb41
root@d5c73dbb41