[SRU] package chibi-scheme-images 0.9.1-3 failed to install in Noble

Bug #2009694 reported by ATTAFI Khereddine
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chibi-scheme (Debian)
New
Unknown
chibi-scheme (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned
Mantic
Fix Released
Undecided
Unassigned

Bug Description

[ Impact ]

The package chibi-scheme-images can not be installed as the postinst script depends on chibi-scheme which is not installed.

It will fail with the error:

Preparing to unpack .../chibi-scheme-images_0.9.1-3_all.deb ...
Unpacking chibi-scheme-images (0.9.1-3) ...
Setting up chibi-scheme-images (0.9.1-3) ...
/var/lib/dpkg/info/chibi-scheme-images.postinst: 26: chibi-scheme: not found
dpkg: error processing package chibi-scheme-images (--configure):
 installed chibi-scheme-images package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
 chibi-scheme-images
E: Sub-process /usr/bin/dpkg returned an error code (1)

[ Test Plan ]

1. sudo apt-get install chibi-scheme-images

If the package is not fixed, it will fail to install.

[ Where problems could occur ]

There is no change in the code and is only adding a runtime dependency in debian/control so there are very little chances of any regression due to this.

[ Original Bug Description ]

Hello
There is a message that the system crashes.
Just a message was sent to you.
Best regards

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: chibi-scheme-images 0.9.1-3
ProcVersionSignature: Ubuntu 5.19.0-35.36~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-35-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: pass
Date: Wed Mar 8 11:40:59 2023
ErrorMessage: installed chibi-scheme-images package post-installation script subprocess returned error exit status 127
InstallationDate: Installed on 2023-03-07 (0 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
PackageArchitecture: all
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.8
SourcePackage: chibi-scheme
Title: package chibi-scheme-images 0.9.1-3 failed to install/upgrade: installed chibi-scheme-images package post-installation script subprocess returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
ATTAFI Khereddine (khairo1963) wrote :
Changed in chibi-scheme (Debian):
status: Unknown → New
Changed in chibi-scheme (Ubuntu):
status: New → Confirmed
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

I can confirm that the issue can be seen in Jammy, Mantic and Noble.

description: updated
summary: - package chibi-scheme-images 0.9.1-3 failed to install/upgrade: installed
- chibi-scheme-images package post-installation script subprocess returned
- error exit status 127
+ [SRU] package chibi-scheme-images 0.9.1-3 failed to install in Noble
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff attached for Jammy.

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

debdiff for Mantic.

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

Debdiff for Noble.

Revision history for this message
Paride Legovini (paride) wrote :

Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981762

The proposed fix almost matches what has been sitting in salsa for 3 years (never uploaded):

https://salsa.debian.org/scheme-team/chibi-scheme/-/commit/2f0031a411cb6de4b2ff50163b72ba6a9559468e

This fix adds a dependency on

   chibi-scheme (= ${binary:Version})

which I think is more correct (we care about binary versions). If you agree please adopt that fix, ideally by picking exactly the Debian diff is possible, as it will be easier to drop this way.

tags: added: mantic noble
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

Sure, debdiff updated.

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

updated debdiff for Mantic.

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

Updated debdiff for Jammy.

Revision history for this message
Dave Jones (waveform) wrote :

Looks good; adding targets for jammy and mantic, and sponsoring.

Revision history for this message
Dave Jones (waveform) wrote :

Noble version sponsored; mantic and jammy versions may need adjustment as they build with the following lintian error:

E: not-binnmuable-all-depends-any
N:
N: The package is not safely binNMUable because an arch:all package depends on an arch:any package
N: with a strict (= ${source:Version}), or similar, relationship.
N:
N: It is not possible for arch:all packages to depend so strictly on arch:any packages while having
N: the package binNMUable, so please use one of these, whichever is more appropriate:
N:
N: Depends: arch_any (>= ${source:Version})
N: Depends: arch_any (>= ${source:Version}),
N: arch_any (<< ${source:Version}.1~)
N:
N: Visibility: error
N: Show-Always: no
N: Check: debian/version-substvars
N:

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

Thanks Dave. My initial debdiff was using chibi-scheme (>= ${source:Version}) and after Paride asked to change I was trying to remember why I used (>= ${source:Version}). Now I know. I will adjust the debdiff for SRU accordingly.

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

Updated debdiff for Jammy and Mantic. Now it depends on "chibi-scheme (>= ${source:Version})" due to the Lintian error.

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :
Changed in chibi-scheme (Ubuntu Jammy):
status: New → Confirmed
Changed in chibi-scheme (Ubuntu Mantic):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package chibi-scheme - 0.9.1-3ubuntu1

---------------
chibi-scheme (0.9.1-3ubuntu1) noble; urgency=medium

  * d/control: Add runtime dependency to fix install failure. (LP: #2009694)

 -- Sudip Mukherjee <email address hidden> Fri, 05 Apr 2024 23:09:07 +0100

Changed in chibi-scheme (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Lena Voytek (lvoytek) wrote :

The changes for mantic and jammy look good to me. I verified with the ppa here - https://launchpad.net/~lvoytek/+archive/ubuntu/chibi-scheme-fix-runtime

armhf is ftbfs, but that was already the case so it should be fine. Sponsoring both uploads.

Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello ATTAFI, or anyone else affected,

Accepted chibi-scheme into mantic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/chibi-scheme/0.9.1-3ubuntu0.23.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-mantic to verification-done-mantic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-mantic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in chibi-scheme (Ubuntu Mantic):
status: Confirmed → Fix Committed
tags: added: verification-needed verification-needed-mantic
Changed in chibi-scheme (Ubuntu Jammy):
status: Confirmed → Fix Committed
tags: added: verification-needed-jammy
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello ATTAFI, or anyone else affected,

Accepted chibi-scheme into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/chibi-scheme/0.9.1-3ubuntu0.22.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

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

I can confirm that chibi-scheme-images from mantic-proposed has fixed the bug for me.

Test done:

install chibi-scheme-images in a mantic system
confirm that the issue is seen and the installation fails.

Add mantic-proposed to apt sources
install chibi-scheme-images from mantic-proposed and confirm that its properly without error

Test result: the issue with chibi-scheme-images has been fixed.

Package tested:

$ apt-cache policy chibi-scheme-images
chibi-scheme-images:
  Installed: 0.9.1-3ubuntu0.23.10.1
  Candidate: 0.9.1-3ubuntu0.23.10.1
  Version table:
 *** 0.9.1-3ubuntu0.23.10.1 100
        100 http://us.archive.ubuntu.com/ubuntu mantic-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status
     0.9.1-3 500
        500 http://us.archive.ubuntu.com/ubuntu mantic/universe amd64 Packages

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

I can confirm that chibi-scheme-images from jammy-proposed has fixed the bug for me.

Test done:

install chibi-scheme-images in a jammy system
confirm that the issue is seen and the installation fails.

Add jammy-proposed to apt sources
install chibi-scheme-images from jammy-proposed and confirm that install properly without error

Test result: the issue with chibi-scheme-images has been fixed.

Package tested:

$ apt-cache policy chibi-scheme-images
chibi-scheme-images:
  Installed: 0.9.1-3ubuntu0.22.04.1
  Candidate: 0.9.1-3ubuntu0.22.04.1
  Version table:
 *** 0.9.1-3ubuntu0.22.04.1 500
        500 http://gb.archive.ubuntu.com/ubuntu jammy-proposed/universe amd64 Packages
        500 http://gb.archive.ubuntu.com/ubuntu jammy-proposed/universe i386 Packages
        100 /var/lib/dpkg/status
     0.9.1-3 500
        500 http://gb.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
        500 http://gb.archive.ubuntu.com/ubuntu jammy/universe i386 Packages

tags: added: verification-done verification-done-jammy verification-done-mantic
removed: verification-needed verification-needed-jammy verification-needed-mantic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package chibi-scheme - 0.9.1-3ubuntu0.22.04.1

---------------
chibi-scheme (0.9.1-3ubuntu0.22.04.1) jammy; urgency=medium

  * d/control: Add runtime dependency to fix install failure. (LP: #2009694)

 -- Sudip Mukherjee <email address hidden> Mon, 15 Apr 2024 19:05:14 +0100

Changed in chibi-scheme (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for chibi-scheme has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package chibi-scheme - 0.9.1-3ubuntu0.23.10.1

---------------
chibi-scheme (0.9.1-3ubuntu0.23.10.1) mantic; urgency=medium

  * d/control: Add runtime dependency to fix install failure. (LP: #2009694)

 -- Sudip Mukherjee <email address hidden> Mon, 15 Apr 2024 19:12:00 +0100

Changed in chibi-scheme (Ubuntu Mantic):
status: Fix Committed → Fix Released
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.