PDA

View Full Version : [SOLVED] Terminal update vs. Update manager



runeh76
March 18th, 2011, 03:30 PM
Hi

When i do update from Terminal, i dont get all updates which are in Update manager. Why?


sudo apt-get update
sudo apt-get upgrade

runeh76
March 19th, 2011, 08:52 AM
Nobody cant explain this??

In terminal i do updates, and after that i check update manager, there is still updates. Isnt terminal should be powerful?

Dutch70
March 19th, 2011, 10:27 AM
Not sure really, I've noticed something similar. I believe if you run it in terminal again it will get them all.

misterbiskits
March 19th, 2011, 10:40 AM
I've noticed this as well...

runeh76
March 19th, 2011, 11:10 AM
Okey thx guys! Im glad to hear that im not alone.
If someone know why this happens, pls let us know!

Old_Grey_Wolf
March 19th, 2011, 04:26 PM
From typing "man apt-get" in terminal:

upgrade

upgrade is used to install the newest versions of all packages
currently installed on the system from the sources enumerated in
/etc/apt/sources.list. Packages currently installed with new
versions available are retrieved and upgraded; under no
circumstances are currently installed packages removed, or packages
not already installed retrieved and installed. New versions of
currently installed packages that cannot be upgraded without
changing the install status of another package will be left at
their current version. An update must be performed first so that
apt-get knows that new versions of packages are available.


dist-upgrade

dist-upgrade in addition to performing the function of upgrade,
also intelligently handles changing dependencies with new versions
of packages; apt-get has a "smart" conflict resolution system, and
it will attempt to upgrade the most important packages at the
expense of less important ones if necessary. So, dist-upgrade
command may remove some packages. The /etc/apt/sources.list file
contains a list of locations from which to retrieve desired package
files.

runeh76
March 19th, 2011, 04:35 PM
And point was..?

Old_Grey_Wolf
March 19th, 2011, 05:48 PM
And point was..?

"sudo apt-get upgrade" doesn't install new packages. It only upgrades the ones you currently have. It also will not upgrade a package that depends on another package that needs to be installed.

"sudo apt-get dist-upgrade" and the Update Manager will install new packages.

uRock
March 19th, 2011, 05:52 PM
And point was..?
To read and learn how these commands work differently. If you are running these commands, then it is good to know what they are doing.:D

runeh76
March 19th, 2011, 05:59 PM
Thank you Old_gray_wolf!

And urock... Not all understand english like u do!

Old_Grey_Wolf
March 19th, 2011, 07:25 PM
Nobody cant explain this??

In terminal i do updates, and after that i check update manager, there is still updates. Isnt terminal should be powerful?


Thank you Old_gray_wolf!

And urock... Not all understand english like u do!

uRock has a good point. If you read about the apt-get command you will discover that it is a powerful command. Most people don't know 80% of what apt-get can do.

runeh76
March 19th, 2011, 07:58 PM
Yes u are right! But i didnt mean it that way! I know that everything can be done from terminal. Sry i cant say this how i would like it to say, becouse my english isnt so good. Thats my biggest problem to learn Linux. First u have to learn english :)
But my question..u solved it! Thx again i really appreciate this!

uRock
March 19th, 2011, 08:03 PM
Yes u are right! But i didnt mean it that way! I know that everything can be done from terminal. Sry i cant say this how i would like it to say, becouse my english isnt so good. Thats my biggest problem to learn Linux. First u have to learn english :)
But my question..u solved it! Thx again i really appreciate this!
The terminal doesn't work in your native language? If not, then I apologize. Google translate may be helpful with this.

Cheers,
uRock

runeh76
March 19th, 2011, 08:19 PM
Google translate--> apology received :)

Cheers urock!

Old_Grey_Wolf
March 19th, 2011, 08:39 PM
Google translate--> apology received :)

Cheers urock!

You can change the language your computer uses. This is the Ubuntu documentation for changing it https://help.ubuntu.com/community/Locale.

Edit: I just checked what languages are installed on my computer and Finnish is one of them.

runeh76
March 19th, 2011, 09:04 PM
Thx again, but my computer language is Finnish..hmm.. can i change terminal help/man outputs to Finnish? That would be really awesome!

Old_Grey_Wolf
March 19th, 2011, 09:51 PM
Thx again, but my computer language is Finnish..hmm.. can i change terminal help/man outputs to Finnish? That would be really awesome!

hmm. I looked in the Ubuntu repositories for man pages and found them for French, Turkish, Polish, Japanese, Italian, Czech, Spanish, Chinese, Hungarian, Portuguese, Russian, German, and of course English.

I didn't see one for Finnish. :(

runeh76
March 20th, 2011, 07:09 AM
Okey then its English for me. Thx anyway :)