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

Bug#841874: marked as done ([regression] this warning was accidentally removed: W: Conflicting distribution: http://archive.example.org suite InRelease (expected suite but got codename))



Your message dated Sat, 26 Nov 2016 00:03:23 +0000
with message-id <E1cAQSh-000Bfz-Nu@fasolo.debian.org>
and subject line Bug#841874: fixed in apt 1.4~beta1
has caused the Debian Bug report #841874,
regarding [regression] this warning was accidentally removed: W: Conflicting distribution: http://archive.example.org suite InRelease (expected suite but got codename)
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.)


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

With jessie, I get a warning whenever the Release file Suite/Codename
do not match the sources.list but this warning was accidentally removed
in Debian stretch. The bug exists because the code was re-organised and
 pkgAcqMetaBase::VerifyVendor calls metaIndex::GetExpectedDist() to get
the expected suite/code name but this function just returns an empty
string but the check for the issue relies on it returning something.

I would like to see this fixed before the stretch release because I
rely on it to detect problems in the sources.list files and Release
files for the derivatives present in the Debian derivatives census.

https://sources.debian.net/src/apt/1.3.1/apt-pkg/acquire-item.cc/?hl=1639#L1629
https://sources.debian.net/src/apt/1.3.1/apt-pkg/acquire-item.cc/?hl=1570#L1568
https://sources.debian.net/src/apt/1.3.1/apt-pkg/metaindex.cc/?hl=69#L66

