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

Re: possible problem with new perl, libc6 on Sep 23rd



On Fri, 24 Sep 1999, Branden Robinson wrote:

> Haven't found anyone else with this problem yet.  Doogie's explanation is
> that I have somehow rigged my system to cause this.  The rest of us may
> actually want to bother investigating.

[lots of stuff snipped]

> /var/lib/dpkg/info/libc6.postinst: /usr/sbin/update-rc.d: Permission denied
> dpkg: error processing libc6 (--configure):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  libc6
> E: Sub-process returned an error code (1)
> 
> [...later...]
> 
> [1] 1013 apocalypse ~ > ls -dl /usr/bin/perl
> lrwxrwxrwx   1 root     root           10 Sep 23 22:02 /usr/bin/perl -> per=
> l-5.005
> [0] 1014 apocalypse ~ > ls -dl /usr/bin/perl-5.005
> -rw-------   1 root     root       534844 Aug 19 04:29 /usr/bin/perl-5.005

I had the exact same problem on my system but I seem to have fixed it by
by doing this:

    1. Using chmod to make /usr/bin/perl-5.005 executable
    2. Reinstalling the libc6 debs with the "dpkg -i" command
    3. Reinstalling the perl-5.005-base deb with the "dpkg -i" command
    4. Reinstalling the perl-5.005 deb with the "dpkg -i" command

Now a "ls -l /usr/bin/perl*" command produces this:

    lrwxrwxrwx   1 root     root           22 Sep 24 03:04 perl ->
    /etc/alternatives/perl
    -rwxr-xr-x   1 root     root       493788 Jul  7 14:58 perl-5.004
    -rwxr-xr-x   2 root     root       534844 Sep 22 02:32 perl-5.005
    -rwxr-xr-x   2 root     root       534844 Sep 22 02:32 perl5.00503
    lrwxrwxrwx   1 root     root           25 Sep 24 03:06 perlbug ->
    /etc/alternatives/perlbug
    -rwxr-xr-x   1 root     root        31728 Sep 22 02:32 perlbug-5.005
    lrwxrwxrwx   1 root     root           24 Sep 24 03:06 perlcc ->
    /etc/alternatives/perlcc
    -rwxr-xr-x   1 root     root        26311 Sep 22 02:32 perlcc-5.005
    -r-xr-xr-x   1 root     root        15897 Aug  8 15:19 perldl
    lrwxrwxrwx   1 root     root           25 Sep 24 03:06 perldoc ->
    /etc/alternatives/perldoc
    -rwxr-xr-x   1 root     root        16815 Sep 22 02:32 perldoc-5.005

I don't have the foggiest idea what caused the problem or why fixing the
binary and reinstalling libc6 and perl fixed it. However, I do know that I
haven't made any weird modifications to my system and definitely none 
to the default perl installation.

                                      - Dave

+----------------------+-----------------------------------------------+
| David Webb           |  The believer is happy; the doubter is wise.  |
| dwebb@cstp.umkc.edu  |                  - Hungarian Proverb          |
+----------------------+-----------------------------------------------+




Reply to: