Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Smart update via command line?

  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
    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!

  4. #4
    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

  5. #5
    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.

  6. #6
    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

  7. #7
    Join Date
    Feb 2008
    Location
    readlink("/proc/self/exe"
    Beans
    1,120
    Distro
    Ubuntu Development Release

    Wink Re: Smart update via command line?

    Quote Originally Posted by JackDog View Post
    How do I perform a smart update via the command line?

    apt-get upgrade & apt-get dist-upgrade will perform most updates.

    But sometimes, smart update is required.

    Smart update is performed by aptitude, and usually is only necessary if you want to update glibc.
    In a world without walls and fences, who needs Windows and Gates?
    Linux is like a wigwam.... no Gates, no Windows but Apache inside!
    http://www.debianadmin.com
    apt-get install libstdc++6-4.3-doc

  8. #8
    Join Date
    May 2010
    Location
    Thessaloniki
    Beans
    208
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Smart update via command line?

    I have been always wondering, how can someone check which updates are available before performing a apt-get upgrade?

  9. #9
    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.

  10. #10
    Join Date
    Dec 2009
    Beans
    286

    Re: Smart update via command line?

    Quote Originally Posted by Wtower View Post
    I have been always wondering, how can someone check which updates are available before performing a apt-get upgrade?
    I believe the -s option should do it. Have never used it though.

Page 1 of 3 123 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
  •