Installing .deb package in Fedora

Hi everyone,

I’m trying to install a “.deb” package in Fedora, and I’m facing some issues.

My laptop has a Goodix fingerprint device, which has a driver provided by Lenovo.
But, the driver is for Ubuntu (it’s “.deb” package).
The driver package consists of two files:

  • libfprint-2-tod-goodix_amd64.deb,
  • libfprint-tod-goodix-550a-0.0.9.so.

I’m trying to install it in Fedora, checking if it works.

I used the “alien” package to convert the .deb file to .rpm (used the command “sudo alien -r libfprint-2-tod-goodix_amd64.deb” and got the file “libfprint-2-tod1-goodix-0.0.9-2.x86_64.rpm”).

And, I installed the “libfprint-tod” package by using the below instructions, which I got from this link:

Before installing “libfprint-tod”, I’d to remove the “libfprint-1.94.5-3.fc39.x86_64” package in Fedora, as it was creating a conflict.

Finally, I tried to install the “rpm” file (sudo rpm -i libfprint-2-tod1-goodix-0.0.9-2.x86_64.rpm), but I’m getting the below errors:

file /lib from install of libfprint-2-tod1-goodix-0.0.9-2.x86_64 conflicts with file from package filesystem-3.18-6.fc39.x86_64
file /usr from install of libfprint-2-tod1-goodix-0.0.9-2.x86_64 conflicts with file from package filesystem-3.18-6.fc39.x86_64
file /usr/lib from install of libfprint-2-tod1-goodix-0.0.9-2.x86_64 conflicts with file from package filesystem-3.18-6.fc39.x86_64
file /lib/udev from install of libfprint-2-tod1-goodix-0.0.9-2.x86_64 conflicts with file from package systemd-udev-254.7-1.fc39.x86_64
file /lib/udev/rules.d from install of libfprint-2-tod1-goodix-0.0.9-2.x86_64 conflicts with file from package systemd-udev-254.7-1.fc39.x86_64
file /lib/udev/rules.d from install of libfprint-2-tod1-goodix-0.0.9-2.x86_64 conflicts with file from package kexec-tools-2.0.27-3.fc39.x86_64

Would be happy to get some help.

Thanks,
Mallikarjun.

You are not going to be able to install that alien RPM based on the conflicts you list.
There are debian assumption that look to be conflicting with fedora requirements.

If you extract the files from inside the RPM you may be able to get them to work
by copying the .so files into place manually.

You can use rpm2cpio and cpio to extract the files from the alien RPM.

Hi @barryascott ,

Thanks for your reply.
I tried using the commands you mentioned, and got a “.so” file and “rules” file, which I placed in their appropriate directories.
But, things didn’t work for me.
So, I’ll leave it here.
Anyways, thanks for your help.

Thanks,
Mallikarjun.