[elbe-devel] [PATCH] pkgutils: update version string for elbe-debootstrap

Manuel Traut manut at linutronix.de
Thu Aug 9 11:03:23 CEST 2018


On Thu, Aug 09, 2018 at 10:55:19AM +0200, John Ogness wrote:
> With commit 4d69cfcbb864 ("pkgutils: care about version numbers of
> packages"), version detection logic was implemented to always
> choose the latest version. However, it relies on the package
> version strings matching a certain pattern:
> 
>     0+deb0u0+jessie0
> 
> For the newer elbe-debootstrap packages, the pattern has changed.
> This means that the downloader fallback code (and probably
> installation from CDROM) is broken.
> 
> Adjust the pattern for the new version strings:
> 
>     0+deb0u0+deb8
> 
> Signed-off-by: John Ogness <john.ogness at linutronix.de>

Thanks a lot, i'll merge it into devel/elbe-2.0 and devel/elbe-3.0

Because this affects only people that use elbe from source tree, or on systems
that don't have python-apt installed it doesn't help if we build new binary
packages. So there will be no special release for that issue.

  Manu

> ---
> This patch applies to elbe-3 and elbe-2.
> 
>  elbepack/pkgutils.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/elbepack/pkgutils.py b/elbepack/pkgutils.py
> index e87e0b3..8f872f4 100644
> --- a/elbepack/pkgutils.py
> +++ b/elbepack/pkgutils.py
> @@ -98,7 +98,7 @@ def get_url ( arch, suite, target_pkg, mirror, comp='main' ):
>          packages = filter( lambda x: x.find( target_pkg ) != -1, packages )
>  
>          # detect package with latest version number
> -        latest_version_str = '0+deb0u0+jessie0'
> +        latest_version_str = '0+deb0u0+deb8'
>          latest_version_pos = 0
>          cnt = 0
>          for x in packages:
> -- 
> 2.1.4
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel



More information about the elbe-devel mailing list