hieplpvip / ubuntu_canon_printer

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

Error while install 32-bit libraries #7

Closed quochung2310 closed 3 years ago

quochung2310 commented 3 years ago

Could not finish installing Printer: Canon LBP2900 OS: Lubuntu 20.04 Please help! `Installing 32-bit libraries required to run 64-bit printer driver Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package libatk1.0-0:i386 E: Couldn't find any package by glob 'libatk1.0-0' E: Couldn't find any package by regex 'libatk1.0-0' E: Unable to locate package libcairo2:i386 E: Unable to locate package libgtk2.0-0:i386 E: Couldn't find any package by glob 'libgtk2.0-0' E: Couldn't find any package by regex 'libgtk2.0-0' E: Unable to locate package libpango1.0-0:i386 E: Couldn't find any package by glob 'libpango1.0-0' E: Couldn't find any package by regex 'libpango1.0-0' E: Unable to locate package libstdc++6:i386 E: Couldn't find any package by regex 'libstdc++6' E: Unable to locate package libpopt0:i386 E: Unable to locate package libxml2:i386 E: Unable to locate package libc6:i386 Error installing package Press any key to exit

`

quochung2310 commented 3 years ago

I fix it by install required 32bit libraries:

Enable 32bit support:

sudo dpkg --add-architecture i386
sudo apt-get update 

Install base libraries:

sudo apt-get install libglu1-mesa:i386 libgtk2.0-0:i386 libidn11:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libqtwebkit4:i386 

Install required libraries:

sudo apt-get install libatk1.0-0:i386 libcairo2:i386 libgtk2.0-0:i386 libpango1.0-0:i386 libstdc++6:i386 libpopt0:i386 libxml2:i386 libc6:i386 

Uninstall Canon LBP2900 and reinstall it. Restart/Logout-login/ Turn off-turn off printer if needed.