Apt-get :: libpaper1 won't configure



ok. dsl is great - i've used it since the beginning, and each time a try a new (full or mini) distro, i switch back.

here's the problem. trying to get my samsung laser printer working. that means i need new drivers. every package i try to add - cups or anything print related, gets stuck on libpaper1

dpkg error 1... and it wont configure, and then i can't install anything dependent on that, and am stuck with no printer.

i've tried seemingly every option in apt-get and dpkg, installing and re-installing, forcing every option, ignoring faults... to no avail.

any ideas on how i can get libpaper1 working? "dpkg reported error 1" doesn't really tell me much about why it fails.

smee, arrrrgh is right!  I had this same problem trying to install tetex.  I narrowed it down to two lines in /var/lib/dpkg/info/libpaper1.postinst

db_get libpaper/defaultpaper

or

ucf --debconf-ok /etc/papersize.dpkg-inst /etc/papersize

I think it's the second because when I try to run this as root on the command line, it gives no error but also doesn't create the /etc/papersize file.  I wasn't able make it work with any of the things I tried.  It looks like the last part of that script looks at the md5 sum of /etc/papersize.dpkg-inst and compares it to the md5sum of the /etc/papersize that should be there.  If they are the same file, you might be able to cp /etc/papersize.dpkg-inst /etc/papersize, remove that whole section from the file, and trying apt-get -f install again.  Then you don't get the error.

hmmm... you took it one step further.i tried running both of those script lines, and found another possible problem. running the first line gives "db_get: command not found"

what package is db_get from?

...anyone try the cups.dsl in the testing area??

I didn't see any samsung drivers in it,
but it may get you past this stopping point ?

73
ke4nt

trying cups.dls now - you know the samsung ml-1740 comes with drivers and software for LINUX!!! go, samsung. it's all KDE (win-cough) of course, and i can't get the install even to start.
Next Page...
original here.