problem upgrading postfix

From: Ryan Torvik (rtorvik_at_cs.iupui.edu)
Date: 07/06/04

  • Next message: Reid Priedhorsky: "Re: Mozilla/Firefox "PostScript/default" security problems"
    Date: Tue, 6 Jul 2004 15:22:18 -0500
    To: debian-user@lists.debian.org
    
    

    i've been having trouble upgrading my system recently. it looks to be choking on postfix.

    |scarlet log|# apt-get -f install
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following extra packages will be installed:
      postfix
    Suggested packages:
      postfix-mysql postfix-pgsql postfix-ldap postfix-pcre
    Recommended packages:
      resolvconf
    The following packages will be upgraded:
      postfix
    1 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
    1 not fully installed or removed.
    Need to get 0B/757kB of archives.
    After unpacking 201kB of additional disk space will be used.
    Do you want to continue? [Y/n]
    Preconfiguring packages ...
    (Reading database ... 41566 files and directories currently installed.)
    Preparing to replace postfix 2.0.16-4 (using .../postfix_2.1.3-1_i386.deb) ...
    Disconnected; connection lost (Connection closed.).

    it kills all my open ssh sessions. the next time i log in, it says to run "dpkg --configure -a" manually before i can use apt-get. i've tried removing postfix. this is the error i get then.

    |scarlet root|# apt-get remove postfix
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following packages will be REMOVED:
      postfix
    0 upgraded, 0 newly installed, 1 to remove and 27 not upgraded.
    1 not fully installed or removed.
    Need to get 0B of archives.
    After unpacking 1688kB disk space will be freed.
    Do you want to continue? [Y/n]
    dpkg: error processing postfix (--remove):
     Package is in a very bad inconsistent state - you should
     reinstall it before attempting a removal.
    Errors were encountered while processing:
     postfix
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    it comes up in dselect as a module that needs to be reinstalled, broken extra package in section mail. but i no longer have the postfix_2.0.16-4.deb and can't find it. and dpkg -reinstall postfix_2.1.3-1_i386.deb poops out.

    thanks
               t

    -- 
    i stand on the edge of now,
    patiently accepting the future that rushes towards me,
    quietly watching the past scamper away.
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Reid Priedhorsky: "Re: Mozilla/Firefox "PostScript/default" security problems"

    Relevant Pages

    • Re: about postfix.spec
      ... What Blake was telling you to install is the postfix source rpm (srpm ... The srpm is the source package for postfix. ... To get yourself setup to build the postfix packages, ...
      (Fedora)
    • Re: dpkg: syntax error: unknown group `Debian-exim in statusoverride file
      ... I'm getting the following from a vanilla install of sarge. ... Reading Package Lists... ... Preconfiguring packages ... ...
      (Debian-User)
    • Kernel upgrade problems (again) - 2.6.11 -> 2.6.18, video pooched
      ... I tried upgrading the kernel today on my machine and have a problem ... Reading package lists... ... The following extra packages will be installed: ... Install log: http://individual.utoronto.ca/bonert/debian_install.html ...
      (Debian-User)
    • Postfix Upgrade Problem
      ... Had a problem with Postfix. ... Hit http://security.debian.org stable/updates/main Packages ... Building Dependency Tree... ... You might want to run `apt-get -f install' to correct these. ...
      (Debian-User)
    • Re: solaris overview for a Linux admin
      ... >>Actually I am trying to install the current version of postfix. ... >>Appart from the fact that there are NO precompiled packages for solaris, ... These packages are from 2003. ...
      (comp.unix.solaris)