Percona Server with XtraDB

Debian percona-server-client-5.5 package creates /share/perl5

Reported by Raghavendra D Prabhu on 2012-09-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server
Status tracked in 5.6
5.1
Medium
Alexey Bychko
5.5
Medium
Alexey Bychko
5.6
Medium
Ignacio Nin

Bug Description

apt-get install --reinstall percona-server-client-5.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  percona-server-client-5.5
1 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
17 not fully installed or removed.
Need to get 0 B/21.5 MB of archives.
After this operation, 73.7 MB of additional disk space will be used.
(Reading database ...
dpkg: warning: files list file for package `percona-server-client-5.5' missing, assuming package has no files currently installed.
(Reading database ... 62745 files and directories currently installed.)
Preparing to replace percona-server-client-5.5 5.5.27-rel28.1-296.precise (using .../percona-server-client-5.5_5.5.27-rel28.1-296.precise_amd64.deb) ...
Unpacking replacement percona-server-client-5.5 ...
dpkg: error processing /var/cache/apt/archives/percona-server-client-5.5_5.5.27-rel28.1-296.precise_amd64.deb (--unpack):
 unable to securely remove '/share/perl5.dpkg-new': Permission denied
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/percona-server-client-5.5_5.5.27-rel28.1-296.precise_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

========================

It looks to be because the package is trying to install at /share/ .. http://sprunge.us/jNaL

dpkg --unpack for the deb file downloaded from http://repo.percona.com/apt/pool/main/p/percona-server-5.5/percona-server-client-5.5_5.5.27-rel28.1-296.precise_amd64.deb is also failing.

Tags: pkg Edit Tag help

percona-server-client-5.5_5.5.27-rel28.1-296.squeeze_amd64.deb is also not working.

Ok, it broke for me because I already had a autofs mount for 9p and that will fail.

However, this is still a bug because the package tries to create an empty /share/perl5 directory. Now, this may fail on other systems where such similar mounts may exist.

tags: added: pkg
summary: - Precise percona-server-client-5.5 broken
+ Debian percona-server-client-5.5 package creates /share/perl5
Stewart Smith (stewart) on 2013-03-22
Changed in percona-server:
status: Fix Committed → Fix Released
status: Fix Released → New
Ignacio Nin (ignacio-nin) wrote :

5.6 will be automatically fix when the 5.5 branch is merged onto 5.6

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers