Re: [apt] Disabling upgrade to insecure packages
On Fri, Jan 10, 2003 at 02:30:57PM +0100, Vincent Lefevre wrote:
> On Fri, Jan 10, 2003 at 15:01:25 +0200, Johann Spies wrote:
> > On Fri, Jan 10, 2003 at 01:43:05PM +0100, Vincent Lefevre wrote:
> > > Is there a way to configure apt to disable the upgrade to insecure
> > > versions of packages?
> > ...
> >
> > What does your /etc/apt/sources.list look like?
>
> deb ftp://ftp.fr.debian.org/debian/ testing main non-free contrib
> deb-src ftp://ftp.fr.debian.org/debian/ testing main non-free contrib
> deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
> deb-src http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free
>
> deb ftp://ftp.fr.debian.org/debian/ unstable main non-free contrib
> deb-src ftp://ftp.fr.debian.org/debian/ unstable main non-free contrib
> deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
> deb-src http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free
>
> deb ftp://ftp.debian.org/debian/ testing main non-free contrib
> deb-src ftp://ftp.debian.org/debian/ testing main non-free contrib
>
> deb ftp://ftp.debian.org/debian/ unstable main non-free contrib
> deb-src ftp://ftp.debian.org/debian/ unstable main non-free contrib
>
> deb http://security.debian.org/ stable/updates main contrib non-free
>
Replace all the occurences of "testing" in the file with "stable" and
uncomment the lines with "unstable" in.
Do apt-get update after that and everything should be OK
Regards.
Johann
--
Johann Spies Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch
"Be patient therefore, brethren, unto the coming of the
Lord...Be patient; strengthen your hearts, for
the coming of the Lord draweth nigh."
James 5:7,8
Reply to: