Updates?
- Inicie sesión o regístrese para enviar comentarios
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?
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.
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.
welcome to my world greenman :)
why not just make it into a script replacing sudo with gksudo
and making it run on start up?
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
apt-get update needs root privileges
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.
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)
"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.
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.
Thanks, moxalt.
I will include this into my daily ritual.
Still reading about the command line.
the one thing that i do is apt get and run all the updates and double check apper or the update center
- Inicie sesión o regístrese para enviar comentarios