WineHQ
Wine Forums

Board index » WineHQ » Wine Help » Linux




 Page 1 of 1 [ 7 posts ] 



 
Author Message
 Post Posted: Fri Dec 21, 2018 10:53 am 
Offline
Level 1
Level 1

Joined: Sun Mar 15, 2015 6:32 am
Posts: 8
Hi, since the upgrade of Linuxmint 19 to 19.1, I'm facing an issue. When I try to install winehq-staging, I have this error message:

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


I tried to remove all keys/repository, and from stratch:

Code:
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo apt-get update
sudo apt-get install --install-recommends winehq-staging


But same result. then I tried using aptitude:

Code:
sudo aptitude -f install winehq-staging


Code:
The following packages have unmet dependencies:
 wine-staging-i386:i386 : Depends: libavcodec58:i386 (>= 7:4.0) which is a virtual package and is not provided by any available package

                          Depends: libavutil56:i386 (>= 7:4.0) which is a virtual package and is not provided by any available package

                          Depends: libc6:i386 (>= 2.28) but 2.27-3ubuntu1 is installed
                          Depends: libvkd3d1:i386 which is a virtual package and is not provided by any available package

 wine-staging-amd64 : Depends: libavcodec58 (>= 7:4.0) which is a virtual package and is not provided by any available package

                      Depends: libavutil56 (>= 7:4.0) which is a virtual package and is not provided by any available package

                      Depends: libvkd3d1 which is a virtual package and is not provided by any available package

The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     wine-staging [Not Installed]                       
2)     wine-staging-amd64 [Not Installed]                 
3)     wine-staging-i386:i386 [Not Installed]             
4)     winehq-staging [Not Installed]                     



Accept this solution? [Y/n/q/?]


I'm trying to accept, but nothing change:

Code:
Accept this solution? [Y/n/q/?] y
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
                                         
artik ~


Using synaptic, the box becomes red and if I try to apply:

Code:
Could not apply changes!
Fix broken packages first


I also tried to install wine-staging:

Code:
The following packages have unmet dependencies:
 wine-staging : Depends: wine-staging-amd64 (= 4.0~rc2~cosmic) but it is not going to be installed
                Depends: wine-staging-i386 (= 4.0~rc2~cosmic)
E: Unable to correct problems, you have held broken packages.


sudo apt-get install wine-staging-amd64 :

Code:
The following packages have unmet dependencies:
 wine-staging-amd64 : Depends: libavcodec58 (>= 7:4.0) but it is not installable
                      Depends: libavutil56 (>= 7:4.0) but it is not installable
                      Depends: libvkd3d1 but it is not installable
E: Unable to correct problems, you have held broken packages.


I tried to clean all cache, etc etc:

Code:
sudo apt-get clean
sudo apt-get autoclean && apt-get clear cache
sudo dpkg –configure -a
sudo apt-get install -f
sudo apt-get dist-upgrade


and to change the repository source, trying another one, same result.

Code:
"cat /etc/apt/sources.list.d/official-package-repositories.list" returns:

deb http://packages.linuxmint.com tessa main upstream import backport

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


All help is welcome


Top 
 Post Posted: Fri Dec 21, 2018 11:07 am 
Offline
Level 5
Level 5

Joined: Thu Aug 14, 2014 10:10 am
Posts: 358
Quote:
winehq-staging : Depends: wine-staging (= 4.0~rc2~cosmic)

Somewhere in the past you have added the Ubuntu 18.10 repository.
Probably there is a file in /etc/apt/sources.list.d which contains the wrong repository.


Top 
 Post Posted: Fri Dec 21, 2018 11:16 am 
Offline
Level 1
Level 1

Joined: Sun Mar 15, 2015 6:32 am
Posts: 8
I forgot to mentioned that I tried the repository cosmic:

Quote:
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main'


I updated/upgraded my cache, same error:

Code:
apt install winehq-staging --install-recommends
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-staging : Depends: wine-staging (= 4.0~rc2~cosmic)
E: Unable to correct problems, you have held broken packages.


Top 
 Post Posted: Fri Dec 21, 2018 11:28 am 
Offline
Level 5
Level 5

Joined: Thu Aug 14, 2014 10:10 am
Posts: 358
Linux Mint 19.x needs the bionic repo and isn't compatible with cosmic.
You have to remove the cosmic repo from your sources.


Top 
 Post Posted: Fri Dec 21, 2018 11:40 am 
Offline
Level 1
Level 1

Joined: Sun Mar 15, 2015 6:32 am
Posts: 8
Sorry jkfloris I'm confused. I removed the cosmic, ok.

But Which wine repo shall I add so ?

Code:
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'


Because if yes, it's what I did at the beginning.


Top 
 Post Posted: Fri Dec 21, 2018 12:28 pm 
Offline
Level 5
Level 5

Joined: Thu Aug 14, 2014 10:10 am
Posts: 358
Yes, that should be the correct repo. And make sure you removed cosmic one.
Quote:
wine-staging-i386:i386 :
...
Depends: libc6:i386 (>= 2.28) but 2.27-3ubuntu1 is installed
...

The cosmic wine-staging-i386 package depends on libc6 >=2.28
That is way I expect you have a cosmic line somewhere in your sources.


Top 
 Post Posted: Fri Dec 21, 2018 12:37 pm 
Offline
Level 1
Level 1

Joined: Sun Mar 15, 2015 6:32 am
Posts: 8
Found it... and fixed!

Quote:
cd /etc/apt/sources.list.d


edited the file

Quote:
sudo subl additional-repositories.list


I removed the line:

Quote:


then normal procedure:

Quote:
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo apt-get update
sudo apt-get install --install-recommends winehq-staging


and fixed!

Thanks for help


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




Board index » WineHQ » Wine Help » Linux


Who is online

Users browsing this forum: No registered users and 17 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: