PDA

View Full Version : [SOLVED] selecting specific updates from terminal



raja.genupula
August 26th, 2011, 04:14 AM
i know selecting updates from update manager , i am curious to know to do this from terminal . am i able to do this ?


thanks in advance .

bcschmerker
August 26th, 2011, 04:19 AM
The standard procedure from GNOME Terminal, KDE Konsole, XTerm, KTerm, &c. goes through BASh or equivalent to call APT-Get. From GMONE Terminal, for example:

gksudo -S apt-get update && apt-get upgrade

raja.genupula
August 26th, 2011, 02:15 PM
The standard procedure from GNOME Terminal, KDE Konsole, XTerm, KTerm, &c. goes through BASh or equivalent to call APT-Get. From GMONE Terminal, for example:

gksudo -S apt-get update && apt-get upgrade
hey i got this


Fetched 873 kB in 1min 20s (10.9 kB/s)
Reading package lists... Done
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

oldos2er
August 26th, 2011, 06:19 PM
You need to use sudo with both commands
sudo apt-get update && sudo apt-get upgrade

raja.genupula
August 26th, 2011, 07:35 PM
hi oldos2er
do you remember , after opening update manager ,we can select what output we want and what we dont want .
so i just wanna do this from terminal . selecting the required from the terminal .

thanks in advance

raja.genupula
August 27th, 2011, 01:10 PM
can any one give me support on this ?

saltmarshlamb
August 27th, 2011, 01:56 PM
To update a specific package(s) reinstall it(them)


sudo apt-get install --reinstall package1 package2 package3

raja.genupula
August 30th, 2011, 06:09 AM
thank you :S