Bug #406
apk del does not remove all dir from php-pear
| Status: | Closed | Start date: | 08/13/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | - | |||
| Target version: | - |
Description
Seems like problem is that removing unreferenced dirs is not working or he tries to remove them in wrong order.
$ sudo rm -rf /usr/share/pear ; sudo apk add php-pear; sudo apk del php-pear ; find /usr/share/pear (1/5) Installing pcre (8.10-r0) (2/5) Installing libxml2 (2.7.7-r2) (3/5) Installing php (5.3.3-r1) (4/5) Installing php-cli (5.3.3-r1) (5/5) Installing php-pear (5.3.3-r1) Executing busybox-1.17.1-r2.trigger OK: 137 packages, 4158 dirs, 35194 files (1/5) Purging php-pear (5.3.3-r1) (2/5) Purging php (5.3.3-r1) (3/5) Purging php-cli (5.3.3-r1) (4/5) Purging pcre (8.10-r0) (5/5) Purging libxml2 (2.7.7-r2) Executing busybox-1.17.1-r2.trigger OK: 132 packages, 4101 dirs, 35006 files /usr/share/pear /usr/share/pear/Archive /usr/share/pear/XML /usr/share/pear/OS /usr/share/pear/Structures /usr/share/pear/Structures/Graph /usr/share/pear/Structures/Graph/Manipulator /usr/share/pear/PEAR /usr/share/pear/PEAR/ChannelFile /usr/share/pear/PEAR/REST /usr/share/pear/PEAR/Downloader /usr/share/pear/PEAR/PackageFile /usr/share/pear/PEAR/PackageFile/v2 /usr/share/pear/PEAR/PackageFile/Parser /usr/share/pear/PEAR/PackageFile/Generator /usr/share/pear/PEAR/Task /usr/share/pear/PEAR/Task/Windowseol /usr/share/pear/PEAR/Task/Replace /usr/share/pear/PEAR/Task/Unixeol /usr/share/pear/PEAR/Task/Postinstallscript /usr/share/pear/PEAR/Command /usr/share/pear/PEAR/Installer /usr/share/pear/PEAR/Installer/Role /usr/share/pear/PEAR/Frontend /usr/share/pear/PEAR/Validator /usr/share/pear/data /usr/share/pear/data/PEAR /usr/share/pear/data/Structures_Graph /usr/share/pear/Console /usr/share/pear/.registry /usr/share/pear/.registry/.channel.doc.php.net /usr/share/pear/.registry/.channel.__uri /usr/share/pear/.registry/.channel.pecl.php.net /usr/share/pear/.channels /usr/share/pear/.channels/.alias /usr/share/pear/doc /usr/share/pear/doc/PEAR /usr/share/pear/doc/XML_Util /usr/share/pear/doc/XML_Util/examples /usr/share/pear/doc/Structures_Graph /usr/share/pear/doc/Structures_Graph/docs /usr/share/pear/doc/Structures_Graph/docs/tutorials /usr/share/pear/doc/Structures_Graph/docs/tutorials/Structures_Graph /usr/share/pear/doc/Structures_Graph/docs/html /usr/share/pear/doc/Structures_Graph/docs/html/Structures_Graph /usr/share/pear/doc/Structures_Graph/docs/html/media /usr/share/pear/doc/Archive_Tar /usr/share/pear/doc/Archive_Tar/docs /usr/share/pear/test /usr/share/pear/test/XML_Util /usr/share/pear/test/XML_Util/tests /usr/share/pear/test/Structures_Graph /usr/share/pear/test/Structures_Graph/tests /usr/share/pear/test/Structures_Graph/tests/testCase
Associated revisions
db: optionally remove dirs when unref
We want remove dirs when they are unreferenced so we remove all dirs on
apk del, but we don't want remove dirs when closing database. So we make
removing dir optional when unreferencing it.
This partially reverts commit c7ffc96a16c6963fe0a07be7ee75e8f1f7426882.
fixes #406
main/apk-tools: remove all dirs on apk del
fixes #406
History
Updated by Natanael Copa over 1 year ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset commit:"55c90bc6ffa3ebe113b9f6e4b6f2172381f02a60".
Updated by Natanael Copa over 1 year ago
Applied in changeset 5c4583a9027de2a26d3bff8b443f7db7f0c37074.
Updated by Timo Teräs over 1 year ago
- Status changed from Resolved to Closed