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

Bug#827137: marked as done (lsb-release requires update since debian-ports archive moved)



Your message dated Wed, 29 Jun 2016 17:43:46 +0000
with message-id <E1bIJWc-0004ZY-OH@franck.debian.org>
and subject line Bug#827137: fixed in lsb 9.20160629
has caused the Debian Bug report #827137,
regarding lsb-release requires update since debian-ports archive moved
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.)


-- 
827137: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827137
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lsb-release
Version: 9.20160601
Tags: patch

The debian-ports archive moved from http://debian-ports.org to a
new server at https://www.ports.debian.org/

Since then, the "lsb-release -sc" command does not any longer
reports CODENAME=sid, but instead CODENAME=n/a, which in turn
breaks building the python-escript package on the ports architectures:
https://buildd.debian.org/status/package.php?p=python-escript&suite=sid

Attached patch fixes it, by simply replacing the URL with the new one.
Maybe it should be enhanced to detect the old and the new URL too ?

Please apply.

Thanks,
Helge 
diff -up ./lsb_release.py.org ./lsb_release.py
--- ./lsb_release.py.org	2016-06-12 21:34:49.190890058 +0200
+++ ./lsb_release.py	2016-06-12 21:39:24.597122839 +0200
@@ -184,7 +184,7 @@ def parse_apt_policy():
 def guess_release_from_apt(origin='Debian', component='main',
                            ignoresuites=('experimental'),
                            label='Debian',
-                           alternate_olabels={'Debian Ports':'ftp.debian-ports.org'}):
+                           alternate_olabels={'Debian Ports':'ftp.ports.debian.org'}):
     releases = parse_apt_policy()
 
     if not releases:
@@ -285,7 +285,7 @@ def guess_debian_release():
         release = rinfo.get('version')
 
         # Special case Debian-Ports as their Release file has 'version': '1.0'
-        if release == '1.0' and rinfo.get('origin') == 'Debian Ports' and rinfo.get('label') == 'ftp.debian-ports.org':
+        if release == '1.0' and rinfo.get('origin') == 'Debian Ports' and rinfo.get('label') == 'ftp.ports.debian.org':
             release = None
             rinfo.update({'suite': 'unstable'})
 

--- End Message ---
--- Begin Message ---
Source: lsb
Source-Version: 9.20160629

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.

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 827137@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@ftp-master.debian.org)


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

Format: 1.8
Date: Wed, 29 Jun 2016 18:13:15 +0200
Source: lsb
Binary: lsb-base lsb-release
Architecture: source
Version: 9.20160629
Distribution: unstable
Urgency: medium
Maintainer: Debian LSB Team <debian-lsb@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Description:
 lsb-base   - Linux Standard Base init script functionality
 lsb-release - Linux Standard Base version reporting utility
Closes: 827137
Changes:
 lsb (9.20160629) unstable; urgency=medium
 .
   [ Helge Deller ]
   * Update lsb_release.py to cope with the new Debian Ports' release label
     (Closes: #827137)
Checksums-Sha1:
 8a0d94f9facf671b3599fd305260d12be2b5fb54 1612 lsb_9.20160629.dsc
 cfff359db65acc75e08af4d32780f6baf8b1186f 55060 lsb_9.20160629.tar.xz
Checksums-Sha256:
 3da707687dc83f2b13305f6d7c682b3b9be7fa32069b299e1b55f5219b9737a6 1612 lsb_9.20160629.dsc
 879c7f305f13fc195d4309671066a39960d84b69b0078ad8bca5b44635a17d8d 55060 lsb_9.20160629.tar.xz
Files:
 aa22d6c83186ac0bd915fa28a91193a8 1612 misc extra lsb_9.20160629.dsc
 21654f76b64ee269284b8ba7085c2b80 55060 misc extra lsb_9.20160629.tar.xz

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

iQGcBAEBCgAGBQJXc/h0AAoJEIvPpx7KFjRVaAAL/21pcJlRMtYKuzSwsDQo/B0t
6aZyEeJoC/FzvP491BHot4aE6CVJMjXVy1Tjeh7s2cETJq83ZgsOI39Uop5g88FG
hOfCE5FWcwkeQ4D7TvKce4fd7rSxnDbKyqd/5daS8h+88iU90OFweF/YxUhQySRY
xaqZ55HYdj/GMY/mBjevKL6C70QNB+4STUdsuCCBI/98cS4JdoDq2UxeA8h4Qlns
5EuRJnJc8Y6hVTNw64BOp44umqMtBc+27qrY1jwWXUeQmzmdkYruZ7kNWMYAyw6d
9iC0pjohaQVRTO/eq2riAESEwNa76RuK8LLB5KYDjV4u9Lk8MLnXK63S5eegreFZ
UgxiOkrVozb/FRp2xToAgCmLL8jSziJD0tM3luZQnynNY1tkT/X0eGab9mudCguO
RkRRcMisG4FO7jdYQOmABzJcWAEbUmUiFcIN/mzoYBbB23tyBmg04AjA2lYnQ0it
Sgjah4v5YOO/q81gzwmQ0xPMU4xlqq6aEDv+32kWUg==
=QHvg
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: