Skip to content

Enable Salsa CI using default template

Otto Kekäläinen requested to merge salsa-ci into master

I noticed this package is uninstallable in Debian experimental:

Unpacking cracklib-runtime (2.10.2-0.1+b1) ...
dpkg: error processing archive /tmp/apt-dpkg-install-IFPJak/14-cracklib-runtime_2.10.2-0.1+b1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/man/man8/cracklib-check.8.gz', which is also in package libcrack2:amd64 (2.10.2-0.1+b1)

This type of error would have been automatically detected by Salsa CI (and/or deb-check-file-conflicts). Hence suggesting pacakge to adopt Salsa CI.

This MR is targeting the master branch, but a copy of it on the experimental branch fails on multiple jobs as visible in https://salsa.debian.org/debian/pkg-cracklib/-/pipelines/932142

image

They all reveal the problem and if this package had Salsa CI those problems would be detected prior to upload:

Unpacking cracklib-runtime (2.10.2-0.1+salsaci+20250908+2) ...
dpkg: error processing archive /tmp/apt-dpkg-install-Dyh8bU/12-cracklib-runtime.deb (--unpack):
 trying to overwrite '/usr/share/man/man8/cracklib-check.8.gz', which is also in package libcrack2:amd64 (2.10.2-0.1+salsaci+20250908+2)
Selecting previously unselected package python3-all.
Preparing to unpack .../13-python3-all_3.13.7-1_amd64.deb ...
Unpacking python3-all (3.13.7-1) ...
Selecting previously unselected package python3-cracklib.
Preparing to unpack .../14-python3-cracklib.deb ...
Unpacking python3-cracklib (2.10.2-0.1+salsaci+20250908+2) ...
Errors were encountered while processing:
 /tmp/apt-dpkg-install-Dyh8bU/12-cracklib-runtime.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Failed to process build dependencies
autodep8-python3     FAIL badpkg
blame: arg:/builds/debian/pkg-cracklib/debian/output/cracklib-runtime_2.10.2-0.1+salsaci+20250908+2_amd64.deb deb:cracklib-runtime arg:/builds/debian/pkg-cracklib/debian/output/libcrack2-dev_2.10.2-0.1+salsaci+20250908+2_amd64.deb deb:libcrack2-dev arg:/builds/debian/pkg-cracklib/debian/output/libcrack2_2.10.2-0.1+salsaci+20250908+2_amd64.deb deb:libcrack2 arg:/builds/debian/pkg-cracklib/debian/output/python3-cracklib_2.10.2-0.1+salsaci+20250908+2_amd64.deb deb:python3-cracklib /builds/debian/pkg-cracklib/debian/output/cracklib2_2.10.2-0.1+salsaci+20250908+2.dsc
badpkg: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.
autopkgtest [06:44:37]: @@@@@@@@@@@@@@@@@@@@ summary
autodep8-python3     FAIL badpkg
blame: arg:/builds/debian/pkg-cracklib/debian/output/cracklib-runtime_2.10.2-0.1+salsaci+20250908+2_amd64.deb deb:cracklib-runtime arg:/builds/debian/pkg-cracklib/debian/output/libcrack2-dev_2.10.2-0.1+salsaci+20250908+2_amd64.deb deb:libcrack2-dev arg:/builds/debian/pkg-cracklib/debian/output/libcrack2_2.10.2-0.1+salsaci+20250908+2_amd64.deb deb:libcrack2 arg:/builds/debian/pkg-cracklib/debian/output/python3-cracklib_2.10.2-0.1+salsaci+20250908+2_amd64.deb deb:python3-cracklib /builds/debian/pkg-cracklib/debian/output/cracklib2_2.10.2-0.1+salsaci+20250908+2.dsc
badpkg: Test dependencies are unsatisfiable. A common reason is that your testbed is out of date with respect to the archive, and you need to use a current testbed or run apt-get update or use -U.
I: test artifacts available at /builds/debian/pkg-cracklib/debian/output/debci
Processing triggers for libc-bin (2.41-12) ...
[ERROR] Missing Breaks/Replaces found
[ERROR] cracklib-runtime conflicts with libcrack2 files: {'/usr/share/man/man8/create-cracklib-dict.8.gz', '/usr/share/man/man8/cracklib-format.8.gz', '/usr/share/man/man8/cracklib-check.8.gz'}
[ERROR] Missing Breaks/Replaces found
[ERROR] libcrack2-dev conflicts with libcrack2 files: {'/usr/share/man/man3/FascistCheck.3.gz'}
[ERROR] Missing Breaks/Replaces found
[ERROR] libcrack2 conflicts with cracklib-runtime files: {'/usr/share/man/man8/create-cracklib-dict.8.gz', '/usr/share/man/man8/cracklib-format.8.gz', '/usr/share/man/man8/cracklib-check.8.gz'}
[ERROR] Missing Breaks/Replaces found
[ERROR] libcrack2 conflicts with libcrack2-dev files: {'/usr/share/man/man3/FascistCheck.3.gz'}

I am not planning to do a second MR with the same change, and for now only have this improvement suggestion targeting the master branch which is the default branch in this repository.

Edited by Otto Kekäläinen

Merge request reports

Loading