[Pulp-list] pulp_deb: how to add "Size" domain into index file "Packages"

Zhang, Xiao xiao.zhang at windriver.com
Mon Jul 5 13:49:15 UTC 2021


Hi Experts,


With pulp_deb I created a remote mirror based on a Debian repository. While it's index file "Packages" lack of "Size" domain. While based on Debian's document: https://wiki.debian.org/DebianRepository/Format#A.22Packages.22_Indices 

It defined "Size" as mandatory. So I wonder if there are any method to add this domain?

BTW: With my pulp_deb repository, `debootstrap` confused with the "Packages" file thus mis-use the "SHA256" domain as the package "Size" thus caused error.

Thanks
Xiao


Here below is piece of my Packages file:

...
Package: netbase
Version: 6.3
Architecture: all
Section: admin
Priority: important
Installed-Size: 41
Maintainer: Marco d'Itri <md at linux.it>
Description: Basic TCP/IP networking system
 This package provides the necessary infrastructure for basic TCP/IP based
 networking.
 .
 In particular, it supplies common name-to-number mappings in /etc/services,
 /etc/rpc, /etc/protocols and /etc/ethertypes.
Multi-Arch: foreign
Breaks: ebtables (<< 2.0.11-2)
Replaces: ebtables (<< 2.0.11-2)
SHA256: f444889ad3441758e3a5092418e062da2b0c6a811fdb0c262a6b70cb2518dbde
Filename: pool/all/n/netbase/netbase_6.3_all.deb




More information about the Pulp-list mailing list