apt-get update mysql debian bookworm

lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm mysql -V mysql Ver 8.0.33 for Linux on x86_64 (MySQL Community Server - GPL) " root@debianIS:/# apt-get update Get:1 http://repo.mysql.com/apt/debian buster InRelease [22.1 kB] Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://security.debian.org/debian-security bookworm-security InRelease Hit:4 http://ftp.debian.org/debian bookworm-backports InRelease Hit:5 http://deb.debian.org/debian bookworm-updates InRelease Err:1 http://repo.mysql.com/apt/debian buster InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7B3B788A8D3785C Fetched 22.1 kB in 1s (37.5 kB/s) Reading package lists... Done W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mysql.com/apt/debian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7B3B788A8D3785C W: Failed to fetch http://repo.mysql.com/apt/debian/dists/buster/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B7B3B788A8D3785C W: Some index files failed to download. They have been ignored, or old ones used instead. " Debian 12 bookworm MySql 8.0.33 Vylistovat stare klice: apt-key list Vymazat stare klice: Priklad: apt-key del "DBEA 6B52 81D0 C816 F630 E889 D980 A174 57F6 FB86" Aktualizovat klice: vyhledat rucne v ceste ty spravne klice a naimportovat je wget -qO - https://repo.mysql.com/RPM-GPG-KEY-mysql-2023 | gpg --import - Řešení: cd /root wget https://repo.mysql.com/mysql-apt-config_0.8.29-1_all.deb dpkg -i mysql-apt-config_0.8.29-1_all.deb poté zmenit v /etc/apt/sources.list.d/mysql.list změnit buster na bookworm před změnou ### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You may comment out entries below, but any other modifications may be lost. # Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications. deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ buster mysql-apt-config deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ buster mysql-8.0 deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ buster mysql-tools #deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ buster mysql-tools-preview deb-src [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ buster mysql-8.0 po změně ### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You may comment out entries below, but any other modifications may be lost. # Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications. deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ bookworm mysql-apt-config deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ bookworm mysql-8.0 deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ bookworm mysql-tools #deb [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ bookworm mysql-tools-preview deb-src [signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ bookworm mysql-8.0