Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Hello, I have followed all the instructions for upgrading. I have changed my sources.list from etch to lenny - stable to testing I have apt-get update which downloaded about 5mb ...
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Posts
    9

    My upgrade from etch to lenny wont work!



    Hello,

    I have followed all the instructions for upgrading.

    I have changed my sources.list from etch to lenny - stable to testing

    I have apt-get update which downloaded about 5mb worth of stuff.

    I then put in apt-get dist-upgrade and nothing happens.

    It spits out:

    Reading package lists... Done
    Building dependency tree... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    And that us it.

    I left out dist and just typed in apt-get upgrade and it did the same thing.

    It doesnt want to upgrade.

    I changed my mirrors and it didnt help.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,308
    Hi and Welcome !

    Execute this :
    Code:
    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

  3. #3
    Just Joined!
    Join Date
    Apr 2008
    Posts
    9
    4.0

    Here is my sources.list

    #security
    deb Debian -- Security Information lenny/updates main contrib

    #updates
    deb ftp://ftp.iinet.net.au/debian/debian testing main contrib non-free

    -----------------

    Here is the output from "aptitude dist-upgrade"


    Reading package lists... Done
    Building dependency tree... Done
    Reading extended state information
    Initializing package states... Done
    Writing extended state information... Done
    Reading task descriptions... Done
    Building tag database... Done
    The following packages are unused and will be REMOVED:
    libqt4-core libqt4-gui libqt4-qt3support libqt4-sql libsqlite0
    qt4-qtconfig
    0 packages upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
    Need to get 0B of archives. After unpacking 18.6MB will be freed.
    Do you want to continue? [Y/n/?] n

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,308
    Do you want to continue? [Y/n/?] n
    Press y and let aptitude install/remove packages. Check the contents of /etc/debian_version file. Is it listing Lenny?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Apr 2008
    Posts
    9
    Check the contents of /etc/debian_version file. Is it listing Lenny?
    It just says: 4.0

  6. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,308
    Its listing lenny/sid in my box.
    Try replacing lenny with testing in sources.list file.
    My sources.list :
    Code:
    deb http://http.us.debian.org/debian testing main contrib non-free
    deb http://security.debian.org testing/updates main contrib non-free
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  7. #7
    Just Joined!
    Join Date
    Apr 2008
    Posts
    9
    Its listing lenny/sid in my box.
    And? I am running etch.

    Try replacing lenny with testing in sources.list file.
    That does nothing. lenny and testing have the same files on the server.

  8. #8
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    thats weird, you should only need to change etch/stable to lenny or testing and then run, only sid would be different, since there are no security updates for sid
    Code:
    apt-get update
    apt-get dist-upgrade
    that should be enough, try running
    Code:
    apt-get clean
    maybe some cached files are causing some problems, you never know

  9. #9
    Just Joined!
    Join Date
    Apr 2008
    Posts
    9
    Thanks

    Tried that, didnt work..

  10. #10
    Just Joined!
    Join Date
    Apr 2008
    Posts
    9
    Thanks all.

    It turned out to be the preferences file in /etc/apt

    I deleted it and it is now working

    Cheers

Page 1 of 2 1 2 LastLast

Posting Permissions

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