[Bug 1682800] Re: package cmake-data 3.5.1-1ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

DEnis p.d at gmx.de
Fri Apr 14 20:52:56 UTC 2017


But when I remove cmake-data first, after that I can remove cmake:

oot at big:~# 
root at big:~# apt-get purge cmake-data
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libjsoncpp1
Use 'apt autoremove' to remove it.
The following packages will be REMOVED:
  cmake-data*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 5.733 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 378484 files and directories currently installed.)
Removing cmake-data (3.5.1-1ubuntu3) ...
Purging configuration files for cmake-data (3.5.1-1ubuntu3) ...
Processing triggers for man-db (2.7.5-1) ...
root at big:~# 
root at big:~# 
root at big:~# 
root at big:~# 
root at big:~# 
root at big:~# apt-get purge cmake
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'cmake' is not installed, so not removed
The following package was automatically installed and is no longer required:
  libjsoncpp1
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root at big:~# 
root at big:~# 
root at big:~# 
root at big:~# 
root at big:~# apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libjsoncpp1
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 229 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 376449 files and directories currently installed.)
Removing libjsoncpp1:amd64 (1.7.2-1) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
root at big:~# 
root at big:~# 

===========================


AND when I try again to install cmake:

root at big:~# apt-get install cmake cmake-data
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libjsoncpp1
Suggested packages:
  codeblocks eclipse ninja-build
The following NEW packages will be installed:
  cmake cmake-data libjsoncpp1
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 3.817 kB of archives.
After this operation, 20,5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 cmake-data all 3.5.1-1ubuntu3 [1.121 kB]
Get:2 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 libjsoncpp1 amd64 1.7.2-1 [73,0 kB]
Get:3 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 cmake amd64 3.5.1-1ubuntu3 [2.623 kB]
Fetched 3.817 kB in 0s (4.101 kB/s)
Selecting previously unselected package cmake-data.
(Reading database ... 376442 files and directories currently installed.)
Preparing to unpack .../cmake-data_3.5.1-1ubuntu3_all.deb ...
Unpacking cmake-data (3.5.1-1ubuntu3) ...
Selecting previously unselected package libjsoncpp1:amd64.
Preparing to unpack .../libjsoncpp1_1.7.2-1_amd64.deb ...
Unpacking libjsoncpp1:amd64 (1.7.2-1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../cmake_3.5.1-1ubuntu3_amd64.deb ...
Unpacking cmake (3.5.1-1ubuntu3) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
Setting up cmake-data (3.5.1-1ubuntu3) ...
dpkg-query: package 'cmake-data' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.
emacsen-common: dpkg invocation failed at /usr/lib/emacsen-common/lib.pl line 80.
dpkg: error processing package cmake-data (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up libjsoncpp1:amd64 (1.7.2-1) ...
dpkg: dependency problems prevent configuration of cmake:
 cmake depends on cmake-data (= 3.5.1-1ubuntu3); however:
  Package cmake-data is not configured yet.

dpkg: error processing package cmake (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Processing triggers for libc-bin (2.23-0ubuntu7) ...
Errors were encountered while processing:
 cmake-data
 cmake
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at big:~#

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/1682800

Title:
  package cmake-data 3.5.1-1ubuntu3 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1682800/+subscriptions




More information about the kubuntu-bugs mailing list