PowerMTA 5.0r8 install error

akjessam

Newbie
Joined
Feb 16, 2025
Messages
8
Reaction score
0
I can't find a solution to this error. Below is detailed output

1) root@server:~# sudo dpkg -i PowerMTA-5.0r8.deb
(Reading database ... 101382 files and directories currently installed.)
Preparing to unpack PowerMTA-5.0r8.deb ...
Unpacking powermta (5.0r8-202104262142) ...
dpkg: error processing archive PowerMTA-5.0r8.deb (--install): corrupted filesystem tarfile in package archive: invalid tar header size field (Invalid argument)
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing: PowerMTA-5.0r8.deb

2) root@server:~# ar t PowerMTA-5.0r8.deb
debian-binary
control.tar.gz
data.tar.gz

3) root@server:~# ar x PowerMTA-5.0r8.deb
ar: PowerMTA-5.0r8.deb is not a valid archive

While the one who sent me these files was able to install on the same VPS. Did he sent me corrupt files or is there something wrong/missing which can be corrected.
 
I can't find a solution to this error. Below is detailed output

1) root@server:~# sudo dpkg -i PowerMTA-5.0r8.deb
(Reading database ... 101382 files and directories currently installed.)
Preparing to unpack PowerMTA-5.0r8.deb ...
Unpacking powermta (5.0r8-202104262142) ...
dpkg: error processing archive PowerMTA-5.0r8.deb (--install): corrupted filesystem tarfile in package archive: invalid tar header size field (Invalid argument)
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing: PowerMTA-5.0r8.deb

2) root@server:~# ar t PowerMTA-5.0r8.deb
debian-binary
control.tar.gz
data.tar.gz

3) root@server:~# ar x PowerMTA-5.0r8.deb
ar: PowerMTA-5.0r8.deb is not a valid archive

While the one who sent me these files was able to install on the same VPS. Did he sent me corrupt files or is there something wrong/missing which can be corrected.
i think your deb file is corrupted could be a transfer issue try redownloading it with wget or scp and check integrity with md5sum also make sure your vps isn’t running out of disk space sometimes that messes things up if that’s not it try extracting it manually with ar x to see if it’s completely broken
 
Thank you so much. This is so frustrating. I followed YT tutorials of adding file directly via window SFTP Bitwise and did exactly same but it was failing till 8 days. Now, today
I tried SCP and voila worked. Wasted a week just for this stupid issue. Thank you once again I would not have done without you.
 
i think your deb file is corrupted could be a transfer issue try redownloading it with wget or scp and check integrity with md5sum also make sure your vps isn’t running out of disk space sometimes that messes things up if that’s not it try extracting it manually with ar x to see if it’s completely broken
PowerMTA was installed and then I uploaded Config and License and changed all configs. After that, uploaded pmtad and pmtahttpd to /user/sbin but after starting pmta this error came.

Process: 816 ExecStart=/usr/sbin/pmtawatch --start pmtad (code=exited, status=2)

A start job for unit pmta.service has begun execution.
░░
░░ The job identifier is 366.
Fatal exception (RuntimeException):
error executing, status = EACCES
pmta.service: Control process exited, code=exited, >
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit pmta.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 2.
pmta.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit pmta.service has entered the 'failed' state with result 'exit-code'.
 
PowerMTA was installed and then I uploaded Config and License and changed all configs. After that, uploaded pmtad and pmtahttpd to /user/sbin but after starting pmta this error came.

Process: 816 ExecStart=/usr/sbin/pmtawatch --start pmtad (code=exited, status=2)

A start job for unit pmta.service has begun execution.
░░
░░ The job identifier is 366.
Fatal exception (RuntimeException):
error executing, status = EACCES
pmta.service: Control process exited, code=exited, >
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit pmta.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 2.
pmta.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit pmta.service has entered the 'failed' state with result 'exit-code'.
Hello, can you please share PMTA 5.0r8? Thank you very much.
 
Back
Top