apt-get does not work the first time but works the second time.
apt-get -q -y install ntp=1:4.2.6.p3+dfsg-1ubuntu3.1
It failed saying:
WARNING: The following packages cannot be authenticated! libcap2 libopts25 ntp E: There are problems and -y was used without --force-yes
Afterwards I ran:
and ran the same commad with
apt-get -q -y --force-yes install ntp=1:4.2.6.p3+dfsg-1ubuntu3.1
apt-get purge and reinstalling,
apt-get purge libcap2 libopts25 ntp apt-get -q -y install ntp=1:4.2.6.p3+dfsg-1ubuntu3.1
Also I created a fresh VM and could not reproduce the issue. On a fresh VM, the same
apt-get command runs the first time, without
Two questions, why does running
apt-get work the second time and cannot reproduce the error?
Full errors and sequential steps at https://gist.github.com/3017966.