Results 1 to 2 of 2

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

  1. #1
    Join Date
    2019-Apr
    Posts
    1

    Kali Update/Upgrade error( Existing PostgreSQL databases need to be reindexed).

    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
    :
    """""""""""""

  2. #2
    Join Date
    2016-Dec
    Posts
    806
    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.

Similar Threads

  1. Kali Update && Upgrade && dist-upgrade Error
    By Dickz in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2017-09-12, 07:11
  2. update kali chroot error: postgresql service start fail!
    By dacurakali in forum NetHunter General Questions
    Replies: 3
    Last Post: 2015-04-16, 20:44

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •