Bug#334102: cupsys-driver-gutenprint: fails to install in the first run

2006-05-30 Thread Roger Leigh
[EMAIL PROTECTED] (Frank Pavageau) writes:

> On Thu, Oct 20, 2005 at 02:41:09PM +0100, Roger Leigh wrote:
>> > Setting up cupsys-driver-gutenprint (4.3.99+cvs20050901-1) ...
>> > cups-genppd: Unable to create file 
>> > "/usr/share/cups/model/gutenprint/5.0/en/stp-bjc-30.5.0.ppd.gz" - No such 
>> > file or directory.
>> > can't close cups-genppd pipe:  at /usr/sbin/cups-genppdconfig.5.0 line 414.
>> > dpkg: error processing cupsys-driver-gutenprint (--configure):
>> >  subprocess post-installation script returned error exit status 1
>> 
>> It couldn't create the file.  Did /usr/share/cups/model have odd
>> owenership or permissions beforehand?
>
> I wouldn't know, I never looked there before. Right now it's
> drwxrwsr-t  2 root lpadmin 4096 Oct 20 15:56 /usr/share/cups/model/
> but since it works most of the time (see below), I guess these are the
> right permissions.
>
>> If you purge cupsys-driver-gutenprint and try again, do you still get
>> the problem?
>
> Hmm, it depends! I ran the purge+install sequence several times, and it
> failed once. So I'm guessing there's some kind of race condition between
> the two processes (cups-genppdconfig and cups-genppd) that's hard to
> trigger. I don't really speak perl, so I can't say if it's even a
> possibility, but it certainly looks like that.

We have since fixed a few issues in the postinst script and the
generator/update utilities, though I'm not sure if they should affect
this bug.  I still can't reproduce it myself, so I would be grateful
if you could try to reproduce this failure with the new version
(4.3.99+cvs20060521-2).


Thanks,
Roger

-- 
Roger Leigh
Printing on GNU/Linux?  http://gutenprint.sourceforge.net/
Debian GNU/Linuxhttp://www.debian.org/
GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.


pgplW9by96bbu.pgp
Description: PGP signature


Bug#334102: cupsys-driver-gutenprint: fails to install in the first run

2006-07-04 Thread Frank Pavageau
Hi. Sorry for the delay.

On Tue, May 30, 2006 at 03:02:41PM +0100, Roger Leigh wrote:
> We have since fixed a few issues in the postinst script and the
> generator/update utilities, though I'm not sure if they should affect
> this bug.  I still can't reproduce it myself, so I would be grateful
> if you could try to reproduce this failure with the new version
> (4.3.99+cvs20060521-2).

As it happens, I had to switch computers due to a hardware failure and
installed a new one less than 2 weeks ago. I haven't reproduced the
problem on the new one with 4.3.99+cvs20060521-4, so either the bug is
fixed or I can't trigger it anymore. Hopefully it's fixed :-)

Thanks, Frank


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#334102: cupsys-driver-gutenprint: fails to install in the first run

2005-10-20 Thread Roger Leigh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

tags 334102 + unreproducible
thanks

Frank Pavageau <[EMAIL PROTECTED]> writes:

> Package: cupsys-driver-gutenprint
> Version: 4.3.99+cvs20050901-1

> The first run of apt-get install cupsys-driver-gutenprint does not
> correctly installs it, but it's fixed by running apt-get -f install
> afterwards.
>
> Maybe the /usr/share/cups/model/gutenprint/5.0/en is not created before
> the files are created there?

They are created automatically.  I can't reproduce this either on a
live unstable system or in a clean chroot.

> Setting up cupsys-driver-gutenprint (4.3.99+cvs20050901-1) ...
> cups-genppd: Unable to create file 
> "/usr/share/cups/model/gutenprint/5.0/en/stp-bjc-30.5.0.ppd.gz" - No such 
> file or directory.
> can't close cups-genppd pipe:  at /usr/sbin/cups-genppdconfig.5.0 line 414.
> dpkg: error processing cupsys-driver-gutenprint (--configure):
>  subprocess post-installation script returned error exit status 1

It couldn't create the file.  Did /usr/share/cups/model have odd
owenership or permissions beforehand?

If you purge cupsys-driver-gutenprint and try again, do you still get
the problem?


Regards,
Roger

- -- 
Roger Leigh
Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
Debian GNU/Linuxhttp://www.debian.org/
GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ 

