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

Bug #1050536 reported by Raghavendra D Prabhu
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to
Fix Released
Ignacio Nin
Fix Released
Alexey Bychko
Fix Released
Alexey Bychko
Fix Released
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:
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:
E: Sub-process /usr/bin/dpkg returned an error code (1)


It looks to be because the package is trying to install at /share/ ..

dpkg --unpack for the deb file downloaded from is also failing.

Tags: pkg

Related branches

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

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

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

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)
Changed in percona-server:
status: Fix Committed → Fix Released
status: Fix Released → New
Revision history for this message
Ignacio Nin (ignacio-nin) wrote :

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

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to:

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.