Binaries missing after reinstalling dnsmasq

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I'm running on a Raspberry Pi 3B+ and I accidentally removed /etc/init.d/dnsmasq and tried to get it back by reinstalling dnsmasq, which I got back after one or more of the following commands:



apt-get autoremove dnsmasq
apt-get install -f dnsmasq
apt-get install --reinstall dnsmasq
apt-get --purge remove dnsmasq
apt-get install --reinstall dnsmasq


however, now the binaries seem to be missing: apt keeps telling me the installation is only 73.7 kB and dnsmasq is not in /usr/sbin or anywhere else logical as far as I can find:



root@Raspberry-server:~# dpkg -L dnsmasq
/.
/etc
/etc/default
/etc/default/dnsmasq
/etc/dnsmasq.conf
/etc/dnsmasq.d
/etc/dnsmasq.d/README
/etc/init.d
/etc/init.d/dnsmasq
/etc/insserv.conf.d
/etc/insserv.conf.d/dnsmasq
/etc/resolvconf
/etc/resolvconf/update.d
/etc/resolvconf/update.d/dnsmasq
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/dnsmasq.service
/usr
/usr/lib
/usr/lib/resolvconf
/usr/lib/resolvconf/dpkg-event.d
/usr/lib/resolvconf/dpkg-event.d/dnsmasq
/usr/share
/usr/share/dnsmasq
/usr/share/dnsmasq/installed-marker
/usr/share/doc
/usr/share/doc/dnsmasq


I've already tried



apt install -f dnsmasq
apt install --reinstall dnsmasq
apt-get uninstall dnsmasq
apt-get remove dnsmasq
apt-get install dnsmasq
apt-get install -f
apt remove dnsmasq
apt clean
apt update
apt install --reinstall dnsmasq
apt install
apt upgrade
apt-get clean
apt-get install --reinstall -f dnsmasq
sudo apt-get install --reinstall dnsmasq


But nothing is working. How will I get it working again?









