PDA

View Full Version : [ubuntu] Can' update or upgrade through terminal



Raihan_Fahim
June 25th, 2014, 10:14 PM
I install gnome 3.10 and then when i try to wrote this command " sudo apt -get update" it says -g is not known.

papibe
June 25th, 2014, 10:20 PM
Hi Raihan_Fahim. Welcome to the forum ):P

The correct syntax is:

sudo apt-get update
to update the source files, and then:

sudo apt-get upgrade
to actually download new packages and upgrade your system.

Note that the command is 'apt-get' all together.

Hope it helps. Let us know how it goes.
Regards.

P.S.: when problems in the terminal, you don't need to post screenshots as you can copy/paste the text from the terminal.