Your message dated Wed, 8 Sep 2010 14:52:25 +0300
with message-id <[email protected]>
and subject line Re: Bug#568487: Perl modules installed in place not in %INC 
during upgrade from etch
has caused the Debian Bug report #568487,
regarding perl-base: Perl modules installed in place not in %INC during upgrade 
from etch
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
568487: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568487
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: perl-base
Version: 5.10.0-19lenny2
Severity: critical
Justification: breaks unrelated software


During upgrade using aptitude:

Can't locate POSIX.pm in @INC (@INC contains: /etc/perl 
/usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 
/usr/local/lib/site_perl .) at /usr/sbin/update-alternatives line 10.

Install of packages eventually fails

(env56) vmwprx1:~# dpkg -S POSIX.pm
perl-base: /usr/lib/perl/5.10.0/POSIX.pm
(env56) vmwprx1:~# ls -l /usr/lib/perl/5.10.0/POSIX.pm
-rw-r--r-- 1 root root 2057 Aug 29 08:45 /usr/lib/perl/5.10.0/POSIX.pm
(env56) vmwprx1:~# perl -e "print join ' ', @INC; print \"\n\""
/etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 
/usr/local/lib/site_perl .

The workaround:

(env56) vmwprx1:/usr/lib/perl# ls
5.10  5.10.0
(env56) vmwprx1:/usr/lib/perl# ls -asl
total 24
 4 drwxr-xr-x  4 root root  4096 Feb  5 14:39 .
12 drwxr-xr-x 46 root root 12288 Feb  5 14:39 ..
 4 drwxr-xr-x  2 root root  4096 Jan 19 12:20 5.10
 4 drwxr-xr-x 32 root root  4096 Feb  5 14:39 5.10.0
(env56) vmwprx1:/usr/lib/perl# rmdir 5.10
(env56) vmwprx1:/usr/lib/perl# ln -s 5.10.0/ 5.10
(env56) vmwprx1:/usr/lib/perl# 

NOTE: the 5.10 directory was completely empty when I rmdir'd it.




-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.18-4-xen-vserver-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages perl-base depends on:
ii  dpkg                        1.14.28      Debian package management system
ii  libc6                       2.7-18lenny2 GNU C Library: Shared libraries

perl-base recommends no packages.

Versions of packages perl-base suggests:
ii  perl                     5.10.0-19lenny2 Larry Wall's Practical Extraction 

-- no debconf information



--- End Message ---
--- Begin Message ---
On Thu, Jun 03, 2010 at 12:14:41AM +1000, [email protected] wrote:
 
> I think the problem was with a package built with dh_make_perl.  From memory 
> and as best 
> as I can tell it created the directory (/usr/lib/perl/5.10.0/) before it was 
> made into a 
> link to /usr/lib/perl/5.10/.

OK, that would explain it. Thanks for the followup. I don't think there's
anything to fix on the Perl side, so closing.

> I am sorry that this turned out to be a problem at our end.  I hope I did not 
> waste too
> much of your time.

No problem!
-- 
Niko Tyni   [email protected]


--- End Message ---

Reply via email to