HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   apt-get install bind9 <-- error (http://www.howtoforge.com/forums/showthread.php?t=19632)

stormer 21st January 2008 04:37

apt-get install bind9 <-- error
 
I'm following the ubuntu perfect server tutorial section 12 for DNS bind9.

It fails with this error....

Quote:

root@server1:~# apt-get install bind9
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
bind9: Depends: libdns32 (= 1:9.4.1-P1-3) but 1:9.4.1-P1-3ubuntu1 is to be installed
Depends: libisccfg30 (= 1:9.4.1-P1-3) but 1:9.4.1-P1-3ubuntu1 is to be installed
Depends: libisc32 (= 1:9.4.1-P1-3) but 1:9.4.1-P1-3ubuntu1 is to be installed
Depends: libisccc30 (= 1:9.4.1-P1-3) but 1:9.4.1-P1-3ubuntu1 is to be installed
E: Broken packages
root@server1:~# apt-get install libdns32
Reading package lists... Done
Building dependency tree
Reading state information... Done
libdns32 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@server1:~#
The packages it says I need appear to be already installed and up to date. What am I missing?

Everything else in the tutorial worked perfectly. When I couldn't get the bind to install, I skipped it and continued with the tutorial, but then of course the ispconfig failed to install because bind wasn't installed. I'm just trying to set this up to install the ispconfig and play with it on my local network. (give my kids something to play with on the local lan, verses on the internet) And also get them hooked on linux. :) Am I an evil dad or what?

Many thanks!

James

falko 21st January 2008 20:09

Please run
Code:

apt-get update
and try again.
If it still doesn't work, post your /etc/apt/sources.list here.

stormer 21st January 2008 20:23

falco,

Thanks for responding! Here's what you asked for...

Code:


root@server1:~# apt-get update
Get:1 http://security.ubuntu.com gutsy-security Release.gpg [191B]
Ign http://security.ubuntu.com gutsy-security/main Translation-en_US
Ign http://security.ubuntu.com gutsy-security/restricted Translation-en_US 
Ign http://security.ubuntu.com gutsy-security/universe Translation-en_US   
Ign http://security.ubuntu.com gutsy-security/multiverse Translation-en_US 
Hit http://security.ubuntu.com gutsy-security Release                     
Get:2 http://de.archive.ubuntu.com gutsy Release.gpg [191B]
Ign http://de.archive.ubuntu.com gutsy/main Translation-en_US
Hit http://security.ubuntu.com gutsy-security/main Packages
Ign http://de.archive.ubuntu.com gutsy/restricted Translation-en_US
Ign http://de.archive.ubuntu.com gutsy/universe Translation-en_US
Ign http://de.archive.ubuntu.com gutsy/multiverse Translation-en_US
Get:3 http://de.archive.ubuntu.com gutsy-updates Release.gpg [191B]
Ign http://de.archive.ubuntu.com gutsy-updates/main Translation-en_US
Ign http://de.archive.ubuntu.com gutsy-updates/restricted Translation-en_US
Ign http://de.archive.ubuntu.com gutsy-updates/universe Translation-en_US
Ign http://de.archive.ubuntu.com gutsy-updates/multiverse Translation-en_US
Hit http://security.ubuntu.com gutsy-security/restricted Packages
Hit http://security.ubuntu.com gutsy-security/main Sources
Hit http://security.ubuntu.com gutsy-security/restricted Sources
Hit http://de.archive.ubuntu.com gutsy Release
Hit http://de.archive.ubuntu.com gutsy-updates Release             
Hit http://security.ubuntu.com gutsy-security/universe Packages   
Hit http://security.ubuntu.com gutsy-security/universe Sources
Hit http://security.ubuntu.com gutsy-security/multiverse Packages
Hit http://security.ubuntu.com gutsy-security/multiverse Sources
Hit http://de.archive.ubuntu.com gutsy/main Packages
Hit http://de.archive.ubuntu.com gutsy/restricted Packages
Hit http://de.archive.ubuntu.com gutsy/main Sources
Hit http://de.archive.ubuntu.com gutsy/restricted Sources
Hit http://de.archive.ubuntu.com gutsy/universe Packages
Hit http://de.archive.ubuntu.com gutsy/universe Sources
Hit http://de.archive.ubuntu.com gutsy/multiverse Packages
Hit http://de.archive.ubuntu.com gutsy/multiverse Sources
Hit http://de.archive.ubuntu.com gutsy-updates/main Packages
Hit http://de.archive.ubuntu.com gutsy-updates/restricted Packages
Hit http://de.archive.ubuntu.com gutsy-updates/main Sources
Hit http://de.archive.ubuntu.com gutsy-updates/restricted Sources
Hit http://de.archive.ubuntu.com gutsy-updates/universe Packages
Hit http://de.archive.ubuntu.com gutsy-updates/universe Sources
Hit http://de.archive.ubuntu.com gutsy-updates/multiverse Packages
Hit http://de.archive.ubuntu.com gutsy-updates/multiverse Sources
Fetched 3B in 1s (2B/s) 
Reading package lists... Done
root@server1:~# apt-get install bind9
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  bind9: Depends: libdns32 (= 1:9.4.1-P1-3) but 1:9.4.1-P1-3ubuntu1 is to be installed
        Depends: libisccfg30 (= 1:9.4.1-P1-3) but 1:9.4.1-P1-3ubuntu1 is to be installed
        Depends: libisc32 (= 1:9.4.1-P1-3) but 1:9.4.1-P1-3ubuntu1 is to be installed
        Depends: libisccc30 (= 1:9.4.1-P1-3) but 1:9.4.1-P1-3ubuntu1 is to be installed
E: Broken packages
root@server1:~# cat /etc/apt/sources.list
#
# deb cdrom:[Ubuntu-Server 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted

#deb cdrom:[Ubuntu-Server 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://de.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://de.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://de.archive.ubuntu.com/ubuntu/ gutsy universe
deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy universe
deb http://de.archive.ubuntu.com/ubuntu/ gutsy-updates universe
deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://de.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb http://de.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://de.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu gutsy partner
# deb-src http://archive.canonical.com/ubuntu gutsy partner

deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb http://security.ubuntu.com/ubuntu gutsy-security universe
deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse

No joy!

James

stormer 22nd January 2008 04:23

I must say, paying the subscription price sure makes this forum look GREAT! :) I expect to spend some time here so paying for a 6 month membership is completely worth it. (even with a deflated USD!)

James

falko 22nd January 2008 22:23

I'm not sure if this is the problem, but can you try to comment out all the gutsy-updates repos, run
Code:

apt-get update
and try again?

stormer 22nd January 2008 23:42

falko,

same...

Code:


root@server1:~# apt-get update
Get:1 http://security.ubuntu.com gutsy-security Release.gpg [191B]
Ign http://security.ubuntu.com gutsy-security/main Translation-en_US       
Ign http://security.ubuntu.com gutsy-security/restricted Translation-en_US 
Ign http://security.ubuntu.com gutsy-security/universe Translation-en_US   
Ign http://security.ubuntu.com gutsy-security/multiverse Translation-en_US 
Hit http://security.ubuntu.com gutsy-security Release                     
Get:2 http://de.archive.ubuntu.com gutsy Release.gpg [191B]
Ign http://de.archive.ubuntu.com gutsy/main Translation-en_US
Ign http://de.archive.ubuntu.com gutsy/restricted Translation-en_US
Hit http://security.ubuntu.com gutsy-security/main Packages
Ign http://de.archive.ubuntu.com gutsy/universe Translation-en_US
Ign http://de.archive.ubuntu.com gutsy/multiverse Translation-en_US
Hit http://de.archive.ubuntu.com gutsy Release
Hit http://security.ubuntu.com gutsy-security/restricted Packages
Hit http://security.ubuntu.com gutsy-security/main Sources
Hit http://security.ubuntu.com gutsy-security/restricted Sources
Hit http://de.archive.ubuntu.com gutsy/main Packages
Hit http://security.ubuntu.com gutsy-security/universe Packages
Hit http://security.ubuntu.com gutsy-security/universe Sources
Hit http://security.ubuntu.com gutsy-security/multiverse Packages
Hit http://security.ubuntu.com gutsy-security/multiverse Sources
Hit http://de.archive.ubuntu.com gutsy/restricted Packages
Hit http://de.archive.ubuntu.com gutsy/main Sources
Hit http://de.archive.ubuntu.com gutsy/restricted Sources
Hit http://de.archive.ubuntu.com gutsy/universe Packages
Hit http://de.archive.ubuntu.com gutsy/universe Sources
Hit http://de.archive.ubuntu.com gutsy/multiverse Packages
Hit http://de.archive.ubuntu.com gutsy/multiverse Sources
Fetched 2B in 1s (2B/s)
Reading package lists... Done
root@server1:~# apt-get install bind9
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  bind9: Depends: libdns32 (= 1:9.4.1-P1-3) but 1:9.4.1-P1-3ubuntu1 is to be installed
        Depends: libisccfg30 (= 1:9.4.1-P1-3) but 1:9.4.1-P1-3ubuntu1 is to be installed
        Depends: libisc32 (= 1:9.4.1-P1-3) but 1:9.4.1-P1-3ubuntu1 is to be installed
        Depends: libisccc30 (= 1:9.4.1-P1-3) but 1:9.4.1-P1-3ubuntu1 is to be installed
E: Broken packages
root@server1:~#
root@server1:~#
root@server1:~#
root@server1:~# apt-get install libdns32
Reading package lists... Done
Building dependency tree     
Reading state information... Done
libdns32 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@server1:~#
root@server1:~#
root@server1:~#
root@server1:~# apt-get install libisccfg30
Reading package lists... Done
Building dependency tree     
Reading state information... Done
libisccfg30 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@server1:~# cat /etc/apt/sources.list
#
# deb cdrom:[Ubuntu-Server 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted

#deb cdrom:[Ubuntu-Server 7.10 _Gutsy Gibbon_ - Release i386 (20071016)]/ gutsy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://de.archive.ubuntu.com/ubuntu/ gutsy main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
#deb http://de.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted
#deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://de.archive.ubuntu.com/ubuntu/ gutsy universe
deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy universe
#deb http://de.archive.ubuntu.com/ubuntu/ gutsy-updates universe
#deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://de.archive.ubuntu.com/ubuntu/ gutsy multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy multiverse
#deb http://de.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse
#deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://de.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
# deb-src http://de.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu gutsy partner
# deb-src http://archive.canonical.com/ubuntu gutsy partner

deb http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted
deb http://security.ubuntu.com/ubuntu gutsy-security universe
deb-src http://security.ubuntu.com/ubuntu gutsy-security universe
deb http://security.ubuntu.com/ubuntu gutsy-security multiverse
deb-src http://security.ubuntu.com/ubuntu gutsy-security multiverse
root@server1:~#

sigh... what a bummer!

James

falko 23rd January 2008 15:10

Did you have third-party repos in your sources.list and install packages from these repos, or did you always use the original sources.list?

stormer 23rd January 2008 15:25

Let me think here...

I installed it from cd for the desktop originally. I installed some games and such, few graphic programs... then I started doing a search for getting apache installed and came across the perfect ubuntu server. That is when I just copied the exact sources.list that was on the instructions. I just went down the line and copied everything on that page.

Tell you what... I will reinstall from scratch and start over. I'll let you know how it turns out. I'm baffled. If it does it again....

My question is... why in the world do I need to install "bind"? I use an external dns server, dnsmadeeasy.com, why does ispconfig require bind? I've got other cpanel servers and bind doesn't need to run on those because I use an external dns. I guess it's just part of it's programming. sigh.

James

stormer 23rd January 2008 16:20

one thing odd... usb keyboards don't appear to work when you try to do an install from disk? My ubuntu disk gives me the option to install the desktop, oem, server, etc... but because my usb keyboard doesn't work "until" after the install process starts I can't actually "choose" the server only install. It defaults to desktop version. Everything I did with the perfect ubuntu tutorial worked just fine, got apache, got php, got mysql, got ssh, got ftp, postfix, everything... just couldn't get bind9 to install because of some weird dependancy that it said I needed but already have.

James

stormer 24th January 2008 08:10

falko,

I installed it on a laptop and all is working now. Im not going to try and figure out what the deal was with the other computer. Im going to reinstall the desktop version of ubuntu and throw the hands up. This laptop works great with the instructions given under the perfect ubuntu server and ispconfig. Itś all working! Thanks a LOT for giving such nice cut and paste instructions!

James


All times are GMT +2. The time now is 07:21.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.