Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
miguel-negrao opened this issue Apr 14, 2023 · 1 comment

Comments

@miguel-negrao
Copy link

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)
@MPA81
Copy link

MPA81 commented Dec 26, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants