View Issue Details

IDProjectCategoryView StatusLast Update
0009038Kali LinuxKali Package Bugpublic2024-12-21 04:23
Reportermrpn Assigned Toarnaudr  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0009038: gimp is not available
Description

The GIMP-package is not available in the repository, but all documentation is.

$ sudo apt-get install gimp
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package gimp is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gimp' has no installation candidate
$ apt-cache search gimp | grep '^gimp'
gimp-help-ca - Documentation for the GIMP (Catalan)
gimp-help-common - Data files for the GIMP documentation
gimp-help-cs - Documentation for the GIMP (Czech)
gimp-help-da - Documentation for the GIMP (Danish)
gimp-help-de - Documentation for the GIMP (German)
gimp-help-el - Documentation for the GIMP (Greek)
gimp-help-en - Documentation for the GIMP (English)
gimp-help-en-gb - Documentation for the GIMP (British English)
gimp-help-es - Documentation for the GIMP (Spanish)
gimp-help-fa - Documentation for the GIMP (Farsi)
gimp-help-fi - Documentation for the GIMP (Finnish)
gimp-help-fr - Documentation for the GIMP (French)
gimp-help-hr - Documentation for the GIMP (Croatian)
gimp-help-hu - Documentation for the GIMP (Hungarian)
gimp-help-it - Documentation for the GIMP (Italian)
gimp-help-ja - Documentation for the GIMP (Japanese)
gimp-help-ko - Documentation for the GIMP (Korean)
gimp-help-lt - Documentation for the GIMP (Lithuanian)
gimp-help-nl - Documentation for the GIMP (Dutch)
gimp-help-nn - Documentation for the GIMP (Norwegian)
gimp-help-pt - Documentation for the GIMP (Portuguese)
gimp-help-pt-br - Documentation for the GIMP (Brazilian Portuguese)
gimp-help-ro - Documentation for the GIMP (Romanian)
gimp-help-ru - Documentation for the GIMP (Russian)
gimp-help-sl - Documentation for the GIMP (Slovenian)
gimp-help-sv - Documentation for the GIMP (Swedish)
gimp-help-uk - Documentation for the GIMP (Ukrainian)
gimp-help-zh-cn - Documentation for the GIMP (Simplified Chinese)

Activities

kali-bugreport

kali-bugreport

2024-12-19 18:03

reporter   ~0020178

Expected, Gimp got removed from Debian testing and thus also not available anymore in Kali:

https://tracker.debian.org/news/1569365/gimp-removed-from-testing/

2023BCY0052

2023BCY0052

2024-12-19 20:15

reporter   ~0020180

see I HAVE SOLVED THE ISSUE
Type "sudo nano /etc/apt/sources.list "on your kali linux bash
then after a file will open then just add this "deb http://deb.debian.org/debian/ stable main contrib non-free " after adding this content just control x and y and save the file don't change any content inside the file just add this
after that sudo apt update
then sudo apt install gimp
IT WILL WORK

kali-bugreport

kali-bugreport

2024-12-19 21:08

reporter   ~0020181

Adding the sources of another version / distribution is usually not the best idea.

arnaudr

arnaudr

2024-12-20 02:16

manager   ~0020183

Adding the sources of another version / distribution is usually not the best idea.

Indeed, mixing Debian repo and Kali repo is likely to bring trouble, unless you know very well what you're doing. Better install Flatpak and install gimp from there, I'd say.

In the meantime, I imported the gimp package from Debian unstable into Kali, it should be in kali-rolling in a few hours if all goes well.

mrpn

mrpn

2024-12-20 10:34

reporter   ~0020184

Last edited: 2024-12-20 10:35

Here is one solution. This sets apt's priority to the Kali repository first. If anything is missing, the Debian repository is used.

$ cat /etc/apt/sources.list
# See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/
deb http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware
deb-src http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware

deb http://deb.debian.org/debian bookworm main contrib non-free
deb-src http://deb.debian.org/debian bookworm main contrib non-free
deb http://deb.debian.org/debian bookworm-updates main contrib non-free
deb-src http://deb.debian.org/debian bookworm-updates main contrib non-free
deb http://security.debian.org/debian-security bookworm-security main contrib non-free
deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free

$ cat /etc/apt/
apt.conf.d/ listchanges.conf sources.list trusted.gpg.d/
auth.conf.d/ listchanges.conf.d/ sources.list~
keyrings/ preferences.d/ sources.list.d/
user@linux:~$ cat /etc/apt/preferences.d/00priority
Package: *
Pin: origin http.kali.org
Pin-Priority: 500

Package: *
Pin: origin deb.debian.org
Pin-Priority: 1

Package: *
Pin: origin security.debian.org
Pin-Priority: 1

$ # the gpg-keys were already installed
$ find /etc/apt/trusted.gpg.d/ | sort
/etc/apt/trusted.gpg.d/
/etc/apt/trusted.gpg.d/debian-archive-bookworm-automatic.asc
/etc/apt/trusted.gpg.d/debian-archive-bookworm-security-automatic.asc
/etc/apt/trusted.gpg.d/debian-archive-bookworm-stable.asc
/etc/apt/trusted.gpg.d/debian-archive-bullseye-automatic.asc
/etc/apt/trusted.gpg.d/debian-archive-bullseye-security-automatic.asc
/etc/apt/trusted.gpg.d/debian-archive-bullseye-stable.asc
/etc/apt/trusted.gpg.d/debian-archive-buster-automatic.asc
/etc/apt/trusted.gpg.d/debian-archive-buster-security-automatic.asc
/etc/apt/trusted.gpg.d/debian-archive-buster-stable.asc
/etc/apt/trusted.gpg.d/kali-archive-keyring.gpg

kali-bugreport

kali-bugreport

2024-12-20 12:56

reporter   ~0020185

@mrpn IMHO still dangerous to mention like this as a possible solution, Kali users are often not tech affirm and could break their system if not correctly applied.

arnaudr

arnaudr

2024-12-21 04:22

manager   ~0020187

Closing as the package is back in kali-rolling

Issue History

Date Modified Username Field Change
2024-12-19 15:23 mrpn New Issue
2024-12-19 18:03 kali-bugreport Note Added: 0020178
2024-12-19 20:15 2023BCY0052 Note Added: 0020180
2024-12-19 21:08 kali-bugreport Note Added: 0020181
2024-12-20 02:16 arnaudr Note Added: 0020183
2024-12-20 10:34 mrpn Note Added: 0020184
2024-12-20 10:35 mrpn Note Edited: 0020184
2024-12-20 12:56 kali-bugreport Note Added: 0020185
2024-12-21 04:22 arnaudr Note Added: 0020187
2024-12-21 04:23 arnaudr Assigned To => arnaudr
2024-12-21 04:23 arnaudr Status new => resolved
2024-12-21 04:23 arnaudr Resolution open => fixed