Results 1 to 6 of 6

Thread: default sources.list 10.04

  1. #1
    Join Date
    Aug 2006
    Location
    Castle Rock, CO USA
    Beans
    118
    Distro
    Ubuntu 10.04 Lucid Lynx

    Dovecot install failed? Do I need a default sources.list 10.04?

    could somebody help a brother out.. Anyone happen to have a link to the default sources.list for 10.04.. or could you attach one for me? Thanks!

    the webhost has this one with nothing in it and I am adding them one by one.. its ridiculous.

    I think this error is related

    I ran the first instruction for this https://help.ubuntu.com/10.04/server...ot-server.html

    Code:
    Unpacking dovecot-common (from .../dovecot-common_1%3a1.2.9-1ubuntu6.1_i386.deb) ...
    Selecting previously deselected package dovecot-imapd.
    Unpacking dovecot-imapd (from .../dovecot-imapd_1%3a1.2.9-1ubuntu6.1_i386.deb) ...
    Selecting previously deselected package dovecot-pop3d.
    Unpacking dovecot-pop3d (from .../dovecot-pop3d_1%3a1.2.9-1ubuntu6.1_i386.deb) ...
    Processing triggers for ufw ...
    Processing triggers for ureadahead ...
    Processing triggers for man-db ...
    Setting up libpq5 (8.4.4-0ubuntu10.04) ...
    
    Setting up dovecot-common (1:1.2.9-1ubuntu6.1) ...
    
    Creating config file /etc/dovecot/dovecot.conf with new version
    
    Creating config file /etc/dovecot/dovecot-ldap.conf with new version
    
    Creating config file /etc/dovecot/dovecot-sql.conf with new version
    adduser: Warning: The home directory `/usr/lib/dovecot' does not belong to the user you are currently creating.
    Creating generic self-signed certificate:  /etc/ssl/certs/dovecot.pem
    (replace with hand-crafted or authorized one if needed).
    hostname: Name or service not known
    dpkg: error processing dovecot-common (--configure):
     subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of dovecot-imapd:
     dovecot-imapd depends on dovecot-common (= 1:1.2.9-1ubuntu6.1); however:
      Package dovecot-common is not configured yet.
    dpkg: error processing dovecot-imapd (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of dovecot-pop3d:
     dovecot-pop3d depends on dovecot-common (= 1:1.2.9-1ubuntu6.1); however:
      Package dovecot-common is not configured yet.
    dpkg: error processing dovecot-pop3d (--configure):
     dependency problems - leaving unconfigured
    Processing triggers for libc-bin ...
    No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                              No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                    ldconfig deferred processing now taking place
    Errors were encountered while processing:
     dovecot-common
     dovecot-imapd
     dovecot-pop3d
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Last edited by amlucent23; August 21st, 2010 at 01:43 AM.
    Dell XPS m1530 | My Custom PC- Intel Core Quad 9550 | EVGA 750i FTW Mobo | 750GB Seagate SATA HDD | 4GB Corsair XMS2 DDR2 Memory | Antec 900 Case | Antec 650w TruPowerTrio PS

  2. #2
    Join Date
    Aug 2006
    Location
    Castle Rock, CO USA
    Beans
    118
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: default sources.list 10.04

    im starting to think its this:

    Code:
    adduser: Warning: The home directory `/usr/lib/dovecot' does not belong to the user you are currently creating.
    Creating generic self-signed certificate: /etc/ssl/certs/dovecot.pem
    (replace with hand-crafted or authorized one if needed).
    hostname: Name or service not known
    but i am unsure what they mean.. hostname is incorrect? Looks correct when i run "hostname" command.
    Dell XPS m1530 | My Custom PC- Intel Core Quad 9550 | EVGA 750i FTW Mobo | 750GB Seagate SATA HDD | 4GB Corsair XMS2 DDR2 Memory | Antec 900 Case | Antec 650w TruPowerTrio PS

  3. #3
    Join Date
    Aug 2006
    Location
    Castle Rock, CO USA
    Beans
    118
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Dovecot install failed! default sources.list 10.04?

    Bump, I added the Dovecot PPA and reattempted the install still same result.

    When I perform this command:

    Code:
    apt-get install dovecot-imapd dovecot-pop3d dovecot-common
    it bombs out with the message above.. I have done a fresh install and same issue occurs. Can anyone replicated this, maybe its a bug in the package?
    Last edited by amlucent23; August 21st, 2010 at 11:38 PM.
    Dell XPS m1530 | My Custom PC- Intel Core Quad 9550 | EVGA 750i FTW Mobo | 750GB Seagate SATA HDD | 4GB Corsair XMS2 DDR2 Memory | Antec 900 Case | Antec 650w TruPowerTrio PS

  4. #4
    Join Date
    Sep 2010
    Beans
    2

    Post Re: default sources.list 10.04

    I have this problem as well. It does look like 10.04 is picker about this than 9.10 was. I don't know if the hostname -f in dovecot is new or hostname has gotten picker.

    If I run:
    getent hosts $(hostname)
    it works fine as I have added lines for my IP & my FQDN to /etc/hosts.

    If I run
    hostname -f
    on the command line I get the"Name or service not known" error.

    HOWEVER, if I run
    LOCALDOMAIN=mydomain.org hostname -f
    it works fine.

    The issue seems to be the domain and search lines in /etc/resolv.conf. I left them pointing to what is assigned by the DHCP (which I don't control)

    If I edit /etc/resolv.conf manually with my domain it also works. However EC2 is all DHCP so I need to learn how to get the DHCP client to not overwrite my changes.

    BTW: There is some other discussions in this bug:
    https://bugs.launchpad.net/ubuntu/+s...ot/+bug/611226
    (They say its not a bug.)

    Background:
    I run some servers on Amazon EC2 using the std ubuntu published AMIs. The config script I run to setup my server runs OK on 9.10 but gets this error on 10.04.

    I _do_ change the hostname from what EC2 assigns me. This may be part of the problem but the EC2 names are not something I want to publish and the `hostname` ends up in some much stuff.

  5. #5
    Join Date
    Sep 2010
    Beans
    2

    Re: default sources.list 10.04

    dhcp fix was easy. Edit /etc/dhcp3/dhclient.conf and uncomment and change the supercede domain-name line.

    I reran with 9.10. hostname -f worked out of the box with out any change to /etc/hosts or /etc/resolv.conf. The only thing I had done was
    sudo hostname MYSERVER.MYDOMAIN.org
    echo MYSERVER.MYDOMAIN.org | sudo tee /etc/hostname

    So 10.04 hostname is definitly picker. Is the new setup more correct. Yes. But I am sure we will not be the only people to discover this.

  6. #6
    Join Date
    May 2010
    Beans
    6

    Re: default sources.list 10.04

    Hello, I am having this problem as well, but I do not see the line you said to change.

    In my /etc/dhcp3/dhclient.conf file all I have is:
    Code:
    request subnet-mask, broadcast-address, time-offset, routers, domain-name,    domain-name-servers, host-name, ntp-servers;

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •