[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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



Reply to: