Package: cupsys Version: 1.3.8-1lenny1 Severity: normal
I dusted off a system that hasn't been upgraded since Oct of 2007. Upgrading it required a big leap in package versions. The upgrade of perl, perl-base, and perl-modules caused several problems. (I'm filing this report for each package involved, as I'm not sure where the problem is.) The following excerpts from my upgrade process (and the dpkg.log excerpt that follows) show all my apparent dependancy problems. I suspect that the half-configure / half-install / unpack step for perl-modules removed the required modules from the /usr/share/perl/5.8.8 tree. The prerm or postrm scripts for these packages use either /usr/bin/defoma-app or /usr/sbin/install-docs (in packages defoma and doc-base). Those in turn reference files in perl-modules already removed, causing libtiff4 to abort the install. In summary: fontconfig.prerm, libpango1.prerm, and libwmf0.2-7.postrm all invoke /usr/bin/defoma-app; which needs File/Copy.pm from perl-modules. It was able to continue using the prerm script from the new package. libpng12-0.prerm, libtiff4.prerm, base-passwd.postinst, cupsys.prerm, and shared-mime-info.prerm invoke /usr/sbin/install-docs which needs Pod/Usage.pm from perl-modules. I had a backup of the /usr/share/perl/5.8.8 tree, which I reloaded to aloow me to complete the upgrade. ============ output list from apt-get upgrade, et. al. ======== [EMAIL PROTECTED]:~# apt-get -f dist-upgrade ... Get: 1172 http://ftp.us.debian.org testing/main udftools 1.0.0b3-14 [77.8kB] Fetched 1048MB in 1h56m15s (150kB/s) Extracting templates from packages: 100% Preconfiguring packages ... ... Preparing to replace liburi-perl 1.35-2 (using .../liburi-perl_1.35.dfsg.1-1_all.deb) ... Unpacking replacement liburi-perl ... Preparing to replace libhtml-tagset-perl 3.10-2 (using .../libhtml-tagset-perl_3.20-2_all.deb) ... Unpacking replacement libhtml-tagset-perl ... Preparing to replace libhtml-parser-perl 3.56-1 (using .../libhtml-parser-perl_3.56-1+b1_i386.deb) ... Unpacking replacement libhtml-parser-perl ... Preparing to replace sed 4.1.5-2 (using .../archives/sed_4.1.5-6_i386.deb) ... ... Preparing to replace libwww-perl 5.805-1 (using .../libwww-perl_5.813-1_all.deb) ... Unpacking replacement libwww-perl ... Preparing to replace perl-modules 5.8.8-7 (using .../perl-modules_5.10.0-14_all.deb) ... Unpacking replacement perl-modules ... Preparing to replace perl 5.8.8-7 (using .../perl_5.10.0-14_i386.deb) ... Unpacking replacement perl ... ... Preparing to replace defoma 0.11.10-0.1 (using .../defoma_0.11.10-0.2_all.deb) ... Unpacking replacement defoma ... ... Preparing to replace fontconfig 2.4.2-1.2 (using .../fontconfig_2.6.0-1_i386.deb) ... Can't locate File/Copy.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/bin/defoma-app line 7. BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7. dpkg: warning - old pre-removal script returned error exit status 2 dpkg - trying script from the new package instead ... dpkg: ... it looks like that went OK. Unpacking replacement fontconfig ... ### fontconfig.prerm invokes /usr/bin/defoma-app ### which needs File/Copy.pm from perl-modules ... Preparing to replace libpango1.0-common 1.16.4-1 (using .../libpango1.0-common_1.20.5-2_all.deb) ... Can't locate File/Copy.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/bin/defoma-app line 7. BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7. dpkg: warning - old pre-removal script returned error exit status 2 dpkg - trying script from the new package instead ... dpkg: ... it looks like that went OK. ### libpango1.prerm invokes /usr/bin/defoma-app ### which needs File/Copy.pm from perl-modules ... Preparing to replace libpng12-0 1.2.15~beta5-2 (using .../libpng12-0_1.2.27-1_i386.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. dpkg: warning - old pre-removal script returned error exit status 9 dpkg - trying script from the new package instead ... dpkg: ... it looks like that went OK. Unpacking replacement libpng12-0 ... ### libpng12-0.prerm invokes /usr/sbin/install-docs ### which needs Pod/Usage.pm from perl-modules ... Preparing to replace libwmf0.2-7 0.2.8.4-4 (using .../libwmf0.2-7_0.2.8.4-6_i386.deb) ... Can't locate File/Copy.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/bin/defoma-app line 7. BEGIN failed--compilation aborted at /usr/bin/defoma-app line 7. dpkg: warning - old pre-removal script returned error exit status 2 dpkg - trying script from the new package instead ... dpkg: ... it looks like that went OK. Unpacking replacement libwmf0.2-7 ... ### libwmf0.2-7.postrm invokes /usr/bin/defoma-app ### which needs File/Copy.pm from perl-modules ... Preparing to replace libtiff4 3.8.2-7 (using .../libtiff4_3.8.2-11_i386.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. dpkg: warning - old pre-removal script returned error exit status 9 dpkg - trying script from the new package instead ... dpkg: error processing /var/cache/apt/archives/ libtiff4_3.8.2-11_i386.deb (--unpack): there is no script in the new version of the package - giving up ### libtiff4.prerm invokes /usr/sbin/install-docs ### which needs Pod/Usage.pm from perl-modules ### (Note that that the reference to install-docs is moved to libtiff-doc somewhere between the old and new versions.) ... Errors were encountered while processing: /var/cache/apt/archives/libtiff4_3.8.2-11_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) ### Retried: higginsp6:~# apt-get -f install Reading package lists... Done Building dependency tree... Done Correcting dependencies...Done ... Setting up base-passwd (3.5.19) ... 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. dpkg: error processing base-passwd (--configure): subprocess post-installation script returned error exit status 9 ### base-passwd.postinst invokes /usr/sbin/install-docs ### which needs Pod/Usage.pm from perl-modules ### Retried: [EMAIL PROTECTED]:~# apt-get -f dist-upgrade Reading package lists... Done Building dependency tree... Done Correcting dependencies...Done Calculating upgrade... Done ... 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. dpkg: warning - old pre-removal script returned error exit status 9 dpkg - trying script from the new package instead ... dpkg: error processing /var/cache/apt/archives/ cupsys_1.3.8-1lenny1_all.deb (--unpack): there is no script in the new version of the package - giving up Starting Common Unix Printing System: cupsd. ### cupsys.prerm invokes /usr/sbin/install-docs ### which needs Pod/Usage.pm from perl-modules ... Preparing to replace shared-mime-info 0.21-2 (using .../shared-mime-info_0.30-2_i386.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. dpkg: warning - old pre-removal script returned error exit status 9 dpkg - trying script from the new package instead ... dpkg: ... it looks like that went OK. ### shared-mime-info.prerm invokes /usr/sbin/install-docs ### which needs Pod/Usage.pm from perl-modules =================================================================== ### dpkg.log except showing perl-modules half-configure / half-install / unpack... and various retries... 2008-10-01 15:59:06 upgrade perl-modules 5.8.8-7 5.10.0-14 2008-10-01 15:59:06 status half-configured perl-modules 5.8.8-7 2008-10-01 15:59:06 status unpacked perl-modules 5.8.8-7 2008-10-01 15:59:06 status half-installed perl-modules 5.8.8-7 2008-10-01 15:59:06 status half-installed perl-modules 5.8.8-7 2008-10-01 15:59:07 status unpacked perl-modules 5.10.0-14 2008-10-01 15:59:07 status unpacked perl-modules 5.10.0-14 2008-10-01 16:00:15 upgrade libtiff4 3.8.2-7 3.8.2-11 2008-10-01 16:00:15 status half-configured libtiff4 3.8.2-7 2008-10-01 16:00:16 status installed libtiff4 3.8.2-7 2008-10-01 17:14:31 upgrade libtiff4 3.8.2-7 3.8.2-11 2008-10-01 17:14:31 status half-configured libtiff4 3.8.2-7 2008-10-01 17:14:31 status installed libtiff4 3.8.2-7 2008-10-01 20:39:31 upgrade libtiff4 3.8.2-7 3.8.2-11 2008-10-01 20:39:31 status half-configured libtiff4 3.8.2-7 2008-10-01 20:39:31 status installed libtiff4 3.8.2-7 2008-10-02 11:20:21 upgrade libtiff4 3.8.2-7 3.8.2-11 2008-10-02 11:20:21 status half-configured libtiff4 3.8.2-7 2008-10-02 11:20:21 status installed libtiff4 3.8.2-7 2008-10-02 14:34:48 upgrade libtiff4 3.8.2-7 3.8.2-11 2008-10-02 14:34:48 status half-configured libtiff4 3.8.2-7 2008-10-02 14:34:48 status installed libtiff4 3.8.2-7 2008-10-02 14:52:49 upgrade libtiff4 3.8.2-7 3.8.2-11 2008-10-02 14:52:49 status half-configured libtiff4 3.8.2-7 2008-10-02 14:52:50 status unpacked libtiff4 3.8.2-7 2008-10-02 14:52:50 status half-installed libtiff4 3.8.2-7 2008-10-02 14:52:50 status half-installed libtiff4 3.8.2-7 2008-10-02 14:52:50 status unpacked libtiff4 3.8.2-11 2008-10-02 14:52:50 status unpacked libtiff4 3.8.2-11 2008-10-02 14:56:16 upgrade perl-base 5.8.8-7 5.10.0-14 2008-10-02 14:56:16 status half-configured perl-base 5.8.8-7 2008-10-02 14:56:16 status unpacked perl-base 5.8.8-7 2008-10-02 14:56:16 status half-installed perl-base 5.8.8-7 2008-10-02 14:56:16 status half-installed perl-base 5.8.8-7 2008-10-02 14:56:16 status unpacked perl-base 5.10.0-14 2008-10-02 14:56:16 status unpacked perl-base 5.10.0-14 2008-10-02 14:56:16 configure perl-base 5.10.0-14 5.10.0-14 2008-10-02 14:56:16 status unpacked perl-base 5.10.0-14 2008-10-02 14:56:16 status half-configured perl-base 5.10.0-14 2008-10-02 14:56:16 status installed perl-base 5.10.0-14 2008-10-02 15:02:21 configure libtiff4 3.8.2-11 3.8.2-11 2008-10-02 15:02:21 status unpacked libtiff4 3.8.2-11 2008-10-02 15:02:21 status half-configured libtiff4 3.8.2-11 2008-10-02 15:02:21 status installed libtiff4 3.8.2-11 2008-10-02 15:43:32 configure perl-modules 5.10.0-14 5.10.0-14 2008-10-02 15:43:32 status unpacked perl-modules 5.10.0-14 2008-10-02 15:43:32 status unpacked perl-modules 5.10.0-14 2008-10-02 15:43:32 status half-configured perl-modules 5.10.0-14 2008-10-02 15:43:32 status installed perl-modules 5.10.0-14 -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (800, 'testing'), (700, 'unstable'), (400, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages cupsys depends on: ii cups 1.3.8-1lenny1 Common UNIX Printing System(tm) - cupsys recommends no packages. cupsys suggests no packages. -- debconf information: cupsys/raw-print: true cupsys/backend: ipp, lpd, parallel, socket, usb -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]