DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Not sure what to do next, can anyone help? Details below:
Code:
root@moe:~ # apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies.
E: Unmet dependencies. Try using -f.
root@moe:~ # apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies...Done
The following extra packages will be installed:
exim4-base exim4-daemon-light
Suggested packages:
exim4-doc-html exim4-doc-info eximon4 libmail-spf-query-perl
The following packages will be upgraded:
exim4-base exim4-daemon-light
2 upgraded, 0 newly installed, 0 to remove and 95 not upgraded.
1 not fully installed or removed.
Need to get 0B/1391kB of archives.
After unpacking 8192B of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
dpkg: exim4-daemon-light: dependency problems, but removing anyway as you request:
exim4 depends on exim4-daemon-light | exim4-daemon-heavy | exim4-daemon-custom; however:
Package exim4-daemon-light is to be removed.
Package exim4-daemon-heavy is not installed.
Package exim4-daemon-custom is not installed.
dpkg: error processing exim4-daemon-light (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
exim4-daemon-light
[ Rootkit Hunter version 1.3.0 ]
File updated: searched for 152 files, found 131
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@moe:~ # apt-get install --reinstall exim4-daemon-light
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
exim4-daemon-light: Depends: exim4-base (>= 4.69) but 4.68-2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
$ cat /etc/apt/sources.list
################
### unstable ###
################
#deb http://ftp.us.debian.org/debian/ unstable main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ unstable main
###############
### testing ###
###############
#deb http://mirrors.kernel.org/debian/ testing main
#deb http://http.us.debian.org/debian/ testing main contrib non-free
deb http://ftp.us.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.us.debian.org/debian/ testing main
########################
### security updates ###
########################
#deb http://security.debian.org/ stable/updates main
#deb http://security.debian.org etch/updates main contrib non-free
#deb http://secure-testing.debian.net/debian-secure-testing testing/security-updates main contrib non-free
deb http://security.debian.org testing/updates main contrib
deb-src http://security.debian.org testing/updates main contrib
You're right -- there does seem to be some versioning problem though. Should I try installing/removing the package from unstable, and then reinstalling the testing version again?
I haven't run testing/unstable in a while, but I vaguely remember having to uninstall an unstable version and reinstall a testing version.
Do you know if your system is mostly testing or mostly unstable? And before you actually do anything, I'd use the simulate switch with apt-get/aptitude.
It should be mostly testing. I think I installed something from unstable a looong time ago - I forget now even what it was, just some minor "standalone" package I think -- but most everything is testing, afaik.
Anyway, I switched to the unstable repositories and got the same results. That package is really corrupted somehow!
>>>>>>>>>>>>>>>>>>>>>>
I just found this in my mail log:
Code:
NEW: --FAIL-- [lin005f] Installed file `/usr/sbin/exim4' checksum differs from installed
+package 'exim4-daemon-light'.
NEW: --FAIL-- [lin005f] Installed file `/usr/share/lintian/overrides/exim4-daemon-light'
+checksum differs from installed package 'exim4-daemon-light'.
NEW: --WARN-- [lin001w] File `/usr/sbin/exim4.dpkg-tmp' does not belong to any package.
Did you remember to run update before the install?
It looks like you've got the debian package checker installed, lintian. Maybe you just need to figure out how to make lintian happy? I've never used it, so I'm not entirely sure where to go from here.
Also, are there any bug reports against the exim4 package?
exim4-daemon-light: Depends: exim4-base (>= 4.69) but 4.68-2 is to be installed
weird the only 4.68-2 I see is for hurd..
Quote:
Package exim4-base
* sid (unstable) (mail): support files for all Exim MTA (v4) packages
4.69-2+b1: armel kfreebsd-amd64 kfreebsd-i386
4.69-2: alpha amd64 arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc 4.68-2: hurd-i386
* lenny (testing) (mail): support files for all Exim MTA (v4) packages
4.69-2: alpha amd64 arm hppa i386 ia64 mips mipsel powerpc s390 sparc
etch (stable) (mail): support files for all exim MTA (v4) packages
4.63-17: alpha amd64 arm hppa i386 ia64 mips mipsel powerpc s390 sparc
I would clean your apt package cache (aptitude clean), verify theres no additional source lists in /etc/apt/sources.list.d , aptitude update, then try again..
okay, I think I got it. I downloaded the exim4-base-4.69 it was complaining about and installed it with dpkg. Now I'm doing the apt-get upgrade and it's not giving any errors.
Okay... it's all done upgrading, no errors. I'm not sure what happened with that. I guess it just got corrupted somehow. ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.