Find the answer to your Linux question:
Results 1 to 7 of 7
whenever i run apt-get upgrade or dist-upgrade, i get 0 files upgraded yada yada. it's been this way for several days, so i know something is wrong. etch testing. here's ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    3

    apt-get never upgrades anything??

    whenever i run apt-get upgrade or dist-upgrade, i get 0 files upgraded yada yada.

    it's been this way for several days, so i know something is wrong. etch testing.

    here's my /etc/apt/sources.list

    deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-1 (20060314)]/ etch main
    deb http://cudlug.cudenver.edu/debian/ etch main
    deb-src http://cudlug.cudenver.edu/debian/ etch main

    deb http://security.debian.org/ etch/updates main
    deb-src http://security.debian.org/ etch/updates main

    ... any help greatly appreciated!

    matt

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2005
    Location
    The Hot Humid South
    Posts
    602
    Quote Originally Posted by stuckym44
    whenever i run apt-get upgrade or dist-upgrade, i get 0 files upgraded yada yada.
    You need to always run "apt-get update" before giving apt the upgrade or dist-upgrade option. It pretty much updates the package list on your computer to the newer one on the Debian server.
    "Today you are freer than ever to do what you want, provided you can pay for it!" --Bad Religion

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Posts
    3

    yep, doing that...

    apt-get update
    apt-get check
    apt-get upgrade
    apt-get dist-upgrade
    apt-get clean

    every single time, in that order.

    next?

  4. #4
    Linux Newbie
    Join Date
    Aug 2006
    Posts
    107
    Then you are up to date or your mirror is slow to update itself. You might want to add the main debian repo to your sources and then try again.

  5. #5
    Just Joined!
    Join Date
    Nov 2006
    Posts
    3

    ah, so then it IS my sources.list....

    been a week without any updated software, so i'm definitely not up to date.

    would someone be kind enough to post the line for the main debian repository?

    also, should it go before or after my mirror, or does it matter?

    thanks.

    matt

  6. #6
    Linux Newbie
    Join Date
    Aug 2006
    Posts
    107
    Well maybe you got lucky and nothing on your system has been updated in a week. I mean it is just a week.

    You might try commenting out your mirror, adding in the main repo, and trying it again.

    deb http://ftp.debian.org/debian/ etch main

    Also, unless you want to use source for something you can comment out the -src entries also to save a little update time and bandwidth.

  7. #7
    Linux Engineer Zelmo's Avatar
    Join Date
    Jan 2006
    Location
    Riverton, UT, USA
    Posts
    1,001
    The cdrom line also isn't much use after the system is installed and you can get to the Internet.
    Stand up and be counted as a Linux user!

Posting Permissions

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