Is it advisable to remove Avahi and CUPS-browse?












1















From time to time, Avahi takes 100% CPU and CUPS-browse delays the system shutdown with the message "a stop job is running for make remote cups printers available locally".



I know Avahi finds printers, as Xfce shows me 16 printers. I also know I don't need 16 printers. On the other hand, I'm not sure what cups-browsed is doing.



I do use a network printer. But I know its IP and model. With that in mind, can I just replace Avahi and CUPS-browse with something more simple instead of fixing them?










share|improve this question























  • cups can be configured without avahi ; it depends on your infra-structure setup. However, cups tends to eat memory and should be restarted once in a while.

    – Rui F Ribeiro
    Feb 15 at 19:48


















1















From time to time, Avahi takes 100% CPU and CUPS-browse delays the system shutdown with the message "a stop job is running for make remote cups printers available locally".



I know Avahi finds printers, as Xfce shows me 16 printers. I also know I don't need 16 printers. On the other hand, I'm not sure what cups-browsed is doing.



I do use a network printer. But I know its IP and model. With that in mind, can I just replace Avahi and CUPS-browse with something more simple instead of fixing them?










share|improve this question























  • cups can be configured without avahi ; it depends on your infra-structure setup. However, cups tends to eat memory and should be restarted once in a while.

    – Rui F Ribeiro
    Feb 15 at 19:48
















1












1








1








From time to time, Avahi takes 100% CPU and CUPS-browse delays the system shutdown with the message "a stop job is running for make remote cups printers available locally".



I know Avahi finds printers, as Xfce shows me 16 printers. I also know I don't need 16 printers. On the other hand, I'm not sure what cups-browsed is doing.



I do use a network printer. But I know its IP and model. With that in mind, can I just replace Avahi and CUPS-browse with something more simple instead of fixing them?










share|improve this question














From time to time, Avahi takes 100% CPU and CUPS-browse delays the system shutdown with the message "a stop job is running for make remote cups printers available locally".



I know Avahi finds printers, as Xfce shows me 16 printers. I also know I don't need 16 printers. On the other hand, I'm not sure what cups-browsed is doing.



I do use a network printer. But I know its IP and model. With that in mind, can I just replace Avahi and CUPS-browse with something more simple instead of fixing them?







debian cups avahi






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 15 at 18:42









giustigiusti

681419




681419













  • cups can be configured without avahi ; it depends on your infra-structure setup. However, cups tends to eat memory and should be restarted once in a while.

    – Rui F Ribeiro
    Feb 15 at 19:48





















  • cups can be configured without avahi ; it depends on your infra-structure setup. However, cups tends to eat memory and should be restarted once in a while.

    – Rui F Ribeiro
    Feb 15 at 19:48



















cups can be configured without avahi ; it depends on your infra-structure setup. However, cups tends to eat memory and should be restarted once in a while.

– Rui F Ribeiro
Feb 15 at 19:48







cups can be configured without avahi ; it depends on your infra-structure setup. However, cups tends to eat memory and should be restarted once in a while.

– Rui F Ribeiro
Feb 15 at 19:48












1 Answer
1






active

oldest

votes


















2














Given your use case, you don’t need either package, and you don’t need to replace them with anything — CUPS on its own will be able to provide access to your network printer.



cups-browsed is the CUPS component which finds printers on your network, by interpreting Bonjour broadcasts. Since you don’t need to automatically find printers, it’s safe to remove it; you can add the printer you need manually using whichever CUPS printer configuration tool you want. Nothing in Debian strictly depends on cups-browsed so you can easily remove it. (As a side note, cups-browsed is the component which provides access to driver-less printers, if you enable CreateIPPPrinterQueues in /etc/cups/cups-browsed.conf; it will then automatically create printer queues for IPP printers on the network. It turns out printing can be simple, in some cases.)



avahi-daemon is a Bonjour server; it broadcasts your computer’s information on the network, and allows other applications to publish and resolve Bonjour information. Since you’re using Xfce you should be able to remove it too, if you don’t need its services. (GNOME on Debian depends on avahi-daemon but Xfce doesn’t.) The Bonjour client for most applications is provided by libavahi-client3, and you won’t be able to easily remove that because many packages depend on it, including CUPS.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    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: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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/3.0/"u003ecc by-sa 3.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%2funix.stackexchange.com%2fquestions%2f500925%2fis-it-advisable-to-remove-avahi-and-cups-browse%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









    2














    Given your use case, you don’t need either package, and you don’t need to replace them with anything — CUPS on its own will be able to provide access to your network printer.



    cups-browsed is the CUPS component which finds printers on your network, by interpreting Bonjour broadcasts. Since you don’t need to automatically find printers, it’s safe to remove it; you can add the printer you need manually using whichever CUPS printer configuration tool you want. Nothing in Debian strictly depends on cups-browsed so you can easily remove it. (As a side note, cups-browsed is the component which provides access to driver-less printers, if you enable CreateIPPPrinterQueues in /etc/cups/cups-browsed.conf; it will then automatically create printer queues for IPP printers on the network. It turns out printing can be simple, in some cases.)



    avahi-daemon is a Bonjour server; it broadcasts your computer’s information on the network, and allows other applications to publish and resolve Bonjour information. Since you’re using Xfce you should be able to remove it too, if you don’t need its services. (GNOME on Debian depends on avahi-daemon but Xfce doesn’t.) The Bonjour client for most applications is provided by libavahi-client3, and you won’t be able to easily remove that because many packages depend on it, including CUPS.






    share|improve this answer




























      2














      Given your use case, you don’t need either package, and you don’t need to replace them with anything — CUPS on its own will be able to provide access to your network printer.



      cups-browsed is the CUPS component which finds printers on your network, by interpreting Bonjour broadcasts. Since you don’t need to automatically find printers, it’s safe to remove it; you can add the printer you need manually using whichever CUPS printer configuration tool you want. Nothing in Debian strictly depends on cups-browsed so you can easily remove it. (As a side note, cups-browsed is the component which provides access to driver-less printers, if you enable CreateIPPPrinterQueues in /etc/cups/cups-browsed.conf; it will then automatically create printer queues for IPP printers on the network. It turns out printing can be simple, in some cases.)



      avahi-daemon is a Bonjour server; it broadcasts your computer’s information on the network, and allows other applications to publish and resolve Bonjour information. Since you’re using Xfce you should be able to remove it too, if you don’t need its services. (GNOME on Debian depends on avahi-daemon but Xfce doesn’t.) The Bonjour client for most applications is provided by libavahi-client3, and you won’t be able to easily remove that because many packages depend on it, including CUPS.






      share|improve this answer


























        2












        2








        2







        Given your use case, you don’t need either package, and you don’t need to replace them with anything — CUPS on its own will be able to provide access to your network printer.



        cups-browsed is the CUPS component which finds printers on your network, by interpreting Bonjour broadcasts. Since you don’t need to automatically find printers, it’s safe to remove it; you can add the printer you need manually using whichever CUPS printer configuration tool you want. Nothing in Debian strictly depends on cups-browsed so you can easily remove it. (As a side note, cups-browsed is the component which provides access to driver-less printers, if you enable CreateIPPPrinterQueues in /etc/cups/cups-browsed.conf; it will then automatically create printer queues for IPP printers on the network. It turns out printing can be simple, in some cases.)



        avahi-daemon is a Bonjour server; it broadcasts your computer’s information on the network, and allows other applications to publish and resolve Bonjour information. Since you’re using Xfce you should be able to remove it too, if you don’t need its services. (GNOME on Debian depends on avahi-daemon but Xfce doesn’t.) The Bonjour client for most applications is provided by libavahi-client3, and you won’t be able to easily remove that because many packages depend on it, including CUPS.






        share|improve this answer













        Given your use case, you don’t need either package, and you don’t need to replace them with anything — CUPS on its own will be able to provide access to your network printer.



        cups-browsed is the CUPS component which finds printers on your network, by interpreting Bonjour broadcasts. Since you don’t need to automatically find printers, it’s safe to remove it; you can add the printer you need manually using whichever CUPS printer configuration tool you want. Nothing in Debian strictly depends on cups-browsed so you can easily remove it. (As a side note, cups-browsed is the component which provides access to driver-less printers, if you enable CreateIPPPrinterQueues in /etc/cups/cups-browsed.conf; it will then automatically create printer queues for IPP printers on the network. It turns out printing can be simple, in some cases.)



        avahi-daemon is a Bonjour server; it broadcasts your computer’s information on the network, and allows other applications to publish and resolve Bonjour information. Since you’re using Xfce you should be able to remove it too, if you don’t need its services. (GNOME on Debian depends on avahi-daemon but Xfce doesn’t.) The Bonjour client for most applications is provided by libavahi-client3, and you won’t be able to easily remove that because many packages depend on it, including CUPS.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 16 at 13:28









        Stephen KittStephen Kitt

        174k24398473




        174k24398473






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • 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%2funix.stackexchange.com%2fquestions%2f500925%2fis-it-advisable-to-remove-avahi-and-cups-browse%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

            How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

            is 'sed' thread safe

            How to make a Squid Proxy server?