I'm begginer who tries to start working with Kali Linux so I downloaded virtual box, then kali, but after command 'sudo apt upgrade -y && sudo apt update' I got message that postgresql 15 is obsolute. I tried to download Kali from other site (firstly I downloaded this from kali.org), but it didnt solve the problem, I have the same message and after spending much time, trying to find the solution, I'm finally here, begging for help, Thank You for every answer
1 Answer
The current PostgreSQL package for Kali is postgresql-16:
sudo apt install postgresql-16
Given that you’re a beginner, please check this section of the Kali documentation; you would probably be better off with another distribution.
-
Yes, I know that its maybe too hard for a begginer, but I really would like to try at least... so please help me - after install command i get communicate "Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is he"Michał Tlałka– Michał Tlałka2023-09-30 19:32:22 +00:00Commented Sep 30, 2023 at 19:32
-
@MichałTlałka You should get experience with normal Linux distros before jumping to Kali. It's not a normal distro, it has a very narrow applicability and anyone using it is expected to 1. know exactly that and 2. be able to solve trivial Linux issues, namely understand the meaning of the message you just quoted. Please read and understand the link included in this answer.ChanganAuto– ChanganAuto2023-09-30 19:35:34 +00:00Commented Sep 30, 2023 at 19:35
-
Okey, thank you. I'll try with another linuxMichał Tlałka– Michał Tlałka2023-09-30 19:40:17 +00:00Commented Sep 30, 2023 at 19:40
-
Although what was said above is true, here is an answer from someone who remember where he started. A: This means another instance of dpkg or a frontend is running, so the correct solutions are to: Let the other process end its execution, Find the frontend and quit it, Check whether there is any periodic job (via cron or systemd timers) that calls dpkg or a frontend and disable them, or Kill any such frozen processes. See Dpkg FAQ for more detail on how to resolve. wiki.debian.org/Teams/Dpkg/FAQ#db-lockahimsauzi– ahimsauzi2024-01-21 18:09:19 +00:00Commented Jan 21, 2024 at 18:09
-ybecause you want to read and understand all messages before accepting the changes.