LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   packages "not configured" after recent upgrade to Breezy (http://www.linuxquestions.org/questions/ubuntu-63/packages-not-configured-after-recent-upgrade-to-breezy-373304/)

Jessehk 10-15-2005 09:46 AM

packages "not configured" after recent upgrade to Breezy
 
I recently upgraded to breezy, and for the most part, things went well.

However, whenever I try to upgrade, I get the following message ( I have also tried the -f option to no avail )

Code:


jesse@jesse:~$ sudo apt-get upgrade
Password:
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up postfix (2.2.4-1ubuntu2) ...

Postfix configuration was untouched.  If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed.  To view Postfix configuration
values, see postconf(1).

After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.

Running newaliases
 * Starting Postfix Mail Transport Agent... postfix/postfix-script: fatal: the Postfix mail system is already running
                                                                        [fail]
invoke-rc.d: initscript postfix, action "start" failed.
dpkg: error processing postfix (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mailx:
 mailx depends on postfix | mail-transport-agent; however:
  Package postfix is not configured yet.
  Package mail-transport-agent is not installed.
  Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing mailx (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mutt:
 mutt depends on postfix | mail-transport-agent; however:
  Package postfix is not configured yet.
  Package mail-transport-agent is not installed.
  Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing mutt (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb-core:
 lsb-core depends on postfix | mail-transport-agent; however:
  Package postfix is not configured yet.
  Package mail-transport-agent is not installed.
  Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing lsb-core (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb-graphics:
 lsb-graphics depends on lsb-core; however:
  Package lsb-core is not configured yet.
dpkg: error processing lsb-graphics (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb-cxx:
 lsb-cxx depends on lsb-core; however:
  Package lsb-core is not configured yet.
dpkg: error processing lsb-cxx (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb:
 lsb depends on lsb-core; however:
  Package lsb-core is not configured yet.
 lsb depends on lsb-graphics; however:
  Package lsb-graphics is not configured yet.
 lsb depends on lsb-cxx; however:
  Package lsb-cxx is not configured yet.
dpkg: error processing lsb (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 postfix
 mailx
 mutt
 lsb-core
 lsb-graphics
 lsb-cxx
 lsb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any help would be greatly appreciated :)

unisol 10-17-2005 10:15 AM

pkgs not configured
 
try apt-get --configure -a

Daniel49 10-24-2005 12:09 AM

something similar happened to me so just ran upgrade again it downloaded the pieces it missed the first time and then installed fine,
Why it didn't get them the first time I don't know?

jarcand 06-04-2006 05:41 PM

I have an identical problem except that the package "lsb-desktop" is also listed as causing problems. Does anybody know how to fix this? It says that the 8 packages need configuration; where/how do I do this?

jarcand 06-04-2006 05:59 PM

Nice. I seem to have found how to fix this! In my case, apt-get was failing because postfix was not starting. After take a look at the syslog and looking up the postfix error message, I found that postfix was not starting because no network interfaces were up. So I
Code:

sudo ifconfig lo up
, restarted apt-get, and everything worked!


All times are GMT -5. The time now is 03:21 AM.