Auto Upgrading Tor Using Unattended Ugrades

Hello all, So I am now auto upgrading tor using the method at https://trac.torproject.org/projects/tor/wiki/TorRelayGuide/DebianUbuntuUpda... Upon testing, this is what I got. Initial blacklisted packages: Initial whitelisted packages: Starting unattended upgrades script Allowed origins are: [] Checking: firefox-esr ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>]) Checking: google-cloud-sdk ([<Origin component:'main' archive:'cloud-sdk-stretch' origin:'cloud-sdk-stretch' label:'cloud-sdk-stretch' site:'packages.cloud.google.com' isTrusted:True>]) Checking: google-compute-engine ([<Origin component:'main' archive:'google-compute-engine-stretch-stable' origin:'google-compute-engine-stretch-stable' label:'google-compute-engine-stretch-stable' site:'packages.cloud.google.com' isTrusted:True>]) Checking: google-compute-engine-oslogin ([<Origin component:'main' archive:'google-compute-engine-stretch-stable' origin:'google-compute-engine-stretch-stable' label:'google-compute-engine-stretch-stable' site:'packages.cloud.google.com' isTrusted:True>]) Checking: libavcodec57 ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>]) Checking: libavfilter6 ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>]) Checking: libavformat57 ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>]) Checking: libavresample3 ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>]) Checking: libavutil55 ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>]) Checking: libpostproc54 ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>]) Checking: libswresample2 ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>]) Checking: libswscale4 ([<Origin component:'main' archive:'stable' origin:'Debian' label:'Debian-Security' site:'security.debian.org' isTrusted:True>]) Checking: python-google-compute-engine ([<Origin component:'main' archive:'google-compute-engine-stretch-stable' origin:'google-compute-engine-stretch-stable' label:'google-compute-engine-stretch-stable' site:'packages.cloud.google.com' isTrusted:True>]) Checking: python3-google-compute-engine ([<Origin component:'main' archive:'google-compute-engine-stretch-stable' origin:'google-compute-engine-stretch-stable' label:'google-compute-engine-stretch-stable' site:'packages.cloud.google.com' isTrusted:True>]) pkgs that look like they should be upgraded: Fetched 0 B in 0s (0 B/s) fetch.run() result: 0 blacklist: [] whitelist: [] No packages found that can be upgraded unattended and no pending auto-removals What I am attempting to do is automatically install new tor versions when they are released. Will this do that automatically? How can I keep this process running? Thanks. --Keifer

Hi,
On 28 May 2019, at 06:18, Keifer Bly <keifer.bly@gmail.com> wrote:
So I am now auto upgrading tor using the method at https://trac.torproject.org/projects/tor/wiki/TorRelayGuide/DebianUbuntuUpda...
Upon testing, this is what I got.
…
No packages found that can be upgraded unattended and no pending auto-removals
What I am attempting to do is automatically install new tor versions when they are released. Will this do that automatically? How can I keep this process running?
Step 4 of the instructions runs the process automatically every day. You will also need to follow these instructions to get the latest tor version:
From my last email:
When I tried updating tor I got a message saying that was the newest version.
It looks like you're on Debian or Ubuntu, please follow these instructions to update: https://2019.www.torproject.org/docs/debian.html.en
T

Is there a way that I can make sure that the auto update is happening? Thank you. --Keifer On Mon, May 27, 2019 at 3:55 PM teor <teor@riseup.net> wrote:
Hi,
On 28 May 2019, at 06:18, Keifer Bly <keifer.bly@gmail.com> wrote:
So I am now auto upgrading tor using the method at https://trac.torproject.org/projects/tor/wiki/TorRelayGuide/DebianUbuntuUpda...
Upon testing, this is what I got.
…
No packages found that can be upgraded unattended and no pending auto-removals
What I am attempting to do is automatically install new tor versions when they are released. Will this do that automatically? How can I keep this process running?
Step 4 of the instructions runs the process automatically every day.
You will also need to follow these instructions to get the latest tor version:
From my last email:
When I tried updating tor I got a message saying that was the
newest version.
It looks like you're on Debian or Ubuntu, please follow these instructions
to update:
https://2019.www.torproject.org/docs/debian.html.en
T _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

On 28.05.2019 09:45, Keifer Bly wrote:
Is there a way that I can make sure that the auto update is happening?
reading the logfiles in: var/log/unattended-upgrades Note: Integrate server via ftps in konqueror as a network folder and everything is readable in the filemanager. logwatch may be something you can look at. -- Ciao Marco!

Upon trying to open that folder, I got this. var/log/unattended-upgrades: No such file or directory Strange, I followed all of the directions on the tor project link I provided earlier exactly, wonder why that might be. Is there any other way to check this? thank you. --Keifer On Wed, May 29, 2019 at 1:46 AM <lists@for-privacy.net> wrote:
On 28.05.2019 09:45, Keifer Bly wrote:
Is there a way that I can make sure that the auto update is happening?
reading the logfiles in: var/log/unattended-upgrades
Note: Integrate server via ftps in konqueror as a network folder and everything is readable in the filemanager.
logwatch may be something you can look at.
-- Ciao Marco! _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

On 31.05.2019 02:43, teor wrote:
On 31 May 2019, at 10:34, Keifer Bly <keifer.bly@gmail.com> wrote:
Upon trying to open that folder, I got this.
var/log/unattended-upgrades: No such file or directory
Try a leading slash: /var/log/unattended-upgrades
sorry, slash was lost when I copy & paste. :-( If you want to read as user the files in /var/log/ $ usermod -aG adm user have a look: https://lists.torproject.org/pipermail/tor-relays/2019-May/017311.html -- Ciao Marco!

So upon opening the file in this folder, I am only seeing a blank file saying it is unwritable. I wonder why this might be, thanks. The file that's showing is unattended-upgrades-shutdown.log --Keifer On Sat, Jun 1, 2019 at 10:26 PM <lists@for-privacy.net> wrote:
On 31.05.2019 02:43, teor wrote:
On 31 May 2019, at 10:34, Keifer Bly <keifer.bly@gmail.com> wrote:
Upon trying to open that folder, I got this.
var/log/unattended-upgrades: No such file or directory
Try a leading slash: /var/log/unattended-upgrades
sorry, slash was lost when I copy & paste. :-(
If you want to read as user the files in /var/log/ $ usermod -aG adm user
have a look: https://lists.torproject.org/pipermail/tor-relays/2019-May/017311.html
-- Ciao Marco! _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays

On 03.06.2019 05:54, Keifer Bly wrote:
So upon opening the file in this folder, I am only seeing a blank file saying it is unwritable. I wonder why this might be
;-) Only root can read the logfiles. You have to use sudo or su. Or you as a user are a member of the group 'adm'. Then you can read some and open the folder: '/var/log/unattended-upgrades'. Therefore the tip in the last message. EXAMPLE: user@tor-proxy-02:~$ cd /var/log/unattended-upgrades user@tor-proxy-02:/var/log/unattended-upgrades$ ls -la total 28 drwxr-x--- 2 root adm 4096 Jun 1 06:25 . drwxr-xr-x 8 root root 4096 Jun 3 06:25 .. -rw-r--r-- 1 root adm 0 Jun 1 06:25 unattended-upgrades-dpkg.log -rw-r--r-- 1 root adm 403 May 15 06:18 unattended-upgrades-dpkg.log.1.gz -rw-r--r-- 1 root adm 333 May 11 06:10 unattended-upgrades-dpkg.log.2.gz -rw-r--r-- 1 root root 800 Jun 3 06:39 unattended-upgrades.log -rw-r--r-- 1 root root 1234 Jun 1 06:01 unattended-upgrades.log.1.gz -rw-r--r-- 1 root root 673 Apr 30 06:06 unattended-upgrades.log.2.gz -rw-r--r-- 1 root root 0 Apr 15 22:13 unattended-upgrades-shutdown.log user@tor-proxy-02:/var/log/unattended-upgrades$ sudo nano unattended-upgrades.log
Google Cloud does not include a desktop interface in their Debian VPS so I am having to use nano to open everything. Thanks.
Not on the server. ;-) In the filemanager on your home system. I can read my serverfile systems just like my files on the hard disk. My everyday OS is Debian GNU/Linux. Most filemanager on *BSD, GNU/Linux and Unix systems should be able to do ftps or (File transfer over SSH). In konqueror & Dolphin = FISH protocol. I only use PubkeyAuthentication on the servers! Then you do not have to log in on the console to read the log files. https://www.binarytides.com/ssh-dolphin-konqueror-kde/ Ciao Marco!
On Sat, Jun 1, 2019 at 10:26 PM <lists@for-privacy.net> wrote:
On 31.05.2019 02:43, teor wrote:
On 31 May 2019, at 10:34, Keifer Bly <keifer.bly@gmail.com> wrote:
Upon trying to open that folder, I got this.
var/log/unattended-upgrades: No such file or directory
Try a leading slash: /var/log/unattended-upgrades
sorry, slash was lost when I copy & paste. :-(
If you want to read as user the files in /var/log/ $ usermod -aG adm user
have a look: https://lists.torproject.org/pipermail/tor-relays/2019-May/017311.html
-- Ciao Marco!

It appears that folder does exist. What is the name of the log file? Google Cloud does not include a desktop interface in their Debian VPS so I am having to use nano to open everything. Thanks. --Keifer On Thu, May 30, 2019 at 5:43 PM teor <teor@riseup.net> wrote:
On 31 May 2019, at 10:34, Keifer Bly <keifer.bly@gmail.com> wrote:
Upon trying to open that folder, I got this.
var/log/unattended-upgrades: No such file or directory
Try a leading slash: /var/log/unattended-upgrades
T _______________________________________________ tor-relays mailing list tor-relays@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
participants (3)
-
Keifer Bly
-
lists@for-privacy.net
-
teor