You are not logged in.
Pages: 1
Hi, I'm new to bunsenlabs and recently installed the lithium version.
I tried to install the printer support in the system --> printers --> install printing support.
I got the following error in the terminal:
The following packages have unmet dependencies:
bunsen-meta-printer-support : Depends: cups but it is not going to be installed
Depends: cups-browsed (>= 1.21.6-5) but it is not going to be installed
Depends: system-config-printer but it is not going to be installed
Recommends: hplip but it is not going to be installed
There were problems installing bunsen-meta-printer-support
I tried installing cups with apt-get but I got the following error:
The following packages have unmet dependencies:
cups : Depends: libcups2 (= 2.2.1-8+deb9u6) but 2.2.10-6+deb10u3 is to be installed
Depends: libcupscgi1 (>= 1.4.2) but it is not going to be installed
Depends: libcupsmime1 (>= 1.4.0) but it is not going to be installed
Depends: libcupsppdc1 (>= 1.4.0) but it is not going to be installed
Depends: cups-core-drivers (>= 2.2.1-8+deb9u6) but it is not going to be installed
Depends: cups-daemon (>= 2.2.1-8+deb9u6) but it is not going to be installed
Depends: cups-client (>= 2.2.1-8+deb9u6) but it is not going to be installed
Depends: cups-ppdc but it is not going to be installed
Depends: cups-filters (>= 1.0.24-3~) but it is not going to be installed
Recommends: colord but it is not going to be installed
Recommends: cups-filters (>= 1.0.42) but it is not going to be installed or
foomatic-filters (>= 4.0)
Recommends: printer-driver-gutenprint but it is not going to be installed
Recommends: cups-filters (>= 1.0.36) but it is not going to be installed or
ghostscript-cups (>= 9.02~)
E: Unable to correct problems, you have held broken packages.
Any ideas?
Offline
This sounds as if you need to update your apt database. Try running:
sudo apt update
Then repeat the printer setup.
Is this a 32 bit CD iso? If so, the apt database was omitted to save space and has to be generated post-install with the above command.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )
Offline
This sounds as if you need to update your apt database. Try running:
sudo apt update
Then repeat the printer setup.
Is this a 32 bit CD iso? If so, the apt database was omitted to save space and has to be generated post-install with the above command.
Think that only applies to the "live session" though they make it sound like both.
--apt-indices 'false' \
Unless there is another line maybe?
Anyway, Same answer applies.
Also noted that the op said "recently" installed. Could they be having problems with the keys? Don't know if it equates or not, but thought I would mention it anyway.
Offline
I've updated several times.
This is a 64 bit installation in a laptop.
I also tried installing the printing support package with aptitude and got the following:
Remove the following packages:
1) liblouisutdml-bin [2.6.0-3+b2 (now, oldstable)]Keep the following packages at their current version:
2) acl [Not Installed]
3) bc [Not Installed]
4) bunsen-meta-printer-support [Not Installed]
5) colord [Not Installed]
6) cups [Not Installed]
7) cups-browsed [Not Installed]cups-client [Not Installed]
9) cups-core-drivers [Not Installed]
10) cups-daemon [Not Installed]
11) cups-filters [Not Installed]
12) cups-filters-core-drivers [Not Installed]
13) cups-ppdc [Not Installed]
14) hplip [Not Installed]
15) imagemagick [Not Installed]
16) imagemagick-6.q16 [Not Installed]
17) libcupscgi1 [Not Installed]
18) libcupsmime1 [Not Installed]
19) libcupsppdc1 [Not Installed]
20) libdjvulibre-text [3.5.27.1-10 (now)]
21) libglib2.0-bin [Not Installed]
22) libjxr0 [1.1-6+b1 (now, oldstable)]
23) libmagickcore-6.q16-6 [Not Installed]
24) libmagickcore-6.q16-6-extra [Not Installed]
25) libmagickwand-6.q16-6 [Not Installed]
26) libnetpbm10 [2:10.0-15.3+b2 (now, oldstable)]
27) libsane [Not Installed]
28) libsane-extras-common [1.0.22.4 (now, oldstable)]
29) libtinfo5 [Not Installed]
30) packagekit [Not Installed]
31) packagekit-tools [Not Installed]
32) printer-driver-gutenprint [Not Installed]
33) printer-driver-hpcups [Not Installed]
34) printer-driver-postscript-hp [Not Installed]
35) python3-cups [Not Installed]
.....
Offline
Also noted that the op said "recently" installed. Could they be having problems with the keys? Don't know if it equates or not, but thought I would mention it anyway.
I already have the latest version.
Offline
Is it an hp printer? off hand, you could 'sudo apt purge cups', and anything else related, and try again with
sudo apt install hplip
which will drag in everything necessary for an hp printer. Afterwords, if not comfortable using the browser to connect, install hplip-gui
Of course all of this depends on having an hp printer:)
Offline
E: Unable to correct problems, you have held broken packages.
Did you install a 3rd party software before attempting to install cups?
Have you modified, or added to, your apt sources?
You must unlearn what you have learned.
-- yoda
Offline
Did you install a 3rd party software before attempting to install cups?
Printer related no, other software yes I have.
Have you modified, or added to, your apt sources?
No I haven't
Offline
Is it an hp printer? off hand, you could 'sudo apt purge cups', and anything else related, and try again with
sudo apt install hplip
which will drag in everything necessary for an hp printer. Afterwords, if not comfortable using the browser to connect, install hplip-gui
Of course all of this depends on having an hp printer:)
No, I'm trying to install a brother b/w laser printer that in other distros of ubuntu is installed automatically.
Offline
Brother laser printers usually require the drivers from Brother site from what I recollect as I once owned a Brother inkjet.
Real Men Use Linux
Offline
Brother laser printers usually require the drivers from Brother site from what I recollect as I once owned a Brother inkjet.
That was my experience as well, for a Brother laser printer.
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
DeepDayze wrote:Brother laser printers usually require the drivers from Brother site from what I recollect as I once owned a Brother inkjet.
That was my experience as well, for a Brother laser printer.
Yep those as well. Installing them was an adventure as their debs are pretty badly packaged. HP's in comparison are well packaged and updated regularly. I went with HP after my Brother inkjet died after 7 years and never looked back.
Last edited by DeepDayze (2021-02-11 01:44:41)
Real Men Use Linux
Offline
Those errors still look to me like something wrong with the apt sources.
@juncaleo could you post the output of these commands?
cat /etc/bunsen/bunsen_install
cat /etc/apt/sources.list{,.d/*}
apt-cache policy
Last edited by johnraff (2021-02-11 04:41:37)
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )
Offline
Did you install a 3rd party software before attempting to install cups?
Printer related no, other software yes I have.
Have you modified, or added to, your apt sources?
No I haven't
Good.
Any time this has happened to my Debian systems (note I have not run a Debian system for a couple years now) I needed to find and fix/remove the broken package before I could do any upgrade or install. I did a quick search and found this command on AskUbuntu -
dpkg -l | grep ^..r
to identify the broken package.
You must unlearn what you have learned.
-- yoda
Offline
juncaleo wrote:Did you install a 3rd party software before attempting to install cups?
Printer related no, other software yes I have.
Have you modified, or added to, your apt sources?
No I haven't
Good.
Any time this has happened to my Debian systems (note I have not run a Debian system for a couple years now) I needed to find and fix/remove the broken package before I could do any upgrade or install. I did a quick search and found this command on AskUbuntu -
dpkg -l | grep ^..r
to identify the broken package.
It didn't show any results.
Offline
---Mod edit: changed to code tags---
Those errors still look to me like something wrong with the apt sources.
@juncaleo could you post the output of these commands?
cat /etc/bunsen/bunsen_install cat /etc/apt/sources.list{,.d/*} apt-cache policy
cat /etc/bunsen/bunsen_install
Install method: iso
Version: lithium-RC5-amd64
Disk info: Debian GNU/Linux 10 _Lithium_ - Snapshot amd64 LIVE/INSTALL Binary 20200722-09:44
Install date: 2021-01-28T03:08:25
cat /etc/apt/sources.list{,.d/*}
deb [url]https://deb.debian.org/debian/[/url] stretch main non-free contrib
# deb-src [url]https://deb.debian.org/debian/[/url] stretch main non-free contrib
## Debian security updates
deb [url]https://deb.debian.org/debian-security/[/url] stretch/updates main contrib non-free
# stretch-updates, previously known as 'volatile'
deb [url]https://deb.debian.org/debian/[/url] stretch-updates main contrib non-free
# deb-src [url]https://deb.debian.org/debian/[/url] stretch-updates main contrib non-free
# deb cdrom:[Debian GNU/Linux 10 _Lithium_ - Snapshot amd64 LIVE/INSTALL Binary 20200722-09:44]/ buster contrib main non-free
# deb cdrom:[Debian GNU/Linux 10 _Lithium_ - Snapshot amd64 LIVE/INSTALL Binary 20200722-09:44]/ buster contrib main non-free
## Debian security updates
deb [url]https://deb.debian.org/debian-security/[/url] buster/updates non-free contrib main
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
deb [url]http://pkg.bunsenlabs.org/debian/[/url] lithium main
###
###
###
###
###
###
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] [url]http://dl.google.com/linux/chrome/deb/[/url] stable main
apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 [url]http://dl.google.com/linux/chrome/deb[/url] stable/main amd64 Packages
release v=1.0,o=Google LLC,a=stable,n=stable,l=Google,c=main,b=amd64
origin dl.google.com
500 [url]http://pkg.bunsenlabs.org/debian[/url] lithium/main amd64 Packages
release o=bunsenlabs,a=lithium,n=lithium,l=bunsenlabs,c=main,b=amd64
origin pkg.bunsenlabs.org
500 [url]https://deb.debian.org/debian-security[/url] buster/updates/main amd64 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=amd64
origin deb.debian.org
500 [url]https://deb.debian.org/debian-security[/url] buster/updates/non-free amd64 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=non-free,b=amd64
origin deb.debian.org
500 [url]https://deb.debian.org/debian[/url] stretch-updates/non-free amd64 Packages
release o=Debian,a=oldstable-updates,n=stretch-updates,l=Debian,c=non-free,b=amd64
origin deb.debian.org
500 [url]https://deb.debian.org/debian[/url] stretch-updates/main amd64 Packages
release o=Debian,a=oldstable-updates,n=stretch-updates,l=Debian,c=main,b=amd64
origin deb.debian.org
500 [url]https://deb.debian.org/debian-security[/url] stretch/updates/non-free amd64 Packages
release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=non-free,b=amd64
origin deb.debian.org
500 [url]https://deb.debian.org/debian-security[/url] stretch/updates/contrib amd64 Packages
release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=contrib,b=amd64
origin deb.debian.org
500 [url]https://deb.debian.org/debian-security[/url] stretch/updates/main amd64 Packages
release v=9,o=Debian,a=oldstable,n=stretch,l=Debian-Security,c=main,b=amd64
origin deb.debian.org
500 [url]https://deb.debian.org/debian[/url] stretch/contrib amd64 Packages
release v=9.13,o=Debian,a=oldstable,n=stretch,l=Debian,c=contrib,b=amd64
origin deb.debian.org
500 [url]https://deb.debian.org/debian[/url] stretch/non-free amd64 Packages
release v=9.13,o=Debian,a=oldstable,n=stretch,l=Debian,c=non-free,b=amd64
origin deb.debian.org
500 [url]https://deb.debian.org/debian[/url] stretch/main amd64 Packages
release v=9.13,o=Debian,a=oldstable,n=stretch,l=Debian,c=main,b=amd64
origin deb.debian.org
Pinned packages:
Last edited by damo (2021-02-11 13:44:13)
Offline
You have a mix of Buster and stretch . . . ? Maybe un-comment the buster security line,
sudo apt update, and try again.
I got the same errors, my buster in security was uncommented I added the # at the beginning.
Offline
sleekmason wrote:You have a mix of Buster and stretch . . . ? Maybe un-comment the buster security line,
sudo apt update, and try again.I got the same errors, my buster in security was uncommented I added the # at the beginning.
Lithium is based on Buster, btw. Perhaps replace all references to stretch with buster?
Real Men Use Linux
Offline
Lithium is based on Buster, btw. Perhaps replace all references to stretch with buster?
This is it, I think. @juncaleo did you edit your apt sources from buster to stretch at some point? Anyway, that would account for why the packages you need are not available.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )
Offline
So here is the solution, as suspected the problem was in sources.list.
IDK why my sources pointed to stretch instead of buster.
Found this post: https://forums.bunsenlabs.org/viewtopic.php?id=6915
And my sources.list now looks like this:
deb https://deb.debian.org/debian buster main non-free contrib
# deb-src https://deb.debian.org/debian buster main non-free contrib
## Debian security updates
deb https://deb.debian.org/debian-security buster/updates main contrib non-free
# buster-updates, previously known as 'volatile'
deb https://deb.debian.org/debian buster-updates main contrib non-free
# deb-src https://deb.debian.org/debian buster-updates main contrib non-free
Offline
Pages: 1