Bug #35362
closed
Incorrect support for deb packages - some packages are missing and not pulled in correctly
Added by Sebastian Gatner about 2 years ago.
Updated almost 2 years ago.
Description
Incorrect support of deb packages - some packages are missing while mirroring repositories and not pulled in correctly, those packages which handled incorectly are missing correct names.
You can test it with package:
http://ftp.de.debian.org/debian/pool/main/f/fontconfig/fontconfig-config_2.13.1-4.2_all.deb
[root@foreman ~]# hammer deb-package list --repository-id 17
-------|-----------------------------------------------------------
ID | FILENAME
-------|-----------------------------------------------------------
617878 |
26548 | pool/main/f/fontconfig/libfontconfig1_2.13.1-4.2_amd64.deb
-------|-----------------------------------------------------------
[root@foreman ~]# hammer deb-package list --ids 617878
-------|---------
ID | FILENAME
-------|---------
617878 |
-------|---------
It's not working both while syncing repositories and manually uploading file via web interface or hammer.
Problem seems to exists only for packages of Debian 11 (and maybe higher, not tested yet). For Debian 10 packages and lower versions there's no problems detected.
[root@foreman ~]# hammer deb-package info --id 617878
Id: 617878
Pulp ID: /pulp/api/v3/content/deb/packages/e6ebf6df-9903-42d0-8046-005ddb25b7ef/
Uuid: /pulp/api/v3/content/deb/packages/e6ebf6df-9903-42d0-8046-005ddb25b7ef/
Name:
Version:
checksum:
Nav: :=
Nva: __
Filename:
Available Host Count: 0
Applicable Host Count: 0
Description:
[root@foreman ~]#
- Subject changed from Incorrect support of deb packages - some packages are missing and not pulled in correctly to Incorrect support for deb packages - some packages are missing and not pulled in correctly
- Priority changed from High to Immediate
[root@foreman ~]# rpm -qa | grep -i chardet
python3-chardet-3.0.4-7.el8.noarch
python39-cchardet-2.1.7-4.el8.x86_64
python39-chardet-4.0.0-2.el8.noarch
[root@foreman ~]# rpm -qa | grep -i deb
elfutils-debuginfod-client-0.186-1.el8.x86_64
foreman-debug-3.3.0-1.el8.noarch
python39-pulp-deb-2.18.0-3.el8.noarch
python39-debian-0.1.43-2.el8.noarch
katello-debug-4.5.0-1.el8.noarch
rubygem-pulp_deb_client-2.18.0-1.el8.noarch
[root@foreman ~]# rpm -qa | grep -i foreman-installer
foreman-installer-katello-3.3.0-1.el8.noarch
foreman-installer-3.3.0-1.el8.noarch
[root@foreman ~]#
- Found in Releases 3.3.1, 3.4.0, 3.4.1 added
- Project changed from Foreman to Katello
- Found in Releases Katello 4.4.1, Katello 4.5.1 added
- Found in Releases deleted (
3.3.0, 3.3.1, 3.4.0, 3.4.1)
- Category set to Repositories
- Target version set to Katello 4.7.0
- Triaged changed from No to Yes
- Target version changed from Katello 4.7.0 to Katello 4.8.0
- Status changed from New to Resolved
- Target version changed from Katello 4.8.0 to Katello 4.7.0
[vagrant@centos7-hammer-devel ~]$ hammer deb-package list
---|-------------------------------------------------------
ID | FILENAME
---|-------------------------------------------------------
1 | pool/f/fontconfig/fontconfig-config_2.13.1-4.2_all.deb
---|-------------------------------------------------------
[vagrant@centos7-hammer-devel ~]$ hammer deb-package info --id 1
Id: 1
Pulp ID: /pulp/api/v3/content/deb/packages/bcb1f8f0-74c9-400e-be79-99b7ff237dc9/
Uuid: /pulp/api/v3/content/deb/packages/bcb1f8f0-74c9-400e-be79-99b7ff237dc9/
Name: fontconfig-config
Version: 2.13.1-4.2
checksum: 48afb6ad7d15e6104a343b789f73697301ad8bff77b69927bc998f5a409d8e90
Nav: fontconfig-config:all=2.13.1-4.2
Nva: fontconfig-config_2.13.1-4.2_all
Filename: pool/f/fontconfig/fontconfig-config_2.13.1-4.2_all.deb
Available Host Count: 0
Applicable Host Count: 0
Description: generic font configuration library - configuration
Fontconfig is a font configuration and customization library, which
does not depend on the X Window System. It is designed to locate
fonts within the system and select them according to requirements...
This seems to have been fixed in pulp_deb on version python39-pulp-deb-2.20.0-1.el8.noarch which is being shipped with 4.7. I'd reccommend checking with pulp_deb on plans to backport the fix and we can look at packaging the fixed version for this. https://github.com/pulp/pulp_deb/issues
Please feel free to mark this as resolved or leave a comment with your thoughts and next steps.
- Status changed from Resolved to Need more information
- Status changed from Need more information to Closed
- Target version changed from Katello 4.7.0 to Katello Recycle Bin
Also available in: Atom
PDF