[SRU] package quickml 0.7-5.1 failed to install/upgrade: installed quickml package post-installation script subprocess returned error exit status 1

Bug #1921914 reported by Steven Jones
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
quickml (Debian)
New
Unknown
quickml (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

[ Impact ]

quickml is completely unusable as it will even fail to install when attempted.

The errors seen are:

Setting up quickml (0.8-1) ...
Job for quickml.service failed because the control process exited with error code.
See "systemctl status quickml.service" and "journalctl -xeu quickml.service" for details.
invoke-rc.d: initscript quickml, action "start" failed.
× quickml.service
     Loaded: loaded (/etc/init.d/quickml; generated)
     Active: failed (Result: exit-code) since Mon 2024-04-29 20:37:00 BST; 7ms ago
       Docs: man:systemd-sysv-generator(8)
    Process: 2929 ExecStart=/etc/init.d/quickml start (code=exited, status=1/FAILURE)
        CPU: 87ms

Apr 29 20:37:00 noble quickml[2935]: from /usr/lib/ruby/vendor_ruby/quickml/server.rb:16:in `<top (required)>'
Apr 29 20:37:00 noble quickml[2935]: from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
Apr 29 20:37:00 noble quickml[2935]: from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
Apr 29 20:37:00 noble quickml[2935]: from /usr/lib/ruby/vendor_ruby/quickml.rb:7:in `<top (required)>'
Apr 29 20:37:00 noble quickml[2935]: from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
Apr 29 20:37:00 noble quickml[2935]: from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
Apr 29 20:37:00 noble quickml[2935]: from /usr/sbin/quickml:15:in `<main>'
Apr 29 20:37:00 noble systemd[1]: quickml.service: Control process exited, code=exited, status=1/FAILURE
Apr 29 20:37:00 noble systemd[1]: quickml.service: Failed with result 'exit-code'.
Apr 29 20:37:00 noble systemd[1]: Failed to start quickml.service.
dpkg: error processing package quickml (--configure):
 installed quickml package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 quickml
E: Sub-process /usr/bin/dpkg returned an error code (1)

[ Test Plan ]

1. install quickml.
2. check if installed successfully
3. As a quick verification check:
systemctl status quickml.service

[ Where problems could occur ]

There is no change in code and it only fixes a runtime dependency and places an empty config file which quickml tries to read at startup. So, there is very minimum chance of any regression.

[ Other Info ]

This will fix the quickml installation and the service will start. But for a proper functioning of quickml, the user will need to add the smtp_host (which should be same as domain) in the /etc/mailname.

[ Original Bug Description ]

While installing.

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: quickml 0.7-5.1
ProcVersionSignature: Ubuntu 5.8.0-48.54~20.04.1-generic 5.8.18
Uname: Linux 5.8.0-48-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.16
Architecture: amd64
CasperMD5CheckResult: skip
Date: Tue Mar 30 08:57:21 2021
ErrorMessage: installed quickml package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2021-03-29 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitecture: all
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.4
SourcePackage: quickml
Title: package quickml 0.7-5.1 failed to install/upgrade: installed quickml package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Steven Jones (shj082556) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

I can reproduce the problem in Noble also.

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

This is reproducible on Focal, Jammy, Mantic and Noble.

Changed in quickml (Ubuntu):
status: New → Confirmed
tags: added: jammy mantic noble
Changed in quickml (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Sudip Mukherjee (sudipmuk)
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff attached for Noble.

Changed in quickml (Ubuntu):
status: In Progress → Confirmed
assignee: Sudip Mukherjee (sudipmuk) → nobody
Changed in quickml (Debian):
status: Unknown → New
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

Debdiff attached for oracular.

summary: - package quickml 0.7-5.1 failed to install/upgrade: installed quickml
- package post-installation script subprocess returned error exit status 1
+ [SRU] package quickml 0.7-5.1 failed to install/upgrade: installed
+ quickml package post-installation script subprocess returned error exit
+ status 1
description: updated
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

Modified debdiff for Noble.

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff for Mantic

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff for Jammy

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff for Focal

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.