I have a small home network, I can easily go to each computer and do an update but I would like to increase my skills. My current update policy for all computers is " Just keep my Computer safe". If I do an update from the command line will I be able to do it in the same manner?
I checked man apt-get, didn't see anything that suggested I could do conservative updates.
SOLVED- How to do updates using SSH for remote computers.
Forum rules
Before you post please read how to get help
Before you post please read how to get help
SOLVED- How to do updates using SSH for remote computers.
Last edited by bushyiii on Thu Dec 07, 2017 10:10 am, edited 1 time in total.
Re: How to do updates using SSH for remote computers.
You can use mintupdate-tool.
See
I use an
See
mintupdate-tool upgrade --help
for optionsI use an
alias mut='sudo mintupdate-tool upgrade -l12345 -ry'


Re: How to do updates using SSH for remote computers.
To update remote computer using your update policy settings you can for example use the following command :
Replace myremoteusername and myremotehost with your actual remote username and remote host name or ip address.
Code: Select all
ssh -t myremoteusername@myremotehost sudo mintupdate-tool upgrade
Last edited by Laurent85 on Thu Dec 07, 2017 10:28 am, edited 1 time in total.

Re: How to do updates using SSH for remote computers.
Thanks for both replies, was unaware the mintupdate tool could be used in the terminal.
Wharfrat, adding your example was especially helpful. Checked help on the tool as you suggested and didn't understand this "-l LEVELS, --levels LEVELS
ignore settings and restrict to this list of levels. Reviewing your example instantly cleared it up.
Wharfrat, adding your example was especially helpful. Checked help on the tool as you suggested and didn't understand this "-l LEVELS, --levels LEVELS
ignore settings and restrict to this list of levels. Reviewing your example instantly cleared it up.