[apt-utils] Changing "Section", "Maintainer" or "Depends" (and probably some others) fields in a control file makes apt-ftparchive miss the new package in "Packages" file.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On Linux 4.2.0-30-generic #36-Ubuntu SMP Fri Feb 26 00:58:07 UTC 2016 x86_64 GNU/Linux
with apt-utils 1.0.10.2 corresponding to previously named issue "apt-ftparchive reports wrong file size and checksums in Packages"
Cf. post #2 which matches the current bug description with apt-utils 1.2.4.
Generating Packages with (apt-ftparchive
apt-ftparchive generate --contents=off ./apt-ftparchiv
Generated Packages contains:
#######
Package: nemo
...
Installed-Size: 9508
...
Version: 2.8.6-11
...
Filename: dists/wily/
Size: 1392338
MD5sum: de162d539df2840
SHA1: fb5ebacfc032071
SHA256: d0c52eb9bd8224e
SHA512: e1cc7eb9865c9f3
#######
However, on disk, we have very different file size & checksums:
ll nemo*
-rw-r--r-- 1 actionmystique actionmystique 1082324 Feb 27 15:01 nemo_2.
md5sum nemo_2.
68d5c945d9ccd9d
If we generate Packages differently with:
apt-ftparchive packages . > Packages
Generated Packages contains this time correct file size & checksums:
#######
Package: nemo
...
Installed-Size: 5284
...
Version: 2.8.6-11
...
Filename: ./nemo_
Size: 1082324
MD5sum: 68d5c945d9ccd9d
SHA1: eecee7a24c20843
SHA256: 83451ab9c9975dc
SHA512: ce715c1d480607e
#######
What is very strange is that all other packages in the same folder are correctly described by Packages when using the first method for generating Packages.
I have the same issue with another package in another folder.
I have also uploaded the deb.
Any suggestion?
N.B: I can upload the second package if necessary.
summary: |
- [apt-utils] apt-ftparchive reports wrong file size and checksums in - Packages + [apt-utils] apt-ftparchive misses some packages in Packages |
summary: |
- [apt-utils] apt-ftparchive misses some packages in Packages + [apt-utils] Some packages are missing in Packages built by apt- + ftparchive |
With apt-utils 1.2.4, the behavior has changed: 5 packages are not even listed in Packages anymore, including nemo_2. 8.6-11_ amd64.deb package:
Here, 24 packages are located in the folder:
Ubuntu/ dists/wily/ system- tools/binary- amd64# ll *.deb 1.2.4_all. deb https_1. 2.4_amd64. deb 1.2.4_amd64. deb 9.2-11_ amd64.deb 0-11_amd64. deb 3-11_amd64. deb 2-11_amd64. deb 0.24.0- 11_amd64. deb 0.25.0- 11_amd64. deb inst2.0_ 1.2.4_amd64. deb pkg5.0_ 1.2.4_amd64. deb pkg-dev_ 1.2.4_amd64. deb pkg-doc_ 1.2.4_all. deb 0.1-0_0. 1.16-11_ amd64.deb 0.3-0_0. 3.4-11_ amd64.deb 8.6-11_ amd64.deb _2.8.1- 11_amd64. deb 0.7.0-11_ amd64.deb wifi-drivers_ 4.2.6-10_ amd64.deb wifi-drivers_ 4.2-rc1- 10_amd64. deb 3.0.4-10_ amd64.deb 3.0.7-10_ amd64.deb 2-10_amd64. deb
-rw-r--r-- 1 root root 1116256 Mar 5 12:19 apt_1.2.4_amd64.deb
-rw-r--r-- 1 root root 342418 Mar 5 12:19 apt-doc_
-rw-r--r-- 1 root root 151352 Mar 5 12:19 apt-transport-
-rw-r--r-- 1 root root 387240 Mar 5 12:19 apt-utils_
-rw-r--r-- 1 actionmystique actionmystique 12244162 Feb 28 16:02 gimp_2.
-rw-rw-r-- 1 actionmystique actionmystique 3663042 Feb 23 11:21 git_2.6.
-rw-rw-r-- 1 actionmystique actionmystique 3647806 Feb 23 11:21 git_2.6.
-rw-r--r-- 1 actionmystique actionmystique 3684722 Feb 28 12:03 git_2.7.
-rw-rw-r-- 1 actionmystique actionmystique 1646294 Feb 23 11:21 gparted_
-rw-rw-r-- 1 actionmystique actionmystique 1653508 Feb 28 15:32 gparted_
-rw-r--r-- 1 root root 180902 Mar 5 12:19 libapt-
-rw-r--r-- 1 root root 813750 Mar 5 12:19 libapt-
-rw-r--r-- 1 root root 221594 Mar 5 12:19 libapt-
-rw-r--r-- 1 root root 994680 Mar 5 12:20 libapt-
-rw-r--r-- 1 actionmystique actionmystique 408538 Feb 28 14:21 libbabl-
-rw-r--r-- 1 actionmystique actionmystique 21538808 Feb 28 14:00 libgegl-
-rw-r--r-- 1 actionmystique actionmystique 1072388 Mar 5 12:46 nemo_2.
-rw-rw-r-- 1 actionmystique actionmystique 25388 Feb 23 11:21 nemo-fileroller
-rw-r--r-- 1 actionmystique actionmystique 129268 Feb 23 11:21 nemo-gtkhash_
-rw-r--r-- 1 actionmystique actionmystique 779684 Mar 2 11:45 realtek-
-rw-rw-r-- 1 actionmystique actionmystique 781530 Feb 23 11:21 realtek-
-rw-rw-r-- 1 actionmystique actionmystique 533770 Feb 23 11:21 redis-server_
-rw-r--r-- 1 actionmystique actionmystique 538628 Feb 23 11:21 redis-server_
-rw-rw-r-- 1 actionmystique actionmystique 1071418 Feb 23 11:21 xca_1.3.
Only 19 packages are described in Packages (cf. attached file).
I have also uploaded the config file I use for apt-ftparchive.
I can't find what the 5 missing packages have in common to explain this issue.