Page 1 of 1

cannot print or add printers

Posted: Sat May 11, 2019 4:08 pm
by fxonly
Hi all,
I have LMDE 3 installed on a USB drive running on my MSI CX620 laptop.

it has been a while since the installation but just recently I needed to print something and was surprised that the "Administration -> Printers" option in the cinnamon menu is missing.


researching this led me to a solution that I need to install 'system-config-printer-gnome'. unfortunately , it does not install, here is what i get:

Code: Select all

sudo apt-get install system-config-printer-gnome 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 system-config-printer-gnome : Depends: packagekit-system-interface
E: Unable to correct problems, you have held broken packages.

I have another PC running Mint (19.1 , not LMDE3) , printing is OK on it. what am I missing ?/

Re: cannot print or add printers

Posted: Sun May 12, 2019 6:03 pm
by axisofevil
Have you tried http://localhost:631/ in your browser - this should take you into CUPS.

Re: cannot print or add printers

Posted: Sun May 12, 2019 6:42 pm
by fxonly
axisofevil wrote:
Sun May 12, 2019 6:03 pm
Have you tried http://localhost:631/ in your browser - this should take you into CUPS.
thanks @axisofevil , this helped . .. using the browser link, I was able to add a printer and successfully printer a pdf document using my pdf reading application.

so printing functionality works, but so far only using the localhost:631 link

Re: cannot print or add printers

Posted: Tue May 14, 2019 4:47 am
by Monsta
There's no system-config-printer-gnome package in Debian repos, it's only in Ubuntu. Did you add some Ubuntu repos to your LMDE system...?

Re: cannot print or add printers

Posted: Tue May 14, 2019 8:25 am
by fxonly
Monsta wrote:
Tue May 14, 2019 4:47 am
There's no system-config-printer-gnome package in Debian repos, it's only in Ubuntu. Did you add some Ubuntu repos to your LMDE system...?
Hi @Monsta , no I didn't add repos, but I am using LMDE 3.
Screenshot from 2019-05-14 15-21-10.png

Re: cannot print or add printers

Posted: Tue May 14, 2019 9:48 am
by Monsta
That screenshot shows it's Mint 18.1 "Serena", based on Ubuntu 16.04 "Xenial Xerus"...

Re: cannot print or add printers

Posted: Tue May 14, 2019 2:37 pm
by fxonly
Monsta wrote:
Tue May 14, 2019 9:48 am
That screenshot shows it's Mint 18.1 "Serena", based on Ubuntu 16.04 "Xenial Xerus"...
strange, I did not change that. what url should I put instead?
from my search I found others using it.

Re: cannot print or add printers

Posted: Wed May 15, 2019 9:04 am
by Monsta
What would these commands say?

Code: Select all

inxi -Sr

Code: Select all

cat /etc/linuxmint/info

Re: cannot print or add printers

Posted: Wed May 15, 2019 10:36 am
by fxonly
Monsta wrote:
Wed May 15, 2019 9:04 am
What would these commands say?

Code: Select all

inxi -Sr

Code: Select all

cat /etc/linuxmint/info
here is the output:

Code: Select all

(base) myuser@myMint:~$ inxi -Sr
System:    Host: myMint Kernel: 4.15.0-48-generic x86_64 bits: 64 Desktop: Cinnamon 4.0.10 
           Distro: Linux Mint 18.1 Serena 
Repos:     Active apt repos in: /etc/apt/sources.list.d/neovim-ppa-stable-xenial.list 
           1: deb http://ppa.launchpad.net/neovim-ppa/stable/ubuntu xenial main
           2: deb-src http://ppa.launchpad.net/neovim-ppa/stable/ubuntu xenial main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb http://packages.linuxmint.com serena main upstream import backport
           2: deb http://ge.archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
           3: deb http://ge.archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
           4: deb http://ge.archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ xenial partner
           Active apt repos in: /etc/apt/sources.list.d/webupd8team-tor-browser-xenial.list 
           1: deb http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu xenial main
           2: deb-src http://ppa.launchpad.net/webupd8team/tor-browser/ubuntu xenial main
(base) myuser@myMint:~$ cat /etc/linuxmint/info 
RELEASE=3
CODENAME=cindy
EDITION="Cinnamon"
DESCRIPTION="LMDE 3 Cindy"
DESKTOP=Gnome
TOOLKIT=GTK
NEW_FEATURES_URL=http://www.linuxmint.com/rel_cindy_whatsnew.php
RELEASE_NOTES_URL=http://www.linuxmint.com/rel_cindy.php
USER_GUIDE_URL=help:linuxmint
GRUB_TITLE=LMDE 3 Cindy

Re: cannot print or add printers

Posted: Sat May 18, 2019 6:14 am
by Monsta
Well, this is a weird setup. You have repos and base-files package from 18.1, mint-info-cinnamon package from LMDE 3, and Cinnamon 4.0 from either 19.1 or LMDE 3.

Re: cannot print or add printers

Posted: Sun May 19, 2019 9:07 pm
by axisofevil
It's not recommended that you add any Ubuntu packages into LMDE3, since LMDE is directly based upon Debian.
Also, you should not be trying to install any PPA's...

LMDE3 does have a program - system-config-printer - normally launched as a GUI option.
It's probably worth trying to install the package of the same name (which will probably drag in about 3 associated packages).
Even though you don't appear to have any LMDE repos, but do have at least one Mint repo...