a2ps exits with 'unknown medium libpaper' error when file /etc/papersize is missing
Bug #149551 reported by
James Troup
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
a2ps (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: a2ps
$ a2ps halp.txt
a2ps: unknown medium `libpaper'
This is a brand new gutsy install. Was working fine in feisty.
To post a comment you must log in.
This error occurs when the file /etc/papersize is missing.
Just run the following command to correct this error.
sudo echo "letter" > /etc/papersize
man papersize for a detailed help about papersize.
But indeed there is a bug because a2ps should fallback to a default value if /etc/papersize doesn't exists.
Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!