[Bug 423071] Re: PHP5 now depends on libapache2-mod-php5 even if lighttpd installed

Charles Dumont charles.dmt at gmail.com
Thu Mar 8 10:39:19 UTC 2012


The problem is not only between php5 and apache :

mediawiki depends on mysql (What if you prefer pgsql ?)
mediawiki depends on php5 -> depends on apache (What if you prefer Lighttpd ?)

It seems like mysql and apache are taken as if there would be no
alternative (and as if there couldn't be any). Please fix

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/423071

Title:
  PHP5 now depends on libapache2-mod-php5 even if lighttpd installed

Status in “apt” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: php5

  
  Following a recent apt-get update && apt-get dist-upgrade , PHP5 appears to now depend on libapache2-mod-php5 .

  Since I use lighttpd, and do not have nor want apache installed, this
  dependency then attempts to drag in the whole apache server. If I let
  it do this, I suspect apache would clash horribly with lighttpd.

  I have therefore refused the latest updates. I know I could work
  around this with judicious use of dpkg force options, but I would
  prefer it if the PHP5 dependency were fixed.

  I am using Ubuntu Hardy server 8.04.3.

  Example:

  root at isis:~# date
  Tue Sep  1 22:13:16 BST 2009
  root at isis:~# apt-get dist-upgrade
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Calculating upgrade... Done
  The following NEW packages will be installed:
    apache2-mpm-prefork apache2.2-common libapache2-mod-php5
  The following packages will be upgraded:
    kdelibs-data kdelibs4c2a libc6 libc6-dev libc6-i686 libcurl3 libcurl3-gnutls
    libgnutls13 libvorbis0a libvorbisenc2 libvorbisfile3 libxml2 linux-libc-dev
    php-pear php5 php5-cgi php5-cli php5-common php5-curl php5-dev php5-gd
    php5-mysql php5-sqlite php5-xmlrpc php5-xsl tzdata
  26 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
  Need to get 41.0MB of archives.
  After this operation, 9503kB of additional disk space will be used.
  Do you want to continue [Y/n]? n
  Abort.
  root at isis:~# deborphan -a
  main/utils                sysutils
  main/net                  telnet
  main/interpreters         tcl8.4
  main/sound                mp3info
  main/graphics             mplayer-nogui
  non-free/doc              manpages-posix
  main/web                  php5-imagick
  main/misc                 chkrootkit
  main/web                  php5-sqlite3
  main/web                  php5-gd
  main/web                  php5-suhosin
  main/web                  php5-sqlite
  main/web                  php5-xmlrpc
  non-free/utils            rar
  main/net                  tinyproxy
  main/net                  portmap
  main/net                  rsync
  main/web                  php5-curl
  main/web                  lighttpd
  main/utils                db4.6-util
  main/web                  vlogger
  main/net                  bind9-host
  main/net                  ntp
  main/web                  php5-memcache
  main/misc                 screen
  main/utils                debian-helper-scripts
  main/admin                pwgen
  main/admin                command-not-found
  main/net                  ldap-utils
  main/utils                syslinux
  main/shells               tcsh
  main/doc                  info
  main/net                  iputils-ping
  main/net                  iputils-tracepath
  main/admin                dselect
  main/utils                rdiff-backup
  main/web                  php5-xsl
  main/graphics             imagemagick
  main/editors              nano
  main/utils                daemon
  main/net                  ntpdate
  main/web                  php5
  main/misc                 libpam-foreground
  main/net                  fail2ban
  main/text                 patchutils
  main/sound                lame
  main/mail                 msmtp
  main/utils                strace
  main/misc                 mysql-server
  main/web                  php5-mysql
  main/admin                deborphan
  main/admin                quotatool
  main/net                  netcat
  main/utils                lsof
  main/admin                rkhunter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/423071/+subscriptions




More information about the foundations-bugs mailing list