fai and backports.org
P.S.S.Camp
P.S.S.Camp at kent.ac.uk
Thu May 11 23:52:47 CEST 2006
Yes i have in my *nfs root*
/etc/apt/preferences
Package: *
Pin: release a=sarge-backports
Pin-Priority: 200
/etc/apt/sources
deb http://www.mirrorservice.org/sites/backports.org/ sarge-backports
main contrib non-free
deb http://www.backports.org/debian/ sarge-backports main contrib non-free
and then rsync/sarge-backports (packagename/distro) will work.
Phill.
On Thu, 11 May 2006, Paavo Pokkinen wrote:
> On Thursday 11 May 2006 19:08, P.S.S.Camp wrote:
> > This patches the package checking to allow apt packages in the
> > form of packagename/distro allowing easier use of things like
> > backports.org
>
> Great! Just the thing I have had problems with days already. Thank you.
>
> > eg. (providing a correct source and apt/preferences file, but you don't
> > need to pin each package)
> > package_config/MIRROR_SERVICE
> > PACKAGES install
> > rsync/sarge-backports
> > yaird/sarge-backports
>
> If I understood right, I just put backports repository to the sources.list,
> put stable pin to the preferences and then just use packagename/distro. And
> that will install all deps automatically? (similar like apt-get -y disto
> install packagename) When we might get this to the upstream?
>
> > Phill.
> >
> > --- /usr/sbin/install_packages 2006-04-20 13:16:33.000000000 +0100
> > +++ /usr/lib/fai/nfsroot/usr/sbin/install_packages 2006-05-11
> > 16:57:27.000000000 +0100 @@ -381,7 +381,7 @@
> >
> > # simulate APTs and aptitudes understanding of "special" package names
> > # suffixed by -, +
> > - elsif ( $pack =~ /^(.+)[_=+-]$/ and $cache->exists($1)) {
> > + elsif ( $pack =~ /^([^\/]+)([_=+-]|\/.+)$/ and $cache->exists($1)) {
> >
> > if (defined ($cache->{$1}{VersionList})) {
> > push @known, $pack;
>
--
Senior Computer Science Computing Officer
University Of Kent At Canterbury
Computer Science Systems <http://www.cs.kent.ac.uk/systems/>
The Mirror Service <http://www.mirrorservice.org/>
National Open Development Environment <http://node.gov.uk/>
More information about the linux-fai
mailing list