share

























    up vote
    0
    down vote

    favorite












    I'm running on a Raspberry Pi 3B+ and I accidentally removed /etc/init.d/dnsmasq and tried to get it back by reinstalling dnsmasq, which I got back after one or more of the following commands:



    apt-get autoremove dnsmasq
    apt-get install -f dnsmasq
    apt-get install --reinstall dnsmasq
    apt-get --purge remove dnsmasq
    apt-get install --reinstall dnsmasq


    however, now the binaries seem to be missing: apt keeps telling me the installation is only 73.7 kB and dnsmasq is not in /usr/sbin or anywhere else logical as far as I can find:



    root@Raspberry-server:~# dpkg -L dnsmasq
    /.
    /etc
    /etc/default
    /etc/default/dnsmasq
    /etc/dnsmasq.conf
    /etc/dnsmasq.d
    /etc/dnsmasq.d/README
    /etc/init.d
    /etc/init.d/dnsmasq
    /etc/insserv.conf.d
    /etc/insserv.conf.d/dnsmasq
    /etc/resolvconf
    /etc/resolvconf/update.d
    /etc/resolvconf/update.d/dnsmasq
    /lib
    /lib/systemd
    /lib/systemd/system
    /lib/systemd/system/dnsmasq.service
    /usr
    /usr/lib
    /usr/lib/resolvconf
    /usr/lib/resolvconf/dpkg-event.d
    /usr/lib/resolvconf/dpkg-event.d/dnsmasq
    /usr/share
    /usr/share/dnsmasq
    /usr/share/dnsmasq/installed-marker
    /usr/share/doc
    /usr/share/doc/dnsmasq


    I've already tried



    apt install -f dnsmasq
    apt install --reinstall dnsmasq
    apt-get uninstall dnsmasq
    apt-get remove dnsmasq
    apt-get install dnsmasq
    apt-get install -f
    apt remove dnsmasq
    apt clean
    apt update
    apt install --reinstall dnsmasq
    apt install
    apt upgrade
    apt-get clean
    apt-get install --reinstall -f dnsmasq
    sudo apt-get install --reinstall dnsmasq


    But nothing is working. How will I get it working again?









    share























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm running on a Raspberry Pi 3B+ and I accidentally removed /etc/init.d/dnsmasq and tried to get it back by reinstalling dnsmasq, which I got back after one or more of the following commands:



      apt-get autoremove dnsmasq
      apt-get install -f dnsmasq
      apt-get install --reinstall dnsmasq
      apt-get --purge remove dnsmasq
      apt-get install --reinstall dnsmasq


      however, now the binaries seem to be missing: apt keeps telling me the installation is only 73.7 kB and dnsmasq is not in /usr/sbin or anywhere else logical as far as I can find:



      root@Raspberry-server:~# dpkg -L dnsmasq
      /.
      /etc
      /etc/default
      /etc/default/dnsmasq
      /etc/dnsmasq.conf
      /etc/dnsmasq.d
      /etc/dnsmasq.d/README
      /etc/init.d
      /etc/init.d/dnsmasq
      /etc/insserv.conf.d
      /etc/insserv.conf.d/dnsmasq
      /etc/resolvconf
      /etc/resolvconf/update.d
      /etc/resolvconf/update.d/dnsmasq
      /lib
      /lib/systemd
      /lib/systemd/system
      /lib/systemd/system/dnsmasq.service
      /usr
      /usr/lib
      /usr/lib/resolvconf
      /usr/lib/resolvconf/dpkg-event.d
      /usr/lib/resolvconf/dpkg-event.d/dnsmasq
      /usr/share
      /usr/share/dnsmasq
      /usr/share/dnsmasq/installed-marker
      /usr/share/doc
      /usr/share/doc/dnsmasq


      I've already tried



      apt install -f dnsmasq
      apt install --reinstall dnsmasq
      apt-get uninstall dnsmasq
      apt-get remove dnsmasq
      apt-get install dnsmasq
      apt-get install -f
      apt remove dnsmasq
      apt clean
      apt update
      apt install --reinstall dnsmasq
      apt install
      apt upgrade
      apt-get clean
      apt-get install --reinstall -f dnsmasq
      sudo apt-get install --reinstall dnsmasq


      But nothing is working. How will I get it working again?









      share













      I'm running on a Raspberry Pi 3B+ and I accidentally removed /etc/init.d/dnsmasq and tried to get it back by reinstalling dnsmasq, which I got back after one or more of the following commands:



      apt-get autoremove dnsmasq
      apt-get install -f dnsmasq
      apt-get install --reinstall dnsmasq
      apt-get --purge remove dnsmasq
      apt-get install --reinstall dnsmasq


      however, now the binaries seem to be missing: apt keeps telling me the installation is only 73.7 kB and dnsmasq is not in /usr/sbin or anywhere else logical as far as I can find:



      root@Raspberry-server:~# dpkg -L dnsmasq
      /.
      /etc
      /etc/default
      /etc/default/dnsmasq
      /etc/dnsmasq.conf
      /etc/dnsmasq.d
      /etc/dnsmasq.d/README
      /etc/init.d
      /etc/init.d/dnsmasq
      /etc/insserv.conf.d
      /etc/insserv.conf.d/dnsmasq
      /etc/resolvconf
      /etc/resolvconf/update.d
      /etc/resolvconf/update.d/dnsmasq
      /lib
      /lib/systemd
      /lib/systemd/system
      /lib/systemd/system/dnsmasq.service
      /usr
      /usr/lib
      /usr/lib/resolvconf
      /usr/lib/resolvconf/dpkg-event.d
      /usr/lib/resolvconf/dpkg-event.d/dnsmasq
      /usr/share
      /usr/share/dnsmasq
      /usr/share/dnsmasq/installed-marker
      /usr/share/doc
      /usr/share/doc/dnsmasq


      I've already tried



      apt install -f dnsmasq
      apt install --reinstall dnsmasq
      apt-get uninstall dnsmasq
      apt-get remove dnsmasq
      apt-get install dnsmasq
      apt-get install -f
      apt remove dnsmasq
      apt clean
      apt update
      apt install --reinstall dnsmasq
      apt install
      apt upgrade
      apt-get clean
      apt-get install --reinstall -f dnsmasq
      sudo apt-get install --reinstall dnsmasq


      But nothing is working. How will I get it working again?







      apt





      share












      share










      share



      share










      asked 1 min ago









      Gelunox

      1012




      1012

























          active

          oldest

          votes











          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',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          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%2f475316%2fbinaries-missing-after-reinstalling-dnsmasq%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f475316%2fbinaries-missing-after-reinstalling-dnsmasq%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay