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

Bug#675618: marked as done (lsb-release: cannot handle non-ASCII characters from Apt policy)



Your message dated Mon, 11 Jun 2012 07:33:57 +0000
with message-id <E1Sdz8P-0006EM-7P@franck.debian.org>
and subject line Bug#675618: fixed in lsb 4.1+Debian7
has caused the Debian Bug report #675618,
regarding lsb-release: cannot handle non-ASCII characters from Apt policy
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.)


-- 
675618: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675618
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lsb-release
Version: 4.1+Debian5
Severity: normal

lsb_release fails for me with the following error:

  File "/usr/lib/python2.7/dist-packages/lsb_release.py", line 208, in parse_apt_policy
    close_fds=True).communicate()[0].decode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1325: ordinal not in range(128)


This is due to my personal repo having non-ASCII characters in its
(UTF-8-encoded) Release file, which shows up in the Apt policy:

  $ apt-cache policy | sed -n '34,36p'
   500 http://www.fbriere.net/debian/ unstable/misc i386 Packages
       release o=Frédéric Brière,a=unstable,n=sid,c=misc
       origin www.fbriere.net


I couldn't find any documentation about restricting Release files to
ASCII (not that it says much, given how undocumented Release files are),
so I assume that all of Unicode is acceptable in this context.  Let me
know if you disagree.


-- Package-specific info:
lsb_release output
-*- -*- -*- -*- -*-
-*- -*- -*- -*- -*-
    Apt policy
-*- -*- -*- -*- -*-
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://dl.google.com/linux/earth/deb/ stable/main i386 Packages
     release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main
     origin dl.google.com
 500 http://dl.google.com/linux/earth/deb/ stable/main amd64 Packages
     release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main
     origin dl.google.com
 500 http://www.deb-multimedia.org/ unstable/non-free i386 Packages
     release v=None,o=Unofficial Multimedia Packages,a=unstable,n=sid,l=Unofficial Multimedia Packages,c=non-free
     origin www.deb-multimedia.org
 500 http://www.deb-multimedia.org/ unstable/main i386 Packages
     release v=None,o=Unofficial Multimedia Packages,a=unstable,n=sid,l=Unofficial Multimedia Packages,c=main
     origin www.deb-multimedia.org
 500 http://www.deb-multimedia.org/ unstable/non-free amd64 Packages
     release v=None,o=Unofficial Multimedia Packages,a=unstable,n=sid,l=Unofficial Multimedia Packages,c=non-free
     origin www.deb-multimedia.org
 500 http://www.deb-multimedia.org/ unstable/main amd64 Packages
     release v=None,o=Unofficial Multimedia Packages,a=unstable,n=sid,l=Unofficial Multimedia Packages,c=main
     origin www.deb-multimedia.org
 500 http://www.fbriere.net/debian/ unstable/scummvm i386 Packages
     release o=Frédéric Brière,a=unstable,n=sid,c=scummvm
     origin www.fbriere.net
 500 http://www.fbriere.net/debian/ unstable/nes-emu i386 Packages
     release o=Frédéric Brière,a=unstable,n=sid,c=nes-emu
     origin www.fbriere.net
 500 http://www.fbriere.net/debian/ unstable/psx-emu i386 Packages
     release o=Frédéric Brière,a=unstable,n=sid,c=psx-emu
     origin www.fbriere.net
 500 http://www.fbriere.net/debian/ unstable/quakeforge i386 Packages
     release o=Frédéric Brière,a=unstable,n=sid,c=quakeforge
     origin www.fbriere.net
 500 http://www.fbriere.net/debian/ unstable/misc i386 Packages
     release o=Frédéric Brière,a=unstable,n=sid,c=misc
     origin www.fbriere.net
 500 http://www.fbriere.net/debian/ unstable/opencbm i386 Packages
     release o=Frédéric Brière,a=unstable,n=sid,c=opencbm
     origin www.fbriere.net
 500 http://www.fbriere.net/debian/ unstable/scummvm amd64 Packages
     release o=Frédéric Brière,a=unstable,n=sid,c=scummvm
     origin www.fbriere.net
 500 http://www.fbriere.net/debian/ unstable/nes-emu amd64 Packages
     release o=Frédéric Brière,a=unstable,n=sid,c=nes-emu
     origin www.fbriere.net
 500 http://www.fbriere.net/debian/ unstable/psx-emu amd64 Packages
     release o=Frédéric Brière,a=unstable,n=sid,c=psx-emu
     origin www.fbriere.net
 500 http://www.fbriere.net/debian/ unstable/quakeforge amd64 Packages
     release o=Frédéric Brière,a=unstable,n=sid,c=quakeforge
     origin www.fbriere.net
 500 http://www.fbriere.net/debian/ unstable/misc amd64 Packages
     release o=Frédéric Brière,a=unstable,n=sid,c=misc
     origin www.fbriere.net
 500 http://www.fbriere.net/debian/ unstable/opencbm amd64 Packages
     release o=Frédéric Brière,a=unstable,n=sid,c=opencbm
     origin www.fbriere.net
 500 http://debian.mirror.rafal.ca/debian/ unstable/non-free Translation-en
 500 http://debian.mirror.rafal.ca/debian/ unstable/main Translation-en
 500 http://debian.mirror.rafal.ca/debian/ unstable/contrib Translation-en
 500 http://debian.mirror.rafal.ca/debian/ unstable/non-free i386 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=non-free
     origin debian.mirror.rafal.ca
 500 http://debian.mirror.rafal.ca/debian/ unstable/contrib i386 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=contrib
     origin debian.mirror.rafal.ca
 500 http://debian.mirror.rafal.ca/debian/ unstable/main i386 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=main
     origin debian.mirror.rafal.ca
 500 http://debian.mirror.rafal.ca/debian/ unstable/non-free amd64 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=non-free
     origin debian.mirror.rafal.ca
 500 http://debian.mirror.rafal.ca/debian/ unstable/contrib amd64 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=contrib
     origin debian.mirror.rafal.ca
 500 http://debian.mirror.rafal.ca/debian/ unstable/main amd64 Packages
     release o=Debian,a=unstable,n=sid,l=Debian,c=main
     origin debian.mirror.rafal.ca
Pinned packages:
-*- -*- -*- -*- -*-
   sources.list
-*- -*- -*- -*- -*-
deb	http://debian.mirror.rafal.ca/debian unstable main contrib non-free
deb-src	http://debian.mirror.rafal.ca/debian unstable main contrib non-free
deb	http://www.fbriere.net/debian unstable opencbm misc quakeforge psx-emu nes-emu scummvm
deb-src	http://www.fbriere.net/debian unstable opencbm misc quakeforge psx-emu nes-emu scummvm
deb	http://www.deb-multimedia.org unstable main non-free
-*- -*- -*- -*- -*-
 /etc/lsb_release
-*- -*- -*- -*- -*-
- none

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lsb-release depends on:
ii  python     2.7.2-10
ii  python2.6  2.6.7-4
ii  python2.7  2.7.3~rc2-2.1

Versions of packages lsb-release recommends:
ii  apt  0.9.5.1

Versions of packages lsb-release suggests:
pn  lsb  <none>

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: lsb
Source-Version: 4.1+Debian7

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

lsb-base_4.1+Debian7_all.deb
  to main/l/lsb/lsb-base_4.1+Debian7_all.deb
lsb-core_4.1+Debian7_amd64.deb
  to main/l/lsb/lsb-core_4.1+Debian7_amd64.deb
lsb-cxx_4.1+Debian7_amd64.deb
  to main/l/lsb/lsb-cxx_4.1+Debian7_amd64.deb
lsb-desktop_4.1+Debian7_amd64.deb
  to main/l/lsb/lsb-desktop_4.1+Debian7_amd64.deb
lsb-graphics_4.1+Debian7_amd64.deb
  to main/l/lsb/lsb-graphics_4.1+Debian7_amd64.deb
lsb-invalid-mta_4.1+Debian7_all.deb
  to main/l/lsb/lsb-invalid-mta_4.1+Debian7_all.deb
lsb-languages_4.1+Debian7_amd64.deb
  to main/l/lsb/lsb-languages_4.1+Debian7_amd64.deb
lsb-multimedia_4.1+Debian7_amd64.deb
  to main/l/lsb/lsb-multimedia_4.1+Debian7_amd64.deb
lsb-printing_4.1+Debian7_amd64.deb
  to main/l/lsb/lsb-printing_4.1+Debian7_amd64.deb
lsb-release_4.1+Debian7_all.deb
  to main/l/lsb/lsb-release_4.1+Debian7_all.deb
lsb-security_4.1+Debian7_amd64.deb
  to main/l/lsb/lsb-security_4.1+Debian7_amd64.deb
lsb_4.1+Debian7.dsc
  to main/l/lsb/lsb_4.1+Debian7.dsc
lsb_4.1+Debian7.tar.bz2
  to main/l/lsb/lsb_4.1+Debian7.tar.bz2
lsb_4.1+Debian7_all.deb
  to main/l/lsb/lsb_4.1+Debian7_all.deb



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 675618@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated lsb 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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 10 Jun 2012 23:18:07 +0200
Source: lsb
Binary: lsb-core lsb-graphics lsb-cxx lsb-desktop lsb-languages lsb-multimedia lsb-printing lsb-security lsb lsb-base lsb-release lsb-invalid-mta
Architecture: source amd64 all
Version: 4.1+Debian7
Distribution: unstable
Urgency: low
Maintainer: Debian LSB Team <debian-lsb@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Description: 
 lsb        - Linux Standard Base 4.1 support package
 lsb-base   - Linux Standard Base 4.1 init script functionality
 lsb-core   - Linux Standard Base 4.1 core support package
 lsb-cxx    - Linux Standard Base 4.1 C++ support package
 lsb-desktop - Linux Standard Base 4.1 Desktop support package
 lsb-graphics - Linux Standard Base 4.1 graphics support package
 lsb-invalid-mta - Linux Standard Base sendmail dummy
 lsb-languages - Linux Standard Base 4.1 Runtime Languages package
 lsb-multimedia - Linux Standard Base 4.1 Multimedia package
 lsb-printing - Linux Standard Base 4.1 Printing package
 lsb-release - Linux Standard Base version reporting utility
 lsb-security - Linux Standard Base 4.1 Security package
