Author Topic: Problem installing wine 4.0  (Read 339 times)

Offline smitla

  • Jr. Member
  • **
  • Posts: 31
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 10
Problem installing wine 4.0
« on: February 02, 2020, 03:25:29 pm »
want to install wine on peppermint 10 but  Error: could not find a distribution template for Ubuntu/bionic

Code: [Select]
linux@linux-HP-Laptop-15-da1xxx ~ $ wget -nc https://dl.winehq.org/wine-builds/winehq.key
--2020-02-03 01:11:05--  https://dl.winehq.org/wine-builds/winehq.key
Resolving dl.winehq.org (dl.winehq.org)... 151.101.226.217
Connecting to dl.winehq.org (dl.winehq.org)|151.101.226.217|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3220 (3.1K) [application/pgp-keys]
Saving to: ‘winehq.key’

winehq.key          100%[===================>]   3.14K  --.-KB/s    in 0.001s 

2020-02-03 01:11:05 (6.01 MB/s) - ‘winehq.key’ saved [3220/3220]

Code: [Select]
linux@linux-HP-Laptop-15-da1xxx ~ $ sudo apt-key add winehq.key
OK
linux@linux-HP-Laptop-15-da1xxx ~ $ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main'
Traceback (most recent call last):
  File "/usr/bin/apt-add-repository", line 107, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 117, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 612, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)   
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Ubuntu/bionic
« Last Edit: February 03, 2020, 01:46:24 am by Slim.Fatz »

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1275
  • Karma: 137
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Problem installing wine 4.0
« Reply #1 on: February 04, 2020, 06:29:50 am »
Hi smitla, go to this site and see if there's any help.

 https://wiki.winehq.org/Download
What was I thinking?