Stephen Posted September 20, 2011 Posted September 20, 2011 I am attempting to install froxlor on a newly installed Debian 5. When I execute the commend "aptitude install froxlor" I get this: The following packages are BROKEN: libapache2-mod-php5 php5-cli php5-gd php5-imap The following NEW packages will be installed: apache2-mpm-prefork{a} apache2-utils{a} apache2.2-common{a} courier-authdaemon{a} courier-authlib{a} courier-authlib-mysql{a} courier-authlib-userdb{a} courier-base{a} courier-imap{a} courier-pop{a} expect{a} froxlor libsasl2-modules-sql{a} maildrop{a} php5{a} php5-mysql{a} php5-suhosin{a} postfix-mysql{a} tcl8.4{a} The following packages will be upgraded: php5-common I do not want apache installed. I am using lighttpd. I do not want courier installed. I want to use dovecot. Why does it insist in installing packages related to these two unwanted items? I also can't figure why it says "libapache2-mod-php5 php5-cli php5-gd php5-imap" are broken. I removed these earlier with an "aptitude purge" command.
d00p Posted September 20, 2011 Posted September 20, 2011 If i remember correctly, debian works a bit weird here - if you have the packages you want to use installed before, the froxlor-deb won't pull them in. You want lighttpd instead of apache -> first apt-get lighttpd and then froxlor so the deb knows you already have a httpd installed. as said it's a bit weird, but i think that's how this debian package-thing works. Broken packages: maybe you haven't removed them correctly or something...
Stephen Posted September 20, 2011 Author Posted September 20, 2011 lighttpd was already installed when I attempted to install froxlor: # whereis lighttpd lighttpd: /usr/sbin/lighttpd /etc/lighttpd /usr/lib/lighttpd /usr/lib64/lighttpd /usr/share/lighttpd /usr/share/man/man8 /lighttpd.8.gz
frontline Posted September 20, 2011 Posted September 20, 2011 You can aptitude not to install recommended packages: echo -e "APT \t{ \tInstall-Recommends "false"; \t}" > /etc/apt/apt.conf.d/20norecommends After that: aptitude update aptitude upgrade aptitude install froxlor Regards, /Sorin
Stephen Posted September 22, 2011 Author Posted September 22, 2011 This eliminated aptitude wanting to install courier. But it still wants to install apache files: The following packages are BROKEN: libapache2-mod-php5 php5-cli The following NEW packages will be installed: apache2-mpm-prefork{a} apache2-utils{a} apache2.2-common{a} froxlor php5{a} php5-mysql{a} The froxlor installation files show apache as a dependency, not a recommend: # aptitude show froxlor ... Depends: apache2 | lighttpd | nginx, php5, php5-cli, php5-mysql, mysql-server, mysql-client, mysql-common, webalizer | awstats, wwwconfig-common Recommends: postfix-mysql | exim4-daemon-heavy, libsasl2-modules-sql, maildrop, courier-authlib-mysql | dovecot-common, courier-imap | dovecot-imapd, courier-pop | dovecot-pop3d, php5-gd, php5-suhosin, php5-imap, proftpd-mod-mysql | pure-ftpd-mysql, bind9 The problem is only half solved.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.