WineHQ
Wine Forums

Board index » WineHQ » Wine Help » Linux




 Page 1 of 1 [ 12 posts ] 



 
Author Message
 Post Posted: Sat Dec 22, 2018 12:19 am 
Offline
Newbie
Newbie

Joined: Fri Dec 21, 2018 11:47 pm
Posts: 4
Location: Argentina
Hello everyone, those who are reading this topic, I come to ask for help in this forum, because when installing wine in Peppermint 9 I get the following error even following all the steps if someone could guide me.

Code:
sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 winehq-stable : Depends: wine-stable (= 3.0.4~cosmic)
E: Unable to correct problems, you have held broken packages.


These are the steps I followed before wanting to install wine, according to this source.

https://wiki.winehq.org/Ubuntu

1: sudo dpkg --add-architecture i386
2: wget -nc https://dl.winehq.org/wine-builds/winehq.key
3: sudo apt-key add winehq.key
4: sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
5: sudo apt update
6: sudo apt install --install-recommends winehq-stable

So that's it, I still do not understand what I'm doing wrong. :roll:


Top 
 Post Posted: Sat Dec 22, 2018 6:47 am 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 25, 2008 10:30 pm
Posts: 12490
To track down dependency issues, you need to work your way back. Try installing wine-stable rather than winehq-stable, see what your package manager says is preventing the installation, and try installing that. If that doesn't install, try installing whatever is blocking that. Keep going until you find the problem.


Top 
 Post Posted: Sat Dec 22, 2018 10:18 am 
Offline
Level 5
Level 5

Joined: Thu Aug 14, 2014 10:10 am
Posts: 358
Or try aptitude
Code:
aptitude --with-recommends install winehq-stable


Top 
 Post Posted: Sun Dec 23, 2018 2:15 pm 
Offline
Newbie
Newbie

Joined: Fri Dec 21, 2018 11:47 pm
Posts: 4
Location: Argentina
:D Hello, thanks for answering. I did what you said and unfortunately got the following results, I have to clarify that all this took me step by step to each of the following dependencies. Therefore I do not know how I can solve it, since speaking from the ignorance, for what little I can understand on the subject I see that the problem may be in the distribution or the lack of necessary packages or perhaps the repositories of ubuntu 18.04. I repeat and clarify that I am speaking from my ignorance. Thank you very much to all, i wait for your answers.

Code:
sudo apt-get install wine-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine-stable : Depends: wine-stable-i386 (= 3.0.4~cosmic)
E: Unable to correct problems, you have held broken packages.


Code:
sudo apt-get install wine-stable-i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine-stable-i386:i386 : Depends: libc6:i386 (>= 2.28) but 2.27-3ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.


Code:
sudo apt-get install libc6:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libc6:i386 is already the newest version (2.27-3ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Top 
 Post Posted: Sun Dec 23, 2018 4:45 pm 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 25, 2008 10:30 pm
Posts: 12490
Quote:
Code:
 wine-stable : Depends: wine-stable-i386 (= 3.0.4~cosmic)

Somehow you must have added the cosmic repository, and that's the package your package manager is trying to install. You need to delete the cosmic repository from your /etc/apt/sources.list (or /etc/apt/sources.list.d).


Top 
 Post Posted: Mon Dec 24, 2018 1:15 am 
Offline
Newbie
Newbie

Joined: Fri Dec 21, 2018 11:47 pm
Posts: 4
Location: Argentina
Hello, thanks for answering again. I have noticed the file /etc/apt/sources.list and it has thrown me the following results:

Code:
# deb cdrom:[Peppermint 9 (20180621) - Release amd64]/ bionic main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ar.archive.ubuntu.com/ubuntu/ bionic main restricted
deb-src http://ar.archive.ubuntu.com/ubuntu/ bionic main universe multiverse restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ar.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb-src http://ar.archive.ubuntu.com/ubuntu/ bionic-updates main universe multiverse restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ar.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://ar.archive.ubuntu.com/ubuntu/ bionic universe
deb http://ar.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://ar.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ar.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://ar.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://ar.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://ar.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ar.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://ar.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb-src http://security.ubuntu.com/ubuntu bionic-security main universe multiverse restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./
# deb-src https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main


From what I see there is no repository that mentions the cosmic repository. I think this has no solution for what I see. :?


Top 
 Post Posted: Mon Dec 24, 2018 6:28 am 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 25, 2008 10:30 pm
Posts: 12490
xXShadicXx11 wrote:
From what I see there is no repository that mentions the cosmic repository. I think this has no solution for what I see. :?

Wrong. Ubuntu 18.10 is cosmic. You need to delete this one:
Quote:
Code:
deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./


Top 
 Post Posted: Tue Dec 25, 2018 2:26 pm 
Offline
Newbie
Newbie

Joined: Fri Dec 21, 2018 11:47 pm
Posts: 4
Location: Argentina
:lol: Oh my god what a fool I have been good, it seems to work, because I could install it without problems thank you very much for your patience. :D :wink:


Top 
 Post Posted: Wed Dec 26, 2018 6:22 pm 
Offline
Level 1
Level 1

Joined: Tue Dec 18, 2018 9:25 pm
Posts: 5
Interesting. I may have done this too as I've been having the same kind of problems in Ubuntu 18.04.1 Now how do I go about deleting the bad file or wrong file that could be messing with things. Apologies to all I'm a newbie.


Top 
 Post Posted: Wed Dec 26, 2018 7:08 pm 
Offline
Moderator
Moderator
User avatar

Joined: Tue Mar 25, 2008 10:30 pm
Posts: 12490
Open /etc/apt/sources.list in a text editor and delete any items that say "cosmic" and/or "18.10."


Top 
 Post Posted: Wed Dec 26, 2018 9:28 pm 
Offline
Level 1
Level 1

Joined: Tue Dec 18, 2018 9:25 pm
Posts: 5
dimesio wrote:
Open /etc/apt/sources.list in a text editor and delete any items that say "cosmic" and/or "18.10."



Code:
arcman@SlabOMetal:~$ /etc/apt/sources.list
bash: /etc/apt/sources.list: Permission denied
arcman@SlabOMetal:~$


Hmmm......did I enter in wrong??


Top 
 Post Posted: Thu Dec 27, 2018 4:13 am 
Offline
Level 1
Level 1

Joined: Thu Dec 20, 2018 3:51 am
Posts: 7
Location: Legoland
SlaboMetal wrote:
dimesio wrote:
Open /etc/apt/sources.list in a text editor and delete any items that say "cosmic" and/or "18.10."



Code:
arcman@SlabOMetal:~$ /etc/apt/sources.list
bash: /etc/apt/sources.list: Permission denied
arcman@SlabOMetal:~$


Hmmm......did I enter in wrong??


You have to specify which Application you want to start at first. This would be "nano" for example. After specifying the Application, it need to know what to do.
So we put the path to the File we want to edit after the application-name.


sudo nano /etc/apt/sources.list


as we are in the "etc" folder, we need sudo-superuser rights to edit the file.


After editing save the file with CTRL+O and close nano with CTRL+X. :-)


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 12 posts ] 




Board index » WineHQ » Wine Help » Linux


Who is online

Users browsing this forum: Bing [Bot] and 18 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: