Project

General

Profile

Actions

Bug #35362

closed

Incorrect support for deb packages - some packages are missing and not pulled in correctly

Added by Sebastian Gatner over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Immediate
Assignee:
-
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Sebastian Gatner over 1 year ago

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 ~]#

Actions #2

Updated by Sebastian Gatner over 1 year ago

  • 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
Actions #3

Updated by Sebastian Gatner over 1 year ago

[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 ~]#

Actions #4

Updated by Sebastian Gatner over 1 year ago

  • Found in Releases 3.3.1, 3.4.0, 3.4.1 added
Actions #5

Updated by Ewoud Kohl van Wijngaarden over 1 year ago

  • 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)
Actions #6

Updated by Lucy Fu over 1 year ago

  • Category set to Repositories
  • Target version set to Katello 4.7.0
  • Triaged changed from No to Yes
Actions #7

Updated by Chris Roberts over 1 year ago

  • Target version changed from Katello 4.7.0 to Katello 4.8.0
Actions #8

Updated by Samir Jha over 1 year ago

  • 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.

Actions #9

Updated by Samir Jha over 1 year ago

  • Status changed from Resolved to Need more information
Actions #10

Updated by Quirin Pamp over 1 year ago

I need to have a deeper look at this, but it looks a bit like we still have this problem (or a similar one) on the pulp_deb main branch: https://github.com/pulp/pulp_deb/pull/675 (not merged)

Actions #11

Updated by Tobias Grigo over 1 year ago

New pulp_deb bugfix releases are available that should fix this issue. The fixes are available in following versions:

- pulp_deb 2.20.1
- pulp_deb 2.19.3
- pulp_deb 2.18.3

For links to the changelogs see here: https://discourse.pulpproject.org/t/pulp-deb-2-20-1-2-19-3-2-18-3-have-been-released/716

Actions #12

Updated by Chris Roberts over 1 year ago

  • Status changed from Need more information to Closed
  • Target version changed from Katello 4.7.0 to Katello Recycle Bin
Actions

Also available in: Atom PDF