LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-28-2017, 06:49 PM   #16
lbpenguino
LQ Newbie
 
Registered: Mar 2017
Posts: 12

Rep: Reputation: Disabled

Thank you, Hydrurga. I always tried to stay away from dependency problems but I am wading in.
Just a little more hand-holding, please.

I did:
wget http://archive.ubuntu.com/ubuntu/poo...u0.2_amd64.deb
sudo dpkg -i cups-daemon_2.1.3-4ubuntu0.2_amd64.deb
and got:
--2017-03-28 15:34:26-- http://archive.ubuntu.com/ubuntu/poo...u0.2_amd64.deb
Resolving archive.ubuntu.com (archive.ubuntu.com)... 91.189.88.162, 91.189.88.152, 91.189.88.149, ...
Connecting to archive.ubuntu.com (archive.ubuntu.com)|91.189.88.162|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 301416 (294K) [application/x-debian-package]
Saving to: ‘cups-daemon_2.1.3-4ubuntu0.2_amd64.deb’

cups-daemon_2.1.3-4 100%[===================>] 294.35K 463KB/s in 0.6s

2017-03-28 15:34:27 (463 KB/s) - ‘cups-daemon_2.1.3-4ubuntu0.2_amd64.deb’ saved [301416/301416]

1. Do I also need to do
sudo dpkg -u cups-daemon_2.1.3-4ubuntu0.2_amd64.deb ?

2. And, to try out your suggestion of getting those 2 main dependency packages, do I next write
sudo apt-get install cups-daemon
and
sudo apt-get install cups-core-drivers ?

Is that the proper syntax? And is all this in the correct sequence?

(Muck-up is right.)
 
Old 03-28-2017, 07:02 PM   #17
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870
No, all you need to do is first wget any packages that you want (substitute the name for subsequent packages e.g. substitute cups-core-drivers instead of cups-daemon). Personally, I would browse to http://archive.ubuntu.com/ubuntu/pool/main/c/cups/ to see what's there and download the files you want using the browser.

Then, for each package, use dpkg -i package.deb (small i) directly on the downloaded .deb (it will do all the unpacking, configuration and script handling for you).

No, no need for apt-get install to install the packages. In fact it's best to steer clear of apt-get for their installation due to the dependency problems in the apt cache. That's the reason you're manually installing packages with dpkg.

If you have success manually installing both those packages, then try sudo apt-get update, then sudo apt-get upgrade and see what it produces.
 
1 members found this post helpful.
Old 03-28-2017, 07:08 PM   #18
lbpenguino
LQ Newbie
 
Registered: Mar 2017
Posts: 12

Rep: Reputation: Disabled
Thanks, I'll take a shot at it.

Last edited by lbpenguino; 03-28-2017 at 07:10 PM. Reason: to update
 
Old 03-28-2017, 07:11 PM   #19
lbpenguino
LQ Newbie
 
Registered: Mar 2017
Posts: 12

Rep: Reputation: Disabled
It would be easier if I could print these directions out, but there's the rub.
 
Old 03-28-2017, 08:21 PM   #20
lbpenguino
LQ Newbie
 
Registered: Mar 2017
Posts: 12

Rep: Reputation: Disabled
Feel like I'm in cups no-man's-land, but:

Installed from /ubuntu/pool/main/c/cups using GDebi package installer:
cups-core-drivers_2.1.3-4ubuntu0.2_amd64.deb. No problem.

Tried
sudo dpkg -i cups-core-drivers_2.1.3-4ubuntu0.2_amd64.deb
and I got an error but maybe because GDebi already did it?


Tried to install cups-daemon_2.1.3-4ubuntu0.2_amd64.deb from /ubuntu/pool/main/c/cups, but GDebi gave me "Error: no longer provides cups-daemon"

so I did it manually:

sudo wget http://archive.ubuntu.com/ubuntu/poo...u0.2_amd64.deb

then:

sudo dpkg -i cups-daemon_2.1.3-4ubuntu0.2_amd64.deb

I did sudo apt-get update and sudo apt-get upgrade, then rebooted.
One step forward, my printer is now visible. However, it won't work, complaining there is a missing filter (needs /usr/lib/cups/filter/hpcups). I didn't see this in /ubuntu/pool/main/c/cups.

