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

perl-base and package scripts using Perl



-----BEGIN PGP SIGNED MESSAGE-----

I'm finishing up the Perl packages and I've run into a bit of a
problem.  All the binaries and scripts (with their manpages) are
versioned and use update-alternatives to put themselves into their
normal names.

Unfortunately, we can't really do this with /usr/bin/perl.  We actually
go through special tricks to make sure that the distributed Perl doesn't 
overwrite the installed Perl until the appropriate time.

Well, if we have /usr/bin/perl-5.004 and /usr/bin/perl-5.005, one of
them must be /usr/bin/perl at all times up until the configure stage.
If we update both of these at the same time, the alternatives will be
removed and then we don't have a proper Perl from the time
perl-base.prerm upgrade until perl-base.postinst configure is called.

I've got a few ideas but I've got problems with all of them.

Darren
- -- 
<torin@daft.com> <http://www.daft.com/~torin> <torin@debian.org> <torin@io.com>
Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-800-921-4996
@ Sysadmin, webweaver, postmaster for hire. C/Perl/CGI/Pilot programmer/tutor @
@		     Make a little hot-tub in your soul.		      @

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv
Comment: Processed by Mailcrypt 3.5.1, an Emacs/PGP interface

iQCVAwUBNxR3kI4wrq++1Ls5AQHvXQP/eGyxefIbJ9S9c8GKisNP2/TG2DS5hNWs
T4rpVTRKqVlNOHdU4tLVpmNpG+EvK2ol037PkYUULR5i9GtOx9RypP2Oh0HiepJ8
HFVSvJfH1pfU/3ImsqsLuw3VgCWxQj8XvvT30wXCZzTjHr0TdNaiLmFXL70zGBin
yTm36/N3uLE=
=WmzB
-----END PGP SIGNATURE-----


Reply to: