---
title: 'Problem with MySQL Server 8.0 repository signing after 10/22/2025'
url: 'https://ra1ahq.blog/en/problema-s-podpisyu-repozitoriya-mysql-server-8-0-posle-22-10-2025'
markdown: 'https://ra1ahq.blog/en/problema-s-podpisyu-repozitoriya-mysql-server-8-0-posle-22-10-2025.md'
lang: en
date: '2025-11-11'
description: 'The problem is with the key 0xB7B3B788A8D3785C because it is outdated. The article provides a solution to the problem. At the'
taxonomy:
  category:
    - blog
  tag:
    - Linux
  archives_month:
    - nov_2025
  archives_year:
    - '2025'
---

# Problem with MySQL Server 8.0 repository signing after 10/22/2025

11 

 November 

 2025 

 ![Problem with MySQL Server 8.0 repository signing after 10/22/2025](https://ra1ahq.blog/images/f/e/2/2/3/fe223ec6423f33098cda62e7f657cf5723ce590c-mysql-config6.png)17:02

### Problem with MySQL Server 8.0 repository signing after 10/22/2025

 [Linux](https://ra1ahq.blog/en/tag:Linux) 

11 November 2025 17:02

The problem is with the key 0xB7B3B788A8D3785C because it is outdated. The article provides a solution to the problem.

At the end of October 2025, there was a problem with the signature of the repository repo.mysql.com, and the command `sudo apt update` displays an error:

`W: An error occurred while verifying the signature. The repository is not updated and the previous index files will be used. GPG Error: http://repo.mysql.com/apt/ubuntu jammy InRelease: The following signatures are invalid: EXPKEYSIG B7B3B788A8D3785C MySQL Release Engineering <a class="mailto" href="mailto:mysql-build@oss.oracle.com">mysql-build@oss.oracle.com</a><br></br>W: Failed to get http://repo.mysql.com/apt/ubuntu/dists/jammy/InRelease The following signatures are invalid: EXPKEYSIG B7B3B788A8D3785C MySQL Release Engineering <a class="mailto" href="mailto:mysql-build@oss.oracle.com">mysql-build@oss.oracle.com</a><br></br>W: Some index files could not be downloaded. They were ignored or older versions were used instead.`

Reason: The key has expired.[New key released](https://keyserver.ubuntu.com/pks/lookup?search=B7B3B788A8D3785C&fingerprint=on&op=index) from 10/23/2025 to 10/23/2027.
Key UID: MySQL Release Engineering <mysql-build@oss.oracle.com>

### Solution

1\) Delete the old, expired key with an expiration date of October 22, 2025.

If the key was added in the old way to the shared key store

```
sudo apt-key del B7B3 B788 A8D3 785C
```

If the key was added to a separate gpg file (new way):

```
cd /etc/apt/trusted.gpg.d
ls *.gpg
sudo rm mysql8.gpg
```

2\) Using GPG, download the new key B7B3B788A8D3785C

```
cd ~
gpg --keyserver keyserver.ubuntu.com --recv B7B3B788A8D3785C
```

Screen output:
`gpg: key B7B3B788A8D3785C: "MySQL Release Engineering <a class="mailto" href="mailto:mysql-build@oss.oracle.com">mysql-build@oss.oracle.com</a>" 2 new signatures<br></br>gpg: Total processed: 1<br></br>gpg: new signatures: 2`

Let's import the gpg key in a *new way*:

```
gpg --export B7B3B788A8D3785C | sudo tee /etc/apt/trusted.gpg.d/mysql.gpg > /dev/null
```

Points 3 and 4 can be skipped if the MySQL installation has not changed. These points are provided for reference on what to do if the composition of the mysql server installation has changed.[Go to point 5](#p5).

3\) Generate a default file for mysql

```
sudo dpkg-reconfigure mysql-apt-config
```

- *MySQL and Cluster* (Currently selected: mysql-8.0)
- MySQL Tools & Connectors (Currently selected:**Enabled**)
- MySQL Preview Packages (Currently selected:**Disabled**).

    ![mysql-config1](https://ra1ahq.blog/images/5/3/2/0/1/53201df9c5b63b12ca46e975d58f10f0d24a64c5-mysql-config1.png "mysql-config1")

In the mysql configurator window, press TAB to go to the lower OK button.

![mysql-config1a](https://ra1ahq.blog/images/6/f/c/5/f/6fc5f742eb10aa87bfb8044a8b0b195fa6a24d8b-mysql-config1a.png "mysql-config1a")
Press Enter.

On the next screen: "Which server version do you wish to receive?"

Select the current version:

- mysql 8.0

    ![mysql-config2](https://ra1ahq.blog/images/4/6/3/8/c/4638c5cb0947507e49817968484df831ddf677bc-mysql-config2.png "mysql-config2")

And press TAB to go to the bottom OK button.
![mysql-config2](https://ra1ahq.blog/images/3/c/a/0/2/3ca0251a22b3cea65bd39e38a41d6a65576b83e3-mysql-config2a.png "mysql-config2a")

We returned to the previous screen... Use the cursor to move to the small line “ok”.
![mysql-config1](https://ra1ahq.blog/images/f/f/2/b/a/ff2ba7c81769bfa107ae3baa5df7370454966874-mysql-config3.png "mysql-config3")

To the question:

**"The file '/usr/share/keyrings/mysql-apt-config.gpg' exists. Overwrite? (y/N)"**

- answer **"Y"** and key **Enter.**
    ![mysql-config5](https://ra1ahq.blog/images/2/d/7/9/c/2d79ced80abbea1df682ec1e8d652588fb40991f-mysql-config5.png "mysql-config5")

4\) Edit the file for the application source - a third-party repository:**mysql.list**

```
cd /etc/apt/sources.list.d/

sudo nano /etc/apt/sources.list.d/mysql.list
```

In the editor, you can press Ctrl+\\ to replace:

- Search (what to change) \[signed-by=/usr/share/keyrings/mysql-apt-config.gpg\]
- replace with \[signed-by=/etc/apt/trusted.gpg.d/mysql.gpg\]

Replace this entry?

```
A - все.
```

Contents of the file /usr/share/keyrings/mysql-apt-config.gpg after replacement:

![mysql-config6](https://ra1ahq.blog/images/f/e/2/2/3/fe223ec6423f33098cda62e7f657cf5723ce590c-mysql-config6.png "mysql-config6")

Save the file under the same name: Ctrl+O, Enter, Ctrl+X.

5\) Refresh package cache and install updates:

```
sudo apt update
sudo apt upgrade
```

!!!**Comment.** I do not recommend interrupting the apt upgrade update by pressing Ctrl+C, otherwise unsatisfied dependencies will arise.

Solution:`sudo apt --fix-broken install`

### Result

There is no apt update error anymore, the mysql repository is signed with a valid signature B7B3B788A8D3785C.

```
 gpg --list-keys
```

Key...785C expiration date: 2027-10-23

---

Sources:
*[bugs.mysql.com](https://bugs.mysql.com/bug.php),* [Problem with MySQL 8.0 repository signing after 12/14/2023](https://ra1ahq.blog/en/problema-s-podpisyu-repozitoriya-mysql-8-0-posle-14-12-2023).

### Related publications

 [ ![](https://ra1ahq.blog/images/f/3/a/2/c/f3a2c07ef5b32c0308ab703405a5a5ca87b75283-archer-ac600-728.webp) Installing the kernel driver for the TP-Link Wi-Fi adapter after updating the Debian OS ](https://ra1ahq.blog/en/ustanovka-draivera-yadra-dlya-wi-fi-adaptera-tp-link-posle-obnovleniya-os-debian) 

 [ ![](https://ra1ahq.blog/images/d/2/5/c/7/d25c7282750b398f71041fb8b90640b692e7e4b8-decibelfmtitle.png) Linux Cinnamon Desktop Applets for Listening to Internet Radio Stations ](https://ra1ahq.blog/en/applety-dlya-rabochego-stola-linux-cinnamon-dlya-proslushivaniya-internet-radiostancii) 

 [ ![No picture](https://ra1ahq.blog/user/themes/mytheme/images/no-image.png) Passing a parameter to a Linux module/driver ](https://ra1ahq.blog/en/peredacha-parametra-modulyu-draiveru-linux) 

 [ ![](https://ra1ahq.blog/images/5/c/4/e/a/5c4ea9c8c3f0b4dd890116d8fe7cbadfdb9814ba-archer-ac600.webp) Installing the TP-Link Archer T600U Nano Wi-Fi adapter driver in Debian 13 "Trixie" ](https://ra1ahq.blog/en/ustanovka-draivera-wi-fi-adaptera-tp-link-archer-t600u-nano-v-debian-13-trixie) 

 [ ![](https://ra1ahq.blog/images/b/f/f/0/f/bff0f99f5897e0420fac9a6eef7254247f39c29d-pulseaudio-equalizer.png) Installing the audio equalizer pulseaudio-equalizer-ladspa on Linux ](https://ra1ahq.blog/en/ustanovka-v-linux-ekvalaizera-zvuka-pulseaudio-equalizer-ladspa) 

[ Backward](https://ra1ahq.blog/en/ustanovka-vremeni-kompyutera-s-pomoshyu-gps-na-smartfone-cherez-ssh "Previuous page")

[ Forward ](https://ra1ahq.blog/en/v-chem-sushnost-fariseistva "Next page")

## Languages

- [Русский](https://ra1ahq.blog/posts/problema-s-podpisyu-repozitoriya-mysql-server-8-0-posle-22-10-2025)
- [English](https://ra1ahq.blog/en/problema-s-podpisyu-repozitoriya-mysql-server-8-0-posle-22-10-2025)
- [Deutsch](https://ra1ahq.blog/de/posts/problema-s-podpisyu-repozitoriya-mysql-server-8-0-posle-22-10-2025)
- [Français](https://ra1ahq.blog/fr/posts/problema-s-podpisyu-repozitoriya-mysql-server-8-0-posle-22-10-2025)
- [中文 (简体) (cn)](https://ra1ahq.blog/zh-cn/posts/problema-s-podpisyu-repozitoriya-mysql-server-8-0-posle-22-10-2025)

## Theme

## RSS feeds

 [ Atom 1.0](https://ra1ahq.blog/en/.atom) [ RSS](https://ra1ahq.blog/en/.rss) 

## Popular tags

 [APRS](https://ra1ahq.blog/en/tag:APRS) [CW](https://ra1ahq.blog/en/tag:CW) [DX](https://ra1ahq.blog/en/tag:DX) [FM](https://ra1ahq.blog/en/tag:FM) [Linux](https://ra1ahq.blog/en/tag:Linux) [VHF](https://ra1ahq.blog/en/tag:VHF) [antennas](https://ra1ahq.blog/en/tag:antennas) [firefox](https://ra1ahq.blog/en/tag:firefox) [morse](https://ra1ahq.blog/en/tag:morse) [soundtrack](https://ra1ahq.blog/en/tag:soundtrack) [video](https://ra1ahq.blog/en/tag:video) [windows](https://ra1ahq.blog/en/tag:windows) [youtube](https://ra1ahq.blog/en/tag:youtube) [КВ](https://ra1ahq.blog/en/tag:%D0%9A%D0%92) [ТВ](https://ra1ahq.blog/en/tag:%D0%A2%D0%92) [УКВ](https://ra1ahq.blog/en/tag:%D0%A3%D0%9A%D0%92) [антенны](https://ra1ahq.blog/en/tag:%D0%B0%D0%BD%D1%82%D0%B5%D0%BD%D0%BD%D1%8B) [безопасность](https://ra1ahq.blog/en/tag:%D0%B1%D0%B5%D0%B7%D0%BE%D0%BF%D0%B0%D1%81%D0%BD%D0%BE%D1%81%D1%82%D1%8C) [длинные волны](https://ra1ahq.blog/en/tag:%D0%B4%D0%BB%D0%B8%D0%BD%D0%BD%D1%8B%D0%B5%20%D0%B2%D0%BE%D0%BB%D0%BD%D1%8B) [путешествия](https://ra1ahq.blog/en/tag:%D0%BF%D1%83%D1%82%D0%B5%D1%88%D0%B5%D1%81%D1%82%D0%B2%D0%B8%D1%8F) [религия](https://ra1ahq.blog/en/tag:%D1%80%D0%B5%D0%BB%D0%B8%D0%B3%D0%B8%D1%8F) [соревнования](https://ra1ahq.blog/en/tag:%D1%81%D0%BE%D1%80%D0%B5%D0%B2%D0%BD%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F) [спутники](https://ra1ahq.blog/en/tag:%D1%81%D0%BF%D1%83%D1%82%D0%BD%D0%B8%D0%BA%D0%B8) [средние волны](https://ra1ahq.blog/en/tag:%D1%81%D1%80%D0%B5%D0%B4%D0%BD%D0%B8%D0%B5%20%D0%B2%D0%BE%D0%BB%D0%BD%D1%8B) [схемы](https://ra1ahq.blog/en/tag:%D1%81%D1%85%D0%B5%D0%BC%D1%8B) [тесты](https://ra1ahq.blog/en/tag:%D1%82%D0%B5%D1%81%D1%82%D1%8B) [трансивер](https://ra1ahq.blog/en/tag:%D1%82%D1%80%D0%B0%D0%BD%D1%81%D0%B8%D0%B2%D0%B5%D1%80) [управление](https://ra1ahq.blog/en/tag:%D1%83%D0%BF%D1%80%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5) [фотографии](https://ra1ahq.blog/en/tag:%D1%84%D0%BE%D1%82%D0%BE%D0%B3%D1%80%D0%B0%D1%84%D0%B8%D0%B8) 

## Random post

 [ I'll be lucky!](https://ra1ahq.blog/en/random) 

## Archive of posts

- [ October 2026 ✒ 4 ](https://ra1ahq.blog/en/archives_month:oct_2026)
- [ September 2026 ✒ 9 ](https://ra1ahq.blog/en/archives_month:sep_2026)
- [ August 2026 ✒ 6 ](https://ra1ahq.blog/en/archives_month:aug_2026)
- [ July 2026 ✒ 13 ](https://ra1ahq.blog/en/archives_month:jul_2026)
- [ June 2026 ✒ 8 ](https://ra1ahq.blog/en/archives_month:jun_2026)
- [ May 2026 ✒ 2 ](https://ra1ahq.blog/en/archives_month:may_2026)
- [ April 2026 ✒ 6 ](https://ra1ahq.blog/en/archives_month:apr_2026)
- [ March 2026 ✒ 3 ](https://ra1ahq.blog/en/archives_month:mar_2026)
- [ February 2026 ✒ 7 ](https://ra1ahq.blog/en/archives_month:feb_2026)
- [ January 2026 ✒ 8 ](https://ra1ahq.blog/en/archives_month:jan_2026)
- [ December 2025 ✒ 12 ](https://ra1ahq.blog/en/archives_month:dec_2025)
- [ November 2025 ✒ 9 ](https://ra1ahq.blog/en/archives_month:nov_2025)
- [ October 2025 ✒ 8 ](https://ra1ahq.blog/en/archives_month:oct_2025)
- [ September 2025 ✒ 5 ](https://ra1ahq.blog/en/archives_month:sep_2025)
- [ August 2025 ✒ 8 ](https://ra1ahq.blog/en/archives_month:aug_2025)
- [ July 2025 ✒ 6 ](https://ra1ahq.blog/en/archives_month:jul_2025)
- [ June 2025 ✒ 10 ](https://ra1ahq.blog/en/archives_month:jun_2025)
- [ May 2025 ✒ 4 ](https://ra1ahq.blog/en/archives_month:may_2025)
- [ April 2025 ✒ 4 ](https://ra1ahq.blog/en/archives_month:apr_2025)
- [ March 2025 ✒ 4 ](https://ra1ahq.blog/en/archives_month:mar_2025)
- [ February 2025 ✒ 11 ](https://ra1ahq.blog/en/archives_month:feb_2025)
- [ December 2024 ✒ 8 ](https://ra1ahq.blog/en/archives_month:dec_2024)
- [ November 2024 ✒ 2 ](https://ra1ahq.blog/en/archives_month:nov_2024)
- [ October 2024 ✒ 8 ](https://ra1ahq.blog/en/archives_month:oct_2024)
- [ September 2024 ✒ 3 ](https://ra1ahq.blog/en/archives_month:sep_2024)
- [ August 2024 ✒ 5 ](https://ra1ahq.blog/en/archives_month:aug_2024)
- [ July 2024 ✒ 9 ](https://ra1ahq.blog/en/archives_month:jul_2024)
- [ June 2024 ✒ 6 ](https://ra1ahq.blog/en/archives_month:jun_2024)
- [ May 2024 ✒ 7 ](https://ra1ahq.blog/en/archives_month:may_2024)
- [ April 2024 ✒ 5 ](https://ra1ahq.blog/en/archives_month:apr_2024)
- [ March 2024 ✒ 5 ](https://ra1ahq.blog/en/archives_month:mar_2024)
- [ February 2024 ✒ 5 ](https://ra1ahq.blog/en/archives_month:feb_2024)
- [ January 2024 ✒ 6 ](https://ra1ahq.blog/en/archives_month:jan_2024)
- [ December 2023 ✒ 7 ](https://ra1ahq.blog/en/archives_month:dec_2023)
- [ November 2023 ✒ 4 ](https://ra1ahq.blog/en/archives_month:nov_2023)
- [ October 2023 ✒ 8 ](https://ra1ahq.blog/en/archives_month:oct_2023)
- [ September 2023 ✒ 7 ](https://ra1ahq.blog/en/archives_month:sep_2023)
- [ August 2023 ✒ 4 ](https://ra1ahq.blog/en/archives_month:aug_2023)
- [ July 2023 ✒ 7 ](https://ra1ahq.blog/en/archives_month:jul_2023)
- [ June 2023 ✒ 7 ](https://ra1ahq.blog/en/archives_month:jun_2023)
- [ May 2023 ✒ 5 ](https://ra1ahq.blog/en/archives_month:may_2023)
- [ April 2023 ✒ 6 ](https://ra1ahq.blog/en/archives_month:apr_2023)
- [ March 2023 ✒ 5 ](https://ra1ahq.blog/en/archives_month:mar_2023)
- [ February 2023 ✒ 2 ](https://ra1ahq.blog/en/archives_month:feb_2023)
- [ January 2023 ✒ 5 ](https://ra1ahq.blog/en/archives_month:jan_2023)
- [ December 2022 ✒ 7 ](https://ra1ahq.blog/en/archives_month:dec_2022)
- [ November 2022 ✒ 8 ](https://ra1ahq.blog/en/archives_month:nov_2022)
- [ October 2022 ✒ 6 ](https://ra1ahq.blog/en/archives_month:oct_2022)
- [ September 2022 ✒ 9 ](https://ra1ahq.blog/en/archives_month:sep_2022)
- [ August 2022 ✒ 8 ](https://ra1ahq.blog/en/archives_month:aug_2022)
- [ July 2022 ✒ 4 ](https://ra1ahq.blog/en/archives_month:jul_2022)
- [ June 2022 ✒ 9 ](https://ra1ahq.blog/en/archives_month:jun_2022)
- [ May 2022 ✒ 7 ](https://ra1ahq.blog/en/archives_month:may_2022)
- [ April 2022 ✒ 3 ](https://ra1ahq.blog/en/archives_month:apr_2022)
- [ March 2022 ✒ 4 ](https://ra1ahq.blog/en/archives_month:mar_2022)
- [ February 2022 ✒ 6 ](https://ra1ahq.blog/en/archives_month:feb_2022)
- [ January 2022 ✒ 7 ](https://ra1ahq.blog/en/archives_month:jan_2022)
- [ December 2021 ✒ 7 ](https://ra1ahq.blog/en/archives_month:dec_2021)
- [ November 2021 ✒ 7 ](https://ra1ahq.blog/en/archives_month:nov_2021)
- [ October 2021 ✒ 7 ](https://ra1ahq.blog/en/archives_month:oct_2021)
- [ September 2021 ✒ 10 ](https://ra1ahq.blog/en/archives_month:sep_2021)
- [ August 2021 ✒ 6 ](https://ra1ahq.blog/en/archives_month:aug_2021)
- [ July 2021 ✒ 7 ](https://ra1ahq.blog/en/archives_month:jul_2021)
- [ June 2021 ✒ 7 ](https://ra1ahq.blog/en/archives_month:jun_2021)
- [ May 2021 ✒ 7 ](https://ra1ahq.blog/en/archives_month:may_2021)
- [ April 2021 ✒ 4 ](https://ra1ahq.blog/en/archives_month:apr_2021)
- [ March 2021 ✒ 4 ](https://ra1ahq.blog/en/archives_month:mar_2021)
- [ February 2021 ✒ 3 ](https://ra1ahq.blog/en/archives_month:feb_2021)
- [ January 2021 ✒ 4 ](https://ra1ahq.blog/en/archives_month:jan_2021)
- [ December 2020 ✒ 8 ](https://ra1ahq.blog/en/archives_month:dec_2020)
- [ November 2020 ✒ 2 ](https://ra1ahq.blog/en/archives_month:nov_2020)
- [ October 2020 ✒ 3 ](https://ra1ahq.blog/en/archives_month:oct_2020)
- [ September 2020 ✒ 3 ](https://ra1ahq.blog/en/archives_month:sep_2020)
- [ August 2020 ✒ 5 ](https://ra1ahq.blog/en/archives_month:aug_2020)
- [ July 2020 ✒ 5 ](https://ra1ahq.blog/en/archives_month:jul_2020)
- [ June 2020 ✒ 8 ](https://ra1ahq.blog/en/archives_month:jun_2020)
- [ May 2020 ✒ 10 ](https://ra1ahq.blog/en/archives_month:may_2020)
- [ April 2020 ✒ 4 ](https://ra1ahq.blog/en/archives_month:apr_2020)
- [ March 2020 ✒ 2 ](https://ra1ahq.blog/en/archives_month:mar_2020)
- [ January 2020 ✒ 1 ](https://ra1ahq.blog/en/archives_month:jan_2020)
- [ December 2019 ✒ 2 ](https://ra1ahq.blog/en/archives_month:dec_2019)

## Search

## Weather forecast

[На 14 дней](https://world-weather.ru/pogoda/russia/saint_petersburg/14days/)
[world-weather.ru](https://world-weather.ru/)

---

## Navigation

- Parent: [RA1AHQ](https://ra1ahq.blog/en/index.md)
- Previous: [What is the essence of Pharisaism?](https://ra1ahq.blog/en/v-chem-sushnost-fariseistva.md)
- Next: [Setting computer time using GPS on smartphone via SSH](https://ra1ahq.blog/en/ustanovka-vremeni-kompyutera-s-pomoshyu-gps-na-smartfone-cherez-ssh.md)
