Welcome to the Linux Foundation Forum!

Want to add testing to my sources.list .

What do i add/change in my source list. To add testing without errors

this is what i have.

#

# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 CD Binary-1 20090214-16:29]/ lenny main

# deb cdrom:[Debian GNU/Linux 5.0.0 _Lenny_ - Official i386 CD Binary-1 20090214-16:29]/ lenny main

deb http://ftp.us.debian.org/debian/ lenny main contrib non-free

deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free

deb http://security.debian.org/ stable/updates main contrib non-free

# deb-src http://ftp.us.debian.org/debian/ stable/updates main contrib non-free

#deb http://ftp.us.debian/org/debian/ testing main contrib non-free

#deb http://security.debian.org/ testing/updates main contrib non-free

deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

deb http://www.backports.org/debian lenny-backports main contrib non-free

but i get error:: Could not download all repository indexes

when i activate testing.

Comments

  • Goineasy9
    Goineasy9 Posts: 1,114
    http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html

    This is the link to the Debian Apt How-To, starting at section 3.8 is an explanation of how to run a mixed system in Debian.
    You cannot enable both stable (Lenny) and testing (Squeeze) and expect apt to work properly without setting up a apt.conf file

    You need to set the default release, i.e., APT::Default-Release "version" and then pin those apps that you want to pull from testing. In Debian, this could be dangerous because newer versions of apps might need dependencies that haven't yet been incorporated into the older release.

    Maybe if you explained why you want to enable the testing repos, we can give you a more detailed explanation of what to do. If you want to upgrade to testing, the instructions will be different than if you just want to pull some newer apps from testing. In fact, Debian stable has a backports repo that allows you to pull newer apps into stable, without enabling testing.
  • Okay i dont want to do this.

Categories

Upcoming Training