Closes: 604360 675618
Changes: 
 lsb (4.1+Debian7) unstable; urgency=low
 .
   * lsb-desktop: Demote Qt3 dependency to a Recommends. Closes: #604360
     - Add a README.Debian to lsb-desktop to document the possibility to
       install Qt3 from snapshot.debian.org;
     - Add a NEWS.Debian to lsb-desktop to document the derogation to the
       LSB 4.1 specification.
 .
   * Accept utf-8 in `apt-cache policy` and `dpkg-query` outputs; add
     test-case. (Closes: #675618)
Checksums-Sha1: 
 74a72683b3bf5d9371b13eb73cfeb228097f04b6 2040 lsb_4.1+Debian7.dsc
 ed6d82ea8096ceed2aa5121879b22dacfab0bcd9 61149 lsb_4.1+Debian7.tar.bz2
 43f230f902ef47bbc7b6c74bb7ea1bd9f74f1942 43772 lsb-core_4.1+Debian7_amd64.deb
 5263d499c421d9c2be8568f3fc39c89eb25cf79b 18922 lsb-graphics_4.1+Debian7_amd64.deb
 7302e39f48945cff805755cde103b847de6b6e73 18898 lsb-cxx_4.1+Debian7_amd64.deb
 0efdde0d9d789ce234cab1eb7b3bf60bbaac11f2 20014 lsb-desktop_4.1+Debian7_amd64.deb
 82fb3b113c45dbbdcb7e3e99a432835b56dc0c0d 18928 lsb-languages_4.1+Debian7_amd64.deb
 d93286ee5f773fbf1973dd31e621c330d2b171fc 18898 lsb-multimedia_4.1+Debian7_amd64.deb
 9f66abe1c20db5c2526ab1ad08a28976f8bfaba1 18918 lsb-printing_4.1+Debian7_amd64.deb
 5b0ec06ef36ed9978ffe7179c7b5129052f0e9ff 18906 lsb-security_4.1+Debian7_amd64.deb
 520141d4bb58ddaefa0b52abeb785422af73ee81 18882 lsb_4.1+Debian7_all.deb
 5c43a34bd7fb4b6c5c73f25141d28808df5ac98c 26218 lsb-base_4.1+Debian7_all.deb
 2b69030518203e70c6c87758d9ce928c6d77a86a 25778 lsb-release_4.1+Debian7_all.deb
 3c329883fb33f4dcebadd5da6774cd88538569d6 19268 lsb-invalid-mta_4.1+Debian7_all.deb
Checksums-Sha256: 
 e6a632590212a58816986e9f0b058e52f77ab97136d326c05e9644d3e1a495ac 2040 lsb_4.1+Debian7.dsc
 c983badc8a686501d84d635278d181ac995aca996bab2e9dff67ae601df07ca5 61149 lsb_4.1+Debian7.tar.bz2
 08b8d7bbf06f1bd4e777fcbb2c49d50eae632bb6494fdd137c319a07f7714d67 43772 lsb-core_4.1+Debian7_amd64.deb
 f97511bd669d13c9cf16337a10dd9d236f1ee67ee37405b0d1f6fdd7573f1cda 18922 lsb-graphics_4.1+Debian7_amd64.deb
 0ea875004b8e9ef873702666f31f25b9ca4612abcf42c568a39e4a5f8db03a0c 18898 lsb-cxx_4.1+Debian7_amd64.deb
 804ee60fe227cdd791b819814e6f04ba0b0cef306fd367ab7ba0f09238cf9b54 20014 lsb-desktop_4.1+Debian7_amd64.deb
 710154b759125c83bf01eeba855e226088e33453cbc44b76e886ea4189931653 18928 lsb-languages_4.1+Debian7_amd64.deb
 d2f059d5a839117eba0c1993eb63823e8f7ac360e0a84f7c3c903099854afd06 18898 lsb-multimedia_4.1+Debian7_amd64.deb
 91f66e28d1eb3d3d579dbf057ef42eb0a67d6dde8484f151f569826ad4daee77 18918 lsb-printing_4.1+Debian7_amd64.deb
 a02be93323f94ab44d35169669c29b872e9abec64124419fc42652b63b3beed2 18906 lsb-security_4.1+Debian7_amd64.deb
 94db4ba10181d11f4219bbf52d266f0dce2df346fb6a97be9f0e6c25b43d2db1 18882 lsb_4.1+Debian7_all.deb
 5a5e74b8d5ef2824ade415cb1438b11d44fe77f5e6042bebfe5f9cbb7c75bdaf 26218 lsb-base_4.1+Debian7_all.deb
 816ac3917684443d9123788b73b1f82cb1b64155ce7200d2a61081dc602134f4 25778 lsb-release_4.1+Debian7_all.deb
 fd217d876888ecaeaa2045b90d1fb684b49891bf929bc4edf2ff2ba610ab3431 19268 lsb-invalid-mta_4.1+Debian7_all.deb
Files: 
 09ba528028ce6ea89055933a60898cb3 2040 misc extra lsb_4.1+Debian7.dsc
 246d18031b8eee9780b0925d365f9f82 61149 misc extra lsb_4.1+Debian7.tar.bz2
 1156df0f0060633f205493a53c118d45 43772 misc extra lsb-core_4.1+Debian7_amd64.deb
 b281a0307f793a94922bf910206331ad 18922 misc extra lsb-graphics_4.1+Debian7_amd64.deb
 87a45dac84b6a5f287dc3453becd9da8 18898 misc extra lsb-cxx_4.1+Debian7_amd64.deb
 2bedfe37183c7870337fa78cb290766d 20014 misc extra lsb-desktop_4.1+Debian7_amd64.deb
 da575af1c4dd32c710da1fb65fb320ef 18928 misc extra lsb-languages_4.1+Debian7_amd64.deb
 51e987e8ee05ca949c8e806928357f64 18898 misc extra lsb-multimedia_4.1+Debian7_amd64.deb
 db6b20a9148e5f01cd61272614fc8040 18918 misc extra lsb-printing_4.1+Debian7_amd64.deb
 e5a04a42c8c3b441f99b055330aac506 18906 misc extra lsb-security_4.1+Debian7_amd64.deb
 806f22f7575ffb4b8e54400842661c38 18882 misc extra lsb_4.1+Debian7_all.deb
 1754bfa58fd3aaaff88092151c7fa27d 26218 misc required lsb-base_4.1+Debian7_all.deb
 8296d00fdc4c281f859bf360b54db540 25778 misc optional lsb-release_4.1+Debian7_all.deb
 1fd8d8e2ec69f2273713e49e97556899 19268 misc extra lsb-invalid-mta_4.1+Debian7_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQGcBAEBCAAGBQJP1ZlUAAoJEIvPpx7KFjRVfWAMAJmZmRAyUIkESjK5NyS6e4aF
k7530xHSkZiHkE7uOMyzmCkphegKit2AlXQmnhoLnZjzUeG6fKAVscF2BYlrf5Yu
i+U7E/0cXKqNKvSiVMe3p9UQpix2qcsR4kIyb+nd15Bt2SBytGOJ7vY1+7Y22XAz
74CMKfIpdrogWbpubv9i+QJv4vIYNiO06HWEt2gJIVJipqxwlzDQJ8qsp2opYIGE
FdozMaNHRYJxIFOyGbzbGp9mj3+Ws2sKSZrm1/Anic7WfYOjQFYPddyRYwREcXLb
Y/WW2VxGk5fnja0k3P4Qws1h4jGin4nsbugMqyP9saNR99u7ANWw9NLRp//HU80i
KK+3AjFoZcanPf4yiYv33QS0cR8OIVc5tTPs0KExcv5Aklc0QL/oOxPcMn8cM/F3
VN0GKPs/w8tpmXTpFaMFVWzr6CkPaOdBG8ZfoYMrK3/5nBWRH7NhQorDD1BJYAGp
fKuLWJfoKQm/iehN7irTmNebSgff0iKRftCPBX0uJA==
=9P4R
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: