LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-06-2005, 01:31 PM   #1
cnastiuk
LQ Newbie
 
Registered: Feb 2005
Location: Morgantown, WV
Posts: 13

Rep: Reputation: 0
apt-get install errors


I changed from Warty to Hoary in Ubuntu and since have had a strange error come up when I use "apt-get install" the error reads as follows:

nasti@nasti:/etc/X11 $ sudo apt-get -f install fglrx-control
Reading Package Lists... Done
Building Dependency Tree... Done
fglrx-control is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
7 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up postfix (2.1.5-6ubuntu2) ...

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...
*stfix/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 exim4 | mail-transport-agent; however:
Package exim4 is not installed.
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 exim4 | mail-transport-agent; however:
Package exim4 is not installed.
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 anacron:
anacron depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing anacron (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of popularity-contest:
popularity-contest depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing popularity-contest (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postfix-tls:
postfix-tls depends on postfix; however:
Package postfix is not configured yet.
postfix-tls depends on postfix (= 2.1.5-6ubuntu2); however:
Package postfix is not configured yet.
dpkg: error processing postfix-tls (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb:
lsb depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing lsb (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
postfix
mailx
mutt
anacron
popularity-contest
postfix-tls
lsb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Any help is appreciated.
 
Old 02-06-2005, 01:46 PM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
It looks like you have some packages that aren't configured yet in there that block the rest.

Try

"dpkg --pending --configure"
 
Old 02-06-2005, 02:07 PM   #3
cnastiuk
LQ Newbie
 
Registered: Feb 2005
Location: Morgantown, WV
Posts: 13

Original Poster
Rep: Reputation: 0
Tried dpkg --pending --configure, this is the result:

root@nasti:~ # dpkg --pending --configure
Setting up postfix (2.1.5-6ubuntu2) ...

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...
*stfix/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 anacron:
anacron depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing anacron (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postfix-tls:
postfix-tls depends on postfix; however:
Package postfix is not configured yet.
postfix-tls depends on postfix (= 2.1.5-6ubuntu2); however:
Package postfix is not configured yet.
dpkg: error processing postfix-tls (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb:
lsb depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing lsb (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of popularity-contest:
popularity-contest depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing popularity-contest (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mutt:
mutt depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
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 mailx:
mailx depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
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
Errors were encountered while processing:
postfix
anacron
postfix-tls
lsb
popularity-contest
mutt
mailx
 
Old 02-06-2005, 03:14 PM   #4
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
How about running

"apt-get install -f"

That should fix dependencie problems by downloading the missing packages.
 
Old 02-06-2005, 03:17 PM   #5
cnastiuk
LQ Newbie
 
Registered: Feb 2005
Location: Morgantown, WV
Posts: 13

Original Poster
Rep: Reputation: 0
When "apt-get install -f" is run:

root@user:~ # apt-get install -f
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
7 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up postfix (2.1.5-6ubuntu2) ...

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...
*stfix/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 exim4 | mail-transport-agent; however:
Package exim4 is not installed.
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 exim4 | mail-transport-agent; however:
Package exim4 is not installed.
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 anacron:
anacron depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing anacron (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of popularity-contest:
popularity-contest depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing popularity-contest (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postfix-tls:
postfix-tls depends on postfix; however:
Package postfix is not configured yet.
postfix-tls depends on postfix (= 2.1.5-6ubuntu2); however:
Package postfix is not configured yet.
dpkg: error processing postfix-tls (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of lsb:
lsb depends on exim4 | mail-transport-agent; however:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
Package postfix which provides mail-transport-agent is not configured yet.
dpkg: error processing lsb (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
postfix
mailx
mutt
anacron
popularity-contest
postfix-tls
lsb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Old 02-06-2005, 03:20 PM   #6
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Have you tried to do

"apt-get install packagename"

On the packages that show up as not installed now. Like these:
Package exim4 is not installed.
Package mail-transport-agent is not installed.
 
Old 02-06-2005, 03:30 PM   #7
cnastiuk
LQ Newbie
 
Registered: Feb 2005
Location: Morgantown, WV
Posts: 13

Original Poster
Rep: Reputation: 0
'exim4' installed; however 'mail-transport-agent' would not, here is what happened:


root@user:~ # apt-get install mail-transport-agent
Reading Package Lists... Done
Building Dependency Tree... Done
Package mail-transport-agent is a virtual package provided by:
zmailer 2.99.56-2
xmail 1.20-5
ssmtp 2.61-1
smail 3.2.0.115-5.1
sendmail-bin 8.13.2-1
nullmailer 1.00RC7-22
masqmail 0.2.20-1
exim 3.36-11
esmtp-run 0.5.0-4
courier-mta 0.47-3ubuntu1
postfix 2.1.5-6ubuntu2
exim4-daemon-light 4.34-10
exim4-daemon-heavy 4.34-10
You should explicitly select one to install.
E: Package mail-transport-agent has no installation candidate
 
Old 02-07-2005, 10:45 AM   #8
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Just like it said, by downloading any one of the listed packages you will get the needed package. See if you prefer one to another and otherwise I'd say just download one.
 
Old 02-07-2005, 12:45 PM   #9
Ralf Kniese
LQ Newbie
 
Registered: Feb 2005
Location: Germany - Hessen - Fulda
Posts: 3

Rep: Reputation: 0
hello together

IÓm suffering from the same problem - I did first "apt-get update" and then "apt-get upgrade"; after downloading a lot of stuff via dsl for more than one hour the following problem comes up, which seems to be related pretty tight to what has been discussed before - but I still have no real solution on that; who can help ??? - I`am not so experienced as an debian-admin.


Fetched 225MB in 1h27m44s (42.8kB/s)
Preconfiguring packages ...
dpkg: parse error, in file `/var/lib/dpkg/status' near line 17620 package `bluez-cups':
missing version
E: Sub-process /usr/bin/dpkg returned an error code (2)

Last edited by Ralf Kniese; 02-07-2005 at 12:46 PM.
 
Old 02-08-2005, 12:25 PM   #10
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
The file mentioned seems to be the file that contains the packages you have (had) installed. There seems to be an error in a package. I'm not sure how to fix it but I'd say deleting that package out of the file and then install it again might work. It won't stop because of the missing version number like it does now. I don't think it'll do any harm, it didn't when I tried but don't hold me on that.

Only delete all the info from that one package!

Last edited by darkleaf; 02-08-2005 at 12:34 PM.
 
Old 02-09-2005, 04:39 AM   #11
Ralf Kniese
LQ Newbie
 
Registered: Feb 2005
Location: Germany - Hessen - Fulda
Posts: 3

Rep: Reputation: 0
thanks for that
 
Old 02-09-2005, 10:43 AM   #12
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Did it work?
 
Old 02-10-2005, 03:13 AM   #13
Ralf Kniese
LQ Newbie
 
Registered: Feb 2005
Location: Germany - Hessen - Fulda
Posts: 3

Rep: Reputation: 0
I am out of home on businesstravel and will try it at weekend - afterwards I will tell you if works
 
Old 02-21-2005, 05:26 AM   #14
bristi
LQ Newbie
 
Registered: Feb 2005
Location: Denmark
Distribution: Primarily Debian and derivatives
Posts: 13

Rep: Reputation: 0
For cnastiuk:

I had the same problem did some googling and spotted your post. There seems to be a problem in the update scripts for hoary regarding to postfix. From the first few lines you can tell that the system does not seem to think that postfix needs be updated. Then when running newaliases it tries to start postfix finds that it is started already and fails. This failure propagates to related packages which are informed that postfix is not configured (which it actually is).

A simple fix which worked for me; simply stop postfix and then fix dependencies. That is (as root):

$ /etc/init.d/postfix stop
$ apt-get -f install

Postfix will be started again when running the last command.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get returns lots of errors and wont install packages... StrangeBiscuit Debian 14 09-25-2006 06:18 PM
apt-get errors gvaught Debian 1 11-12-2005 11:13 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 01:28 PM
apt-get errors mattwilson247 DamnSmallLinux 2 01-15-2005 04:01 PM
apt-get errors sin-x Debian 8 12-22-2004 12:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration