Non-existant package

Questions about Wine on Linux
Post Reply
Pollolleh
Newbie
Newbie
Posts: 4
Joined: Mon Nov 26, 2018 6:09 am

Non-existant package

Post by Pollolleh » Mon Nov 26, 2018 6:14 am

Hi, i'll start this by stating that i'm new to the linux world.
I'm trying to install WineHQ and since i'm using Linux Mint 19 i added the bionic repository (sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main') but when i try to download any version of wine (Stable, Staging, Devel) the terminal returns that it is impossible to find the package.

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

Re: Non-existant package

Post by dimesio » Mon Nov 26, 2018 6:51 am

Did you run sudo apt update after adding the repository key? You need to.

Pollolleh
Newbie
Newbie
Posts: 4
Joined: Mon Nov 26, 2018 6:09 am

Re: Non-existant package

Post by Pollolleh » Mon Nov 26, 2018 7:27 am

Yes, i did everything that is wrote on the wiki

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

Re: Non-existant package

Post by dimesio » Mon Nov 26, 2018 2:16 pm

Post the contents of your /etc/apt/sources.list.

Pollolleh
Newbie
Newbie
Posts: 4
Joined: Mon Nov 26, 2018 6:09 am

Re: Non-existant package

Post by Pollolleh » Mon Nov 26, 2018 2:34 pm

#deb cdrom:[Linux Mint 19 _Tara_ - Release amd64 20180717]/ bionic contrib main non-free

jkfloris
Level 6
Level 6
Posts: 692
Joined: Thu Aug 14, 2014 10:10 am

Re: Non-existant package

Post by jkfloris » Tue Nov 27, 2018 7:39 am

Probably there are also files in /etc/sources.list.d/
Can you post the content of the files?

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

Re: Non-existant package

Post by Bob Wya » Tue Nov 27, 2018 8:12 am

@Pollolleh

Please can you post the full output from:

Code: Select all

find /etc/apt/ -regextype sed -regex ".*/sources.list\(\|[.]d/.*[.]list\)" | xargs -I {} sh -c 'printf "\n\n%s :\n" {} ; gawk '\''{ if ($1 !~ "^([[:blank:]]*$|#)") print $0 }'\'' {} ;'
(just a hack to dump all the non-comment/blank lines, from all your Ubuntu repository files)

Please use the forum Code tags to demark this:

Code: Select all

...
(highlight the full pasted file block in the full reply edit box and tap the Code button above this).

Ta
Bob

Pollolleh
Newbie
Newbie
Posts: 4
Joined: Mon Nov 26, 2018 6:09 am

Re: Non-existant package

Post by Pollolleh » Wed Nov 28, 2018 11:12 am

Code: Select all

/etc/apt/sources.list.d/google-chrome.list :
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main


/etc/apt/sources.list.d/steam.list :
deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam
deb-src [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam


/etc/apt/sources.list.d/official-package-repositories.list :
deb http://packages.linuxmint.com tara main upstream import backport #id:linuxmint_main
deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ bionic partner


/etc/apt/sources.list :

jkfloris
Level 6
Level 6
Posts: 692
Joined: Thu Aug 14, 2014 10:10 am

Re: Non-existant package

Post by jkfloris » Wed Nov 28, 2018 11:37 am

The WineHQ repo isn't in your sources.
Run the "apt-add-repository" command again. Take a note if there are some error messages.

Code: Select all

sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
Use the command Bob Wya gives you to check if it run successfully. There should be a line with "dl.winehq.org"

Post Reply