Skip to contentSkip to conversation

Installing foomatic removes packages in Ubuntu 20.04

Printing-architecture Andrea Croci 1 participant 1 message Oct 22, 2020

lore
Share & tools
lore
#0 lore raw

Hello,

I have a Canon printer MF746Cx which is behaving funny under both Ubuntu 18.04 and 20.04: when printing two-sided, some pages are shifted to the right and the printout is cutoff. The even funnier part is that it does so with pdf, odt and docx files, but not with all of them and not always on the same pages. For instance I have an 8-pages pdf where pages 4, 5, 6 and 8 get shifted if I print the whole document, but if I only print those pages, they don't get shifted.

I installed the printer with the UFR II driver I downloaded from the Canon website and there are other drivers there. I wanted to try the PCL and the PS drivers, to see if anything changes. But when I use these drivers and print the same document (or any document for that matter), I get the error "Stopped filters error". I opened the PPD files of these drivers and it seems to me, for what I can understand, that the UFR II prints using Ghostscript directly, whereas the other drivers invoke some foomatic command. I thought maybe the problem is with foomatic and wanted to try (re)installing it. However the following happens:

/sudo apt install foomatic-filters foomatic-db// //Reading package lists... Done//
//Building dependency tree //
//Reading state information... Done//
//The following packages were automatically installed and are no longer required://
//  at hplip-data libfontembed1 libgutenprint-common libgutenprint9// //  libimagequant0 libjpeg62 liblouisutdml-bin liblouisutdml-data liblouisutdml9//
//  libncurses5 libsane-hpaio libtinfo5 lsb-core lsb-security ncurses-term pax//
//  python3-olefile python3-pil python3-renderpm python3-reportlab// //  python3-reportlab-accel//
//Use 'sudo apt autoremove' to remove them.//
//The following additional packages will be installed:// //  foomatic-db-engine//
//Suggested packages://
//  hplip hplip-cups cups-filters foomatic-db-gutenprint// //Recommended packages://
//  cups//
//The following packages will be REMOVED://
//  bluez-cups cnrdrvcups-ufr2-uk cups cups-filters epson-inkjet-printer-escpr//
//  epson-pc-fax epson-printer-utility foomatic-db-compressed-ppds hplip//
//  indicator-printers lsb lsb-printing printer-driver-gutenprint// //  printer-driver-hpcups printer-driver-splix ubuntu-desktop// //  ubuntu-desktop-minimal//
//The following NEW packages will be installed://
//  foomatic-db foomatic-db-engine foomatic-filters//
//0 upgraded, 3 newly installed, 17 to remove and 0 not upgraded.// //Need to get 898 kB of archives.//
//After this operation, 140 MB disk space will be freed.// //Do you want to continue? [Y/n]/

I find it odd that it wants to remove CUPS and then recommends to install it again/. /I find it maybe even odder that it uninstalls "ubuntu-desktop" and all the other things. I didn't do it yet because I don't want to break my system.

Should I answer "yes" and then reinstall the uninstalled packages?

Thanks,

Andrea
//