-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Lutz <[EMAIL PROTECTED]> writes:
> Package: cupsys-driver-gimpprint
> Version: 4.2.7-9
> Severity: grave
> Justification: renders package unusable
>
> apt-get upgrade fails
Are you updating an existing testing installation, or upgrading from
woody, or installing the package for the first time?
If you are upgrading testing, when did you last do a full upgrade?
> We get the following error message:
>
> Setting up cupsys-driver-gimpprint (4.2.7-9) ...
> Can't use an undefined value as filehandle reference at
> /usr/sbin/cups-genppdupdate line 95.
I can't reproduce this myself:
Unpacking replacement cupsys-driver-gimpprint ...
Setting up cupsys-driver-gimpprint (4.2.7-9) ...
Updated /etc/cups/ppd/c60.ppd using
/usr/share/cups/model/gimp-print/4.2/escp2-c60.ppd.gz
Updated 1 PPD files. Restart cupsd for the changes to take effect.
Restarting Common Unix Printing System: cupsd.
This is the code in question:
91 # Find all in-use Gimp-Print PPD files...
92
93 my @ppdglob = glob("$ppd_dir/*.{ppd,PPD}");
94 if (@ppdglob) {
95 open PPDFILES, '-|', 'grep', '-i', '-l', 'Gimp-Print', @ppdglob or
die "can't grep $ppd_dir/*: $!";
96 while (<PPDFILES>) {
97 chomp;
98 push @ppd_files, $_;
99 }
100 close PPDFILES or ($! == 0) or die "can't close grep pipe: $!";
101 }
In your case, PPDFILES is undefined, but it's not clear why.
Is the "grep" package installed?
If you "apt-get install cuspsys-driver-gimpprint", do you get the
error again?
As root, what does "ls -l /etc/cups/ppd" show?
Thanks,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFCdgxRVcFcaSW/uEgRAp2sAKCZV+yNhfDEHBgUMOdW3AHhcTbYiQCcC47y
K2GE/TF5QyVkh6C4IbBSA4M=
=ENl3
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]