Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I seem to have a weird version of lpr installed (one that doesn't cope with -o, see also this question). On all my other machines that run the same debian squeeze, the proper version of lpr is installed.

How can I get aptitude to install the "good" lpr?

Note: The contents of /etc/apt/sources.list are not the problem, I guess. The file is the same on all machines.

Edit: A related question is here.

share|improve this question

2 Answers 2

Man pages mention:

A specific version of a package can be selected for installation by following the package name with an equals (=) and the version of the package to select

So it'll be something like

$ apt-get install lpr=<version>
share|improve this answer
up vote 0 down vote accepted

lpr can be installed via

  • the lpr package (obvoius)

  • the lprng package (a little less obvious)

  • the cups-bsd package (not very obvious)

The three versions are not exactly the same and work a bit differently. They accept, for example, different options while being called.

See also this answer.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.