Fresh installation fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
perdition (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hi,
There's a bug in the postinstall scripts in the Jammy version of Perdition which breaks new installations because "apt install perdition" fails. It's already fixed in the Kinetic version, but since Jammy is an LTS release, I think it would be good to backport the fix to Jammy.
Details:
Doing "apt install perdition":
...
Setting up perdition (2.2-3.1build3) ...
Failed to stop perdition.service: Unit perdition.service not loaded.
invoke-rc.d: initscript perdition, action "stop" failed.
dpkg: error processing package perdition (--configure):
installed perdition package post-installation script subprocess returned error exit status 5
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Errors were encountered while processing:
perdition
The postinstall script does this:
# invoke-rc.d perdition stop
Failed to stop perdition.service: Unit perdition.service not loaded.
invoke-rc.d: initscript perdition, action "stop" failed.
This has been reported in https:/
This is the fix:
perdition (2.2-3.2) unstable; urgency=medium
* Non-maintainer upload.
* Add exit code true after invoke-rc.d in the files below (Closes: #999659).
Thanks to Sergey Spiridonov.
- perdition-
- perdition-
- perdition-
- perdition-
- perdition-
- perdition-
- perdition-
- perdition-
- perdition.postinst
- perdition.preinst
- perdition.prerm
-- Marcos Talau <email address hidden> Thu, 31 Mar 2022 22:39:14 -0300
What this does is add "|| true" to a whole bunch of scripts including the postinst script which fixes the installation issue.
There's a workaround: after "apt install perdition" has failed, run "systemctl daemon-reload" and then "dpkg --configure -a" and everything is happy. Not so fun when you try to use automated installs though.
So can you please backport the the fix above to the Jammy version? Thanks!
Cheers,
Guus
Status changed to 'Confirmed' because the bug affects multiple users.