Hi Daniel,
On Mon, Oct 25, 2010 at 09:57:11AM +0100, Daniel Case wrote:
I seem to be having some issues with getting postfix
installed on my VPS, I
have been to the Ubuntu forums, the mailing list and IRC just now.
The problem is laid out here:
http://pastebin.com/umgcf0iM
The problem seems to be that the postfix package fails to execute
its init script.
"update-rc.d: /etc/init.d/postfix: file does not exist"
Could it be that you have previously manually deleted
/etc/init.d/postfix which is marked as a config file, so dpkg
assumes you really meant to do that and doesn't replace it when you
reinstall the package?
If so, try purging the postfix package first (so dpkg forgets all
about it) and then installing it again.
dpkg seems to be having problems, here is what the
people on IRC suggested,
all of which worked to no avail:
-Change to official repos (rather than the bitfolk ones)
There are no bitfolk repos, apt-cacher is just a caching proxy to
whichever official repo you choose to use. Having said that,
removing apt-cacher from the equation at least does rule out some
problem there.
-apt-get remove postfix, apt-get clean, apt-get
update, apt-get install
postfix (All of which worked to no avail)
None of those would allow the reinstallation of /etc/init.d/postfix
in the situation described above, so that fits.
And finally:
$ dpkg --contents /var/cache/apt/archives/postfix_2.7.0-1_i386.deb
dpkg-deb: failed to read archive
`/var/cache/apt/archives/postfix_2.7.0-1_i386.deb': No such file or
directory
Just suggests that file does not exist,,
Cheers,
Andy
--
http://bitfolk.com/ -- No-nonsense VPS hosting
<Rebekah> i like making sweeping statements. it riles blokes
<benguin> get used to sweeping