Page 1 of 2 12 LastLast
Results 1 to 10 of 22

Thread: Smart update via command line?

Hybrid View

  1. #1
    Join Date
    Dec 2004
    Location
    St. Louis, Missoura
    Beans
    70
    Distro
    Gutsy Gibbon Testing

    Smart update via command line?

    How do I perform a smart update via the command line?

  2. #2
    Join Date
    Oct 2004
    Location
    Texas, USA
    Beans
    411

    Re: Smart update via command line?

    Code:
    sudo apt-get update
    sudo apt-get dist-upgrade
    --Join the march for individuality!

    Rancoras
    Linux User #64203

  3. #3
    Join Date
    Jul 2010
    Beans
    21

    Re: Smart update via command line?

    Quote Originally Posted by Rancoras View Post
    Code:
    sudo apt-get update
    sudo apt-get dist-upgrade
    Excellent response, Rancoras. Thanks.

  4. #4
    Join Date
    Feb 2013
    Beans
    1

    Re: Smart update via command line?

    In my case for apt-get, bash returns command not found, also for sudo. I login as root but the same. The beginning of the problem is update from 12.04 to 12.10 and after login in graphic mode the screen is unreadable with horizontal lines. My system is kernel 3.7.3-101.fc17.x86_64, with C61 GeForce 6150SE nForce430 rev.02. What to do if apt-get is not working?

  5. #5
    Join Date
    Jan 2006
    Location
    Sault Ste. Marie, Ontario
    Beans
    47
    Distro
    Ubuntu

    Re: Smart update via command line?

    Just wanted to say thank you for the clear concise response!

    Dean.
    Canada needs Linux! Penguins live up here!

  6. #6
    Join Date
    Dec 2007
    Beans
    7

    Re: Smart update via command line?

    Hey, I was looking all over the place for these commands. I've been stuck with a fresh install that keeps crashing for what seem to be hardware related problems.

    It was nice to have the necessary commands spelled out. Something I'd would like to see in the documentation. (I couldn't find it if it was there...)

    Thanks

  7. #7
    Join Date
    Dec 2009
    Beans
    286

    Re: Smart update via command line?

    Quote Originally Posted by Jaramia View Post
    Hey, I was looking all over the place for these commands. I've been stuck with a fresh install that keeps crashing for what seem to be hardware related problems.

    It was nice to have the necessary commands spelled out. Something I'd would like to see in the documentation. (I couldn't find it if it was there...)

    Thanks
    It's documented in the apt-get manual pages.
    Code:
    man apt-get
    or

    or search 'man apt-get in the Ubuntu help center.

  8. #8
    Join Date
    May 2012
    Beans
    1

    Re: Smart update via command line?

    Quote Originally Posted by Jaramia View Post
    Hey, I was looking all over the place for these commands. I've been stuck with a fresh install that keeps crashing for what seem to be hardware related problems.

    It was nice to have the necessary commands spelled out. Something I'd would like to see in the documentation. (I couldn't find it if it was there...)

    Thanks
    I don't know if this has been added to the documentation yet (after 5 years), but I think it would make sense that the message when logging in over SSH, that currently reads

    "3 packages can be updated. update is a security update."

    Would include something like

    "type: 'sudo apt-get update; sudo apt-get dist-upgrade' to perform the update"

    similar to the message you get when you enter a command included in a package that you haven't got installed.

  9. #9
    Join Date
    Mar 2007
    Location
    Turkey
    Beans
    1,575

    Re: Smart update via command line?

    This will only work if you haven't already deleted the ubuntu-desktop or whatever desktop package you may have. Doing a
    PHP Code:
    sudo apt-get updatesudo apt-get upgrade 
    will make sure you upgrade to the latest stable release.

  10. #10
    Join Date
    May 2009
    Beans
    3
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Smart update via command line?

    thanks dude working like a charm heheheee

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •