ratt-ru / meqtrees

A library for implementing radio astronomical Measurement Equations
http://meqtrees.net
10 stars 2 forks source link

Binary installations as per the meqtrees.net guide not working (Ubuntu 14.04.3) #866

Closed IanHeywood closed 8 years ago

IanHeywood commented 8 years ago

Bailing out at this stage:

ianh@nerv:~$ sudo apt-get install meqtrees lwimager lofar
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:
 lofar : Depends: casarest but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
gijzelaerr commented 8 years ago

did you do a apt-get update before apt-get install?

What happens if you run $ apt-get install casarest? Could be that you need to enable universe and/or multiverse.

IanHeywood commented 8 years ago

Yes, as part of enabling the SKA-SA PPA. I did a sudo apt-get install casarest, followed by the sudo apt-get install meqtrees lwimager lofar, I get the following:

ianh@nerv:~$ sudo apt-get install casarest
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  casacore-data libboost-system1.55.0 libboost-thread1.55.0
The following NEW packages will be installed:
  casacore-data casarest libboost-system1.55.0 libboost-thread1.55.0
0 to upgrade, 4 to newly install, 0 to remove and 0 not to upgrade.
Need to get 15.3 MB of archives.
After this operation, 47.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://au.archive.ubuntu.com/ubuntu/ trusty/universe libboost-system1.55.0 amd64 1.55.0-1 [10.6 kB]
Get:2 http://au.archive.ubuntu.com/ubuntu/ trusty/universe libboost-thread1.55.0 amd64 1.55.0-1 [27.3 kB]
Get:3 http://ppa.launchpad.net/radio-astro/main/ubuntu/ trusty/main casacore-data all 20150831-1trusty [10.5 MB]
Get:4 http://ppa.launchpad.net/radio-astro/main/ubuntu/ trusty/main casarest amd64 1.3.1-2trusty [4,805 kB]
Fetched 15.3 MB in 36s (422 kB/s)                                              
Selecting previously unselected package libboost-system1.55.0:amd64.
(Reading database ... 195017 files and directories currently installed.)
Preparing to unpack .../libboost-system1.55.0_1.55.0-1_amd64.deb ...
Unpacking libboost-system1.55.0:amd64 (1.55.0-1) ...
Selecting previously unselected package libboost-thread1.55.0:amd64.
Preparing to unpack .../libboost-thread1.55.0_1.55.0-1_amd64.deb ...
Unpacking libboost-thread1.55.0:amd64 (1.55.0-1) ...
Selecting previously unselected package casacore-data.
Preparing to unpack .../casacore-data_20150831-1trusty_all.deb ...
Unpacking casacore-data (20150831-1trusty) ...
Selecting previously unselected package casarest.
Preparing to unpack .../casarest_1.3.1-2trusty_amd64.deb ...
Unpacking casarest (1.3.1-2trusty) ...
Setting up libboost-system1.55.0:amd64 (1.55.0-1) ...
Setting up libboost-thread1.55.0:amd64 (1.55.0-1) ...
Setting up casacore-data (20150831-1trusty) ...
Setting up casarest (1.3.1-2trusty) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
ianh@nerv:~$ sudo apt-get install meqtrees lwimager lofar
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:
 casarest : Conflicts: lwimager but 1.3.3-1trusty is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Cheers.

gijzelaerr commented 8 years ago

please remove the lwimager package manually, casarest should replace it but I forgot to add that rule.

IanHeywood commented 8 years ago

Works! Thanks.