[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#748936: marked as done (apt doesnt understand architecture wildcards)



Your message dated Tue, 17 Jan 2017 15:03:32 +0000
with message-id <E1cTVIK-000E5A-Mj@fasolo.debian.org>
and subject line Bug#748936: fixed in apt 1.4~beta4
has caused the Debian Bug report #748936,
regarding apt doesnt understand architecture wildcards
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
748936: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748936
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 1.0.1
Severity: normal

Hi,

Debian policy 11.1.1 [1] and the associated footnote [2] allow
architecture wildcards of the form os-any and any-cpu. Apt seems to
equal "cpu" with "debian architecture" which is not correct. Here is an
example of correct matching:

dpkg-architecture -aarmhf -iany-arm && echo "any-arm matches armhf"

Apt would instead only match the deprecated "arm" architecture with
"any-arm". This doesnt seem to be a problem in practice though because:

 1) apt does not check whether a source package can be compiled on the
    current host architecture (it ignores the Architecture field of
    source packages)
 2) all packages that have any-arm in their build dependency
    architecture restrictions also include any-armel, any-armeb and
    any-armhf

Nevertheless, apt behaviour should reflect dpkg behaviour and naturally
policy. The correct behaviour is encoded in dpkg scripts/Dpkg/Arch.pm
and needs the files /usr/share/dpkg/triplettable and
/usr/share/dpkg/cputable to work correctly.

cheers, josch


[1] https://www.debian.org/doc/debian-policy/ch-customized-programs.html#s-arch-wildcard-spec
[2] https://www.debian.org/doc/debian-policy/footnotes.html#f99

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 1.4~beta4

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 748936@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 17 Jan 2017 15:18:27 +0100
Source: apt
Binary: apt libapt-pkg5.0 libapt-inst2.0 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source
Version: 1.4~beta4
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Description:
 apt        - commandline package manager
 apt-doc    - documentation for APT
 apt-transport-https - https download transport for APT
 apt-utils  - package management related utility programs
 libapt-inst2.0 - deb package format runtime library
 libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - documentation for APT development
 libapt-pkg5.0 - package management runtime library
Closes: 748936
Changes:
 apt (1.4~beta4) unstable; urgency=medium
 .
   * Read dpkg tables to handle architecture wildcards.
     Thanks to James Clarke <jrtc27@jrtc27.com> for the initial patch
     (Closes: #748936)
   * https: Quote path in URL before passing it to curl (LP: #1651923)
   * Update symbols file for changes in 1.3.1, 1.4~beta{1,3,4}
Checksums-Sha1:
 1c89e86ec7fc40adf51d5a4d6bcbb62449f21f32 2565 apt_1.4~beta4.dsc
 80df1519538cf5b079b226818c58392f9abb69da 2063072 apt_1.4~beta4.tar.xz
Checksums-Sha256:
 9cedf41d3890e725c9ce9e2a45daa1044c01befb0a090543d1833334341a59ef 2565 apt_1.4~beta4.dsc
 3eb8119282ca9e50d4c9bc8b8ad2a3863b83edf9313c4155fa4ff8a3a2ea2d8b 2063072 apt_1.4~beta4.tar.xz
Files:
 998e41854325d5c7c89c5ef678c33922 2565 admin important apt_1.4~beta4.dsc
 1ae960eb5c6f2f09821c2eb9e65da421 2063072 admin important apt_1.4~beta4.tar.xz

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEzeVhi4gF/W4gLOnC1zw55WWAs4YFAlh+KKwPHGpha0BkZWJp
YW4ub3JnAAoJENc8OeVlgLOGZNoP/RLAPhkJuwEbia+Kwp0ApIX1rpJVdSk/RUq/
ASCU45nFfG8zJbzKOyf+Bux0OEmvEmR84ItuaJsaRGxioBR2cHmqRF0JwhI67dC/
PbuLLSUqAAJo5sN3ka88GrCe65hLDxNuarbvC5xW347VSQ1b+PxS0d5fEuOPXqi+
407gBNP+hZPqfT99CMHGpQV0BvhnfCE/m+8cNgupx4/FXHWVvgaOpyghRrRvOJ15
XlJ/hJDA2XoH7D6KJSY5Op+nO10dUHVemzDRaoMuHFAbWcrazfhW6Bb7Xvw2zV+U
5jdqv4vLUcVZNkhAzP1LjsnhYudB1LaXRwH0PZr61Btl5VSqzvkwOHDOai2m0nHc
rwPTioQKgDfJISAwMOl/gs8xsRVQ8gHR+CiKOWucor16WcmP42uVax0OAWde02QG
mYAQkX8LW9uyvgIQJS8++yGo3tho5MlUhJ9PEKGrUkr1ByCk11ML3xjOYPa2d/Rt
uVLd0YW6W65Cw79ibYGsDkLlhrEgiplioCQJJPTp3IEoCQsgOo8ODDcGv1gmCrEe
8AtumSxeXncTOuInFphYl51PuWRW4N7Nf4YiYRCHFtjCp9iFT151YfozUgYyOz0C
lttomaGPkwvp+wYP0z+MGjdNqaJskp9VxTtst19nTlLjRj+oT8g/ibZGRSkTbJ12
0xK8o98J
=zbVu
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: