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

Bug#807012: marked as done (python3-apt & unattended-upgrades get confused by uppercase pkg)



Your message dated Mon, 14 Dec 2015 16:24:19 +0000
with message-id <E1a8Vv9-0000TQ-8W@franck.debian.org>
and subject line Bug#807012: fixed in apt 1.1.5
has caused the Debian Bug report #807012,
regarding python3-apt & unattended-upgrades get confused by uppercase pkg
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.)


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

Hi,

Since the last update of python3-apt to 1.1, unattended-upgrades
is crashing on a package with an uppercase case name.

I do know this package is not policy-compliant;
but still UU / python3-apt should handle this situation
in a more gracefull way than a triple exception.
(and more enterprise-ish stuff may want to use
uppercase package names too)

The .deb is located in a private reprepro repository to enable
fast re-install on my "new win XP laptop of the year".

I'm assigning this first to python3-apt, as
this is where most changes recently happened.

Greets,

Alexandre


lintian /var/www/html/repos/pool/main/W/WorldOfGoo/WorldOfGoo_1.41_all.deb | wc
-l
2568
...
E: WorldOfGoo: bad-package-name
E: WorldOfGoo: package-not-lowercase


Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 194, in __getitem__
    return self._weakref[key]
  File "/usr/lib/python3.4/weakref.py", line 131, in __getitem__
    o = self.data[key]()
KeyError: 'WorldOfGoo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 198, in __getitem__
    rawpkg = self._cache[key]
KeyError: 'WorldOfGoo'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/unattended-upgrade", line 1437, in <module>
    main(options)
  File "/usr/bin/unattended-upgrade", line 1182, in main
    allowed_origins=allowed_origins)
  File "/usr/bin/unattended-upgrade", line 104, in __init__
    self.adjust_candidate_versions()
  File "/usr/bin/unattended-upgrade", line 119, in adjust_candidate_versions
    for pkg in self:
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 231, in __iter__
    yield self[pkgname]
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 200, in __getitem__
    raise KeyError('The cache has no package named %r' % key)
KeyError: "The cache has no package named 'WorldOfGoo'"



dpkg -I /var/www/html/repos/pool/main/W/WorldOfGoo/WorldOfGoo_1.41_all.deb
 Package: WorldOfGoo
 Architecture: all
 Version: 1.41
 Maintainer: Maks Verver <maksverver@geocities.com>
 Section: games
 Priority: extra
 Homepage: http://www.worldofgoo.com/
 Depends: libc6, libstdc++6, libgl1, libglu1, libx11-6
 Installed-Size: 82132
 Description: A physics based puzzle/construction game
  The millions of Goo Balls who live in the beautiful World of Goo don't know
  that they are in a game, or that they are extremely delicious.


apt-cache policy worldofgoo
worldofgoo:
  Installé : 1.41
  Candidat : 1.41
 Table de version :
 *** 1.41 100
        100 /var/lib/dpkg/status



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (450, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages python3-apt depends on:
ii  libapt-inst2.0     1.1.3
ii  libapt-pkg5.0      1.1.3
ii  libc6              2.19-22
ii  libgcc1            1:5.2.1-23
ii  libstdc++6         5.2.1-23
ii  python-apt-common  1.1.0~beta1
ii  python3            3.4.3-7

Versions of packages python3-apt recommends:
ii  iso-codes    3.63-1
ii  lsb-release  9.20150917

Versions of packages python3-apt suggests:
pn  python-apt-doc   <none>
pn  python3-apt-dbg  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 1.1.5

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 807012@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: Mon, 14 Dec 2015 16:56:11 +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.1.5
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: 806459 807012 807373 807413 807477 807523 807870
Changes:
 apt (1.1.5) unstable; urgency=medium
 .
   [ Julian Andres Klode ]
   * Do not swap required and important in pkgCache::Priority()
     Thanks to Manuel A. Fernandez Montecelo for discovering this
     (Closes: #807523)
   * Convert package names from Packages files to lower case (Closes: #807012)
   * test framework: Correctly generate new paths in noopchroot
   * debian/apt.auto-removal.sh: Adjust -dbg exclusion for multi-arch
   * pkgcache: Make hash arch-independent using fixed size integer
   * test-apt-download-progress: Run the https test multiple times
 .
   [ David Kalnischkies ]
   * update symbols files to 1.1.4 state of affairs
   * parse .diff/Index hashes in reverse order
   * redirect which stderr to /dev/null for consistency (Closes: 807373)
   * show a more descriptive error for weak Release files (Closes: 806459)
   * support regex and co in 'apt-cache policy $pkg' again (Closes: 807870)
   * non-existing directories don't need to be cleaned (Closes: 807477)
 .
   [ Seo Sanghyeon ]
   * fix incorrect Korean translation of "manually" and "automatically"
 .
   [ Andreas Metzler ]
   * mention APT::AutoRemove::{Recommends,Suggests}Important option
     (Closes: 807413)
Checksums-Sha1:
 840bfcc57b03635dc7c94c95fc4bc44d477d8003 2297 apt_1.1.5.dsc
 150002d7e47a8e2409b82e735221ac94bcaa6e24 1991336 apt_1.1.5.tar.xz
Checksums-Sha256:
 70a8fa390f2cd3004e68770f96c04ac17e2480cae1602664934696ac6b302c2d 2297 apt_1.1.5.dsc
 a5122f67dac450518fa16b9f66eac6c852d1edc696443af59f5c416008212660 1991336 apt_1.1.5.tar.xz
Files:
 26b87be5531556379aeed90d2acb08cc 2297 admin important apt_1.1.5.dsc
 814228f0e6026137e1d199dd2bcf0b7f 1991336 admin important apt_1.1.5.tar.xz

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

iQIcBAEBCgAGBQJWbucMAAoJENc8OeVlgLOG5agQAK8xUC/8fVflZOj8ZXJrvCVj
mBmCK4GvzlOf5cjqMQj0pKugXZ9PiY4oHKLZ3VwSr7af2M1bhmtqzbI3HSkxjHAV
4ZzSbtpxPEzaYqWptStAJ7vdfEu2z/Io9nTdQpqGeTmFdsOhgR5R6hBcTb46dPAL
OYXfqqlMW2y4elxaHd8jVQNn44fUmKwSEEHdXWZmzPGB56Vze4kk9D9elaTlfhKc
plqd21bYXH3Ym+5OOFIh64McR9+yyqckbxP1lqcwjiY8Lva4QR0CWVPw0m7vScwH
ry0Ap3QSOsW3ThqdZIflJROu4SRATXzESn3viv7R7tIzu4IoY50p5SL2xubKxBaQ
JybYqb9NbIJ0G95sdUm70NLv8qxcshTVX0+svGfPsvqQJkJWhVdtcAEMfp7Z8RUc
VpXJccSyz7L+6E9u1UTJJgDQm4KVJhE/HGQIZVk4NSO2ZmRauvqW0dVIPHLDqqRA
FOWe26LlSXc7jOscWnbYQ2LS+BGgxlUjSOYVaPT3zlwvkRdHoivsJqnVYVJuqYB2
x5luRv6K9CAmwCaN7CbjlSNFhEHb+QyhIb/CQe54/zuE9bKeDpSZ8JUsOMmBVr/c
w/qC3b9u/P5IU6+hC8DnEKdRbzuL66jvH2M1wmbdi/6PB0a2UsTD8aUADbwyAjxC
NGwOaRTsq/vITNzysBUp
=ut3O
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: