[Pkg-cups-devel] Bug#501874: Missing dependancy - cupsys.prerm uses install-docs in pkg doc-base

Martin Pitt mpitt at debian.org
Sun Nov 16 17:14:35 UTC 2008


reassign 501874 doc-base
thanks

Paul Higgins [2008-10-10 22:50 -0400]:
> Preparing to replace cupsys 1.2.11-2
>   (using .../cupsys_1.3.8-1lenny1_all.deb) ...
> Can't locate Pod/Usage.pm in @INC
>   (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8
>   /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5
>   /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .)
>   at /usr/sbin/install-docs line 18.
> Global symbol "$opt_rootdir" requires explicit package name at
>   /usr/sbin/install-docs line 126.
> Execution of /usr/sbin/install-docs aborted due to compilation errors.

The debhelper-autogenerated script looks ok to me:

  if [ "$1" = remove ] || [ "$1" = upgrade ] && \
     which install-docs >/dev/null 2>&1; then
          install-docs -r cups
  fi

I. e. it doesn't call install-docs on initial installation, and
explicitly checks whether it's available. Thus this doesn't need a
Pre-Depends: on doc-base and wouldn't even have helped. The script is
there, but it failed to run.

I guess this is eventually a problem with the Perl 5.8 -> 5.10
upgrade, but the "Global symbol "$opt_rootdir" stuff looks fishy, too,
so I reassign it to doc-base now.

Thanks,

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)





More information about the Pkg-cups-devel mailing list