hieplpvip / ubuntu_canon_printer

Script for installing the Linux CAPT Printer Driver for Canon LBP printers on Ubuntu (both 32-bit and 64-bit)
167 stars 61 forks source link

Installation fails on Ubuntu 24.04 (dependency issue : libpango 1.0.0 i386 ) #24

Open kausborealis opened 2 months ago

kausborealis commented 2 months ago

Hi

There is an Issue when trying to install ubuntu_canon_printer on ubuntu 24.04

Error: unable to install the package libpango 1.0.0 i386 (dependency problem)

++

PS: LBP2900 prinetr

Boltykov commented 1 month ago

I have the same problem.

Canon LBP6020.

DancingPanda58 commented 1 month ago

I was facing the same issues in my LBP2900 printer and was trying to install the libpango1.0.0:i386 but there was little to no solution in the internet. So, I check in my i386 package using this command " dpkg --list | grep :i386" and manually search for libpango1.0.0:i386 but only found libpango-1.0.0:i386. Then, I just change the package in the canon_lbp_setup.sh from "libpango1.0.0:i386" to 'libpango-1.0.0:i386". The installation didn't fail but got stop at the ccpd service where it say that it could not found the ccpd.service but say that the installation is completed. So, I first check the status using "systemctl status ccpd.service" and used "systemctl restart ccpd.service" and again ran the script. It still showed some error about not being able to see the LBP2900.desktop but a window appear showing "Ready to print". I printed a test paper and it worked. Also note that I did this configuration in using root. Sorry if my explanation is bad or difficult to follow since it my first time posting any solution.

DancingPanda58 commented 1 month ago

Additionally, for the printer display run "captstatusui -P LBP2900" in the terminal

Boltykov commented 3 weeks ago

I was facing the same issues in my LBP2900 printer and was trying to install the libpango1.0.0:i386 but there was little to no solution in the internet. So, I check in my i386 package using this command " dpkg --list | grep :i386" and manually search for libpango1.0.0:i386 but only found libpango-1.0.0:i386. Then, I just change the package in the canon_lbp_setup.sh from "libpango1.0.0:i386" to 'libpango-1.0.0:i386". The installation didn't fail but got stop at the ccpd service where it say that it could not found the ccpd.service but say that the installation is completed. So, I first check the status using "systemctl status ccpd.service" and used "systemctl restart ccpd.service" and again ran the script. It still showed some error about not being able to see the LBP2900.desktop but a window appear showing "Ready to print". I printed a test paper and it worked. Also note that I did this configuration in using root. Sorry if my explanation is bad or difficult to follow since it my first time posting any solution.

Thanks a lot. Your solution helped me.

Boltykov commented 3 weeks ago

Additionally, for the printer display run "captstatusui -P LBP2900" in the terminal

To monitor the printer status, I create a file "Captstatusui.desktop" with the following contents: "[Desktop Entry] Version=1.0 Name=Canon LBP6020 Common name=Canon CAPT Printer Status Monitor Exec=captstatusui -P LBP6020 Terminal=false Type=Application Icon=/usr/share/icons/Yaru/256x256/devices/printer.png"

and put it to ~/.local/share/applications

Novatones commented 5 days ago

I just change the package in the canon_lbp_setup.sh from "libpango1.0.0:i386" to 'libpango-1.0.0:i386"

Thanks! It worked! It looks like just the package name in the repository has been changed.