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

Re: Bug#78723: perl-5.6: you have completely broken my system; why not give these packages to someone who has the time *AND* inclination to maintain them properly?



On Sun, Dec 03, 2000 at 07:58:24PM -0800, Darren/Torin/Who Ever... wrote:
> Nice to chat with you too.

I am furious because for every bug report you receive on this, I will
receive 100 against my X packages blaming it on X.

> Branden Robinson, in an immanent manifestation of deity, wrote:
> >Preparing to replace perl-5.6 5.6.0-3 (using .../perl-5.6_5.6.0-5_i386.deb) ...
> >Unpacking replacement perl-5.6 ...
> >Preparing to replace perl-5.6-base 5.6.0-3 (using .../perl-5.6-base_5.6.0-5_i386.deb) ...
> >Unpacking replacement perl-5.6-base ...
> >Preparing to replace ash 0.3.7-10 (using .../archives/ash_0.3.7-11_i386.deb) ...
> >Unpacking replacement ash ...
> >Preparing to replace debconf 0.5.30 (using .../debconf_0.5.31_i386.deb) ...
> >Unpacking replacement debconf ...
> >Preparing to replace xfree86-common 4.0.1-9 (using .../xfree86-common_4.0.1-9pre10v1_all.deb) ...
> >/var/lib/dpkg/info/xfree86-common.prerm: /usr/sbin/install-docs: No such file or directory
> >dpkg: warning - old pre-removal script returned error exit status 1
> >dpkg - trying script from the new package instead ...
> >dpkg: ... it looks like that went OK.
> >/var/lib/dpkg/tmp.ci/preinst: perl: command not found
> >/var/lib/dpkg/tmp.ci/preinst: [: ../X11R6/bin: unary operator expected
> >/var/lib/dpkg/tmp.ci/preinst: perl: command not found
> >/var/lib/dpkg/tmp.ci/preinst: [: ../X11R6/include/X11: unary operator expected
> >/var/lib/dpkg/tmp.ci/preinst: perl: command not found
> >/var/lib/dpkg/tmp.ci/preinst: [: ../X11R6/lib/X11: unary operator expected
> >/var/lib/dpkg/tmp.ci/preinst: perl: command not found
> >/var/lib/dpkg/tmp.ci/preinst: [: /etc/X11/rgb.txt: unary operator expected
> 
> Hmm.  This is fascinating considering that a number of people on the
> debian-perl list have tried these packages and only came up with minor
> problems.

Probably because they only upgraded perl during that dpkg run.  Not that
perl-5.6 and perl-5.6 base are unpacked *but not configured* at the time
all of these other packages run their prerm and preinst scripts.

> I'd like to figure out how this went wrong and how to make the packages
> not do this in the future.
> 
> So, I'm trying to remove the update-alternatives from the Perl
> packages.  I've done many different things to make sure that it won't
> break but all of these didn't seem to work.
> 
> I'm wondering if all the stuff with perl.dist -> perl is really
> necessary or if it's an artifact off how dpkg and friends used to
> work...
> 
> Try the following:  (the # means to do this as root, don't actually type it.)
> # ls /usr/bin/perl*

apocalypse:/# ls -1 /usr/bin/perl*
/usr/bin/perl-5.004
/usr/bin/perl-5.005
/usr/bin/perl-5.6
/usr/bin/perl.dist
/usr/bin/perl5.005
/usr/bin/perl5.00503
/usr/bin/perl5.6.0
/usr/bin/perlbug
/usr/bin/perlbug-5.005
/usr/bin/perlbug-5.6
/usr/bin/perlcc
/usr/bin/perlcc-5.005
/usr/bin/perlcc-5.6
/usr/bin/perldoc
/usr/bin/perldoc-5.005
/usr/bin/perldoc-5.6

> If you see /usr/bin/perl.dist, type:
> # mv /usr/bin/perl.dist /usr/bin/perl
> 
> If you only see /usr/bin/perl-5.6, then type
> # ln /usr/bin/perl-5.6 /usr/bin/perl
> 
> Now, I'd like to know -why- this ended up happening this way.
> Considering that I had many people testing this as well as myself
> testing this on several systems, what went wrong?

You do not ensure that /usr/bin/perl exists at all times.

-- 
G. Branden Robinson            |       If you have the slightest bit of
Debian GNU/Linux               |       intellectual integrity you cannot
branden@deadbeast.net          |       support the government.
http://deadbeast.net/~branden/ |       -- anonymous

Attachment: pgpPhxQmho9Uz.pgp
Description: PGP signature


Reply to: