Tag Archive - apt-get

python apt-get cron updates

I wanted the system to send me a mail every month the updates it has for the packages, i tried using subprocess.Popen, thought to redirect the output to stdin and write it to a file, but it was terrible…something which i  could do easily in bash

apt-get -V upgrade > upgrade.log

after much of research I stumbled across python-apt http://www.wwclass.com/doc/python-apt/html/ and ola it worked like charm!!! below is the script.. Continue Reading…

 

apt-get error: W: There is no public key available for the following key IDs: 9AA38DCD55BE302B

solution:

gpg –keyserver wwwkeys.eu.pgp.net –recv-keys 9AA38DCD55BE302B
apt-key add .gnupg/pubring.gpg

apt-get update

W: There is no public key available for the following key IDs:
9AA38DCD55BE302B
 
Page 1 of 11
Theme Tweaker by Unreal