I have Ubuntu 16.04.4 LTS. I've tried to run

do-release-upgrade --devel 

and suddenly have found that it wants to install apache2-bin among other new packages in order to upgrade to 18.04. I can't understand why it's needed.

My machine doesn't have apache installed but /etc/apache2 directory exists and contains the only file conf-available/javascript-common.conf.
I don't know how it could appeared, maybe I installed apache previously and removed it later, but Synaptic shows apache2-* package as not installed (without any remaining conf files).

UPDATE: After running rdepends as suggested in comments I've found that gnome-user-share suggests apache2-bin, also it suggests libapache2-mod-dnssd which is also listed for install by the release upgrader.

  • 3
    Are you really asking for an explanation of apt's dependency logic? Did you try running an rdepends of apache2 to see what you might have installed? Did you review the upgrade logs? Or are you asking for something else (like advice)? – user535733 Jul 8 '18 at 0:00
  • 1
    What's the output of aptitude why apache2-bin and apt-cache redepends apache2-bin? – David Foerster Jul 8 '18 at 0:51
  • @DavidFoerster their output shows that besides libapache* and apache* packages and special tools apache2-bin is rdependent on gnome-user-share. More interesting, it only suggests it (and libapache2-mod-dnssd). – user3791843 Jul 8 '18 at 8:50
  • Could you please edit your question to include the complete, verbatim command output listings? I can't make much of the bits and pieces that you gave me. Thanks. – David Foerster Jul 8 '18 at 12:01
  • @DavidFoerster I didn't manage to edit the question, SO always refuses my edit with "An error occurred submitting the edit". I'm only able to give a pastebin link pastebin.com/8kGxrnxx – user3791843 Jul 8 '18 at 19:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.