Current time: 11-16-2024, 08:01 PM Hello There, Guest! (LoginRegister)


Post Reply 
Debian dependency error?
Author Message
tuxStyle Offline
Junior Member
*

Posts: 37
Joined: May 2009
Reputation: 0
Post: #1
Debian dependency error?
Hi, i tried to install ispCP on a new server and, i get this:

Code:
activestyle:~/ispCP/nightly# aptitude install $(cat ./docs/Debian/debian-packages-`lsb_release -cs`)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
No candidate version found for libapache2-mod-fastcgi
No candidate version found for libapache2-mod-fastcgi
The following packages are BROKEN:
  exim4 exim4-config
The following NEW packages will be installed:
  apache2 apache2-mpm-worker apache2-suexec apache2-utils apache2.2-common awstats bind9 bind9-host{a} bind9utils{a} binutils{a} chkrootkit courier-authdaemon courier-authlib{a}
  courier-authlib-userdb{a} courier-base courier-imap courier-maildrop courier-pop cpp{a} cpp-4.3{a} db4.6-util{a} defoma{a} dictionaries-common{a} dnsutils expect{a} fam{a} fontconfig-config{a} gcc
  gcc-4.3{a} iamerican{a} ispell libapache2-mod-fcgid libberkeleydb-perl libbind9-50{a} libbit-vector-perl{a} libc6-dev libcap1{a} libcap2{a} libcarp-clan-perl{a} libclass-singleton-perl{a}
  libconvert-binhex-perl{a} libcrypt-blowfish-perl libcrypt-cbc-perl libcrypt-passwdmd5-perl libdate-calc-perl libdate-manip-perl libdatetime-locale-perl{a} libdatetime-perl libdatetime-timezone-perl
  libdbd-mysql-perl libdbi-perl libdigest-hmac-perl{a} libdigest-sha1-perl{a} libdns55{a} libfam0{a} libfile-basedir-perl{a} libfile-copy-recursive-perl libfile-desktopentry-perl{a}
  libfile-mimeinfo-perl libfontconfig1{a} libfreetype6{a} libgd2-xpm{a} libglib2.0-0{a} libglib2.0-data{a} libgmp3c2{a} libgomp1{a} libidn11{a} libio-multiplex-perl{a} libio-socket-inet6-perl{a}
  libio-stringy-perl libisc52{a} libisccc50{a} libisccfg50{a} libjpeg62{a} libltdl3{a} liblwres50{a} libmail-sendmail-perl libmcrypt4 libmd5-perl libmhash2{a} libmime-perl libmime-tools-perl{a}
  libmpfr1ldbl{a} libnet-cidr-perl{a} libnet-daemon-perl{a} libnet-dns-perl libnet-ip-perl{a} libnet-libidn-perl libnet-netmask-perl libnet-rblclient-perl{a} libnet-server-perl{a}
  libnet-smtp-server-perl libnet-xwhois-perl{a} libparams-validate-perl{a} libparse-syslog-perl{a} libperl5.10 libplrpc-perl{a} libsnmp-session-perl libsocket6-perl{a} libsys-hostname-long-perl{a}
  libsys-syslog-perl{a} libt1-5{a} libterm-readkey-perl libterm-readpassword-perl libxpm4{a} linux-libc-dev{a} lynx lynx-cur{a} make mysql-client mysql-client-5.0{a} mysql-server mysql-server-5.0{a}
  openssl-blacklist{a} original-awk patch php-pear php5 php5-adodb php5-cgi php5-cli php5-common{a} php5-gd php5-mcrypt php5-mhash php5-mysql policyd-weight portmap{a} postfix postgrey procmail proftpd
  proftpd-basic{a} proftpd-mod-ldap{a} proftpd-mod-mysql{a} proftpd-mod-pgsql{a} rkhunter sasl2-bin shared-mime-info{a} ssl-cert{a} tcl8.4{a} ttf-dejavu{a} ttf-dejavu-core{a} ttf-dejavu-extra{a}
  unhide{a} wamerican{a}
The following packages will be REMOVED:
  exim4-daemon-light{a}
0 packages upgraded, 146 newly installed, 1 to remove and 0 not upgraded.
Need to get 90.6MB of archives. After unpacking 252MB will be used.
The following packages have unmet dependencies:
  exim4-config: Conflicts: postfix but 2.5.5-1.1 is to be installed.
  exim4: Depends: exim4-daemon-light but it is not installable or
                  exim4-daemon-heavy but it is not installable or
                  exim4-daemon-custom which is a virtual package.
The following actions will resolve these dependencies:

Remove the following packages:
exim4
exim4-base
exim4-config

Leave the following dependencies unresolved:
defoma recommends libft-perl
Score is -1029

Accept this solution? [Y/n/q/?]

It happened the same with Ubuntu.

And yes, i like to test things so, i'm trying to install the latest SVN version Smile

Can i ignore the exim stuff and fix it at a later time?
For now, for my email i'm using google apps.

Thanks

PS: same happened with ubuntu...

EDIT: i just tried with 1.0.6 and i get the same error.

Code:
activestyle:~/ispCP/ispcp-omega-1.0.6# lsb_release -cs
lenny

And to answer to my own problem(s):

1. for libapache2-mod-fastcgi
Code:
No candidate version found for libapache2-mod-fastcgi

non-free should be added to repository:
Code:
deb http://ftp.us.debian.org/debian lenny main contrib non-free

2. for the postfix issue
Code:
The following packages have unmet dependencies:
  exim4-config: Conflicts: postfix but 2.5.5-1.1 is to be installed.
  exim4: Depends: exim4-daemon-light but it is not installable or
                  exim4-daemon-heavy but it is not installable or
                  exim4-daemon-custom which is a virtual package.

Running: apt-get install postfix
before: aptitude install $(cat ./docs/Debian/debian-packages-`lsb_release -cs`)
did the job.

I have no idea why...
(This post was last modified: 10-30-2010 03:44 AM by tuxStyle.)
10-30-2010 03:16 AM
Find all posts by this user Quote this message in a reply
kassah Offline
Junior Member
*

Posts: 46
Joined: Oct 2010
Reputation: 1
Post: #2
RE: Debian dependency error?
It probably comes from how the dependencies of all the packages are calculated. When I setup a new debian server, I always deselct all categories (Desktop and Standard included). This gives me a cleaner slate to work with. I believe the "standard" is where exim is installed, which ispCP needs to remove.

For the fun of it.. here's my process for setting up XenSource instances for virtually everything. Skip directly to Setting up Debian if you're not using Xen like I am.
Code:
== Process ==
SSH to Dom0 (and become root or use sudo)

-- Create Working Directory --
# mkdir -p /opt/xen/ispcp
# cd /opt/xen/ispcp


-- Create LVM Logical Volume --
(replacing domUs with the VG you want it to go into)
# lvcreate -L10G -nispcp domUs

-- Create VM Configuration --
# wget http://ftp.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/xen/xm-debian.cfg
# mv xm-debian.cfg ispcp.cfg
edit ispcp.cfg
  change memory to 512
  change name variable to ispcp
  change vif appropriately and make sure it's a unique mac (mine looks like: vif = ['mac=00:16:3E:AC:4A:82,bridge=eth1'])
  change disk appropriately (mine looks like: disk = ['phy:domUs/ispcp,xvda,w'])
  it is also useful to change the path of pygrub bootloader="/usr/lib/xen-default/bin/pygrub" for debian
  save and exit


-- Start the VM --
# xm create -c ispcp.cfg install=true


-- Setting up Debian --
Accept Defaults except hostname and domain, load those with your server's hostname (mine's ispcp.kassah.net)
Select a Mirror near you (mine's osuosl)
I selected Pacific Timezone
Partition Setup, use guided entire disk
Defaults till it asks you to confirm, then select yes
Setup your root and default user
Software Selection: Uncheck everything!
Install grub to master
Restart!
(when the install process finishes, instead of restarting it does a shutdown. this is expected.)


-- Setting up your Server--
On Dom0:
# xm create -c ispcp.cfg
This will drop you into the console of the server as it starts
Login as root
Install your favorite ssh daemon (optional)
# apt-get install -o APT::Install-Recommends=false openssh-server
Install Less (for wonderful paging)
# apt-get install less
10-30-2010 07:47 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)