Find the answer to your Linux question:
Results 1 to 10 of 10
After having replaced all instances of "etch" to "lenny" in my sources.list file and executing apt-get update and apt-get dist-upgrade nothing happens. Code: Reading package lists... Done Building dependency tree... ...
  1. #1
    Linux Newbie
    Join Date
    Jul 2007
    Posts
    104

    Upgrade from etch to lenny

    After having replaced all instances of "etch" to "lenny" in my sources.list file and executing apt-get update and apt-get dist-upgrade nothing happens.

    Code:
    Reading package lists... Done
    Building dependency tree... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    I've also attempted merely "apt-get upgrade" with the same result.

    apt-get update gives no errors and seems to work, but still no packages are installed, I'm seemingly still stuck with etch.

    How can this issue be resolved?

  2. #2
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    Put the content of the source.list file here, please.
    Debian GNU/Linux -- You know you want it.

  3. #3
    Linux Newbie
    Join Date
    Jul 2007
    Posts
    104
    Code:
    deb http://ftp.uk.debian.org/debian/ lenny main contrib non-free
    deb-src http://ftp.uk.debian.org/debian/ lenny main contrib non-free
    
    deb http://security.debian.org/ lenny/updates main contrib non-free
    deb-src http://security.debian.org/ lenny/updates main contrib non-free

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute this
    Code:
    su -
    apt-get clean all
    apt-get update
    apt-get dist-upgrade
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Linux Newbie
    Join Date
    Jul 2007
    Posts
    104
    Quote Originally Posted by devils casper View Post
    Execute this
    Code:
    su -
    apt-get clean all
    apt-get update
    apt-get dist-upgrade
    I have executed the specified commands, result:

    Code:
    x86-1# apt-get clean all
    x86-1# apt-get update
    Get:1 http://ftp.uk.debian.org lenny Release.gpg [189B]
    Get:2 http://security.debian.org lenny/updates Release.gpg [189B]
    Hit http://ftp.uk.debian.org lenny Release             
    Hit http://ftp.uk.debian.org lenny/main Packages/DiffIndex
    Hit http://security.debian.org lenny/updates Release
    Hit http://ftp.uk.debian.org lenny/contrib Packages/DiffIndex
    Hit http://ftp.uk.debian.org lenny/non-free Packages/DiffIndex
    Hit http://ftp.uk.debian.org lenny/main Sources/DiffIndex
    Hit http://ftp.uk.debian.org lenny/contrib Sources/DiffIndex
    Hit http://ftp.uk.debian.org lenny/non-free Sources/DiffIndex
    Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
    Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
    Ign http://security.debian.org lenny/updates/non-free Packages/DiffIndex
    Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
    Ign http://security.debian.org lenny/updates/contrib Sources/DiffIndex
    Ign http://security.debian.org lenny/updates/non-free Sources/DiffIndex
    Hit http://security.debian.org lenny/updates/main Packages
    Hit http://security.debian.org lenny/updates/contrib Packages
    Hit http://security.debian.org lenny/updates/non-free Packages
    Hit http://security.debian.org lenny/updates/main Sources
    Hit http://security.debian.org lenny/updates/contrib Sources
    Hit http://security.debian.org lenny/updates/non-free Sources
    Fetched 2B in 1s (1B/s)  
    Reading package lists... Done
    x86-1# apt-get dist-upgrade
    Reading package lists... Done
    Building dependency tree... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    x86-1#

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Execute this
    Code:
    uname -a
    cat /etc/debian-version
    Post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Linux Newbie
    Join Date
    Jul 2007
    Posts
    104
    Quote Originally Posted by devils casper View Post
    Execute this
    Code:
    uname -a
    cat /etc/debian-version
    Post output here.
    Code:
    x86-1$ uname -a
    Linux x86-1 2.6.18-6-k7 #1 SMP Mon Aug 18 09:20:26 UTC 2008 i686 GNU/Linux
    x86-1$ cat /etc/debian_version 
    4.0
    As a sidenote, I've used apt-get and apt-cache a lot on this install, and they seemingly work perfectly fine for general use.
    Thanks for the help too.

  8. #8
    Linux Newbie
    Join Date
    Jul 2007
    Posts
    104
    Doesn't anyone have any ideas for this issue? Surely upgrading from etch to lenny shouldn't be that difficult?

  9. #9
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    how about
    Code:
    apt-get install apt
    to see if it will upgrade it

    you could also try a different mirror, that one could be having problems

  10. #10
    Linux Newbie
    Join Date
    Jul 2007
    Posts
    104
    Quote Originally Posted by jledhead View Post
    how about
    Code:
    apt-get install apt
    to see if it will upgrade it

    you could also try a different mirror, that one could be having problems
    I know the mirror works, because a different computer can use this mirror to do an upgrade from etch to lenny with no issues whatsoever.

    This doesn't seem to do anything, sadly.

    Code:
    x86-1# apt-get install apt
    Reading package lists... Done
    Building dependency tree... Done
    apt is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    x86-1#

Posting Permissions

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