Linux Lite Forums
Error in Lite Tweaks - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=20)
+--- Thread: Error in Lite Tweaks (/showthread.php?tid=3940)

Pages: 1 2


Error in Lite Tweaks - Daveyboy - 04-12-2017

Recently, every time I run Lite Tweaks I now receive "an error has occured" message.


I have run each of the "SAFE" options individually and have determined that the option that is causing this error message is the Autoremove Packages module.


This is a recent occurence and I would appreciate any assistance in resolving this issue before I upgrade to LL 3.4


Re: Error in Lite Tweaks - ralphy - 04-12-2017

Try in Terminal:

Code:
sudo apt-get clean all
sudo dpkg --configure -a

Test again.


Re: Error in Lite Tweaks - Daveyboy - 04-12-2017


Hi Ralphy


Did as you suggested and the following message was returned in terminal.


dpkg: dependency problems prevent configuration of cups-core-drivers:
cups-core-drivers depends on cups-daemon (>= 2.1.3-4ubuntu0.2); however:
  Version of cups-daemon on system is 2.1.3-4.


dpkg: error processing package cups-core-drivers (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
cups-core-drivers


Error message remains in Lite Tweaks


Re: Error in Lite Tweaks - ralphy - 04-12-2017

Ok then. First do:

Code:
sudo apt-get install -f

If that doesn't correct it, do:

Code:
sudo apt-get purge cups
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get update
sudo apt-get install cups



Re: Error in Lite Tweaks - Daveyboy - 04-12-2017

Hi Ralphy


The Good News - The issue is now resolved the Lite Tweaks  - Thank you

The Bad News - I have now completely lost the ability to print


When I go into printers - localhost menu instead of showing my printer icon (Canon MG5650), It now displays the message Printing services not available. Start the service on this computer or connect to another server.


Start service is greyerd out and if I click on connect I get a cups server error "There was an error during the CUPS operation: 'failed to connect to server'." 


UPDATE


Tried sudo apt-get install cups and this returned the following


sudo apt-get install cups
[sudo] password for dave:
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:
cups : Depends: libcups2 (= 2.1.3-4) but 2.1.3-4ubuntu0.2 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: cups-core-drivers (>= 2.1.3-4) but it is not going to be installed
        Depends: cups-daemon (>= 2.1.3-4) but it is not going to be installed
        Recommends: printer-driver-gutenprint but it is not going to be installed
E: Unable to correct problems, you have held broken packages.




HELP




Re: Error in Lite Tweaks - ralphy - 04-13-2017

(04-12-2017, 06:19 PM)Daveyboy link Wrote: Hi Ralphy


The Good News - The issue is now resolved the Lite Tweaks  - Thank you

The Bad News - I have now completely lost the ability to print


When I go into printers - localhost menu instead of showing my printer icon (Canon MG5650), It now displays the message Printing services not available. Start the service on this computer or connect to another server.


Start service is greyerd out and if I click on connect I get a cups server error "There was an error during the CUPS operation: 'failed to connect to server'." 


UPDATE


Tried [font=dejavu sans mono]
sudo apt-get install cups [size=2px]
and this returned the following


sudo apt-get install cups
[sudo] password for dave:
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:
cups : Depends: libcups2 (= 2.1.3-4) but 2.1.3-4ubuntu0.2 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: cups-core-drivers (>= 2.1.3-4) but it is not going to be installed
        Depends: cups-daemon (>= 2.1.3-4) but it is not going to be installed
        Recommends: printer-driver-gutenprint but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I really have no idea how it broke in the first place. Please try the following:


Code:
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get update

Next command is all one line:

Code:
sudo apt-get install libcups2=2.1.3-4 cups libcupscgi1=2.1.3-4 libcupsimage2=2.1.3-4 libcupsmime1=2.1.3-4 libcupsppdc1=2.1.3-4 cups-core-drivers cups-daemon ghostscript cups-client=2.1.3-4 cups-ppdc cups-filters printer-driver-gutenprint cups-filters





Re: Error in Lite Tweaks - Daveyboy - 04-13-2017

Hi Ralphy


Everything is now working as it should - Many thanks for all your help, it really is very much appreciated


Re: Error in Lite Tweaks - ralphy - 04-13-2017

Glad to hear you figured it out Daveyboy. Feel free to mark the thread as Solved.

Cheers!


Re: Error in Lite Tweaks - Daveyboy - 04-13-2017

Call me Stupid but I can't figure out how to mark as solved - please advise


Re: Error in Lite Tweaks - ralphy - 04-13-2017

(04-13-2017, 05:49 AM)Daveyboy link Wrote: Call me Stupid but I can't figure out how to mark as solved - please advise

I wouldn't call you as such; that'd be really rude and unnecessary Smile - the fun part in not knowing is that we always get the chance to learn. See:

https://www.freecinema2022.gq/forums/introductions/forum-posting-guidelines/msg78/#msg78  (Marking Threads as SOLVED section)

Cheers!