This question already has an answer here:
- How to install and configure Wine? 1 answer
I'm running 18.04, and I'm attempting to install Wine, which has an unsigned repository. I tried bypassing this by using the
--allow-unauthenticated flag, but I get an error
$ sudo apt-add-repository https:/dl.winehq.org/wine-builds/ubuntu/ --allow-unauthenticated Usage: apt-add-repository <sourceline> apt-add-repository is a script for adding apt sources.list entries. It can be used to add any repository and also provides a shorthand syntax for adding a Launchpad PPA (Personal Package Archive) repository. <sourceline> - The apt repository source line to add. This is one of: a complete apt line in quotes, a repo url and areas in quotes (areas defaults to 'main') a PPA shortcut. a distro component Examples: apt-add-repository 'deb http://myserver/path/to/repo stable myrepo' apt-add-repository 'http://myserver/path/to/repo myrepo' apt-add-repository 'https://packages.medibuntu.org free non-free' apt-add-repository http://extras.ubuntu.com/ubuntu apt-add-repository ppa:user/repository apt-add-repository ppa:user/distro/repository apt-add-repository multiverse If --remove is given the tool will remove the given sourceline from your sources.list apt-add-repository: error: no such option: --allow-unauthenticated
I've seen other users on the site with the same version of Ubuntu claim this option works. What am I doing wrong here?