Jump to content

broken dependencies since last update


darkwing_duck
 Share

Recommended Posts

Hello, 

  I use linux mint 17.3. Ever since the last alpha update I have not been able to launch 0ad due to broken dependencies. The hard part is, I can not find ANY of them on my system, nor can I manually install them from anywhere. Any ideas?
synaptic gives me this upon trying to re-install 0ad
0ad:
  Depends: 0ad-data (<=0.0.20+r18643-0ubuntu1~14.04~wfg0) but 0.0.20+r18709-0ubuntu1~14.04~wfg0 is to be installed
  Depends: 0ad-data-common (<=0.0.20+r18643-0ubuntu1~14.04~wfg0) but 0.0.20+r18709-0ubuntu1~14.04~wfg0 is to be installed
 Depends: libenet7 but it is not going to be installed
 Depends: libgloox14 but it is not going to be installed
 Depends: libmozjs-31-0 but it is not going to be installed
 Depends: libnvtt2 but it is not going to be installed
 Depends: libsdl2-2.0-0 but it is not going to be installed
 Depends: libwxbase3.0-0 but it is not going to be installed
 Depends: libwxgtk3.0-0 but it is not going to be installed

apt-get in terminal gives me this upon trying to re-install
sudo apt-get install 0ad
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:
 0ad : Depends: 0ad-data (<= 0.0.20+r18643-0ubuntu1~14.04~wfg0) but 0.0.20+r18709-0ubuntu1~14.04~wfg0 is to be installed
       Depends: 0ad-data-common (<= 0.0.20+r18643-0ubuntu1~14.04~wfg0) but 0.0.20+r18709-0ubuntu1~14.04~wfg0 is to be installed
E: Unable to correct problems, you have held broken packages.

this may be an easy fix and my brain my just not be working anymore but any ideas?

Link to comment
Share on other sites

Hi @darkwing_duck and welcome to the 0 A.D. forum ;)

I don't have any experience with mint but I would try (with "sudo apt-get" seams to be replacable just with "apt" in mint):

  1. sudo apt-get remove 0ad
  2. sudo apt-get clean
  3. sudo apt-get purge
  4. sudo apt-get install 0ad
  5. If a packige conflicts that is part of 0ad e.g. 0ad-data or 0ad-data-common remove it seperately (sudo apt-get remove 0ad-data-common,0ad-data)
  6. Retry 2-4

If that still doesn't work the dependencies might be broken (I don't recommend using force though since you can realy break your system with that. Please repost in that case wait for a better answer ;) ).

EDIT: Maybe related:

 

Link to comment
Share on other sites

james@Darkwing-duck-linux:~$ sudo apt-get remove 0ad
[sudo] password for james: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package '0ad' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  fonts-texgyre tex-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
james@Darkwing-duck-linux:~$ sudo apt-get clean
james@Darkwing-duck-linux:~$ sudo apt-get purge
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  fonts-texgyre tex-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
james@Darkwing-duck-linux:~$ sudo apt-get install 0ad
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:
 0ad : Depends: 0ad-data (<= 0.0.20+r18643-0ubuntu1~14.04~wfg0) but 0.0.20+r18723-0ubuntu1~14.04~wfg0 is to be installed
       Depends: 0ad-data-common (<= 0.0.20+r18643-0ubuntu1~14.04~wfg0) but 0.0.20+r18723-0ubuntu1~14.04~wfg0 is to be installed
E: Unable to correct problems, you have held broken packages.
james@Darkwing-duck-linux:~$ sudo apt-get install 0ad
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:
 0ad : Depends: 0ad-data (<= 0.0.20+r18643-0ubuntu1~14.04~wfg0) but 0.0.20+r18723-0ubuntu1~14.04~wfg0 is to be installed
       Depends: 0ad-data-common (<= 0.0.20+r18643-0ubuntu1~14.04~wfg0) but 0.0.20+r18723-0ubuntu1~14.04~wfg0 is to be installed
E: Unable to correct problems, you have held broken packages.
james@Darkwing-duck-linux:~$ 



still no success. I use the gnome enviroment since KDE runs like a dinosaur on this laptop, lol.

Link to comment
Share on other sites

The only thing I can recomment in this case is using the instructions from here: http://play0ad.com/download/linux/#a0A.D.providedpackages

...because to me it sounds like the official mint repositories dependencies are indeed broken for 0 A.D..

A less system interfering way would be to use autoremove and update and try installing the mint 0ad package again but I don't think it will help.

Link to comment
Share on other sites

following the instructions seems to work. the problem is when I try to use the 0ad.dev repo. It seems the packages that are broken only have something to do with the .dev repository 

 

james@Darkwing-duck-linux:~$ sudo add-apt-repository ppa:wfg/0ad.dev
[sudo] password for james: 
You are about to add the following PPA to your system:
 This PPA contains weekly development snapshots of the RTS game 0 A.D. Website: http://wildfiregames.com/0ad/

These snapshots are for testing purposes and are NOT guaranteed to be stable. For multiplayer games it is recommended and mostly needed that all players  are using the same revision!

You can follow the development and report bugs in our Trac bug/issue tracker located at http://trac.wildfiregames.com/timeline

For builds that are more stable (but probably older), use the non-development PPA at https://launchpad.net/~wfg/+archive/0ad/
 More info: https://launchpad.net/~wfg/+archive/ubuntu/0ad.dev
Press [ENTER] to continue or ctrl-c to cancel adding it

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.3qvc1koMSU --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E4FA953A
gpg: requesting key E4FA953A from hkp server keyserver.ubuntu.com
gpg: key E4FA953A: "Launchpad 0 A.D." not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
james@Darkwing-duck-linux:~$ sudo apt-get update
Ign http://dl.google.com stable InRelease
Hit http://dl.google.com stable Release.gpg                                    
Ign http://extra.linuxmint.com rosa InRelease                                  
Hit http://dl.google.com stable Release                                        
Hit http://extra.linuxmint.com rosa Release.gpg                                
Ign http://mirror.stjschools.org rosa InRelease                                
Hit http://dl.google.com stable/main amd64 Packages                            
Hit http://extra.linuxmint.com rosa Release                                    
Ign http://ppa.launchpad.net trusty InRelease                                  
Hit http://mirror.stjschools.org rosa Release.gpg                              
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]           
Ign http://archive.canonical.com trusty InRelease                              
Hit http://mirror.stjschools.org rosa Release                                  
Hit http://extra.linuxmint.com rosa/main amd64 Packages                        
Ign http://toolbelt.heroku.com ./ InRelease                                    
Ign http://mirrordenver.fdcservers.net trusty InRelease                        
Hit http://mirror.stjschools.org rosa/main amd64 Packages                      
Hit http://archive.canonical.com trusty Release.gpg                            
Get:2 http://ppa.launchpad.net trusty InRelease [15.5 kB]                      
Hit http://mirrordenver.fdcservers.net trusty-updates InRelease                
Hit http://mirror.stjschools.org rosa/upstream amd64 Packages                  
Hit http://mirrordenver.fdcservers.net trusty Release.gpg                      
Hit http://extra.linuxmint.com rosa/main i386 Packages                         
Hit http://toolbelt.heroku.com ./ Release.gpg                                  
Hit http://mirrordenver.fdcservers.net trusty-updates/main amd64 Packages      
Hit http://mirror.stjschools.org rosa/import amd64 Packages                    
Hit https://deb.nodesource.com trusty InRelease                                
Hit http://archive.canonical.com trusty Release                                
Hit http://mirrordenver.fdcservers.net trusty-updates/restricted amd64 Packages
Hit http://mirror.stjschools.org rosa/main i386 Packages                       
Hit http://mirrordenver.fdcservers.net trusty-updates/universe amd64 Packages  
Hit https://deb.nodesource.com trusty/main Sources                             
Ign http://dl.google.com stable/main Translation-en_US                         
Hit http://mirror.stjschools.org rosa/upstream i386 Packages                   
Hit http://mirrordenver.fdcservers.net trusty-updates/multiverse amd64 Packages
Hit http://ppa.launchpad.net trusty Release.gpg                                
Ign http://dl.google.com stable/main Translation-en                            
Hit http://archive.canonical.com trusty/partner amd64 Packages                 
Get:3 http://security.ubuntu.com trusty-security/main amd64 Packages [524 kB]  
Hit http://mirror.stjschools.org rosa/import i386 Packages                     
Hit http://mirrordenver.fdcservers.net trusty-updates/main i386 Packages       
Hit http://toolbelt.heroku.com ./ Release                                      
Hit http://mirrordenver.fdcservers.net trusty-updates/restricted i386 Packages 
Hit https://deb.nodesource.com trusty/main amd64 Packages                      
Hit http://archive.canonical.com trusty/partner i386 Packages                  
Get:4 http://ppa.launchpad.net trusty/main Sources [3,902 B]                   
Hit http://mirrordenver.fdcservers.net trusty-updates/universe i386 Packages   
Hit http://mirrordenver.fdcservers.net trusty-updates/multiverse i386 Packages 
Hit https://deb.nodesource.com trusty/main i386 Packages                       
Hit http://toolbelt.heroku.com ./ Packages                                     
Hit http://archive.canonical.com trusty/partner Translation-en                 
Hit http://mirrordenver.fdcservers.net trusty-updates/main Translation-en      
Get:5 http://ppa.launchpad.net trusty/main amd64 Packages [5,208 B]            
Get:6 https://deb.nodesource.com trusty/main Translation-en_US                 
Hit http://mirrordenver.fdcservers.net trusty-updates/multiverse Translation-en
Get:7 http://ppa.launchpad.net trusty/main i386 Packages [5,200 B]             
Ign http://extra.linuxmint.com rosa/main Translation-en_US                     
Hit http://mirrordenver.fdcservers.net trusty-updates/restricted Translation-en
Ign http://extra.linuxmint.com rosa/main Translation-en                        
Hit http://mirrordenver.fdcservers.net trusty-updates/universe Translation-en  
Get:8 http://ppa.launchpad.net trusty/main Translation-en [2,650 B]            
Hit http://mirrordenver.fdcservers.net trusty Release                          
Hit http://mirrordenver.fdcservers.net trusty/main amd64 Packages              
Hit http://ppa.launchpad.net trusty Release                                    
Get:9 http://security.ubuntu.com trusty-security/restricted amd64 Packages [13.0 kB]
Hit http://mirrordenver.fdcservers.net trusty/restricted amd64 Packages        
Hit http://ppa.launchpad.net trusty/main Sources                               
Hit http://mirrordenver.fdcservers.net trusty/universe amd64 Packages          
Get:10 http://security.ubuntu.com trusty-security/universe amd64 Packages [136 kB]
Hit http://mirrordenver.fdcservers.net trusty/multiverse amd64 Packages        
Hit http://mirrordenver.fdcservers.net trusty/main i386 Packages               
Hit http://ppa.launchpad.net trusty/main amd64 Packages                        
Hit http://mirrordenver.fdcservers.net trusty/restricted i386 Packages         
Ign https://deb.nodesource.com trusty/main Translation-en_US                   
Hit http://mirrordenver.fdcservers.net trusty/universe i386 Packages           
Ign https://deb.nodesource.com trusty/main Translation-en                      
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://mirrordenver.fdcservers.net trusty/multiverse i386 Packages         
Ign http://toolbelt.heroku.com ./ Translation-en_US                            
Hit http://mirrordenver.fdcservers.net trusty/main Translation-en              
Ign http://toolbelt.heroku.com ./ Translation-en                               
Hit http://mirrordenver.fdcservers.net trusty/multiverse Translation-en        
Hit http://mirrordenver.fdcservers.net trusty/restricted Translation-en        
Get:11 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4,995 B]
Hit http://mirrordenver.fdcservers.net trusty/universe Translation-en          
Get:12 http://security.ubuntu.com trusty-security/main i386 Packages [487 kB]  
Ign http://mirror.stjschools.org rosa/import Translation-en_US                 
Ign http://mirror.stjschools.org rosa/import Translation-en                    
Ign http://ppa.launchpad.net trusty/main Translation-en_US                     
Ign http://mirror.stjschools.org rosa/main Translation-en_US                   
Ign http://mirrordenver.fdcservers.net trusty/main Translation-en_US           
Ign http://mirror.stjschools.org rosa/main Translation-en                      
Ign http://mirrordenver.fdcservers.net trusty/multiverse Translation-en_US     
Get:13 http://security.ubuntu.com trusty-security/restricted i386 Packages [12.7 kB]
Ign http://mirror.stjschools.org rosa/upstream Translation-en_US               
Ign http://mirrordenver.fdcservers.net trusty/restricted Translation-en_US     
Ign http://mirrordenver.fdcservers.net trusty/universe Translation-en_US       
Ign http://mirror.stjschools.org rosa/upstream Translation-en                  
Get:14 http://security.ubuntu.com trusty-security/universe i386 Packages [136 kB]
Ign http://ppa.launchpad.net trusty/main Translation-en                        
Get:15 http://security.ubuntu.com trusty-security/multiverse i386 Packages [5,159 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en         
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Fetched 1,417 kB in 4s (298 kB/s)
Reading package lists... Done
james@Darkwing-duck-linux:~$ sudo apt-get install 0ad
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:
 0ad : Depends: 0ad-data (<= 0.0.20+r18643-0ubuntu1~14.04~wfg0) but 0.0.20+r18723-0ubuntu1~14.04~wfg0 is to be installed
       Depends: 0ad-data-common (<= 0.0.20+r18643-0ubuntu1~14.04~wfg0) but 0.0.20+r18723-0ubuntu1~14.04~wfg0 is to be installed
E: Unable to correct problems, you have held broken packages.
james@Darkwing-duck-linux:~$ 
 

Link to comment
Share on other sites

The link I gave you sais

sudo add-apt-repository ppa:wfg/0ad

I'm sorry, I should have mentioned clearly that the "-dev" version is broken at the moment - and is not optimal to be used by non-developers (Much more likely to be unstable).

I'd suggest you remove that PPA if you are not going to develop or test the development version of 0 A.D.:

sudo add-apt-repository --remove ppa:wfg/0ad

More info how to remove a PPA at http://askubuntu.com/questions/307/how-can-ppas-be-removed (Look for the best answer, green checkmark)

Though I'm still confident that the non-dev PPA should work.

[While I wrote this message you wrote back]

You just said you "re-installed the main repo". I'm not sure what you mean with that ;p

However, if everything works fine now, good.

Still you should remove the wfg/0ad-dev PPA if you just want to play 0 A.D. ;)

It would also be nice if you could try to explain more detailed what the problem was (y)

If it still doesn't work just state it and I will tell someone who also runs mint to be of better help then myself :/

Link to comment
Share on other sites

You might also contact the maintainer of the Mint 0ad package that is in though I suspect that it's from the Ubuntu's Trusty repo's and therefore not the current version of 0ad at all last I looked the trusty version was alpha 19 not 20 I would reinforce FeXoR's recommendation to use the main ppa not the dev version the dev version does break fairly often usually java script missteps ;) but a bit a pain in the butt if you don't update daily as most of the devs do though they use svn or git for that not the ppa:angel:

Enjoy the Choice :)  

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...