Fixing Ubuntu Duplicate Printers

Duplicate printers are annoying. Many times I feel Canonical long ago abandoned the “Just Works” slogan for “Just Ship It!” What makes it worse is the duplicate entries don’t work.

Duplicate printers are happening on every system in my office. Doesn’t matter if the system started with Ubuntu 20.04 LTS minimal beta/pre-release or a full install from the current ISO.

At the very best it is sloppy. At the very worst it is a complete lack of testing. You can’t test an OS with automated test scripts; especially if those automated test scripts are simply there to check a box in the AGILE development process.

Close all of your applications.

Open a terminal and type the following:

sudo apt remove cups
sudo apt autoremove

ls /etc/cups/*

sudo rm -rf /etc/cups
ls /etc/cups/*

The last ls command is just so you can verify everything went bye-bye.


Open a terminal window and type the following:

sudo apt install cups

sudo apt install cups-pdf


All should be right with the world now.

Roland Hughes started his IT career in the early 1980s. He quickly became a consultant and president of Logikal Solutions, a software consulting firm specializing in OpenVMS application and C++/Qt touchscreen/embedded Linux development. Early in his career he became involved in what is now called cross platform development. Given the dearth of useful books on the subject he ventured into the world of professional author in 1995 writing the first of the "Zinc It!" book series for John Gordon Burke Publisher, Inc. A decade later he released a massive (nearly 800 pages) tome "The Minimum You Need to Know to Be an OpenVMS Application Developer" which tried to encapsulate the essential skills gained over what was nearly a 20 year career at that point. From there "The Minimum You Need to Know" book series was born. Three years later he wrote his first novel "Infinite Exposure" which got much notice from people involved in the banking and financial security worlds. Some of the attacks predicted in that book have since come to pass. While it was not originally intended to be a trilogy, it became the first book of "The Earth That Was" trilogy: Infinite Exposure Lesedi - The Greatest Lie Ever Told John Smith - Last Known Survivor of the Microsoft Wars When he is not consulting Roland Hughes posts about technology and sometimes politics on his blog. He also has regularly scheduled Sunday posts appearing on the Interesting Authors blog.