LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-20-2008, 10:53 PM   #1
lawrence_lee_lee
Member
 
Registered: May 2007
Posts: 141

Rep: Reputation: 16
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?
 
Old 08-21-2008, 12:38 AM   #2
BugZRevengE
Member
 
Registered: Oct 2005
Location: Australia
Distribution: Slackware & Kubuntu & CentOS
Posts: 106

Rep: Reputation: 17
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 :-))
 
Old 08-21-2008, 01:23 AM   #3
everest40
Member
 
Registered: Jul 2008
Distribution: Ubuntu $LATESTVERSION
Posts: 168

Rep: Reputation: 68
@BugZRevengE: This was posted in the Ubuntu forum, so lawrence_lee_lee is most likely talking about Ubuntu or a derivative
 
Old 08-21-2008, 01:36 AM   #4
BugZRevengE
Member
 
Registered: Oct 2005
Location: Australia
Distribution: Slackware & Kubuntu & CentOS
Posts: 106

Rep: Reputation: 17
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.
 
Old 08-21-2008, 02:32 AM   #5
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
If it is Ubuntu or derivate, security updates can be done automatically. It is a configuration option in the package manager/update manager.
 
Old 08-22-2008, 02:56 AM   #6
lawrence_lee_lee
Member
 
Registered: May 2007
Posts: 141

Original Poster
Rep: Reputation: 16
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!
 
Old 08-22-2008, 03:32 AM   #7
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Automatic updates via GUI:

System --> Administration --> Software Sources: Checkbox: install security updates without confirmation
 
Old 08-22-2008, 08:44 PM   #8
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
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.
 
Old 09-10-2008, 03:03 PM   #9
nowshining
Member
 
Registered: Dec 2007
Distribution: Ibex
Posts: 93

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


Reply

Tags
command, update



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it really an important security update? Berosus Ubuntu 1 11-17-2007 12:08 PM
Slackware security update/package update Michael_aust Slackware 6 10-04-2006 08:19 PM
Can't update security (apt-get) eeried Linux - Newbie 0 07-14-2004 03:50 PM
Slackware Security Update: GDM security update phoeniXflame Slackware 2 08-26-2003 04:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration