Problems installing from Ubuntu PPA

Kubuntu 14.04 64-bit, fully updated.

After sudo apt-get install ethereum, this is what happens:
Processing triggers for install-info (5.2.0.dfsg.1-2) ...
Errors were encountered while processing:
/var/cache/apt/archives/libcryptopp-dev_5.6.2-0~trusty6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Somebody help me? Thanks.

Comments

  • btcxyzzzbtcxyzzz Member Posts: 10
    thing is my whole apt-get system is blocked right now, here's apt-get -f install output:
    [email protected]:/downloads/cpp-ethereum-poc-8-tag$ sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
    libcryptopp-dev
    The following NEW packages will be installed:
    libcryptopp-dev
    0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded.
    20 not fully installed or removed.
    Need to get 0 B/1,661 kB of archives.
    After this operation, 12.3 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    (Reading database ... 205624 files and directories currently installed.)
    Preparing to unpack .../libcryptopp-dev_5.6.2-0~trusty6_amd64.deb ...
    Unpacking libcryptopp-dev (5.6.2-0~trusty6) ...
    dpkg: error processing archive /var/cache/apt/archives/libcryptopp-dev_5.6.2-0~trusty6_amd64.deb (--unpack):
    trying to overwrite '/usr/lib/libcryptopp.so', which is also in package libcrypto++-dev 5.6.1-6
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
    /var/cache/apt/archives/libcryptopp-dev_5.6.2-0~trusty6_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    please somebody help!
  • caktuxcaktux Member Posts: 8
    Look at the line "trying to overwrite '/usr/lib/libcryptopp.so', which is also in package libcrypto++-dev 5.6.1-6". It should be fixed with: `apt-get remove libcrypto++-dev`

  • btcxyzzzbtcxyzzz Member Posts: 10
    [email protected]:~$ sudo apt-get remove libcrypto++-dev
    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:
    libethereum : Depends: libcryptopp-dev but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

    and -f does not help, look at my previous post about how it fails.
  • smartcontractorsmartcontractor Member Posts: 1
    Try this :
    sudo dpkg -i --force-overwrite /var/cache/apt/archives/libcryptopp-dev_5.6.2-0~trusty6_amd64.deb
    Check everything is fixed by running : sudo apt-get -f install
  • btcxyzzzbtcxyzzz Member Posts: 10
    Someone on Reddit helped me:

    sudo dpkg -i --force-overwrite /var/cache/apt/archives/libcryptopp-dev_5.6.2-0~trusty6_amd64.deb
    Check everything is fixed by running : sudo apt-get -f install

    It's fixed now, eth and neth are working, but alethzero is not:

    [email protected]:/$ alethzero
    This application failed to start because it could not find or load the Qt platform plugin "xcb".

    Reinstalling the application may fix this problem.
    Aborted (core dumped)
  • btcxyzzzbtcxyzzz Member Posts: 10
    I had to add path to libxcb library to QT_PLUGIN_PATH system variable:
    QT_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/:$QT_PLUGIN_PATH

    And it works. But this is kind of advanced for me, I was expecting normal client :)).

    Where should I import my ETH coin wallet key when network is finally launched?
Sign In or Register to comment.