Find the answer to your Linux question:
Results 1 to 8 of 8
aright so here is my situation: While Installing through webmin: Installing package(s) with command apt-get -y --force-yes -f install postfix .. Reading package lists... Building dependency tree... Reading state information... ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    11

    postfix not installing.


    aright so here is my situation:

    While Installing through webmin:
    Installing package(s) with command apt-get -y --force-yes -f install postfix ..
    Reading package lists...
    Building dependency tree...
    Reading state information...
    Suggested packages:
    postfix-mysql postfix-pgsql postfix-ldap postfix-pcre resolvconf
    The following packages will be upgraded:
    postfix
    1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
    5 not fully installed or removed.
    Need to get 0B/1067kB of archives.
    After unpacking 2494kB of additional disk space will be used.
    (Reading database ... 78931 files and directories currently installed.)
    Preparing to replace postfix 2.3.3-1 (using .../postfix_2.3.3-1_i386.deb) ...

    .. install failed


    Okay, so lets try something different:

    While installing with apt-get:

    root@rhys:/# apt-get install postfix
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Suggested packages:
    postfix-mysql postfix-pgsql postfix-ldap postfix-pcre resolvconf
    The following packages will be upgraded:
    postfix
    1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
    5 not fully installed or removed.
    Need to get 0B/1067kB of archives.
    After unpacking 2494kB of additional disk space will be used.
    Preconfiguring packages ...
    (Reading database ...
    dpkg: serious warning: files list file for package `postfix' missing, assuming package has no files currently installed.
    78931 files and directories currently installed.)
    Preparing to replace postfix 2.3.3-1 (using .../postfix_2.3.3-1_i386.deb) ...
    grep: /etc/postfix/master.cf: No such file or directory
    /var/lib/dpkg/tmp.ci/preinst: 267: cannot create /etc/postfix/master.cf.4940: Directory nonexistent
    dpkg: error processing /cdrom//pool/main/p/postfix/postfix_2.3.3-1_i386.deb (--unpack):
    subprocess pre-installation script returned error exit status 2
    Errors were encountered while processing:
    /cdrom//pool/main/p/postfix/postfix_2.3.3-1_i386.

    No dice:

    When installing with Adept:

    ImageShack - Hosting :: snapshot1bf1.jpg

    I have no idea what else to try, i dont want to reinstall because i have a bunch of other things working that took me forever to configure. (this is for a Lab btw, I am attending Assiniboine Community College, in Manitoba Canada for my Computer Systems Tech degree)

    Any help would be greatly appreciated, even my classmates are stumped.

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    edit your apt sources list
    #vi /etc/apt/source.list
    and put a # in front of the "deb cdrom:[Debian GNU/Linux 4.0 r1 _Etch_"

    so you comment out that line. if you aren't familiar with vi then use nano or whatever text editor you use. then:
    #apt-get update
    #apt-get install postfix

  3. #3
    Just Joined!
    Join Date
    Oct 2007
    Posts
    11
    well that didnt work, i need to have this done today and i am so frusterated, everything i try i get the nice message of "INSTALL FAILED".

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Execute this
    Code:
    su
    dpkg -a --configure
    apt-get clean all
    apt-get update
    apt-get install postfix
    Post error message here, if any.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    Oct 2007
    Posts
    11
    root@rhys:/# apt-get install postfix
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Suggested packages:
    postfix-mysql postfix-pgsql postfix-ldap postfix-pcre resolvconf
    The following packages will be upgraded:
    postfix
    1 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
    1 not fully installed or removed.
    Need to get 1067kB of archives.
    After unpacking 2494kB of additional disk space will be used.
    Get:1 Index of / edgy/main postfix 2.3.3-1 [1067kB]
    Fetched 1067kB in 5s (189kB/s)
    Preconfiguring packages ...
    (Reading database ...
    dpkg: serious warning: files list file for package `postfix' missing, assuming package has no files currently installed.
    78933 files and directories currently installed.)
    Preparing to replace postfix 2.3.3-1 (using .../postfix_2.3.3-1_i386.deb) ...
    grep: /etc/postfix/master.cf: No such file or directory
    /var/lib/dpkg/tmp.ci/preinst: 267: cannot create /etc/postfix/master.cf.7064: Directory nonexistent
    dpkg: error processing /var/cache/apt/archives/postfix_2.3.3-1_i386.deb (--unpack):
    subprocess pre-installation script returned error exit status 2
    Errors were encountered while processing:
    /var/cache/apt/archives/postfix_2.3.3-1_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  7. #6
    Just Joined!
    Join Date
    Oct 2007
    Posts
    11
    any other help? I know a re-install may help this.

  8. #7
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Post exact output of this
    Code:
    dpkg -a --configure
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #8
    Just Joined!
    Join Date
    Oct 2007
    Posts
    11
    No output.

    root@rhys:/# dpkg -a --configure
    root@rhys:/#

Posting Permissions

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