[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mailscanner Installation Problem-Wont Install



Leonard Chatagnier wrote:

I have a long standing problem getting Mailscanner to install on my Dell Dimension
XPS T450 running Debian GNU/Linux 3.0, kernel 2.4.18-bf2.4.

ChatagnierL-Home:/tmp# dpkg -i mailscanner_4.38.10-1_all.deb

<snip>

/var/lib/dpkg/tmp.ci/preinst: line 22: db_get: command not found

<snip>

Note: the /tmp.ci/preinst part of the file path doesn't exist so I couldn't
investigate it.


I installed mailscanner on my Sid box yesterday; did not have any issues. (So I then promptly uninstalled it, along with all its dependencies, as I don't need it; I was just testing the install.) While installing it, I checked for the existence of the "preinst" directory; it existed during the install, but once the install was complete, that directory no longer existed.

I unpacked the .deb file manually ("ar xv mailscanner_4.38.10-1_all.deb", followed by "tar -xvzf [each resulting file], then looked in the "preinst" script. Here's the code that's causing the snag:

            if dpkg --compare-versions "$2" lt 4; then
                db_get mailscanner/v3_upgrade
                if [ "$RET" = "Don't upgrade" ]; then <blah blah blah>

Apparently there's a whole set of db_? files that get used in scripts, like db_fset and db_stop, etc. This particular script is a "/bin/sh" script, so you'd think you could just run "db_get" from the command prompt, but all I get is "command not found". The top of the script says to see "dh_installdeb (1)", but when I try "man dh_installdeb", I get "No manual entry for dh_installdeb", however I did find it on Google. That page says to also see "debhelper". Again, no man page, but Google finds one. The list of files in this package, however, does not seem to include db_get.

So I have no idea where the db_get file is supposed to come from. But if we can figure that out, a reinstall of that particular package might get you working again.

(Moved to the Debian-User list from the MailScanner list, as this seems to me to be a Debian issue.)

--
Kent West
Technology Support
/A/bilene /C/hristian /U/niversity



Reply to: