LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   About security update (http://www.linuxquestions.org/questions/ubuntu-63/about-security-update-664218/)

lawrence_lee_lee 08-20-2008 10:53 PM

About security update
 
I know that whenever there are security updates (or other recommended updates), an orange logo would appear on the toolbar to remind me of updating. And then what I have to do is to click the logo and then enter my password and click "install update".

However, can this be performed through command line? My problem is that my computer is located in a place where I can only access remotely through SSH. I would still like to perform update through SSH. What should I do?

BugZRevengE 08-21-2008 12:38 AM

This is really distro dependent. Could you let us know what distro you are using?

For instance, debian based, (Ubuntu, Debian, etc) you would be able to run:
sudo apt-get update
sudo apt-get upgrade

sudo runs the command as root (updates must be run as root)
the update checks the repositories for updates to the package list
the upgrade does the upgrade of the packages.

Other distros use other commands... so let us know the distro you run, and we can probably help some more (and you can put this info in your profile so it appears just under your name in posts... so you dont have to tell us every time :-))

everest40 08-21-2008 01:23 AM

@BugZRevengE: This was posted in the Ubuntu forum, so lawrence_lee_lee is most likely talking about Ubuntu or a derivative :)

BugZRevengE 08-21-2008 01:36 AM

I thought it would be ubuntu, but I use kubuntu, and don't remember the colour of the icon, but figured it was going to be ubuntu orange :-) - I think kubuntu is a red exclamation mark or cross?

But without knowing, it is best to be sure of the distro.

jomen 08-21-2008 02:32 AM

If it is Ubuntu or derivate, security updates can be done automatically. It is a configuration option in the package manager/update manager.

lawrence_lee_lee 08-22-2008 02:56 AM

Thanks everyone!

Yeah! You're right. I should have explicitly told my distro. I am using Ubuntu7.10. I am very interested in that apt-get command. I've "man" it but it seems so long and difficult to understand. Can anyone give a brief introduction on the command?

I am also very interested in how to make the update automatic. Thanks very much!

jomen 08-22-2008 03:32 AM

Automatic updates via GUI:

System --> Administration --> Software Sources: Checkbox: install security updates without confirmation

jay73 08-22-2008 08:44 PM

For apt check:
http://www.debian.org/doc/manuals/re...ackage.en.html

Note that, as the site points out, aptitude is now preferred over apt. It is a bit smarter at resolving dependencies.

nowshining 09-10-2008 03:03 PM

kubuntu is ubuntu but basically with kubuntu components, etc.. instead of gnome :P


All times are GMT -5. The time now is 06:40 AM.