iD8DBQFDV550VcFcaSW/uEgRAop5AKCmApempnGT2E6zoWz1TC1QtDuNGgCeJWI6
pvkHXlmRitO+3oaerRogcsk=
=5Mp+
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#334102: cupsys-driver-gutenprint: fails to install in the first run

2005-10-20 Thread Frank Pavageau
On Thu, Oct 20, 2005 at 02:41:09PM +0100, Roger Leigh wrote:
> > Setting up cupsys-driver-gutenprint (4.3.99+cvs20050901-1) ...
> > cups-genppd: Unable to create file 
> > "/usr/share/cups/model/gutenprint/5.0/en/stp-bjc-30.5.0.ppd.gz" - No such 
> > file or directory.
> > can't close cups-genppd pipe:  at /usr/sbin/cups-genppdconfig.5.0 line 414.
> > dpkg: error processing cupsys-driver-gutenprint (--configure):
> >  subprocess post-installation script returned error exit status 1
> 
> It couldn't create the file.  Did /usr/share/cups/model have odd
> owenership or permissions beforehand?

I wouldn't know, I never looked there before. Right now it's
drwxrwsr-t  2 root lpadmin 4096 Oct 20 15:56 /usr/share/cups/model/
but since it works most of the time (see below), I guess these are the
right permissions.

> If you purge cupsys-driver-gutenprint and try again, do you still get
> the problem?

Hmm, it depends! I ran the purge+install sequence several times, and it
failed once. So I'm guessing there's some kind of race condition between
the two processes (cups-genppdconfig and cups-genppd) that's hard to
trigger. I don't really speak perl, so I can't say if it's even a
possibility, but it certainly looks like that.

Frank


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#334102: cupsys-driver-gutenprint: fails to install in the first run

2005-10-20 Thread Stephan Friedrichs

Frank Pavageau wrote:

Package: cupsys-driver-gutenprint
Version: 4.3.99+cvs20050901-1
Severity: important



Hello,

first of all: thanks for your response (and sorry for me taking so long 
to respond myself). But as I don't have that much experience using 
Linux, I've still got some questions:




The first run of apt-get install cupsys-driver-gutenprint does not
correctly installs it, but it's fixed by running apt-get -f install
afterwards.

Maybe the /usr/share/cups/model/gutenprint/5.0/en is not created before
the files are created there?



The thing is, that I'm still using gimpprint (which is the pre-version 
of gutenprint, isn't it?)...




[...]

-- System Information:
Debian Release: testing/unstable


... but I do not want to set the entire system testing/unstable to 
install gutenprint (it is running stable). Is there a way to set it 
testing for just this one package in sources.list?



[...]



//Stephan

--
Auch mit dem Meer ist es wie mit der Arbeit,
ja es ist genug für alle da!

 - Farin Urlaub, Am Strand



Bug#334102: cupsys-driver-gutenprint: fails to install in the first run

2005-10-21 Thread Uwe Schindler
Same here on a Digital Alphastation 500/500 
running Testing when upgrading form gimpprint to gutenprint:

Tried to purge and reinstall it or fix it with -f -- every time the same.

alpha:~# apt-get install cupsys-driver-gutenprint
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
Vorgeschlagene Pakete:
  gutenprint-doc gutenprint-locales
Die folgenden NEUEN Pakete werden installiert:
  cupsys-driver-gutenprint
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 0B von 987kB Archiven geholt werden.
Nach dem Auspacken werden 1331kB Plattenplatz zusätzlich benutzt.
Wähle vormals abgewähltes Paket cupsys-driver-gutenprint.
(Lese Datenbank ... 77736 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke cupsys-driver-gutenprint (aus 
.../cupsys-driver-gutenprint_4.3.99+cvs20

050901-1_alpha.deb) ...
Richte cupsys-driver-gutenprint ein (4.3.99+cvs20050901-1) ...
cups-genppd: Unable to create file 
"/usr/share/cups/model/gutenprint/5.0/en/stp-

bjc-30.5.0.ppd.gz" - No such file or directory.
can't close cups-genppd pipe:  at /usr/sbin/cups-genppdconfig.5.0 line 414.
dpkg: Fehler beim Bearbeiten von cupsys-driver-gutenprint (--configure):
 Unterprozess post-installation script gab den Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
 cupsys-driver-gutenprint
E: Sub-process /usr/bin/dpkg returned an error code (1)

Looking after that into /usr/share/cups/model 
showed me that a directory named "gutenprint" 
exists but nothing in it (no 5.0/en/...).


The update on an Athlon machine also running Testing worked without problems.

Seems to be a multitasking problem as somebody 
else. The Alpha machine is a lot slower than the Athlon one.





Bug#334102: cupsys-driver-gutenprint: fails to install in the first run

2005-10-15 Thread Frank Pavageau
Package: cupsys-driver-gutenprint
Version: 4.3.99+cvs20050901-1
Severity: important


The first run of apt-get install cupsys-driver-gutenprint does not
correctly installs it, but it's fixed by running apt-get -f install
afterwards.

Maybe the /usr/share/cups/model/gutenprint/5.0/en is not created before
the files are created there?

# apt-get install cupsys-driver-gutenprint foomatic-db foomatic-db-gutenprint
foomatic-db-engine netcat foomatic-gui pconf-detect
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  foomatic-filters ijsgutenprint libgutenprint2 libijs-0.35 libprinterconf0c2
  libprintsys libsnmpkit2c2 libtdb1 python-foomatic python-glade2 python-ipy
  python2.3-glade2 python2.3-ipy
Suggested packages:
  gutenprint-doc gutenprint-locales foomatic-db-hpijs foo2zjs
foomatic-db-gimp-print
Recommended packages:
  gnome-gv postscript-viewer
The following NEW packages will be installed:
  cupsys-driver-gutenprint foomatic-db foomatic-db-engine
  foomatic-db-gutenprint foomatic-filters foomatic-gui ijsgutenprint
  libgutenprint2 libijs-0.35 libprinterconf0c2 libprintsys libsnmpkit2c2
  libtdb1 netcat pconf-detect python-foomatic python-glade2 python-ipy
  python2.3-glade2 python2.3-ipy
0 upgraded, 20 newly installed, 0 to remove and 138 not upgraded.
Need to get 4399kB of archives.
After unpacking 44.8MB of additional disk space will be used.
Do you want to continue [Y/n]?
[...]

Setting up cupsys-driver-gutenprint (4.3.99+cvs20050901-1) ...
cups-genppd: Unable to create file 
"/usr/share/cups/model/gutenprint/5.0/en/stp-bjc-30.5.0.ppd.gz" - No such file 
or directory.
can't close cups-genppd pipe:  at /usr/sbin/cups-genppdconfig.5.0 line 414.
dpkg: error processing cupsys-driver-gutenprint (--configure):
 subprocess post-installation script returned error exit status 1
[...]
Errors were encountered while processing:
 cupsys-driver-gutenprint
E: Sub-process /usr/bin/dpkg returned an error code (1)
# apt-get -f install
Setting up cupsys-driver-gutenprint (4.3.99+cvs20050901-1) ...
Writing /usr/share/cups/model/gutenprint/5.0/en/stp-bjc-30.5.0.ppd.gz...
Writing /usr/share/cups/model/gutenprint/5.0/en/stp-bjc-50.5.0.ppd.gz...
[...]
No Gutenprint PPD files to update.
Restarting Common Unix Printing System: cupsd.

#

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.3
Locale: LANG=C, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages cupsys-driver-gutenprint depends on:
ii  cupsys  1.1.23-12Common UNIX Printing System(tm) - 
ii  libc6   2.3.5-6  GNU C Library: Shared libraries an
ii  libcupsimage2   1.1.23-12Common UNIX Printing System(tm) - 
ii  libcupsys2  1.1.23-12Common UNIX Printing System(tm) - 
ii  libgutenprint2  4.3.99+cvs20050901-1 runtime for the Gutenprint printer
ii  libjpeg62   6b-10The Independent JPEG Group's JPEG 
ii  libpng12-0  1.2.8rel-4   PNG library - runtime
ii  libtiff43.7.3-1  Tag Image File Format (TIFF) libra
ii  perl5.8.7-5  Larry Wall's Practical Extraction 
ii  zlib1g  1:1.2.3-4compression library - runtime

Versions of packages cupsys-driver-gutenprint recommends:
ii  gs-esp [postscript- 8+8.15rc4.dfsg.1-2.1 The Ghostscript PostScript interpr
ii  gs-gpl [postscript- 8.15-4   The GPL Ghostscript PostScript int

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]