Googling around did not shed light. Wonder what my next step might be?
 
Old 03-28-2017, 08:58 PM   #21
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 19.2 (Netbook) and 18.3 (Desktop)
Posts: 1,454

Original Poster
Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Lets see if I can claim my thread back...

Tsk Tsk lbpenquino, hijacking a thread! (Naw, yer awright. )

@hydrurga

from post #2
Code:
~ $ sudo apt-get update
[sudo] password for Soadyheid: 
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://archive.canonical.com/ubuntu xenial InRelease                                              
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]                              
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]                                
Ign:5 http://www.mirrorservice.org/sites/packages.linuxmint.com/packages sarah InRelease                
Hit:6 http://www.mirrorservice.org/sites/packages.linuxmint.com/packages sarah Release                  
Get:8 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]                    
Fetched 306 kB in 0s (499 kB/s)                             
Reading package lists... Done
Soadyheid-HP-Z400-Workstation ~ $ sudo apt-get check
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Soadyheid-HP-Z400-Workstation ~ $ dpkg --audit
Soadyheid-HP-Z400-Workstation ~ $ sudo -s apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 35 not to upgrade.
Soadyheid-HP-Z400-Workstation ~ $
@Habitual
Post #3
Code:
Soadyheid-HP-Z400-Workstation ~ $ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 35 not to upgrade.
Soadyheid-HP-Z400-Workstation ~ $ inxi -r | pastebin
https://gist.github.com/c91de65b236d509d4e918d3bf0598fee
Soadyheid-HP-Z400-Workstation ~ $
From post #7

Code:
Soadyheid-HP-Z400-Workstation ~ $ dpkg -l *cups*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                 Version         Architecture    Description
+++-====================-===============-===============-=============================================
un  bluez-cups           <none>          <none>          (no description available)
un  cups                 <none>          <none>          (no description available)
ii  cups-browsed         1.8.3-2ubuntu3. amd64           OpenPrinting CUPS Filters - cups-browsed
ii  cups-bsd             2.1.3-4ubuntu0. amd64           Common UNIX Printing System(tm) - BSD command
ii  cups-client          2.1.3-4ubuntu0. amd64           Common UNIX Printing System(tm) - client prog
ii  cups-common          2.1.3-4ubuntu0. all             Common UNIX Printing System(tm) - common file
rc  cups-core-drivers    2.1.3-4ubuntu0. amd64           Common UNIX Printing System(tm) - PPD-less pr
rc  cups-daemon          2.1.3-4         amd64           Common UNIX Printing System(tm) - daemon
ii  cups-filters         1.8.3-2ubuntu3. amd64           OpenPrinting CUPS Filters - Main Package
ii  cups-filters-core-dr 1.8.3-2ubuntu3. amd64           OpenPrinting CUPS Filters - PPD-less printing
un  cups-filters-ippusbx <none>          <none>          (no description available)
un  cups-pdf             <none>          <none>          (no description available)
ii  cups-pk-helper       0.2.5-2ubuntu2  amd64           PolicyKit helper to configure cups with fine-
ii  cups-ppdc            2.1.3-4ubuntu0. amd64           Common UNIX Printing System(tm) - PPD manipul
ii  cups-server-common   2.1.3-4ubuntu0. all             Common UNIX Printing System(tm) - server comm
un  ghostscript-cups     <none>          <none>          (no description available)
un  hplip-cups           <none>          <none>          (no description available)
ii  libcups2:amd64       2.1.3-4ubuntu0. amd64           Common UNIX Printing System(tm) - Core librar
ii  libcups2:i386        2.1.3-4ubuntu0. i386            Common UNIX Printing System(tm) - Core librar
ii  libcupscgi1:amd64    2.1.3-4ubuntu0. amd64           Common UNIX Printing System(tm) - CGI library
ii  libcupsfilters1:amd6 1.8.3-2ubuntu3. amd64           OpenPrinting CUPS Filters - Shared library
ii  libcupsfilters1:i386 1.8.3-2ubuntu3. i386            OpenPrinting CUPS Filters - Shared library
ii  libcupsimage2:amd64  2.1.3-4ubuntu0. amd64           Common UNIX Printing System(tm) - Raster imag
ii  libcupsimage2:i386   2.1.3-4ubuntu0. i386            Common UNIX Printing System(tm) - Raster imag
ii  libcupsmime1:amd64   2.1.3-4ubuntu0. amd64           Common UNIX Printing System(tm) - MIME librar
ii  libcupsppdc1:amd64   2.1.3-4ubuntu0. amd64           Common UNIX Printing System(tm) - PPD manipul
un  printer-driver-hpcup <none>          <none>          (no description available)
ii  python-cups          1.9.73-0ubuntu2 amd64           Python bindings for CUPS
un  python-cupshelpers   <none>          <none>          (no description available)
un  python2.7-cups       <none>          <none>          (no description available)
ii  python3-cups         1.9.73-0ubuntu2 amd64           Python3 bindings for CUPS
ii  python3-cupshelpers  1.5.7+20160212- all             Python modules for printer configuration with
un  python3.5-cups       <none>          <none>          (no description available)
Soadyheid-HP-Z400-Workstation ~ $
Habitual, the Repos are defaults for my Mint 18 install, all except http://www.mirrorservice.org/sites/p...t.com/packages which is in the UK rather than the US default one.