pabs@lw08:~$ chdist apt-get ubuntu update
Get:1 http://archive.ubuntu.com devel InRelease [247 kB]
Get:2 http://archive.ubuntu.com devel/main amd64 Packages [1,224 kB]
Get:3 http://archive.ubuntu.com devel/main Translation-en_AU [420 kB]
Get:4 http://archive.ubuntu.com devel/main Translation-en [583 kB]
Fetched 2,473 kB in 0s (2,809 kB/s)                     
Reading package lists... Done
W: Conflicting distribution: http://archive.ubuntu.com devel InRelease (expected devel but got zesty)
pabs@lw08:~$ cat .chdist/ubuntu/etc/apt/sources.list
# Current development release (zesty)
deb [arch=amd64] http://archive.ubuntu.com/ubuntu devel main
pabs@lw08:~$ egrep Suite\|Codename .chdist/ubuntu/var/lib/apt/lists/*Release
Suite: zesty
Codename: zesty
pabs@lw08:~$ apt-cache --version
apt 1.0.9.8.3 for amd64 compiled on Mar 12 2016 13:31:17


pabs@chianamo ~ $ cat .chdist/ubuntu/etc/apt/sources.list
deb [arch=amd64] http://archive.ubuntu.com/ubuntu devel main
pabs@chianamo ~ $ chdist apt ubuntu update
Hit:1 http://archive.ubuntu.com/ubuntu devel InRelease
Reading package lists... Done
Building dependency tree... Done
All packages are up to date.
pabs@chianamo ~ $ chdist apt ubuntu -q -o Debug::pkgAcquire::Auth=true update
201 URI Done: http://archive.ubuntu.com/ubuntu/dists/devel/InRelease
ReceivedHash:
ExpectedHash:

Hit:1 http://archive.ubuntu.com/ubuntu devel InRelease
201 URI Done: http://archive.ubuntu.com/ubuntu/dists/devel/InRelease
ReceivedHash:
ExpectedHash:

Signature verification succeeded: /home/pabs/.chdist/ubuntu/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_devel_InRelease
Got Codename: zesty
Expecting Dist: 
Transformed Dist: 
Reading package lists...
Building dependency tree...
All packages are up to date.
pabs@chianamo ~ $ egrep Suite\|Codename .chdist/ubuntu/var/lib/apt/lists/*Release
Suite: zesty
Codename: zesty
pabs@chianamo ~ $ apt-cache --version
apt 1.3.1 (amd64)

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apt depends on:
ii  adduser                 3.115
ii  debian-archive-keyring  2014.3
ii  gpgv                    2.1.15-4
ii  init-system-helpers     1.45
ii  libapt-pkg5.0           1.3.1
ii  libc6                   2.24-3
ii  libgcc1                 1:6.2.0-6
ii  libstdc++6              6.2.0-6

Versions of packages apt recommends:
ii  gnupg   2.1.15-4
ii  gnupg1  1.4.21-1+b1
ii  gnupg2  2.1.15-4

Versions of packages apt suggests:
pn  apt-doc         <none>
ii  aptitude        0.8.3-1+b1
ii  dpkg-dev        1.18.10
ii  powermgmt-base  1.31+nmu1
ii  python-apt      1.1.0~beta5

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


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

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 841874@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: Fri, 25 Nov 2016 23:49:54 +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~beta1
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: 272557 465572 644610 767891 837395 838779 840552 840757 841763 841874 842877 844724 845599
Changes:
 apt (1.4~beta1) unstable; urgency=medium
 .
   [ Chris Leick ]
   * Updated German documentation translation
   * fix three typos in sources & manpages
   * German translation proof read by Helge Kreutzmann
 .
   [ Frans Spiesschaert ]
   * Dutch program translation update (Closes: #840552)
   * Dutch manpages translation update (Closes: #840757)
 .
   [ David Kalnischkies ]
   * don't install new deps of candidates for kept back pkgs
   * keep Release.gpg on untrusted to trusted IMS-Hit (Closes: 838779)
   * fix testcase expecting incorrect remove log from dpkg
   * reset HOME, USER(NAME), TMPDIR & SHELL in DropPrivileges (Closes: 842877)
   * show the conflicting distribution warning again (Closes: 841874)
   * rename Checksum-FileSize to Filesize in hashsum mismatch
   * improve SOCKS error messages for http slightly
   * support 'apt build-dep .' (aka: without /)
   * add TMP/TEMP/TEMPDIR to the TMPDIR DropPrivileges dance
   * http: skip connection cleanup if we close it anyhow
   * add hidden config to set packages as Essential/Important.
     Thanks to Anthony Towns for initial patch (Closes: 767891)
   * don't warn if untransformed distribution matches.
     Thanks to Lukas Anzinger for initial patch (Closes: 644610)
   * show distribution mismatch for changed codenames
   * react to trig-pend only if we have nothing else to do
   * correct cross & disappear progress detection
   * improve arch-unqualified dpkg-progress parsing
   * don't perform implicit crossgrades involving M-A:same
   * do not configure unconfigured to be removed packages
   * skip unconfigure for unconfigured to-be removed pkgs
   * report apt-key errors via status-fd messages (LP: #1522988)
   * add apt-key support for armored GPG key files (*.asc)
   * document which keyring formats are supported by apt-key (Closes: 844724)
   * get pdiff files from the same mirror as the index
   * follow the googletest merge in build-depends
 .
   [ Michael Vogt ]
   * Do not (re)start "apt-daily.system"
     Thanks to Alexandre Detiste (Closes: #841763)
 .
   [ Johannes Schauer ]
   * add support for Build-Depends/Conflicts-Arch (Closes: #837395)
 .
   [ Edgar Fuß ]
   * http: clear content before reporting the failure (Closes: #465572)
 .
   [ James Clarke ]
   * apt-ftparchive: Support NotAutomatic and ButAutomaticUpgrades fields
     (Closes: #272557)
 .
   [ Julian Andres Klode ]
   * TagSection: Split AlphaIndexes into AlphaIndexes and BetaIndexes
   * TagSection: Extract Find() methods taking Pos instead of Key
   * Squashed 'triehash/' content from commit 16f59e1
   * TagSection: Introduce functions for looking up by key ids
   * debListParser: Convert to use pkgTagSection::Key-based lookup
   * Bump the cache major version for non-backportable changes
   * Introduce tolower_ascii_unsafe() and use it for hashing
   * Optimize VersionHash() to not need temporary copy of input
   * Compare size before data when ordering cache bucket entries
   * debListParser: Micro-optimize AvailableDescriptionLanguages()
   * Do not use MD5SumValue for Description_md5()
   * gpgv: Untrust SHA1, RIPE-MD/160, but allow downgrading to weak
 .
   [ Paul Wise ]
   * show output as documented for APT::Periodic::Verbose 2 (Closes: 845599)
Checksums-Sha1:
 9f49c6a174ec4da92b27041060cb3531dfa93337 2565 apt_1.4~beta1.dsc
 bde0ba2ec01caa7856bb02255ab96ed0bba6d56d 2053936 apt_1.4~beta1.tar.xz
Checksums-Sha256:
 59965ea9f2489feeb510d945f8ec681f8cedf6ff9ddc413c02423b2f48b0d9c1 2565 apt_1.4~beta1.dsc
 7321ec058d2a7d664e1b5123a1d73fc0d63738eb97783df8dce45e8a2b2898c1 2053936 apt_1.4~beta1.tar.xz
Files:
 0bd8495d92665d653fc0552a29a1e707 2565 admin important apt_1.4~beta1.dsc
 08e36fb472189a177a8f1b55949e41ae 2053936 admin important apt_1.4~beta1.tar.xz

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

iQJDBAEBCgAtFiEEzeVhi4gF/W4gLOnC1zw55WWAs4YFAlg4wOQPHGpha0BkZWJp
YW4ub3JnAAoJENc8OeVlgLOGoDcP/0TuSlspjqIdw0V7mP8jvDg69jH2WDVv4GGJ
8/+JTSry8k7x7X07GaZX7bPmSUbFB1JMeP1+SWyFYa/J3e/GwqTWhKllojjvCo79
XnduRT6KsMrzznzB4CIlS9MwpIn6Wz3hxogJYiJcST+8243m59QsqhdnnD+fWrHG
IpLk8cPgxrVPnw+9cSXt/zuJVuuZL2ExMBk+QaRYpSXXCdMN7rUuBCoWP4RE5hTy
isGA2K53tHt7QYpo6175N3zwcuFyOTzp4XuuOlemG2FcIHjIpZ978EhA8bLdh5QW
OSbW8suti7IwX7+TJyOjYOOGmZSwa+34f6lq4ED0N79SRQAaCpOKqx6OMWFnvDhN
vEeMXpaWZSsf1QIgQ6V27fMWHVncQJ5SO+Dz8E1VTmgqVU/kMSb6JKW06WCkH5fO
ebNfv1l9UndWQQAvVrLTS8SduR334lZN2Z1FfJLPVHLZTqfSNZjLQWuVwbnZReDR
GIEgmXge1MEmHFDW33/xISOe3kLJfWtSjQxe2NbvTKKKGvwEzawVQNlJxAOGmhMW
ZbGXSx4j7YWlUmBVObHSIsHqCLZov4pLA08CsYu6g3DE/YyuQqrzmIRC/cS6yR5K
lZ+6sJLnaWaTxjEsBsT5AKNpdoOB6vnodNJY4bY0malBcCDfv8BpnuApmyFRzyCw
sUscE3+G
=eM/Q
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: