Can't install a printer driver. Failed dependencies

Hello, I have problems installing drivers for a Canon MF4410 printer.

  • OpenMandriva Lx version: ROME gnome x86_64

  • Desktop environment (KDE, LXQT…): Gnome 47 on X11

  • Description of the issue (screenshots if relevant): When downloading the driver from the tar.gz archive from the official site (Like I always do on other distributions), I come across a problem “Failed dependencies”.

  • Relevant informations (hardware involved, software version, logs or output…):

#----------------------------------------------------#
# Install Printer Driver (rpm -Uvh --replacepkgs --replacefiles)
#----------------------------------------------------#
error: Failed dependencies:
	gtk3 is needed by cnrdrvcups-ufr2-uk-6.00-1.06.x86_64
	jbigkit-libs is needed by cnrdrvcups-ufr2-uk-6.00-1.06.x86_64
	libjpeg-turbo is needed by cnrdrvcups-ufr2-uk-6.00-1.06.x86_64

Could not install.

There are no such packages as jbigkit-libs and libjpeg-turbo on the repo, and gtk3 should be 100% installed since I am literally using gnome.
I also encounter the same problem on fedora/rhel based distributions in general :no_mouth:.

Hi shelder,
Recovering copier technician here. Normally I also get the manufacturer drivers if available, then try gutenberg drivers as a fallback. OpenMandriva looks like it is going to be a little different, I have a Kyocera here and I have not set it up yet in OpenMandriva, but in preparation I found this process that covers Canon.
https://wiki.openmandriva.org/en/distribution/guides/how-tos/printer

TL/DR (and it is not long lol) run

sudo dnf install task-printing-canon

then reboot and add/configure printer.

Hopefully this helps, please let us know what the result is for you.

2 Likes

Thank you for answering this,

I installed the package you provided and I still can’t manage to find my model in system-config-printer. Seems like task-printing-canon doesn’t provide drivers for Canon MF series…

.
Right now, I am manually searching for these packages to see if I can install them on my own

If you use dnf search package_name

you will see no packages with those exact names. A OM developer might know it there are compatible packages under different names.

You might get a faster answer at OM-Chat.

dnf search jbigkit
Last metadata expiration check: 20:06:14 ago on Tue 07 Jan 2025 07:34:22 PM EST.
======================== Name Exactly Matched: jbigkit =========================
jbigkit.x86_64 : The JBIG-KIT
dnf search turbo
Last metadata expiration check: 20:07:52 ago on Tue 07 Jan 2025 07:34:22 PM EST.
======================== Name & Summary Matched: turbo =========================
java-turbojpeg.x86_64 : Java bindings to the turbojpeg library
lib64turbojpeg0.x86_64 : TurboJPEG library
libturbojpeg0.x86_64 : TurboJPEG library (32-bit)

My guess with gtk3 is:

dnf search lib64gtk3
Last metadata expiration check: 20:08:52 ago on Tue 07 Jan 2025 07:34:22 PM EST.
=========================== Name Matched: lib64gtk3 ============================
lib64gtk3_0.x86_64 : Shared libraries of The GIMP ToolKit (GTK+)

The installer looks like it really wants debian or something.

Alright…
I found libjpeg-turbo here
Found jbigkit-libs here
Both of these installed successfully. But there is still one package left.

error: Failed dependencies:
	gtk3 is needed by cnrdrvcups-ufr2-uk-6.00-1.06.x86_64

As @zeroability suggested, I tried installing lib64gtk3.
Package lib64gtk3_0-3.24.43-3.x86_64 is already installed.

I would remove the other two from the URLs and just install jbigkit and lib64turbojpeg0 with dnf. When I extracted the file I see there is a rpm file in the x64 folder. If you install that manually, do you get the same missing file dialog?

I removed packages from the URLs and installed what you said.

[andrew@openmandriva-x8664 RPM]$ sudo dnf install ./cnrdrvcups-ufr2-uk-6.00-1.06.x86_64.rpm 
Last metadata expiration check: 4:02:57 ago on Wed 08 Jan 2025 07:06:10 PM EET.
Error: 
 Problem: conflicting requests
  - nothing provides libjpeg-turbo needed by cnrdrvcups-ufr2-uk-6.00-1.06.x86_64 from @commandline
  - nothing provides gtk3 needed by cnrdrvcups-ufr2-uk-6.00-1.06.x86_64 from @commandline
  - nothing provides jbigkit-libs needed by cnrdrvcups-ufr2-uk-6.00-1.06.x86_64 from @commandline

I suppose that these packages from the URLs work just fine…

The issue is the dependency naming. Try the rpm install with --nodeps. You don’t lose anything but time if the application doesn’t work. Another thing you could try is to unpack the rpm and just pull the PPD files out and install them manually to the printer configuration tool.

3 Likes

Holy cow, it works.
sudo rpm -i --nodeps cnrdrvcups-ufr2-uk-6.00-1.06.x86_64.rpm
All I needed is to put --nodeps :smiling_face_with_tear:
It launched a menu where I could add my printer and it works! Thank you.

4 Likes

Well I’ll be dipped in ____! Good one @zeroability. Simple and did not occur to me at all…