package mailscanner 4.58.9-2ubuntu1 failed to install/upgrade:
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mailscanner (Debian) |
Fix Released
|
Unknown
|
|||
mailscanner (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mailscanner
Package MailScanner.
installed previously, got errors can't re-install, can't remove, can't upgrade to debian version:
a. attempt to re-install mailscanner:
11325@mail:~# apt-get install mailscanner
Reading package lists... Done
Building dependency tree
Reading state information... Done
mailscanner is already the newest version.
The following packages were automatically installed and are no longer required:
language-
linux-
libmail-
plib1.8.4c2 linux-headers-
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0B/556kB of archives.
After this operation, 0B of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package mailscanner.
(Reading database ... 236337 files and directories currently installed.)
Preparing to replace mailscanner 4.58.9-2ubuntu1 (using .../mailscanner
invoke-rc.d: initscript mailscanner, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
No MailScanner found running; none killed.
invoke-rc.d: initscript mailscanner, action "stop" failed.
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 1
invoke-rc.d: initscript mailscanner, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
----//----
b.) attempt to de-install MailScanner:
11325@mail:~# apt-get purge mailscanner
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
language-
linux-
libmail-
openoffice.
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED
mailscanner*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 4227kB disk space will be freed.
Do you want to continue [Y/n]? Y
dpkg: error processing mailscanner (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
mailscanner
E: Sub-process /usr/bin/dpkg returned an error code (1)
----//----
c.) attempt to upgrade
11325@mail:
(Reading database ... 236337 files and directories currently installed.)
Preparing to replace mailscanner 4.58.9-2ubuntu1 (using mailscanner_
invoke-rc.d: initscript mailscanner, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
No MailScanner found running; none killed.
invoke-rc.d: initscript mailscanner, action "stop" failed.
dpkg: error processing mailscanner_
subprocess new pre-removal script returned error exit status 1
invoke-rc.d: initscript mailscanner, action "start" failed.
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
mailscanner_
Thanks,
adrian
ProblemType: Package
Architecture: amd64
Date: Fri Apr 11 22:25:55 2008
DistroRelease: Ubuntu 8.04
ErrorMessage:
ErrorMessage: Package is in a very bad inconsistent state - you should
NonfreeKernelMo
Package: mailscanner 4.58.9-2ubuntu1
PackageArchitec
SourcePackage: mailscanner
Title: package mailscanner 4.58.9-2ubuntu1 failed to install/upgrade:
Uname: Linux 2.6.24-15-generic x86_64
Changed in mailscanner: | |
status: | Unknown → Fix Released |
Changed in mailscanner (Ubuntu): | |
status: | Fix Released → Fix Committed |
status: | Fix Committed → Fix Released |
Looks like this is fixed in 4.68.8-1 (covered by bug 204546)