postrm script fails
Bug #191656 reported by
Jordi Mallach
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
db2exc (Ubuntu) |
Fix Released
|
Undecided
|
Brian Thomason |
Bug Description
Binary package hint: db2exc
Testing db2exc installs for a deployment, I found an update to the package today.
When I went ahead to purge it, I found some problems in the .postrm script:
(sorry for the Catalan output)
S'estan purgant els fitxers de configuració de db2exc ...
dpkg: s'ha produït un error en processar db2exc (--purge):
el subprocés post-removal script retornà el codi d'eixida d'error 1
There are some unprotected rm and rmdir calls which fail at that stage as at least for me, the /opt/ibm dir was already empty at the time of purging.
I'm attaching a patch to fix this, but I'm not too sure if I can be this happy about assuming the non-existance of these files is OK.
Changed in db2exc: | |
status: | In Progress → Confirmed |
To post a comment you must log in.
Actually, here's a patch that works.