Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

apt problems R and Virtualbox

$
0
0
I've been using ubuntu since 2005 and I've noticed that package management
has never been completely "sorted" - just by looking at the amount of problems
people have with running apt with -fix and autoremove etc.

Ive seen some spectacular multi-line "apt-recipes" for supposedly fixing
problems including the inevitable hit the red button and reboot

All this suggests to me that it is poorly understood and in all this time
I havent seen any attempt at a considered and integrated solution.

In fact I would go as far as to say that the non-free operating systems
alternatives have linux beat hands-down in this area.

my own particular problem this time involves the following scenario

fresh install of ubuntu 14.10 with a kernel upgraded to 4.14.10

what set off the problem was this scenario

1. install virtual box 5.2.8 this pulled in a libcurl3 dependency
1b. download compile and install virtual box extensions for 5.2.8

2. install R fails wanting libcurl4-openssl-dev dependency

3. backout the broken R install which wouldn't compile R modules
because of some obscure dependencies see libcui57 at (7)

4. backout the perfectly working virtualbox install

5. install libcurl4-dev to manually fix the joint dependency requirements

6. reinstall virtualbox 5.2.8

7. install some obscure R dependencies that proved problematical
for R for some reason for example libcui57 and libgfortran

8. Reinstall R

9. After 8 hours work I now have an R that works perfectly -
that will download and compile and install R module extensions
and a Virtual Box that works with Virtual Box addons that will
also compile and install and work

The problem I have now is I can no longer install * ANYTHING *
I certainly dont want to randomly apply apt recipes because
I attempted that at (3) and (4) and I got 2 screens of apt
nonsense about it replacing deleting and downgrading half
my system including many packages you would never have
thought had anything to do with R and Virtualbox and 8 hours
of my time to get back to exactly the same place I was
with the R/libcurl4-openssl-dev dependency sorted.

My problem now is this error message when I attempt to
use apt

##>

$sudo apt install kaffeine

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.
kaffeine : Depends: libdvbv5-0 (>= 1.4.0) but it is not going to be installed
libgfortran-6-dev : Depends: gcc-6-base (= 6.4.0-8ubuntu1) but it is not going to be installed
Depends: libgcc-6-dev (= 6.4.0-8ubuntu1) but it is not going to be installed
Depends: libgfortran3 (>= 6.4.0-8ubuntu1) but it is not going to be installed
libicu57 : Breaks: libicu57:i386 (!= 57.1-6) but 57.1-6ubuntu0.2 is to be installed
libicu57:i386 : Breaks: libicu57 (!= 57.1-6ubuntu0.2) but 57.1-6 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Obviously the libicu57 and libgfortran is something to do with my R (which works perfectly btw)
however R wouldnt work on my system without me installing for it the libicu57 and libgfortran.

I certainly dont want to type --fix and spend another 8 hours downloading, compiling and putting
packages back again

I also note that the amount of virtualisation that is going is a useful way to avoid the
problems of using apt at all and in future I predict that apt will become even more
inadequate at its job.

In the meantime a simple and quick solution to the above problem would be
greatly appreciated.

Thx.

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>