Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 186179

Summary: app-text/libpaper-1.1.21 bad postinst message
Product: Gentoo Linux Reporter: Christophe PEREZ <chris>
Component: New packagesAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christophe PEREZ 2007-07-22 04:07:01 UTC
IMHO, the message should not be :
LOG: postinst
run "paperconfig -p letter" to use letter-pagesizes

because the tool is paperconf and not paperconfig.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2007-07-22 06:46:14 UTC
unique ~ # paperconfig --help
Usage: paperconfig [ -v, --version ] [ -h, --help ] [ -p, --paper name | --force ]

Options: -v, --verbose          print version information and exit
         -h, --help             print this help and exit
         -p, --paper name       specify the paper to use
         --force                force paper configuration
unique ~ # paperconfig -p letter
unique ~ # which paperconfig
/usr/sbin/paperconfig
unique ~ # qlist -CIv libpaper   
app-text/libpaper-1.1.21
Comment 2 Christophe PEREZ 2007-07-22 06:50:20 UTC
Oh, sorry, I didn't try as root.
libpaper contain paperconf AND paperconfig, and paperconfig isn't in user path (/usr/sbin/).
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2007-07-22 07:01:48 UTC
right, changed it a bit.

elog "run \"paperconfig -p letter\" as root to use letter-pagesizes"
elog "or paperconf with normal user privileges."

thanks