Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some packages could not be installed. #13

Open
peterarends opened this issue Aug 24, 2022 · 2 comments
Open

Some packages could not be installed. #13

peterarends opened this issue Aug 24, 2022 · 2 comments

Comments

@peterarends
Copy link

peterarends commented Aug 24, 2022

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 grep : PreDepends: libpcre3 but it is not installable
 libgtk2.0-0:i386 : Depends: adwaita-icon-theme:i386 or
                             gnome-icon-theme:i386
                    Recommends: libgtk2.0-bin:i386
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

For anyone getting these errors. I was not able to resolve them (in a timely matter), but commenting line 270 and 271 and running the script again made it work for me!

#apt-get -y install libatk1.0-0:i386 libcairo2:i386 libgtk2.0-0:i386 libpango1.0-0:i386 libstdc++6:i386 libpopt0:i386 libxml2:i386 libc6:i386
#check_error PACKAGE $?
@phannphong
Copy link

Commenting these lines let me finish the installing but when I access the shortcut I see the message "Printer Error" and "Check the DevicePath of /etc/ccpd.conf".
I've run script on Ubuntu 20.04.

@janos-r
Copy link

janos-r commented Nov 2, 2023

Ok, on the currently latest Mint21.2, this is what needs to be done:

  1. You remove the libgtk2.0-0:i386 dependency from the script. That is the one that creates the above mentioned libgtk2.0-bin:i386 problem. I don't know why exactly. And I don't know if skipping gtk2 looses on some features.
  2. For some reason, the service ccpd restart part of the script fails, so you have to run it at the end manually.
  3. Even though the script gets all the way to Installation completed. Press any key to exit, the .desktop file is not created on my desktop. I don't plan to debug it further, but this ending part of the script is definitely weird.

In summary, after removing the gtk2 dependency and running the ccpd restart manually, the captstatusui -P LBP2900 command says "Ready to Print" and it really prints fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants