re-install problem

Asked by raiden

I have a problem installing yade again... I installed ubuntu on windows10 server afterwards I deleted that ubuntu and created another one. I try to install yade and I got this error.
(before below error I go through FAQs install steps and get the necessary files with wget without any problem)

sudo apt install yade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libyadedaily : Depends: libopenblas-dev but it is not going to be installed
                Depends: freeglut3 but it is not going to be installed
                Depends: libboost-python1.65.1 but it is not going to be installed
                Depends: libboost-regex1.65.1 but it is not going to be installed
                Depends: libboost-serialization1.65.1 but it is not going to be installed
                Depends: libcgal13 but it is not going to be installed
                Depends: libcholmod3 (>= 1:4.5.2) but it is not going to be installed
                Depends: libgl2ps1.4 but it is not going to be installed
                Depends: libopenblas-base but it is not going to be installed
                Depends: libqglviewer2-qt5 but it is not going to be installed
                Depends: libqt5core5a (>= 5.9.0~beta) but it is not going to be installed
                Depends: libqt5gui5 (>= 5.0.2) but it is not going to be installed
                Depends: libqt5opengl5 (>= 5.0.2) but it is not going to be installed
                Depends: libqt5widgets5 (>= 5.0.2) but it is not going to be installed
                Depends: libqt5xml5 (>= 5.0.2) but it is not going to be installed
                Depends: libvtk6.3 but it is not going to be installed
 python-yadedaily : Depends: python-gts but it is not going to be installed
                    Depends: python-matplotlib but it is not going to be installed
                    Depends: python-minieigen but it is not going to be installed
                    Depends: python-pil but it is not going to be installed
                    Depends: python-pyqt5 but it is not going to be installed
                    Depends: python-pyqt5.qtsvg but it is not going to be installed
                    Depends: python-pyqt5.qtwebkit but it is not going to be installed
                    Depends: python-tk but it is not going to be installed
                    Depends: python-xlib but it is not going to be installed
                    Depends: python-numpy (>= 1:1.13.1) but it is not going to be installed
                    Depends: python-numpy-abi9
                    Depends: python (< 2.8) but it is not going to be installed
                    Depends: python (>= 2.7) but it is not going to be installed
                    Depends: python:any (>= 2.6.6-7~)
                    Depends: libboost-python1.65.1 but it is not going to be installed
                    Depends: libboost-serialization1.65.1 but it is not going to be installed
                    Depends: libgl2ps1.4 but it is not going to be installed
                    Depends: libqglviewer2-qt5 but it is not going to be installed
                    Depends: libqt5core5a (>= 5.9.0~beta) but it is not going to be installed
                    Depends: libqt5gui5 (>= 5.0.2) but it is not going to be installed
                    Depends: libqt5opengl5 (>= 5.0.2) but it is not going to be installed
                    Depends: libqt5widgets5 (>= 5.0.2) but it is not going to be installed
                    Depends: libqt5xml5 (>= 5.0.2) but it is not going to be installed
 yade : Depends: gnuplot
        Depends: ipython but it is not going to be installed
        Depends: libyade (= 2018.02b-1) but it is not going to be installed
        Depends: python-yade (= 2018.02b-1)
        Depends: python-pyqt5.qtwebkit but it is not going to be installed
        Depends: python-numpy (>= 1:1.13.1) but it is not going to be installed
        Depends: python-numpy-abi9
        Depends: python:any
 yadedaily : Depends: gnuplot
             Depends: ipython but it is not going to be installed
             Depends: python-numpy (>= 1:1.13.1) but it is not going to be installed
             Depends: python-numpy-abi9
             Depends: python:any
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

I cant recognize the problem...

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Robert Caulk (rcaulk) said :
#1

At the risk of asking the obvious, did you try:

apt --fix-broken install

?

Revision history for this message
raiden (raidenn) said :
#2

thanks for idea but yes i tried, didn't work though..

My previous question jarome helped me. But this time I did everything same on freshly installed ubuntu, didn't work. very strange for me...

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

For diagnostic purposes, what is the output of the commands

uname -a
lsb_release -crid
sudo dpkg --audit
apt-cache policy libyadedaily libopenblas-dev libqt5core5a python-yadedaily python-gts yade libyade python-numpy

Revision history for this message
raiden (raidenn) said :
#4

uname -a
Linux raiden-VirtualBox 4.18.0-17-generic #18~18.04.1-Ubuntu SMP Fri Mar 15 15:27:12 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

 lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic

sudo dpkg --audit
[sudo] password for raiden:
The following packages have been unpacked but not yet configured.
They must be configured using dpkg --configure or the configure
menu option in dselect for them to work:
 libyadedaily:amd64 Platform for discrete element modeling. Libraries
 python-yadedaily Platform for discrete element modeling. Python bindings
 yadedaily Platform for discrete element modeling

apt-cache policy libyadedaily libopenblas-dev libqt5core5a python-yadedaily python-gts yade
libyadedaily:
  Installed: 2018.02b-3905f5add2~bionic-1
  Candidate: 2018.02b-3905f5add2~bionic-1
  Version table:
 *** 2018.02b-3905f5add2~bionic-1 100
        100 /var/lib/dpkg/status
libopenblas-dev:
  Installed: (none)
  Candidate: 0.2.20+ds-4
  Version table:
     0.2.20+ds-4 500
        500 http://cz.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
libqt5core5a:
  Installed: (none)
  Candidate: 5.9.5+dfsg-0ubuntu2
  Version table:
     5.9.5+dfsg-0ubuntu2 500
        500 http://cz.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
     5.9.5+dfsg-0ubuntu1 500
        500 http://cz.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
python-yadedaily:
  Installed: 2018.02b-3905f5add2~bionic-1
  Candidate: 2018.02b-3905f5add2~bionic-1
  Version table:
 *** 2018.02b-3905f5add2~bionic-1 100
        100 /var/lib/dpkg/status
python-gts:
  Installed: (none)
  Candidate: 0.3.1-6
  Version table:
     0.3.1-6 500
        500 http://cz.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
yade:
  Installed: (none)
  Candidate: 2018.02b-1
  Version table:
     2018.02b-1 500
        500 http://cz.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

libyade python-numpy
libyade: command not found

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

What is the output of the command

sudo dpkg --configure -a

Revision history for this message
raiden (raidenn) said :
#6

this command gives no output..

Revision history for this message
raiden (raidenn) said :
#7

I dont know what happened but I was trying to solve the issue. Change the server to main and try some commands(probably to fix the sources list) solved my issue.

I tried to install yadedaily again, it says its already installed. I just tried to run it and it works now. Although I dont know what was the problem. Maybe I messed up the sources list somehow...

Revision history for this message
Robert Caulk (rcaulk) said :
#8

Directions for changing ubuntu server to main [1].

https://answers.launchpad.net/yade/+question/678871

Revision history for this message
Robert Caulk (rcaulk) said :
#9

User solved question without marking solved.

Revision history for this message
raiden (raidenn) said :
#10

I didn't marked solved because I wasn't sure what solved my problem. But thank you for the help. Cheers..