Updates?

12 risposte [Ultimo contenuto]
sradms0
Offline
Iscritto: 08/24/2015

Is Trisquel supposed to update automatically (update manager automatically popping up)?
I was curious since I haven't seen this come up so I updated with the command line and there was quite a lot to be updated.
Any advice?

ssdclickofdeath
Offline
Iscritto: 05/19/2013

You could check how often your computer checks for updates. Open up System Settings, then Software & Updates. Go to the Updates tab and see what "Automatically check for updates:" is set to.

moxalt
Offline
Iscritto: 06/19/2015

I just made it a habit to always update everything manually from the terminal
after logging in.

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get autoremove
sudo apt-get clean

is my daily ritual.

SuperTramp83

I am a translator!

Offline
Iscritto: 10/31/2014

welcome to my world greenman :)

tomlukeywood
Offline
Iscritto: 12/05/2014

why not just make it into a script replacing sudo with gksudo
and making it run on start up?

antiesnob
Offline
Iscritto: 08/22/2013

gksudo is for GUI programs running on gnome. There's no need of gksudo for an script except if it runs GUI programs that need privilegies.

Also, u can use |y

tomlukeywood
Offline
Iscritto: 12/05/2014

apt-get update needs root privileges

antiesnob
Offline
Iscritto: 08/22/2013

Never say the other way. I'm telling u that there's no need of gksudo for an script if it does not run a GUI application that needs privilegies. Wait, I am writing the very same thing over and over? Yes LOL You reread my post as it is the same. So to add something to this: apt-get is not a GUI application. USE SUDO.

paradox
Offline
Iscritto: 06/21/2014

You don't get it - he suggested running as a startup script, to launch upon login. Hence there will be no terminal emulator running, so sudo would be useless (where as gksudo would present a nice visible dialog)

antiesnob
Offline
Iscritto: 08/22/2013

"he suggested running as a startup script, to launch upon login" ... That's not specifyin any kind of interface. We were talking of CLI n he didn't mention to do it on the GUI. So, if I didn't understand it is because I UNDERSTAND what he wrote and you understood what he tried to mean.

moxalt
Offline
Iscritto: 06/19/2015

You're correct in that no interface is specified, but if he were to set up his
script as a startup script, he would have no way of authorising it through the
CLI because no virtual terminals would be running (unless he specified 'run in
terminal' in the options). It would run as one of the startup programs in the
background, and thus would require the use of gksudo to authenticate.

sradms0
Offline
Iscritto: 08/24/2015

Thanks, moxalt.
I will include this into my daily ritual.

Still reading about the command line.

bluzeo
Offline
Iscritto: 08/27/2015

the one thing that i do is apt get and run all the updates and double check apper or the update center