Results 1 to 3 of 3

Thread: Is 'apt-get dist-upgrade' without having done 'apt-get update' dangerous?

  1. #1
    Join Date
    Aug 2008
    Beans
    32

    Is 'apt-get dist-upgrade' without having done 'apt-get update' dangerous?

    I just ran apt-get dist-upgrade, and got some errors in the middle of downloading packages, as some pieces of those packages could not be found.

    I then ran apt-get update, and then re-ran apt-get dist-upgrade, and it *appeared* to restart where the error had occurred.

    Can this be depended upon, or is it possible that doing this can cause partial package installation or a broken package state on my system?

    I am running Ubuntu Server 9.10.

    - Tim

  2. #2
    Join Date
    Jun 2006
    Location
    Texas
    Beans
    3,930
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Is 'apt-get dist-upgrade' without having done 'apt-get update' dangerous?

    Common sense tells me the results will be unpredictable. You might get away with it - but then again you might not.

    BTW: did you get the warning to use safe-upgrade instead of dist-upgrade?
    UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn
    SystemRescueCd | Dual Boot | psychocats | FAQ

  3. #3
    Join Date
    Aug 2008
    Beans
    32

    Re: Is 'apt-get dist-upgrade' without having done 'apt-get update' dangerous?

    Quote Originally Posted by louieb View Post
    Common sense tells me the results will be unpredictable. You might get away with it - but then again you might not.

    BTW: did you get the warning to use safe-upgrade instead of dist-upgrade?
    Hmm, I don't recall seeing that warning, no, though it may have scrolled past me. What is the difference?

    - Tim

Tags for this Thread

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
  •