dpkg -i percona-release_latest.bionic_all.deb fails inside ubuntu:18.04 docker container
General
Escalation
General
Escalation
Description
Environment
ubuntu:18.04 docker container
Smart Checklist
Activity
Show:
Paul Dixon May 29, 2019 at 2:54 PM
Many thanks, can confirm that worked for me.
Evgeniy Patlan May 29, 2019 at 2:43 PM
Hi @Paul Dixon!
Thanks for your report.
THis issue appeared only on dockers. Additionally you need to install gnupg2 package.
It is needed to install it together with lsb-release and wget.
Steps to reproduce:
start a docker container running ubuntu 18.04
docker run -ti --rm ubuntu:18.04 /bin/bash
install wget and lsb-release and grab the percona release package
apt-get update
apt-get install -y wget lsb-release
wget https://repo.percona.com/apt/percona-release_latest.bionic_all.deb
attempt to install the package with DEBUG environment variable set
DEBUG=1 dpkg -i percona-release_latest.bionic_all.deb
Expected: successful install
Observed:
Selecting previously unselected package percona-release.
(Reading database ... 5206 files and directories currently installed.)
Preparing to unpack percona-release_latest.bionic_all.deb ...
+ set -e
+ exit 0
Unpacking percona-release (1.0-11.generic) ...
Setting up percona-release (1.0-11.generic) ...
dpkg: error processing package percona-release (--install):
installed percona-release package post-installation script subprocess returned error exit status 255
Errors were encountered while processing:
percona-release