Post #5, I'm don't think I had a cups update.

Post #7 (again!) I'll have to check the bug report later as it's now almost 02:00 here and a bit late (early?) for further investigation.

Thanks for your help so far!

Play Bonny!

Soadyheid


Last edited by Soadyheid; 03-29-2017 at 09:34 AM. Reason: missing code brackets - too late, need to sleep!
 
Old 03-28-2017, 09:15 PM   #22
lbpenguino
LQ Newbie
 
Registered: Mar 2017
Posts: 12

Rep: Reputation: Disabled
Soadyheid, My profound apologies if I broke protocol. Thanks for being forgiving.

I have good news. Maybe it will help you too.

On the Linux Mint forum I discovered this:
***********************
"Late last night I got fed up waiting, and installed 3 .deb files. (I believe I got them from the Ubuntu site);

cups-daemon_2.1.3-4ubuntu0.2
cups-core-drivers_2.1.3-4ubuntu0.2
cups_2.1.3-4ubuntu0.2

Then installed hplip from the repository and everything is good again.
******************

Since I had gotten the great help from Habitual and Hydrurga enabling me to install the first 2 packages, I used that knowledge to install the 3rd one on the list. Then I did a regular install of hplip and now my printer works!!

I'm a girl so I can say, "hugs and kisses to all!" Thanks, everyone, and again sorry for the hijack.

(Now I can go back to reading the bad news about my government and Russia, happy that my printer at least works.)
 
2 members found this post helpful.
Old 03-29-2017, 06:45 AM   #23
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870
Quote:
Originally Posted by lbpenguino View Post
Soadyheid, My profound apologies if I broke protocol. Thanks for being forgiving.

I have good news. Maybe it will help you too.

On the Linux Mint forum I discovered this:
***********************
"Late last night I got fed up waiting, and installed 3 .deb files. (I believe I got them from the Ubuntu site);

cups-daemon_2.1.3-4ubuntu0.2
cups-core-drivers_2.1.3-4ubuntu0.2
cups_2.1.3-4ubuntu0.2

Then installed hplip from the repository and everything is good again.
******************

Since I had gotten the great help from Habitual and Hydrurga enabling me to install the first 2 packages, I used that knowledge to install the 3rd one on the list. Then I did a regular install of hplip and now my printer works!!

I'm a girl so I can say, "hugs and kisses to all!" Thanks, everyone, and again sorry for the hijack.

(Now I can go back to reading the bad news about my government and Russia, happy that my printer at least works.)
Great news. Good on you for persisting, and also for going ahead and manually installing cups too - I hadn't thought of that (I hadn't even noticed it was missing, not being able to see the wood for the trees and all that).

Hopefully the repos will be sorted out in the days ahead, given that this problem has affected so many people. Keep a wee eye out for any inconsistencies (warnings, errors etc.) when you're carrying out any updates.

