Repository is broken: percona-release:amd64 (= 1.0-27.generic) has no Size information

Hi,

I am getting this error when I install percona release on debian focal. Here are the steps that lead to this error: W: Repository is broken: percona-release:amd64 (= 1.0-27.generic) has no Size information

  1. curl -O https://repo.percona.com/apt/percona-release_latest.generic_all.deb
  2. apt install -y gnupg2 lsb-release ./percona-release_latest.generic_all.deb

Should I be concerned?

Thanks

Hi Gabe,

Could you provide an output of the next command?

apt list --installed | egrep 'gnupg2|lsb-release|percona'

e.g.
Screenshot 2023-07-14 at 20.09.06

Here you go:

apt list --installed | egrep 'gnupg2|lsb-release|percona'

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

gnupg2/focal-updates,focal-security,now 2.2.19-3ubuntu2.2 all [installed]
lsb-release/focal,now 11.1.0ubuntu2 all [installed]
percona-mysql-shell/unknown,now 8.0.33-1-1.focal amd64 [installed]
percona-release/stable,now 1.0-27.generic all [installed]
percona-server-client/unknown,now 8.0.31-23-1.focal amd64 [installed,upgradable to: 8.0.33-25-1.focal]
percona-server-common/unknown,now 8.0.31-23-1.focal amd64 [installed,upgradable to: 8.0.33-25-1.focal]
percona-server-server/unknown,now 8.0.31-23-1.focal amd64 [installed,upgradable to: 8.0.33-25-1.focal]
percona-toolkit/focal,now 3.1+dfsg-1.1 all [installed]
percona-xtrabackup-24/now 2.4.28-1.focal amd64 [installed,local]

So it’s already installed and percona repos are enabled.

Yes, everything installed and here are the enabled percona repos:

apt-cache policy | grep -i percona
 500 http://repo.percona.com/ps-80/apt focal/main amd64 Packages
     release v=1.0,o=Percona Development Team,n=focal,l=percona,c=main,b=amd64
     origin repo.percona.com
 500 http://repo.percona.com/prel/apt focal/main amd64 Packages
     release v=1.0,o=Percona Development Team,a=stable,n=focal,l=percona,c=main,b=amd64
     origin repo.percona.com

I just want to make sure the warning about the repository being broken is not a concern before I continue.

Thanks

Hi Gabe,

As repos were successfully enabled by the script, you may ignore the warning.
BTW apt provides flag AllowUnsizedPackages to disable the warning.

1 Like