1
I recently installed Ubuntu 16.04 on my laptop, and installed CUPS from the source. After this I changed the client.conf file and restarted CUPS. This restarting didn't finish because it was taking a very long time and then I turned off the computer. After this, typing 'lpstat' on my terminal is not working, saying that 'lpstat: Unauthorized.' I tried reinstalling CUPS through 'sudo apt install CUPS,' but the problem persists.
Also, if I open 'printer' in ubuntu I get the error 'There was an error during the CUPS operation: 'Unauthorized'.'
Can anyone help with my problem?
Thank you in advance.
You are probably better off using CUPS as bundled with the standard Ubuntu installers. (If there is some specific reason why you need to install CUPS from source, it might be helpful if you would explain what that reason is.) Probably the surest way to obtain Ubuntu with a working and patched CUPS installation would be to reinstall Ubuntu and then execute something along the following lines from Terminal:
sudo apt-get upgrade && sudo apt-get update && sudo restart now
. – sampablokuper – 2018-03-13T22:36:35.120Okay I get that. I installed CUPS manually because I didn't know Ubuntu had CUPS installed by default. – user109352 – 2018-03-13T23:20:54.507
I have expanded my comment above and posted it as an answer. Please mark it as accepted if it solved your problem. Thanks :) – sampablokuper – 2018-03-13T23:37:39.090