sleuthkit / sleuthkit

The Sleuth Kit® (TSK) is a library and collection of command line digital forensics tools that allow you to investigate volume and file system data. The library can be incorporated into larger digital forensics tools and the command line tools can be directly used to find evidence.

Home Page:http://www.sleuthkit.org/sleuthkit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sleuthkit-java_4.12.0-1_amd64.deb conflicts with official debian sleuthkit package

miguel-negrao opened this issue · comments

sleuthkit-java_4.12.0-1_amd64.deb installs a file which is also installed in the same location by the official debian sleuthkit package. This makes it impossible to use Autopsy and the sleuthkit tools at the same time (if they are installed via debian).

The following additional packages will be installed:
  libtsk19
Suggested packages:
  autopsy mac-robber
The following NEW packages will be installed:
  libtsk19 sleuthkit
0 upgraded, 2 newly installed, 0 to remove and 412 not upgraded.
Need to get 0 B/748 kB of archives.
After this operation, 2749 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_TIME = "pt_PT.UTF-8",
	LC_MONETARY = "pt_PT.UTF-8",
	LC_MEASUREMENT = "pt_PT.UTF-8",
	LC_NUMERIC = "pt_PT.UTF-8",
	LC_PAPER = "pt_PT.UTF-8",
	LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 747505 files and directories currently installed.)
Preparing to unpack .../libtsk19_4.10.1+dfsg-1_amd64.deb ...
Unpacking libtsk19:amd64 (4.10.1+dfsg-1) ...
dpkg: error processing archive /var/cache/apt/archives/libtsk19_4.10.1+dfsg-1_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libtsk.so.19', which is also in package sleuthkit-java 4.12.0-1
Selecting previously unselected package sleuthkit.
Preparing to unpack .../sleuthkit_4.10.1+dfsg-1_amd64.deb ...
Unpacking sleuthkit (4.10.1+dfsg-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libtsk19_4.10.1+dfsg-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

The following command worked for me:
sudo dpkg -i --force-overwrite /var/cache/apt/archives/libtsk19_4.12.1+dfsg-0kali3_amd64.deb

Having previously removed both sleuthkit and autopsy via the dpkg -P command, the following commands were necessary afterwards:

sudo apt install libtsk19:amd64
sudo apt install sleuthkit
sudo apt install autopsy