Re: lost dig

2019-02-19 Thread Mike McClain
On Tue, Feb 19, 2019 at 12:10:15PM +0100, tony wrote: > In my fiddling with DNS, I installed (as su) a python package from pypi > called 'dig'. It turned out to not be what I expected, so I abandoned it. > > However, now when I enter 'dig' on the command line, it runs this python > thing. So I unin

Re: lost dig

2019-02-19 Thread tomas
On Tue, Feb 19, 2019 at 01:42:27PM +0100, Martin wrote: > Sorry, was a little quick on that. > > Like said, the (ISC) DNS lookup utility 'dig' is part of the package > 'dnsutils'. > I do not have an alias set or an alternatives record for this. > Do you have a '/etc/alternatives/dig'? If yes, del

Re: lost dig

2019-02-19 Thread Martin
Sorry, was a little quick on that. Like said, the (ISC) DNS lookup utility 'dig' is part of the package 'dnsutils'. I do not have an alias set or an alternatives record for this. Do you have a '/etc/alternatives/dig'? If yes, deleting it should be fine, as long as /usr/bin/dig exists Am 19.02

Re: lost dig

2019-02-19 Thread Martin
The DNS lookup utility 'dig' is part of the package 'dnsutils'. Am 19.02.19 um 12:10 schrieb tony: > In my fiddling with DNS, I installed (as su) a python package from pypi > called 'dig'. It turned out to not be what I expected, so I abandoned it. > > However, now when I enter 'dig' on the comma

Re: lost dig

2019-02-19 Thread tomas
On Tue, Feb 19, 2019 at 01:01:36PM +0100, tony wrote: > On 19/02/2019 12:53, Claudio Kuenzler wrote: [...] > > First check with "alias" if there is really still some alias defined > > which points to /usr/local/bin/dig. > > No alias. > > > You might also have to logout and login again to clear

Re: lost dig

2019-02-19 Thread tony
On 19/02/2019 12:53, Claudio Kuenzler wrote: > > > On 2/19/2019 12:10 PM, tony wrote: > > In my fiddling with DNS, I installed (as su) a python package from > pypi > > called 'dig'. It turned out to not be what I expected, so I > abandoned it. > > > > However, now when

Re: lost dig

2019-02-19 Thread Claudio Kuenzler
On Tue, Feb 19, 2019 at 12:55 PM tony wrote: > > > Isn't the alias defined in '~/.bashrc' or '~/.bash_aliases'? > > > no... > Maybe it's not an alias at all but rather an "alternative". Check "update-alternatives --get-selections" if there is an entry for dig.

Re: lost dig

2019-02-19 Thread tony
On 19/02/2019 12:22, john doe wrote: > On 2/19/2019 12:10 PM, tony wrote: >> In my fiddling with DNS, I installed (as su) a python package from pypi >> called 'dig'. It turned out to not be what I expected, so I abandoned it. >> >> However, now when I enter 'dig' on the command line, it runs this p

Re: lost dig

2019-02-19 Thread Claudio Kuenzler
On 2/19/2019 12:10 PM, tony wrote: > > In my fiddling with DNS, I installed (as su) a python package from pypi > > called 'dig'. It turned out to not be what I expected, so I abandoned it. > > > > However, now when I enter 'dig' on the command line, it runs this python > > thing. So I uninstalled d

Re: lost dig

2019-02-19 Thread john doe
On 2/19/2019 12:10 PM, tony wrote: > In my fiddling with DNS, I installed (as su) a python package from pypi > called 'dig'. It turned out to not be what I expected, so I abandoned it. > > However, now when I enter 'dig' on the command line, it runs this python > thing. So I uninstalled dig from py

lost dig

2019-02-19 Thread tony
In my fiddling with DNS, I installed (as su) a python package from pypi called 'dig'. It turned out to not be what I expected, so I abandoned it. However, now when I enter 'dig' on the command line, it runs this python thing. So I uninstalled dig from python, using 'pip3 uninstall dig'. That seeme