Re: OpenOffice on Mac G4
This is how to grab the listings for both testing and unstable but then
make the default for any apt-get action set to a specific release (in my
case 'testing'):
man apt-get has the two entries I referred to together:
-t
--target-release
--default-release
This option controls the default input to the policy engine, it
creates a default pin at priority 990 using the specified
release string. The preferences file may further override this
setting. In short, this option lets you have simple control over
which distribution packages will be retrieved from. Some common
examples might be -t '2.1*' or -t unstable. Configuration Item:
APT::Default-Release
/etc/apt/sources.list:
deb http://ftp.uk.debian.org/debian/ testing main
deb http://ftp.uk.debian.org/debian/ unstable main
deb-src http://ftp.uk.debian.org/debian/ testing main
deb http://non-us.debian.org/debian-non-US testing/non-US main
deb-src http://non-us.debian.org/debian-non-US testing/non-US main
deb http://security.debian.org/ stable/updates main
/etc/apt/apt.conf:
APT::Default-Release "testing";
On 03/06/03, Clive Menzies (clive@clivemenzies.co.uk) wrote:
> Hi Rory
>
> On (02/06/03 23:38), Rory Campbell-Lange wrote:
> > You can have both stable and testing in your sources and then set your
> > apt default to use (say) stable, and your installation will remain at
> > that level unless you specify another with a line like "apt-get -t
> > testing <package-name>.
> >
> > I can send you more specifics if you want. I'm not on my ibook at the
> > moment...
>
> Thanks - that would be useful - I looked in /etc/apt/apt.conf.d and that didn't
> seem the obvious place to set apt default.
>
> Regards
>
> Clive
>
--
Rory Campbell-Lange
<rory@campbell-lange.net>
<www.campbell-lange.net>
Reply to: