PDA

View Full Version : Kali Update/Upgrade error( Existing PostgreSQL databases need to be reindexed).



Rit11
2019-04-27, 18:46
After using this command - sudo apt upgrade, it downloaded 1624MB but at the end it shows the following error. I don't know what it is and hot to fix it as i am new to Kali.
Can someone tell me, what is it and how to fix this.

"""""
apt-listchanges: News
---------------------

postgresql-common (200+deb10u1) buster; urgency=high

Existing PostgreSQL databases need to be reindexed

When upgrading from stretch to buster, the glibc locale data is upgraded.
Specifically, this changes how PostgreSQL sorts data in text indexes. To
avoid corruption, such indexes need to be REINDEXed immediately after
upgrading the locales or locales-all packages, before putting back the
database into production.

Suggested command: sudo -u postgres reindexdb --all

Alternatively, upgrade the databases to PostgreSQL 11 using
pg_upgradecluster. (This uses pg_dump by default which will rebuild all
indexes. Using -m upgrade or pg_upgrade is not safe because it preserves
the now-wrong index ordering.)

Refer to the PostgreSQL Wiki for more information:
https://wiki.postgresql.org/wiki/Locale_data_changes
:
"""""""""""""

Mister_X
2019-04-27, 22:36
That's not an error, that's just apt-listchanges displaying the changes. Just hit 'q' and it will proceed with the installation of the packages. Or you can scroll through the other significant changes if there are any.