Hi
I've installed the whole dependencies an recommended packages with cron-apt (but did not configurate the mail function).
But how can I be sure, that alle pending updates (security and software updates) were downloaded and(!) installed without user interaction (and therefore without promting root password) with cron-apt?
Without user interaction because my mother has absolutely no idea how to react.
If I run the following command (neither synaptic nor any other apt action continuing shell is open):
# /usr/sbin/cron-apt
I get the following output:
Code: Select all
CRON-APT RUN [/etc/cron-apt/config]: Tue Dec 25 16:17:01 CET 2018
CRON-APT SLEEP: 70, Tue Dec 25 16:18:11 CET 2018
CRON-APT ACTION: 0-update
CRON-APT LINE: /usr/bin/apt-get -o quiet=1 update -o quiet=2
W: Failed to fetch http://ftp.de.debian.org/debian/dists/stretch/InRelease T
emporary failure resolving 'ftp.de.debian.org'
W: Failed to fetch http://security.debian.org/debian-security/dists/stretch/u
pdates/InRelease Temporary failure resolving 'security.debian.org'
W: Failed to fetch http://ftp.de.debian.org/debian/dists/stretch-updates/InRe
lease Temporary failure resolving 'ftp.de.debian.org'
W: Failed to fetch http://ftp2.de.debian.org/debian/dists/stretch-backports/I
nRelease Temporary failure resolving 'ftp2.de.debian.org'
W: Some index files failed to download. They have been ignored, or old ones u
sed instead.
CRON-APT ACTION: 3-download
CRON-APT LINE: /usr/bin/apt-get -o quiet=1 autoclean -y
Reading package lists...
Building dependency tree...
Reading state information...
CRON-APT LINE: /usr/bin/apt-get -o quiet=1 dist-upgrade -d -y -o APT::Get::Sh
ow-Upgraded=true
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily una
vailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another p
rocess using it?
CRON-APT RUN [/etc/cron-apt/config]: Tue Dec 25 16:38:09 CET 2018
CRON-APT ACTION: 0-update
CRON-APT LINE: /usr/bin/apt-get -o quiet=1 update -o quiet=2
CRON-APT ACTION: 3-download
CRON-APT LINE: /usr/bin/apt-get -o quiet=1 autoclean -y
Reading package lists...
Building dependency tree...
Reading state information...
CRON-APT LINE: /usr/bin/apt-get -o quiet=1 dist-upgrade -d -y -o APT::Get::Sh
ow-Upgraded=true
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
ghostscript libgs9 libgs9-common
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/7452 kB of archives.
After this operation, 0 B of additional disk space will be used.
Download complete and in download only mode
In comparison with the /etc/apt/sources.list:
Code: Select all
deb http://ftp.de.debian.org/debian/ stretch main non-free contrib
deb-src http://ftp.de.debian.org/debian/ stretch main non-free contrib
deb http://security.debian.org/debian-security stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free
# stretch-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian/ stretch-updates main contrib non-free
deb http://ftp2.de.debian.org/debian/ stretch-backports main
deb-src http://ftp2.de.debian.org/debian/ stretch-backports main