Problems installing libefl-dev and related pkgs

Asked by chris pollock

When trying to install the newest xserver-xorg-video-intel driver I get:

dpkg: dependency problems prevent configuration of libedbus-dev:
 libedbus-dev depends on libefl-dev (>= 201200000000); however:
  Package libefl-dev is not installed.

dpkg: error processing package libedbus-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of e17-dev:
 e17-dev depends on libedbus-dev (>= 1.7.10); however:
  Package libedbus-dev is not configured yet.

dpkg: error processing package e17-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libedbus-dev
 e17-dev
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libedbus-dev : Depends: libefl-dev (>= 201200000000) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

When running sudo apt-get -f install as suggested I get:

chris@localhost:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libefl-bin libefl-dev
The following NEW packages will be installed:
  libefl-bin libefl-dev
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
Need to get 0 B/2,059 kB of archives.
After this operation, 16.7 MB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 2181431 files and directories currently installed.)
Preparing to unpack .../libefl-bin_201606082001-33147~ubuntu16.04.1_amd64.deb ...
Unpacking libefl-bin (201606082001-33147~ubuntu16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libefl-bin_201606082001-33147~ubuntu16.04.1_amd64.deb (--unpack):
 trying to overwrite '/usr/share/embryo/include/default.inc', which is also in package libembryo-bin 1.8.6-2.5
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to unpack .../libefl-dev_201606082001-33147~ubuntu16.04.1_amd64.deb ...
Unpacking libefl-dev (201606082001-33147~ubuntu16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libefl-dev_201606082001-33147~ubuntu16.04.1_amd64.deb (--unpack):
 trying to overwrite '/usr/include/eeze-1/Eeze.h', which is also in package libeeze-dev 1.8.6-2.5
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libefl-bin_201606082001-33147~ubuntu16.04.1_amd64.deb
 /var/cache/apt/archives/libefl-dev_201606082001-33147~ubuntu16.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

How can I install these packages without errors?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

The problem is that two packages try installing files with identical names. (/usr/share/embryo/include/default.inc and /usr/include/eeze-1/Eeze.h)

There are two possible solutions to your problem:

1. uninstall the packages libembryo-bin and libeeze-dev

or

2. force the installer to overwrite the conflicting files with a command like
sudo apt-get -o Dpkg::Options::="--force-overwrite" install -f
It is your own responsibility to make sure that overwriting the files with different contents does not do any harm.

One additional question:
From which source are you installing libedbus-dev? The version provided in the standard Ubuntu repositories does not have a dependency on libefl-dev and would not exhibit your problem.

What is the output of the commands

uname -a
lsb_release -crid
apt-cache policy libedbus-dev libefl-dev e17-dev libefl-bin libembryo-bin libeeze-dev

If these packages are from a PPA, then you should report this problem to the provider of the PPA for resolving.

Revision history for this message
chris pollock (cpollock) said :
#2

The output you requested is below. I believe I know what has happened. I attempted to upgrade to e20 by adding this ppa listed on the enlightenment main page

sudo add-apt-repository ppa:enlightenment-git/ppa

I then ran

sudo apt-get update
sudo apt-get install e20 terminology

I think the solution (1) you provided above would/should fix my problem as well as removing the ppa resource

chris@localhost:~$ uname -a
Linux localhost 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

chris@localhost:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial

chris@localhost:~$ apt-cache policy libedbus-dev
libedbus-dev:
  Installed: 201606110832-575~ubuntu16.04.1
  Candidate: 201606110832-575~ubuntu16.04.1
  Version table:
 *** 201606110832-575~ubuntu16.04.1 500
        500 http://ppa.launchpad.net/enlightenment-git/ppa/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status
     1.7.10-1ubuntu2 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

chris@localhost:~$ apt-cache policy libefl-dev
libefl-dev:
  Installed: (none)
  Candidate: 201606082001-33147~ubuntu16.04.1
  Version table:
     201606082001-33147~ubuntu16.04.1 500
        500 http://ppa.launchpad.net/enlightenment-git/ppa/ubuntu xenial/main amd64 Packages

chris@localhost:~$ apt-cache policy e17-dev
e17-dev:
  Installed: 0.17.6-1
  Candidate: 0.17.6-1
  Version table:
 *** 0.17.6-1 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

chris@localhost:~$ apt-cache policy libefl-bin
libefl-bin:
  Installed: (none)
  Candidate: 201606082001-33147~ubuntu16.04.1
  Version table:
     201606082001-33147~ubuntu16.04.1 500
        500 http://ppa.launchpad.net/enlightenment-git/ppa/ubuntu xenial/main amd64 Packages

chris@localhost:~$ apt-cache policy libembryo-bin
libembryo-bin:
  Installed: 1.8.6-2.5
  Candidate: 1.8.6-2.5
  Version table:
 *** 1.8.6-2.5 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

chris@localhost:~$ apt-cache policy libeeze-dev
libeeze-dev:
  Installed: 1.8.6-2.5
  Candidate: 1.8.6-2.5
  Version table:
 *** 1.8.6-2.5 500
        500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

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

sudo apt-get install libedbus-dev=1.7.10-1ubuntu2 # (eventually required to add --reinstall option)
might also be a feasible workaround

Revision history for this message
chris pollock (cpollock) said :
#4

Here is what I get when running the command - I assume the # is part of the command? I tried both ways and get the same output

chris@localhost:~$ sudo apt-get install libedbus-dev=1.7.10-1ubuntu2 #
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libedbus-dev : Depends: libedbus1 (= 1.7.10-1ubuntu2) but 201606110832-575~ubuntu16.04.1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Revision history for this message
chris pollock (cpollock) said :
#5

Additional note, I removed the enlightenment ppa and ran sudo apt-get upgrade to update the sources list.

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

Try the following:

sudo apt-get install libedbus-dev=1.7.10-1ubuntu2 libedbus1=1.7.10-1ubuntu2 -f

Revision history for this message
chris pollock (cpollock) said :
#7

Thank you, that fixed the errors I was getting. I tried something similar late last night however I put the -f in the wrong place. I'll see what happens in a little while when I try to switch to the enlightenment WM.

chris@localhost:~$ sudo apt-get install libedbus-dev=1.7.10-1ubuntu2 libedbus1=1.7.10-1ubuntu2 -f
[sudo] password for chris:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libefl libxpm-dev
Use 'sudo apt autoremove' to remove them.
The following packages will be DOWNGRADED:
  libedbus-dev libedbus1
0 upgraded, 0 newly installed, 2 downgraded, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
Need to get 80.5 kB/152 kB of archives.
After this operation, 163 kB disk space will be freed.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libedbus-dev amd64 1.7.10-1ubuntu2 [80.5 kB]
Fetched 80.5 kB in 0s (237 kB/s)
dpkg: warning: downgrading libedbus-dev from 201606110832-575~ubuntu16.04.1 to 1.7.10-1ubuntu2
(Reading database ... 2181431 files and directories currently installed.)
Preparing to unpack .../libedbus-dev_1.7.10-1ubuntu2_amd64.deb ...
Unpacking libedbus-dev (1.7.10-1ubuntu2) over (201606110832-575~ubuntu16.04.1) ...
dpkg: warning: downgrading libedbus1 from 201606110832-575~ubuntu16.04.1 to 1.7.10-1ubuntu2
Preparing to unpack .../libedbus1_1.7.10-1ubuntu2_amd64.deb ...
Unpacking libedbus1 (1.7.10-1ubuntu2) over (201606110832-575~ubuntu16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Setting up libedbus1 (1.7.10-1ubuntu2) ...
Setting up libedbus-dev (1.7.10-1ubuntu2) ...
Setting up e17-dev (0.17.6-1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...

Revision history for this message
chris pollock (cpollock) said :
#8

Thanks Manfred Hampl, that solved my question.