CUPS error while installing packages using apt-getHow does apt-get purge work? Why it couldn't remove broken package in one pass?Apt errors since upgrade to 12.04Unmet Dependencies right after installing VLCdpkg: error processing procps (--configure)Dell XPS 13 DE won't restart after failed update to Ubuntu 16.04 from 14.04mysql-server-5.5 ErrorUnable to install MariaDB on circleCI ? Problems with dpkg.Dependency errors for python3 and many others when I run sudo apt-get upgrade

Caro-Kann c4-c5 push

Short story about a potato hotel that makes its guests into potatoes throughout the night

Why the first octet of a MAC address always end with a binary 0?

How important is knowledge of trig identities for use in Calculus

Why such a singular place for bird watching?

Duck, duck, gone!

What's the correct way to determine turn order in this situation?

Giving a good fancy look to a simple table

The answer is a girl's name (my future granddaughter) - can anyone help?

How is this situation not a checkmate?

Does Bank Manager's discretion still exist in Mortgage Lending

How dangerous are my worn rims?

Phonetic distortion when words are borrowed among languages

If I travelled back in time to invest in X company to make a fortune, roughly what is the probability that it would fail?

麦酒 (ばくしゅ) for "beer"

What action is recommended if your accommodation refuses to let you leave without paying additional fees?

Can I cast Death Ward on additional creatures without causing previous castings to end?

Re-entering the UK after overstaying in 2008

Did Joe Biden "stop a prosecution" into his son in Ukraine? And did he brag about stopping the prosecution?

How to find places to store/land a private airplane?

What is the score of my Scopa hand?

Bothered by watching coworkers slacking off

Why has Speaker Pelosi been so hesitant to impeach President Trump?

MaxCounters solution in C# from Codility



CUPS error while installing packages using apt-get


How does apt-get purge work? Why it couldn't remove broken package in one pass?Apt errors since upgrade to 12.04Unmet Dependencies right after installing VLCdpkg: error processing procps (--configure)Dell XPS 13 DE won't restart after failed update to Ubuntu 16.04 from 14.04mysql-server-5.5 ErrorUnable to install MariaDB on circleCI ? Problems with dpkg.Dependency errors for python3 and many others when I run sudo apt-get upgrade






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









3















I recently use the command sudo apt-get update in Ubuntu 14.04 and now when I want install packages, I get an error.



For example, when I use sudo apt-get install vagrant for installing Vagrant I get the following error:



invoke-rc.d: initscript cups, action "start" failed.
dpkg: error processing package cups-daemon (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up fontconfig (2.11.1-0ubuntu6) ...
Regenerating fonts cache... failed.
See /var/log/fontconfig.log for more information.
dpkg: error processing package fontconfig (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of cups-core-drivers:
cups-core-drivers depends on cups-daemon (>= 2.0.2-1ubuntu3); however:
Package cups-daemon is not configured yet.
dpkg: error processing package cups-core-drivers (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of cups:
cups depends on cups-core-drivers (>= 2.0.2-1ubuntu3); however:
Package cups-core-drivers is not configured yet.
cups depends on cups-daemon (>= 2.0.2-1ubuntu3); however:
Package cups-daemon is not configured yet.
dpkg: error processing package cups (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
util-linux
cups-browsed
cups-daemon
fontconfig
cups-core-drivers
cups
E: Sub-process /usr/bin/dpkg returned an error code (1)


I have searched for details about this error, and one person suggested using sudo apt-get upgrade. I tried this, but it does not help.



How can I fix this problem?










share|improve this question


























  • Similar to my question here askubuntu.com/questions/687319/… but for different package . sudo nano /var/lib/dpkg/info/cups-daemon.postinst and change set -e to #set -e

    – user.dz
    May 28 '16 at 20:53






  • 1





    Could you add contents of /var/log/fontconfig.log.

    – user.dz
    Dec 13 '16 at 9:47











  • Take a look at this post here

    – George Udosen
    Dec 13 '16 at 21:34











  • Here it suggests re-installing cups, look at the bottom of the post

    – George Udosen
    Dec 13 '16 at 21:42

















3















I recently use the command sudo apt-get update in Ubuntu 14.04 and now when I want install packages, I get an error.



For example, when I use sudo apt-get install vagrant for installing Vagrant I get the following error:



invoke-rc.d: initscript cups, action "start" failed.
dpkg: error processing package cups-daemon (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up fontconfig (2.11.1-0ubuntu6) ...
Regenerating fonts cache... failed.
See /var/log/fontconfig.log for more information.
dpkg: error processing package fontconfig (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of cups-core-drivers:
cups-core-drivers depends on cups-daemon (>= 2.0.2-1ubuntu3); however:
Package cups-daemon is not configured yet.
dpkg: error processing package cups-core-drivers (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of cups:
cups depends on cups-core-drivers (>= 2.0.2-1ubuntu3); however:
Package cups-core-drivers is not configured yet.
cups depends on cups-daemon (>= 2.0.2-1ubuntu3); however:
Package cups-daemon is not configured yet.
dpkg: error processing package cups (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
util-linux
cups-browsed
cups-daemon
fontconfig
cups-core-drivers
cups
E: Sub-process /usr/bin/dpkg returned an error code (1)


I have searched for details about this error, and one person suggested using sudo apt-get upgrade. I tried this, but it does not help.



How can I fix this problem?










share|improve this question


























  • Similar to my question here askubuntu.com/questions/687319/… but for different package . sudo nano /var/lib/dpkg/info/cups-daemon.postinst and change set -e to #set -e

    – user.dz
    May 28 '16 at 20:53






  • 1





    Could you add contents of /var/log/fontconfig.log.

    – user.dz
    Dec 13 '16 at 9:47











  • Take a look at this post here

    – George Udosen
    Dec 13 '16 at 21:34











  • Here it suggests re-installing cups, look at the bottom of the post

    – George Udosen
    Dec 13 '16 at 21:42













3












3








3








I recently use the command sudo apt-get update in Ubuntu 14.04 and now when I want install packages, I get an error.



For example, when I use sudo apt-get install vagrant for installing Vagrant I get the following error:



invoke-rc.d: initscript cups, action "start" failed.
dpkg: error processing package cups-daemon (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up fontconfig (2.11.1-0ubuntu6) ...
Regenerating fonts cache... failed.
See /var/log/fontconfig.log for more information.
dpkg: error processing package fontconfig (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of cups-core-drivers:
cups-core-drivers depends on cups-daemon (>= 2.0.2-1ubuntu3); however:
Package cups-daemon is not configured yet.
dpkg: error processing package cups-core-drivers (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of cups:
cups depends on cups-core-drivers (>= 2.0.2-1ubuntu3); however:
Package cups-core-drivers is not configured yet.
cups depends on cups-daemon (>= 2.0.2-1ubuntu3); however:
Package cups-daemon is not configured yet.
dpkg: error processing package cups (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
util-linux
cups-browsed
cups-daemon
fontconfig
cups-core-drivers
cups
E: Sub-process /usr/bin/dpkg returned an error code (1)


I have searched for details about this error, and one person suggested using sudo apt-get upgrade. I tried this, but it does not help.



How can I fix this problem?










share|improve this question
















I recently use the command sudo apt-get update in Ubuntu 14.04 and now when I want install packages, I get an error.



For example, when I use sudo apt-get install vagrant for installing Vagrant I get the following error:



invoke-rc.d: initscript cups, action "start" failed.
dpkg: error processing package cups-daemon (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up fontconfig (2.11.1-0ubuntu6) ...
Regenerating fonts cache... failed.
See /var/log/fontconfig.log for more information.
dpkg: error processing package fontconfig (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of cups-core-drivers:
cups-core-drivers depends on cups-daemon (>= 2.0.2-1ubuntu3); however:
Package cups-daemon is not configured yet.
dpkg: error processing package cups-core-drivers (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of cups:
cups depends on cups-core-drivers (>= 2.0.2-1ubuntu3); however:
Package cups-core-drivers is not configured yet.
cups depends on cups-daemon (>= 2.0.2-1ubuntu3); however:
Package cups-daemon is not configured yet.
dpkg: error processing package cups (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
util-linux
cups-browsed
cups-daemon
fontconfig
cups-core-drivers
cups
E: Sub-process /usr/bin/dpkg returned an error code (1)


I have searched for details about this error, and one person suggested using sudo apt-get upgrade. I tried this, but it does not help.



How can I fix this problem?







14.04 apt dpkg






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 15 at 2:59









Kevin Bowen

15.9k15 gold badges62 silver badges73 bronze badges




15.9k15 gold badges62 silver badges73 bronze badges










asked May 28 '16 at 20:32









jody abbotjody abbot

161 silver badge3 bronze badges




161 silver badge3 bronze badges















  • Similar to my question here askubuntu.com/questions/687319/… but for different package . sudo nano /var/lib/dpkg/info/cups-daemon.postinst and change set -e to #set -e

    – user.dz
    May 28 '16 at 20:53






  • 1





    Could you add contents of /var/log/fontconfig.log.

    – user.dz
    Dec 13 '16 at 9:47











  • Take a look at this post here

    – George Udosen
    Dec 13 '16 at 21:34











  • Here it suggests re-installing cups, look at the bottom of the post

    – George Udosen
    Dec 13 '16 at 21:42

















  • Similar to my question here askubuntu.com/questions/687319/… but for different package . sudo nano /var/lib/dpkg/info/cups-daemon.postinst and change set -e to #set -e

    – user.dz
    May 28 '16 at 20:53






  • 1





    Could you add contents of /var/log/fontconfig.log.

    – user.dz
    Dec 13 '16 at 9:47











  • Take a look at this post here

    – George Udosen
    Dec 13 '16 at 21:34











  • Here it suggests re-installing cups, look at the bottom of the post

    – George Udosen
    Dec 13 '16 at 21:42
















Similar to my question here askubuntu.com/questions/687319/… but for different package . sudo nano /var/lib/dpkg/info/cups-daemon.postinst and change set -e to #set -e

– user.dz
May 28 '16 at 20:53





Similar to my question here askubuntu.com/questions/687319/… but for different package . sudo nano /var/lib/dpkg/info/cups-daemon.postinst and change set -e to #set -e

– user.dz
May 28 '16 at 20:53




1




1





Could you add contents of /var/log/fontconfig.log.

– user.dz
Dec 13 '16 at 9:47





Could you add contents of /var/log/fontconfig.log.

– user.dz
Dec 13 '16 at 9:47













Take a look at this post here

– George Udosen
Dec 13 '16 at 21:34





Take a look at this post here

– George Udosen
Dec 13 '16 at 21:34













Here it suggests re-installing cups, look at the bottom of the post

– George Udosen
Dec 13 '16 at 21:42





Here it suggests re-installing cups, look at the bottom of the post

– George Udosen
Dec 13 '16 at 21:42










1 Answer
1






active

oldest

votes


















0
















It means you added a bad source.list and your libraries became corrupt due it. In my case I had added source list of 13.04 in ubuntu 14.04 to make somethings work based on the answer of some guy in askubuntu.com, that was the stupidest thing I did, and learnt never to add libraries of older versions.
But it did solve the problem and everything was working fine until I restarted the system.



When I got this error, I restarted by ubuntu and I was unable to start it again. Reboot failed. So I took a pendrive and upgraded the 14.04 to 16.04 and everything was fixed and I was able to install this cup thing too. That was the only thing I could do.



So use:



sudo apt-get upgrade





share|improve this answer


























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );














    draft saved

    draft discarded
















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f778816%2fcups-error-while-installing-packages-using-apt-get%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0
















    It means you added a bad source.list and your libraries became corrupt due it. In my case I had added source list of 13.04 in ubuntu 14.04 to make somethings work based on the answer of some guy in askubuntu.com, that was the stupidest thing I did, and learnt never to add libraries of older versions.
    But it did solve the problem and everything was working fine until I restarted the system.



    When I got this error, I restarted by ubuntu and I was unable to start it again. Reboot failed. So I took a pendrive and upgraded the 14.04 to 16.04 and everything was fixed and I was able to install this cup thing too. That was the only thing I could do.



    So use:



    sudo apt-get upgrade





    share|improve this answer





























      0
















      It means you added a bad source.list and your libraries became corrupt due it. In my case I had added source list of 13.04 in ubuntu 14.04 to make somethings work based on the answer of some guy in askubuntu.com, that was the stupidest thing I did, and learnt never to add libraries of older versions.
      But it did solve the problem and everything was working fine until I restarted the system.



      When I got this error, I restarted by ubuntu and I was unable to start it again. Reboot failed. So I took a pendrive and upgraded the 14.04 to 16.04 and everything was fixed and I was able to install this cup thing too. That was the only thing I could do.



      So use:



      sudo apt-get upgrade





      share|improve this answer



























        0














        0










        0









        It means you added a bad source.list and your libraries became corrupt due it. In my case I had added source list of 13.04 in ubuntu 14.04 to make somethings work based on the answer of some guy in askubuntu.com, that was the stupidest thing I did, and learnt never to add libraries of older versions.
        But it did solve the problem and everything was working fine until I restarted the system.



        When I got this error, I restarted by ubuntu and I was unable to start it again. Reboot failed. So I took a pendrive and upgraded the 14.04 to 16.04 and everything was fixed and I was able to install this cup thing too. That was the only thing I could do.



        So use:



        sudo apt-get upgrade





        share|improve this answer













        It means you added a bad source.list and your libraries became corrupt due it. In my case I had added source list of 13.04 in ubuntu 14.04 to make somethings work based on the answer of some guy in askubuntu.com, that was the stupidest thing I did, and learnt never to add libraries of older versions.
        But it did solve the problem and everything was working fine until I restarted the system.



        When I got this error, I restarted by ubuntu and I was unable to start it again. Reboot failed. So I took a pendrive and upgraded the 14.04 to 16.04 and everything was fixed and I was able to install this cup thing too. That was the only thing I could do.



        So use:



        sudo apt-get upgrade






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 20 '16 at 7:38









        user1735921user1735921

        872 silver badges10 bronze badges




        872 silver badges10 bronze badges































            draft saved

            draft discarded















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f778816%2fcups-error-while-installing-packages-using-apt-get%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?