Cannot install Libreoffice

circle.yml

#1

I’ve put the followiong into circle.yml:

dependencies:
  pre:
    - sudo apt-get install libreoffice

However, when running the build, this happens:

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:
 libreoffice : Depends: libreoffice-core (= 1:3.5.7-0ubuntu9) but 1:4.2.8-0ubuntu3 is to be installed
               Depends: libreoffice-filter-mobiledev but it is not going to be installed
 netbase : Breaks: ifupdown (< 0.7)
           Breaks: ifupdown:i386 (< 0.7)

sudo apt-get install libreoffice returned exit code 100

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. Action failed: sudo apt-get install libreoffice

This doesn’t seem right. Why is it trying to install netbase? And why is it trying to install mis matched versions of the libreoffice packages?

I have logged in with SSH and had a mess about, but I’m not that familiar with apt. What would be the right way to diagnose the issue? Could it be that there are repositories that have multiple versions of some of these packages?


#2