Linux converting from manual installation to PPA woes.
John Reay
john.reay at gmail.com
Sat Nov 25 20:10:01 PST 2017
OK....I did some RTFM on 'type' and 'hash', which led me to open a new shell.
That solved my reported problem, but I'm now back to my initial
problem which is that when a run get_player I get "segmentation
fault".
get_iplayer 3.06 PPA version, Linux Mint 18
On 25 November 2017 at 22:39, John Reay <john.reay at gmail.com> wrote:
> john at system7 ~ $ type get_iplayer
> get_iplayer is hashed (/usr/local/bin/get_iplayer)
>
> john at system7 ~ $ echo $PATH
> /home/john/perl5/bin:/home/john/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
>
> john at system7 ~ $ which get_iplayer
> /usr/bin/get_iplayer
>
> john at system7 ~ $ get_iplayer
> bash: /usr/local/bin/get_iplayer: No such file or directory
>
> john at system7 ~ $ /usr/bin/get_iplayer --pid=b09fx651 --vmode=best --force
> get_iplayer 3.06-ppa31a, Copyright (C) 2008-2010 Phil Lewis
> This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty.
> This is free software, and you are welcome to redistribute it under certain
> conditions; use --conditions for details.
> Matches:
> 350: BBC News at Ten - 22/11/2017, BBC One, b09fx651
> INFO: 1 matching programmes
>
> On 25 November 2017 at 17:19, Ralph Corderoy <ralph at inputplus.co.uk> wrote:
>> Hi John,
>>
>>> so I deleted the executable in /usr/local/bin. However even though
>>> 'which get_iplayer' returns /usr/bin (the location where the PPA
>>> version is installed) when I try to run it, something is still
>>> pointing to /usr/local/bin.
>>
>> How do you know this?
>>
>> Try `type get_iplayer' as an alternative to which(1). That's built-in
>> to the bash shell you're using and tells you what it will do. Is your
>> $PATH set up to have /usr/local/bin before /usr/bin? What happens if
>> you give an explicit path to run it, i.e. /usr/bin/get_iplayer?
>>
>> --
>> Cheers, Ralph.
>> https://plus.google.com/+RalphCorderoy
More information about the get_iplayer
mailing list