Hello, I've been trying to work through the Howtos on using Sarge for HA for Apache and Mysql. Both of the howtos use Ultramonkey for the loadbalancer. I'm kinda new to debian so forgive me if I'm looking at this wrong, but it looks to me like the ultramonkey package is broken. Code: wlb1:~# apt-get install ultramonkey Reading Package Lists... Done Building Dependency Tree... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: belocs-locales-bin: Depends: libc6 (>= 2.4-1) but 2.3.2.ds1-22sarge4 is to be installed ultramonkey: Depends: heartbeat (>= 1.2.3) Depends: ldirectord (>= 1.2.3) Depends: iproute but it is not going to be installed Depends: ipvsadm but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). wlb1:~# It's probably something dumb that I'm missing...but I could REALLY use some pointers on how to get past this. Thanks for your help! Tfunky
This is what I have: Code: wlb1:~# cat /etc/apt/sources.list deb http://www.ultramonkey.org/download/3/ sarge main deb-src http://www.ultramonkey.org/download/3 sarge main## Add comments (##) in front of any line to remove it from being checked. ## Use the following sources.list at your own risk. deb http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu edgy main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu edgy-proposed main restricted universe multiverse ## MAJOR BUG FIX UPDATES produced after the final release deb http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu edgy-updates main restricted universe multiverse ## UBUNTU SECURITY UPDATES deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse ## BACKPORTS REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.) deb http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu edgy-backports main restricted universe multiverse ## PLF REPOSITORY (Unsupported. May contain illegal packages. Use at own risk.) deb http://medibuntu.sos-sts.com/repo/ edgy free deb http://medibuntu.sos-sts.com/repo/ edgy non-free deb-src http://medibuntu.sos-sts.com/repo/ edgy free deb-src http://medibuntu.sos-sts.com/repo/ edgy non-free ## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu ## servers. RealPlayer10, Opera, DesktopSecure and more to come.) deb http://archive.canonical.com/ubuntu edgy-commercial main ## Listen #deb http://theli.free.fr/packages/ edgy listen ##Ultramonkey deb http://www.ultramonkey.org/download/3/ sarge main deb-src http://www.ultramonkey.org/download/3 sarge main wlb1:~# Thanks for your help!
I think I know what's wrong. (well...one of 2 things) Either I used ubuntu instead of debian sarge to build the machine or I'm using the wrong sourcelists. I'm not sure how to figure out which it is. If the OS is ubuntu then the sourcelist is probably right, if not, then I've copied the wrong info into the source list (as it has ubuntu all over it instead of sarge) Either way I bet that's the problem I'm going to start over again with the perfect sage install doc and try it again. THanks for your help! Sorry for the boneheaded error. btw...Is there a way to tell which OS is on the box (or are debian and ubuntu close enough that there isn't a good way to tell)? Thanks again!
I wrote the tutorial for Debian Sarge, so I'm sure that's the problem. The best way is to take a look at your /etc/apt/sources.list.
I'm pretty sure at this point that I was using ubuntu instead of debian. I started over completely with debian 3.1 and it's worked fine up to the load balancer part, so I think that was my problem. Thanks for pointing out my error! I appreciate your help! Thanks! Tfunky