wy@wypc:~/software/apache-maven-3.9.5$ apt-cache madison mysql-server
mysql-server | 8.0.35-0ubuntu0.22.04.1 | http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
mysql-server | 8.0.35-0ubuntu0.22.04.1 | http://cn.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
mysql-server | 8.0.35-0ubuntu0.22.04.1 | http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
mysql-server | 8.0.35-0ubuntu0.22.04.1 | http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages
mysql-server | 8.0.28-0ubuntu4 | http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
mysql-server | 8.0.28-0ubuntu4 | http://cn.archive.ubuntu.com/ubuntu jammy/main i386 Packages
wy@wypc:~/software/apache-maven-3.9.5$ apt-cache policy mysql-server
mysql-server:
  Installed: (none)
  Candidate: 8.0.35-0ubuntu0.22.04.1
  Version table:
     8.0.35-0ubuntu0.22.04.1 500
        500 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        500 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages
     8.0.28-0ubuntu4 500
        500 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        500 http://cn.archive.ubuntu.com/ubuntu jammy/main i386 Packages

使用 apt-cache madison 列出软件的所有来源
sudo apt-cache madison mysql

apt list --installed | grep <package_name>

https://www.vultr.com/docs/how-to-install-mysql-5-7-on-ubuntu-20-04/