Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #304153

Bug#991778: dlint: Dlint fails to find version number of dig

From Paul Wise <pabs@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#991778: dlint: Dlint fails to find version number of dig
Date 2021-09-04 07:10 +0200
Message-ID <CTw6d-76g-3@gated-at.bofh.it> (permalink)
References <CHn8l-hU-3@gated-at.bofh.it> <CHn8l-hU-3@gated-at.bofh.it>
Organization Debian

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Control: severity -1 important
Control: tags -1 + unreproducible

On Sun, 01 Aug 2021 19:00:34 +0200 Patrik Schindler wrote:

> On my Debian Buster system, dig fails to work with
> 
> ;; This program requires DiG version 2.1 or newer, which I cannot find.

I can't reproduce this in a Debian buster chroot.

Could you investigate more closely why it fails on your system?

> Checking on this, I saw that the "ver" call in line 109 doesn't output a
> version number anymore. So I changed that to dig -v.

The command there still works for me in buster:

$ dig localhost any | grep DiG | head -1 | sed -e 's/.*DiG \([0-9.]*\).*/\1/'
9.11.5

> The following replacement for line 109 works for me.
> 
> ver=`dig -v 2>&1 | grep DiG | head -1 | sed -e 's/^DiG \([0-9.]\+\).*$/\1/'`

This seems like a much more correct way to check the version,
so it should be used instead anyway.

> Versions of packages dlint depends on:
> ii  dnsutils  1:9.11.5.P4+dfsg-5.1+deb10u5

I also have 1:9.11.5.P4+dfsg-5.1+deb10u5.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Back to linux.debian.bugs.rc | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#991778: dlint: Dlint fails to find version number of dig Patrik Schindler <poc@pocnet.net> - 2021-08-01 19:10 +0200
  Processed: Re: dlint: Dlint fails to find version number of dig "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-08-03 20:10 +0200
  Processed: Re: dlint: Dlint fails to find version number of dig "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-09-04 07:10 +0200
  Bug#991778: dlint: Dlint fails to find version number of dig Paul Wise <pabs@debian.org> - 2021-09-04 07:10 +0200

csiph-web