Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: libpaper1 won't configure, arrrrgh< Next Oldest | Next Newest >
smee Offline





Group: Members
Posts: 6
Joined: June 2005
Posted: June 23 2005,05:58 QUOTE

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.
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: June 23 2005,12:16 QUOTE

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.
Back to top
Profile PM 
smee Offline





Group: Members
Posts: 6
Joined: June 2005
Posted: June 23 2005,14:47 QUOTE

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?
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: June 23 2005,15:24 QUOTE

...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
Back to top
Profile PM 
smee Offline





Group: Members
Posts: 6
Joined: June 2005
Posted: June 23 2005,16:11 QUOTE

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.
Back to top
Profile PM 
9 replies since June 23 2005,05:58 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: libpaper1 won't configure

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code