[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: combining stable and testing in sources.list



On 6/12/2018 9:15 PM, murtaugh@stat.orst.edu wrote:
I mistakenly added two lines with 'testing' to my 'sources.list' file, which now looks like this:

    deb http://debian.osuosl.org/debian/ stretch main non-free contrib
    deb-src http://debian.osuosl.org/debian/ stretch main non-free contrib

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

    deb http://debian.osuosl.org/debian/ stretch-updates main contrib
    non-free
    deb-src http://debian.osuosl.org/debian/ stretch-updates main
    contrib non-free

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

I have read that it's difficult or impossible to revert to 'stable' once 'testing' packages have been installed. I have also read that it's not a good idea to have both 'stable' and 'testing' repositories in 'sources.list',

If you want to be able to install packages from the testing repositories while being on stable you should realy have a look at 'apt-pinning':

https://jaqque.sbih.org/kplug/apt-pinning.html

If you install packages from testing while being on stable be warned about possible dependencies issues!

--
John Doe


Reply to: