Avoid CUPS upgrade hell
Okay, its been a long while since I upgraded one of my partitions, running ubuntu 12:04, and so the need to get closer to 18:04 meant, I had to upgrade one step at a time, and you know the problem, nobody figured an easier way to skip past a decade of neglect.
Trouble is, I don’t want to upgrade too far, since its old hardware. And there lies the rub.
After experiencing a cups log inflation story from hell, see here.
I then ran into this problem, no working CUPS panel
sudo apt remove --purge cups
apt remove cups*
cd /etc/cups & rm *
cd /usr/share/cups & rm *
apt install cups
apt install lsb
service cups restart
first check if the log is kicking up a fuss:
E [01/Apr/2019:17:07:50 +0200] [CGI] Directory \"/usr/lib/cups/backend\" has insecure permissions (040755/uid=1000/gid=1000)
which gives us an indication, to make certain
sudo chmod 755 /usr/lib/cups/backend
sudo chown root:root /usr/lib/cups/backend
and if that fails, try this trick:
sudo cp /usr/share/cups/cupsd.conf.default /etc/cups/cupsd.conf
sudo service cups restart