Just for additional information, under the hood mintupdate effectively runs an apt-get update followed by an apt-get dist-upgrade (otherwise known as full-upgrade). This differs from a simple apt-get upgrade in that it has a dependency conflict resolution algorithm built in which can decide to remove packages if it sees that as the best way to solve a dependency problem. This obviously kicked in at the recent update (although I still haven't worked out why it didn't affect me, for example - I didn't receive any cups update at all).

I'm not sure if mintupdate warned you before removing those packages, but if it does so in the future then hit the cancel button and try to analyse the situation before proceeding. In normal operation, mintupdate shouldn't really want to remove anything, except perhaps during a major migration of the system version.

Hopefully in this enlightened day and age (disclaimer: not everywhere and not everyone yet has adopted said enlightenment), men can give hugs and kisses to all too, you know. Anyway, glad it worked out.

Last edited by hydrurga; 03-29-2017 at 06:53 AM.
 
Old 03-29-2017, 06:52 AM   #24
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870
@Soadyheid: The output from your dpkg package listing shows the same situation to that of lbpenquino.

I suggest that you carry out the steps that she did (manually install the three packages in question).
 
Old 03-29-2017, 06:55 AM   #25
lbpenguino
LQ Newbie
 
Registered: Mar 2017
Posts: 12

Rep: Reputation: Disabled
Hydrurga, I appreciate all your helpful tips and I have learned a lot in this process.
I'm pleased I can PRINT OUT the information about updates and upgrades above and keep for future reference. Which I will!
 
Old 03-29-2017, 10:27 AM   #26
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 19.2 (Netbook) and 18.3 (Desktop)
Posts: 1,454

Original Poster
Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Hi All,

I've followed the white rabbit so far, gone to http://archive.ubuntu.com/ubuntu/pool/main/c/cups/ as indicated by hydrurga and downloaded and installed the three files as per lbpenguino, post #22;

cups-daemon_2.1.3-4ubuntu0.2
cups-core-drivers_2.1.3-4ubuntu0.2
cups_2.1.3-4ubuntu0.2

Installed them using the package manager (Right click and pick it - less exhausting than typing for an old guy!)
so far so good!

Interestingly Synaptic said that the first and last file existed in the Repos (older versions) but the Core drivers one didn't show up. - Hmmm...

re-installed hplip from the Repos using synaptic and, "Way Hay!" I can now see my HP Photosmart 5520 again!

Bad news, I can't print to it yet as "There is a missing print filter for the HP-Photosmart-5520-series"

Looks like I need to do some more searching before we're there than. Just going to check down the back of the sofa...

Thanks for all the help so far (and the hugs and kisses!!!!)

Play Bonny!

Soadyheid

 
Old 03-29-2017, 11:01 AM   #27
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 19.2 (Netbook) and 18.3 (Desktop)
Posts: 1,454

Original Poster
Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Sorted!

Just because it saw the printer didn't mean it was properly configured or linked!

Deleted and re-added, print test page! Job's a good 'un!

Thanks again to all!

Play Bonny!

Soadyheid

 
Old 03-29-2017, 11:16 AM   #28
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Good job and well done.
 
Old 03-29-2017, 12:13 PM   #29
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,018
Blog Entries: 5

Rep: Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870Reputation: 2870
Great news, soadyheid! I wish I could figure out the specifics of how the problem arose though - perhaps I'll know enough one day to understand it. High five, Habitual.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Software update Error Mint 18 Cinnamon Zzo0o0zZ Linux - Newbie 3 08-08-2016 05:02 AM
[SOLVED] Fix broken packages in Linux Mint kresica35 Linux - Newbie 17 07-01-2015 08:28 AM
update manager and other software stopped working in mint 17.1 cinnamon mintisurgeon Linux - Newbie 3 01-27-2015 05:08 AM
[SOLVED] Broken packages linux mint 16 tony044 Linux - Newbie 3 05-23-2014 05:43 AM
Mint Update has stopped loading the notification icon at startup (Mint 10) icekool Linux Mint 6 12-19-2010 08:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration