I cant get wine to install

Questions about Wine on Linux
Post Reply
donkeykhan
Newbie
Newbie
Posts: 1
Joined: Sat Sep 05, 2020 7:58 pm

I cant get wine to install

Post by donkeykhan » Sat Sep 05, 2020 8:02 pm

when I put in the sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' command it gives me this.
ubuntu/ focal main'
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal-security InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:5 http://apt.pop-os.org/proprietary focal InRelease
Err:6 http://ppa.launchpad.net/jonathonf/gcc-7.5/ubuntu focal InRelease
403 Forbidden [IP: 2001:67c:1560:8008::15 80]
Hit:7 https://deb.opera.com/opera-stable stable InRelease
Hit:8 http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal InRelease
Ign:9 http://ppa.launchpad.net/paulo-miguel-dias/mesa/ubuntu focal InRelease
Hit:10 http://ppa.launchpad.net/system76/pop/ubuntu focal InRelease
Hit:11 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal InRelease
Err:12 http://ppa.launchpad.net/paulo-miguel-dias/mesa/ubuntu focal Release
404 Not Found [IP: 2001:67c:1560:8008::15 80]
Hit:13 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Reading package lists... Done
E: Failed to fetch http://ppa.launchpad.net/jonathonf/gcc- ... /InRelease 403 Forbidden [IP: 2001:67c:1560:8008::15 80]
E: The repository 'http://ppa.launchpad.net/jonathonf/gcc-7.5/ubuntu focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/paulo-miguel-dias/mesa/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@pop-os:~# sudo dpkg --add-architecture i386
root@pop-os:~# wget -nc https://dl.winehq.org/wine-builds/winehq.key
--2020-09-05 20:36:46-- https://dl.winehq.org/wine-builds/winehq.key
Resolving dl.winehq.org (dl.winehq.org)... 199.232.34.217
Connecting to dl.winehq.org (dl.winehq.org)|199.232.34.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 0s

2020-09-05 20:36:46 (95.0 MB/s) - ‘winehq.key’ saved [3220/3220]

