apt-get install bind9 <-- error

Discussion in 'Installation/Configuration' started by stormer, Jan 21, 2008.

  1. stormer

    stormer New Member

    I'm following the ubuntu perfect server tutorial section 12 for DNS bind9.

    It fails with this error....

    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
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Please run
    Code:
    apt-get update
    and try again.
    If it still doesn't work, post your /etc/apt/sources.list here.
     
  3. stormer

    stormer New Member

    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
     
  4. stormer

    stormer New Member

    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
     
  5. falko

    falko Super Moderator Howtoforge Staff

    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?
     
  6. stormer

    stormer New Member

    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
     
  7. falko

    falko Super Moderator Howtoforge Staff

    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?
     
  8. stormer

    stormer New Member

    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
     
  9. stormer

    stormer New Member

    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
     
  10. stormer

    stormer New Member

    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
     
  11. falko

    falko Super Moderator Howtoforge Staff

    BIND must be installed, but you can switch it off if you don't need it. The installer just checks if BIND is existing on the system.
     
  12. stormer

    stormer New Member

    Falco,

    http://www.howtoforge.com/perfect_server_ubuntu7.10_p5

    Under this section...

    15 Courier-IMAP/Courier-POP3

    If you do not want to use ISPConfig, configure Postfix to deliver emails to a user's Maildir*:

    -------------------

    I'm installing ispconfig and I did "this" below....

    postconf -e 'home_mailbox = Maildir/'
    postconf -e 'mailbox_command ='
    /etc/init.d/postfix restart

    *Please note: You do not have to do this if you intend to use ISPConfig on your system as ISPConfig does the necessary configuration using procmail recipes. But please go sure to enable Maildir under Management -> Server -> Settings -> EMail in the ISPConfig web interface.

    -----------------------------

    I wasn't supposed to do that and didn't understand that till I got to the sentance "under" what I was told to do... It seems all email is delivered to "root" now and I think this is the reason why.

    Example, it says...

    root@office:~# sendmail -v [email protected]
    this is a test
    .
    Mail Delivery Status Report will be mailed to <root>.


    How can I make it be what it's supposed to be under ispconfig?

    (how can I ungoof it?)

    Thanks,

    James
     
  13. falko

    falko Super Moderator Howtoforge Staff

    Did you create the email address [email protected] in ISPConfig? Is it listed in /etc/postfix/virtusertable? Is mydomain.com listed in /etc/postfix/local-host-names?

    What's in your /etc/postfix/main.cf, and what's the output of
    Code:
    netstat -tap
    ?
    Any errors in your mail log?
     
  14. stormer

    stormer New Member

    falco,

    I think it's ok. I know what the 'real' problem is now. Many isps here in the US, ie ATT&T dsl, blocks port 25. This little "play server" is sitting on my lan. It cannot send email "outside" or recieve email from "outside" the lan. I created an email account [email protected] and can check for email via 192.168.1.201. I can send and recieve email no problem as long as I don't go outside of the lan. That's just because the isp is blocking port 25. It is still strange that I cannot do a local "sendmail -v [email protected]".

    James
     

Share This Page