Ubuntu 18 issue
rabaloum
Posted messages
58
Status
Member
-
rabaloum Posted messages 58 Status Member -
rabaloum Posted messages 58 Status Member -
Hello everyone,
for a few months, I've been using [Linux and I would like to install a Windows game.
It asks me to install Wine, but I can't load the Open GL libraries!
I've also noticed that the Synaptic packages are not on the machine.
In fact, I'd also like to install other software (Skype, for example).
Thank you in advance for your response.
for a few months, I've been using [Linux and I would like to install a Windows game.
It asks me to install Wine, but I can't load the Open GL libraries!
I've also noticed that the Synaptic packages are not on the machine.
In fact, I'd also like to install other software (Skype, for example).
Thank you in advance for your response.
19 answers
-
Hello,
I recently installed Wine on Ubuntu 18.04; it didn't work with the official repositories... I had to go through their repository to get it working, maybe this will help you.
--
@Dinath_ - Security Contributor -
Hello Dinath, thanks for the info
I typed the commands up to the line:
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
where it shows me this:
E: Entry 52 badly formed in list file /etc/apt/sources.list (Component)
E: The list of sources cannot be read.
problem with sources list?
what should I do? -
Re :)
By typing cat -An /etc/apt/sources.list
here is what I got:
1 # deb cdrom:[Ubuntu-MATE 18.04.2 LTS _Bionic Beaver_ - Release amd64 (20190210)]/ bionic main multiverse restricted universe$
2 $
3 # See https://help.ubuntu.com/community/UpgradeNotes for how to upgrade to$
4 # newer versions of the distribution.$
5 deb http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted$
6 # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted$
7 $
8 ## Major bug fix updates produced after the final release of the$
9 ## distribution.$
10 deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted$
11 # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-updates main restricted$
12 $
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu$
14 ## team. Also, please note that software in universe WILL NOT receive any$
15 ## review or updates from the Ubuntu security team.$
16 deb http://fr.archive.ubuntu.com/ubuntu/ bionic universe$
17 # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic universe$
18 deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates universe$
19 # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-updates universe$
20 $
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu $
22 ## team, and may not be under a free licence. Please satisfy yourself as to $
23 ## your rights to use the software. Also, please note that software in $
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu$
25 ## security team.$
26 deb http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse$
27 # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse$
28 deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse$
29 # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse$
30 $
31 ## N.B. software from this repository may not have been tested as$
32 ## extensively as that contained in the main release, although it includes$
33 ## newer versions of some applications which may provide useful features.$
34 ## Also, please note that software in backports WILL NOT receive any review$
35 ## or updates from the Ubuntu security team.$
36 deb http://fr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse$
37 # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse$
38 $
39 ## Uncomment the following two lines to add software from Canonical's$
40 ## 'partner' repository.$
41 ## This software is not part of Ubuntu, but is offered by Canonical and the$
42 ## respective vendors as a service to Ubuntu users.$
43 # deb http://archive.canonical.com/ubuntu/ bionic partner$
44 # deb-src http://archive.canonical.com/ubuntu/ bionic partner$
45 $
46 deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted$
47 # deb-src http://security.ubuntu.com/ubuntu/ bionic-security main restricted$
48 deb http://security.ubuntu.com/ubuntu/ bionic-security universe$
49 # deb-src http://security.ubuntu.com/ubuntu/ bionic-security universe$
50 deb http://security.ubuntu.com/ubuntu/ bionic-security multiverse$
51 # deb-src http://security.ubuntu.com/ubuntu/ bionic-security multiverse$
52 deb https://dl.winehq.org/wine-builds/ubuntu/ main$
53 # deb-src https://dl.winehq.org/wine-builds/ubuntu/ main$
54 deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main$
55 # deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main$
56 # deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main$-
52 deb https://dl.winehq.org/wine-builds/ubuntu/ main$
You're missing the "bionic" in your line ;-(
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
-
-
-
-
Hi zipe31, I typed the line correctly
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
here's what it returns to me:
The command "deb" was not found, did you mean:
command "den" from snap den (1.2.0-0)
command "dub" from snap dub (1.19.0)
command "dub" from deb dub
command "dab" from deb bsdgames
command "dep" from deb go-dep
command "debi" from deb devscripts
command "derb" from deb icu-devtools
command "debc" from deb devscripts
command "edb" from deb edb-debugger
command "deb3" from deb quilt
command "dex" from deb dex
command "xdeb" from deb xdeb
See "snap info <snapname>" for additional versions.</snapname> -
-
-
yes ubuntu 18
here is the answer:
sudo: leafpad: command not found -
-
Ok, I managed to open it with Pluma
and I just added bionic to line 52
What should I do next? -
-
Hello, thank you zipe31
I typed the line in question, here's what it shows me:
Hit:1 http://fr.archive.ubuntu.com/ubuntu/ bionic InRelease
Get:2 http://fr.archive.ubuntu.com/ubuntu/ bionic-updates InRelease [88.7 kB]
Get:3 http://security.ubuntu.com/ubuntu/ bionic-security InRelease [88.7 kB]
Hit:4 http://deb.playonlinux.com bionic InRelease
Get:5 http://fr.archive.ubuntu.com/ubuntu/ bionic-backports InRelease [74.6 kB]
Get:6 https://dl.winehq.org/wine-builds/ubuntu/ bionic InRelease [6,259 B]
Get:7 http://fr.archive.ubuntu.com/ubuntu/ bionic-updates/main amd64 Packages [915 kB]
Get:8 http://fr.archive.ubuntu.com/ubuntu/ bionic-updates/main i386 Packages [668 kB]
Get:9 http://fr.archive.ubuntu.com/ubuntu/ bionic-updates/main Translation-en [314 kB]
Get:10 http://security.ubuntu.com/ubuntu/ bionic-security/main amd64 Packages [692 kB]
Get:11 http://fr.archive.ubuntu.com/ubuntu/ bionic-updates/restricted i386 Packages [9,568 B]
Get:12 http://fr.archive.ubuntu.com/ubuntu/ bionic-updates/restricted amd64 Packages [43.9 kB]
Get:13 http://fr.archive.ubuntu.com/ubuntu/ bionic-updates/restricted Translation-en [11.0 kB]
Get:14 http://fr.archive.ubuntu.com/ubuntu/ bionic-updates/universe i386 Packages [1,013 kB]
Get:15 http://fr.archive.ubuntu.com/ubuntu/ bionic-updates/universe amd64 Packages [1,065 kB]
Get:16 http://security.ubuntu.com/ubuntu/ bionic-security/main i386 Packages [459 kB]
Get:17 https://dl.winehq.org/wine-builds/ubuntu/ bionic/main amd64 Packages [638 kB]
Get:18 http://security.ubuntu.com/ubuntu/ bionic-security/main Translation-en [221 kB]
Get:19 http://security.ubuntu.com/ubuntu/ bionic-security/restricted amd64 Packages [34.3 kB]
Get:20 http://security.ubuntu.com/ubuntu/ bionic-security/restricted Translation-en [8,924 B]
Get:21 http://security.ubuntu.com/ubuntu/ bionic-security/universe amd64 Packages [657 kB]
Get:22 http://fr.archive.ubuntu.com/ubuntu/ bionic-updates/universe Translation-en [330 kB]
Get:23 http://fr.archive.ubuntu.com/ubuntu/ bionic-updates/multiverse amd64 Packages [10.8 kB]
Get:24 http://fr.archive.ubuntu.com/ubuntu/ bionic-updates/multiverse i386 Packages [7,484 B]
Get:25 http://fr.archive.ubuntu.com/ubuntu/ bionic-updates/multiverse Translation-en [4,728 B]
Get:26 http://fr.archive.ubuntu.com/ubuntu/ bionic-backports/universe amd64 Packages [4,020 B]
Get:27 http://fr.archive.ubuntu.com/ubuntu/ bionic-backports/universe i386 Packages [4,016 B]
Get:28 http://fr.archive.ubuntu.com/ubuntu/ bionic-backports/universe Translation-en [1,900 B]
Get:29 http://security.ubuntu.com/ubuntu/ bionic-security/universe i386 Packages [618 kB]
Get:30 http://security.ubuntu.com/ubuntu/ bionic-security/universe Translation-en [218 kB]
Get:31 https://dl.winehq.org/wine-builds/ubuntu/ bionic/main i386 Packages [673 kB]
Get:32 http://security.ubuntu.com/ubuntu/ bionic-security/multiverse amd64 Packages [7,176 B]
Get:33 http://security.ubuntu.com/ubuntu/ bionic-security/multiverse i386 Packages [4,288 B]
Get:34 http://security.ubuntu.com/ubuntu/ bionic-security/multiverse Translation-en [2,764 B]
8,894 kB received in 3s (2,840 kB/s)
Reading package lists... Done
W: The target Packages (main/binary-amd64/Packages) is specified multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54
W: The target Packages (main/binary-i386/Packages) is specified multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54
W: The target Packages (main/binary-all/Packages) is specified multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54
W: The target Translations (main/i18n/Translation-fr_FR) is specified multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54
W: The target Translations (main/i18n/Translation-fr) is specified multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54
W: The target Translations (main/i18n/Translation-en) is specified multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54
W: The target CNF (main/cnf/Commands-amd64) is specified multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54
W: The target CNF (main/cnf/Commands-all) is specified multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54
W: The target Packages (main/binary-amd64/Packages) is specified multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54
W: The target Packages (main/binary-i386/Packages) is specified multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54
W: The target Packages (main/binary-all/Packages) is specified multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54
W: The target Translations (main/i18n/Translation-fr_FR) is specified multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54
W: The target Translations (main/i18n/Translation-fr) is specified multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54
W: The target Translations (main/i18n/Translation-en) is specified multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54
W: The target CNF (main/cnf/Commands-amd64) is specified multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54
W: The target CNF (main/cnf/Commands-all) is specified multiple times in /etc/apt/sources.list:52 and /etc/apt/sources.list:54 -
-
I performed the installation of Wine
by typing: sudo apt install --install-recommends winehq-stable
here's what it displays:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages cannot be installed. This may mean
that you have requested the impossible, or that, if you are using
the unstable distribution, some packages have not yet
been created or are not available from Incoming.
The following information should help you resolve the situation:
The following packages have unmet dependencies:
winehq-stable: Depends: wine-stable (= 5.0.0~bionic)
E: Unable to correct problems, defective packages are in 'hold' state. -
ok
Here is the result:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The package wine is a virtual package provided by:
winehq-staging 5.6~bionic
winehq-stable 5.0.0~bionic
winehq-devel 5.6~bionic
wine-development 3.6-1
You must explicitly select a package to install.
E: Package 'wine' has no installable version-
Your mistake comes from there: https://www.security-helpzone.com/2020/03/28/installer-programme-windows-avec-wine-sur-ubuntu/#erreur-de-dependance-avec-wine-stable
Read the tutorial in full ;-)
-
-
Hello, thanks dinath
I just installed the SDL2 Backport packages
and relaunched the Wine installation
a bunch of files decompressed!
Can I install my Windows game now? -
I am trying to launch my game from the CD-ROM drive but it shows an error
"unable to find the autorun program" -
I just configured Wine, it loaded some packages and then it updated.
Finally, I installed my game in the directory
When launching (right click open with Wine), it returns an error:
"no Windows program is configured to open this type of file"
(I remember that I had to install DirectX on Seven to get the game to work)
What should I do?