root@pop-os:~# sudo apt-key add winehq.key
OK
root@pop-os:~# sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal-security InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:5 http://apt.pop-os.org/proprietary focal InRelease
Err:6 http://ppa.launchpad.net/jonathonf/gcc-7.5/ubuntu focal InRelease
403 Forbidden [IP: 2001:67c:1560:8008::15 80]
Hit:7 http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal InRelease
Ign:8 http://ppa.launchpad.net/paulo-miguel-dias/mesa/ubuntu focal InRelease
Hit:9 http://ppa.launchpad.net/system76/pop/ubuntu focal InRelease
Hit:10 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal InRelease
Err:11 http://ppa.launchpad.net/paulo-miguel-dias/mesa/ubuntu focal Release
404 Not Found [IP: 2001:67c:1560:8008::15 80]
Hit:12 https://deb.opera.com/opera-stable stable InRelease
Hit:13 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Reading package lists... Done
E: Failed to fetch http://ppa.launchpad.net/jonathonf/gcc- ... /InRelease 403 Forbidden [IP: 2001:67c:1560:8008::15 80]
E: The repository 'http://ppa.launchpad.net/jonathonf/gcc-7.5/ubuntu focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/paulo-miguel-dias/mesa/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@pop-os:~# sudo rsync -achv --progress /etc/apt/ /etc/apt.bak/
sending incremental file list
created directory /etc/apt.bak
./
sources.list
1.05K 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=42/44)
sources.list.save
1.05K 100% 1.00MB/s 0:00:00 (xfr#2, to-chk=41/44)
sources.list~
838 100% 818.36kB/s 0:00:00 (xfr#3, to-chk=40/44)
trusted.gpg
9.19K 100% 8.76MB/s 0:00:00 (xfr#4, to-chk=39/44)
trusted.gpg~
6.89K 100% 6.57MB/s 0:00:00 (xfr#5, to-chk=38/44)
apt.conf.d/
apt.conf.d/01-vendor-ubuntu
92 100% 89.84kB/s 0:00:00 (xfr#6, to-chk=32/44)
apt.conf.d/01autoremove
630 100% 615.23kB/s 0:00:00 (xfr#7, to-chk=31/44)
apt.conf.d/01autoremove-kernels
1.39K 100% 1.32MB/s 0:00:00 (xfr#8, to-chk=30/44)
apt.conf.d/20dbus
243 100% 237.30kB/s 0:00:00 (xfr#9, to-chk=29/44)
apt.conf.d/20packagekit
1.04K 100% 1015.62kB/s 0:00:00 (xfr#10, to-chk=28/44)
apt.conf.d/50appstream
2.59K 100% 2.47MB/s 0:00:00 (xfr#11, to-chk=27/44)
apt.conf.d/50command-not-found
625 100% 610.35kB/s 0:00:00 (xfr#12, to-chk=26/44)
apt.conf.d/60icons
435 100% 424.80kB/s 0:00:00 (xfr#13, to-chk=25/44)
apt.conf.d/60icons-hidpi
251 100% 245.12kB/s 0:00:00 (xfr#14, to-chk=24/44)
apt.conf.d/60icons-large
348 100% 339.84kB/s 0:00:00 (xfr#15, to-chk=23/44)
apt.conf.d/60icons-large-hidpi
253 100% 247.07kB/s 0:00:00 (xfr#16, to-chk=22/44)
apt.conf.d/70debconf
182 100% 177.73kB/s 0:00:00 (xfr#17, to-chk=21/44)
auth.conf.d/
preferences.d/
preferences.d/pop-default-settings
136 100% 132.81kB/s 0:00:00 (xfr#18, to-chk=20/44)
sources.list.d/
sources.list.d/jonathonf-ubuntu-gcc-7_5-focal.list
136 100% 132.81kB/s 0:00:00 (xfr#19, to-chk=19/44)
sources.list.d/jonathonf-ubuntu-gcc-7_5-focal.list.save
136 100% 132.81kB/s 0:00:00 (xfr#20, to-chk=18/44)
sources.list.d/lutris-team-ubuntu-lutris-focal.list
138 100% 134.77kB/s 0:00:00 (xfr#21, to-chk=17/44)
sources.list.d/lutris-team-ubuntu-lutris-focal.list.save
138 100% 134.77kB/s 0:00:00 (xfr#22, to-chk=16/44)
sources.list.d/opera-stable.list
187 100% 182.62kB/s 0:00:00 (xfr#23, to-chk=15/44)
sources.list.d/opera-stable.list.save
187 100% 182.62kB/s 0:00:00 (xfr#24, to-chk=14/44)
sources.list.d/paulo-miguel-dias-ubuntu-mesa-focal.list
146 100% 142.58kB/s 0:00:00 (xfr#25, to-chk=13/44)
sources.list.d/paulo-miguel-dias-ubuntu-mesa-focal.list.save
146 100% 142.58kB/s 0:00:00 (xfr#26, to-chk=12/44)
sources.list.d/system76-ubuntu-pop-focal.list
124 100% 121.09kB/s 0:00:00 (xfr#27, to-chk=11/44)
sources.list.d/system76-ubuntu-pop-focal.list.save
124 100% 121.09kB/s 0:00:00 (xfr#28, to-chk=10/44)
sources.list.d/ubuntu-toolchain-r-ubuntu-test-focal.list
148 100% 144.53kB/s 0:00:00 (xfr#29, to-chk=9/44)
sources.list.d/ubuntu-toolchain-r-ubuntu-test-focal.list.save
148 100% 144.53kB/s 0:00:00 (xfr#30, to-chk=8/44)
trusted.gpg.d/
trusted.gpg.d/jonathonf_ubuntu_gcc-7_5.gpg
1.13K 100% 1.08MB/s 0:00:00 (xfr#31, to-chk=7/44)
trusted.gpg.d/lutris-team_ubuntu_lutris.gpg
1.12K 100% 1.07MB/s 0:00:00 (xfr#32, to-chk=6/44)
trusted.gpg.d/paulo-miguel-dias_ubuntu_mesa.gpg
357 100% 348.63kB/s 0:00:00 (xfr#33, to-chk=5/44)
trusted.gpg.d/system76_ubuntu_pop.gpg
1.13K 100% 1.07MB/s 0:00:00 (xfr#34, to-chk=4/44)
trusted.gpg.d/ubuntu-keyring-2012-archive.gpg
2.80K 100% 2.67MB/s 0:00:00 (xfr#35, to-chk=3/44)
trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg
2.79K 100% 2.66MB/s 0:00:00 (xfr#36, to-chk=2/44)
trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
1.73K 100% 1.65MB/s 0:00:00 (xfr#37, to-chk=1/44)
trusted.gpg.d/ubuntu-toolchain-r_ubuntu_test.gpg
355 100% 346.68kB/s 0:00:00 (xfr#38, to-chk=0/44)

sent 44.22K bytes received 804 bytes 90.05K bytes/sec
total size is 40.41K speedup is 0.90
root@pop-os:~# sudo sed -i -e '\|https://dl.winehq.org/wine-builds|d' \
> -e '\|http://ppa.launchpad.net/ubuntu-wine|d' \
> /etc/apt/sources.list /etc/apt/sources.list.d/*.list
root@pop-os:~# /etc/apt/sources.list
-bash: /etc/apt/sources.list: Permission denied
root@pop-os:~# /etc/apt/sources.list.d
-bash: /etc/apt/sources.list.d: Is a directory
root@pop-os:~# /etc/apt/sources.list
-bash: /etc/apt/sources.list: Permission denied
root@pop-os:~# sudo /etc/apt/sources.list
sudo: /etc/apt/sources.list: command not found
root@pop-os:~# /etc/apt/sources.list
-bash: /etc/apt/sources.list: Permission denied
root@pop-os:~# sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Hit:3 http://apt.pop-os.org/proprietary focal InRelease
Hit:4 https://deb.opera.com/opera-stable stable InRelease
Err:5 http://ppa.launchpad.net/jonathonf/gcc-7.5/ubuntu focal InRelease
403 Forbidden [IP: 2001:67c:1560:8008::15 80]
Get:6 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Hit:8 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Hit:9 http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal InRelease
Ign:10 http://ppa.launchpad.net/paulo-miguel-dias/mesa/ubuntu focal InRelease
Hit:11 http://ppa.launchpad.net/system76/pop/ubuntu focal InRelease
Hit:12 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal InRelease
Err:13 http://ppa.launchpad.net/paulo-miguel-dias/mesa/ubuntu focal Release
404 Not Found [IP: 2001:67c:1560:8008::15 80]
Reading package lists... Done
E: Failed to fetch http://ppa.launchpad.net/jonathonf/gcc- ... /InRelease 403 Forbidden [IP: 2001:67c:1560:8008::15 80]
E: The repository 'http://ppa.launchpad.net/jonathonf/gcc-7.5/ubuntu focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/paulo-miguel-dias/mesa/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

User avatar
dimesio
Moderator
Moderator
Posts: 12844
Joined: Tue Mar 25, 2008 10:30 pm

Re: I cant get wine to install

Post by dimesio » Sun Sep 06, 2020 10:18 am

According to the last output you posted, you have correctly added the WineHQ repository and the errors you are getting are from two PPAs that have nothing to do with us:

Code: Select all

[quote]
E: Failed to fetch http://ppa.launchpad.net/jonathonf/gcc- ... /InRelease 403 Forbidden [IP: 2001:67c:1560:8008::15 80]
E: The repository 'http://ppa.launchpad.net/jonathonf/gcc-7.5/ubuntu focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/paulo-miguel-dias/mesa/ubuntu focal Release' does not have a Release file.[/quote]
Contact the maintainers of those PPAs for help.

User avatar
Bob Wya
Level 12
Level 12
Posts: 2884
Joined: Sat Oct 16, 2010 7:40 pm
Location: Scotland
Contact:

Re: I cant get wine to install

Post by Bob Wya » Mon Sep 07, 2020 6:47 am

@donkeykhan

If you happen to post again on (any) technical forum, it's very helpful if use forum code tags...

Code: Select all

...
to delimit large blocks of terminal output (and commands)...
That's the </> button above the WineHQ Forums (full) edit box.

Otherwise your post(s) can end up being unreadable blobs!! :oops:

Thanks
Bob

Post Reply