Bash repo/install Help

Grizzly Real_Grizz_Adams at yahoo.co.uk
Wed Mar 11 15:06:34 UTC 2020


10 March 2020  at 2:33, Karl Auer wrote:
Re: Bash repo/install Help (at least in part)

>On Mon, 2020-03-09 at 12:24 +0000, Grizzly via ubuntu-users wrote:
>> 2) if wine is already installed, update the correct wine

>I don't use wine, but this will get you installed packages that mention
>"wine". You might be able to use some variant of it to decide what
>you've got installed and what to upgrade. 
>
>apt list --installed   \
>     2> /dev/null    | \
>     cut -d/ -f1     | \
>     grep wine

Thanks, your help has now got me all the way, parts 1 & 2 complete

1) add the correct repo per ubuntu version
2a) if Wine is installed, update the installed version (Devel, Stageing or 
Stable)
2b) if wine not already installed, install (for now) the Stageing version
3) remove the repo again

I may add a cmd-line param later to alter 2b action to send choice of version 
at run time






More information about the ubuntu-users mailing list