Can't uninstall the .deb package cleanly

Bug #1450608 reported by Caio Begotti
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Caio Begotti

Bug Description

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 1 to remove and 42 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 499073 files and directories currently installed.)
Removing capomastro (20150401) ...
Purging configuration files for capomastro (20150401) ...
rm: cannot remove ‘/etc/apache2/sites-available/capomastro.conf’: No such file or directory
dpkg: error processing package capomastro (--purge):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Once I sudo touch that path it removes the package just fine though. Shouldn't be hard to fix it, filing this so I don't forget about it.

Related branches

Revision history for this message
Daniel Manrique (roadmr) wrote :

Usually we upgrade the package rather than removing it, right?

This needs to be fixed but I'll triage for later since it doesn't really affect production deployments.

Changed in capomastro:
milestone: none → future
importance: Undecided → High
milestone: future → 2015-07
status: New → Triaged
Caio Begotti (caio1982)
Changed in capomastro:
assignee: nobody → Caio Begotti (caio1982)
Caio Begotti (caio1982)
Changed in capomastro:
status: Triaged → In Progress
Caio Begotti (caio1982)
Changed in capomastro:
status: In Progress → Fix Released
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.