Bug #2031
error exit status 1 when "apt-get purge fossology" is run
| Status: | Closed | Start date: | 12/12/2012 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | Package Install | |||
| Target version: | 2.1.1 | |||
| Rank: | 99 | Tester: |
Description
exit status should be 0. looks like we're just missing "-f". see detailed output below.
laser@pigwidgeon:~$ sudo apt-get purge fossology
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
fossology-pkgagent fossology-nomos postgresql-8.4 fossology-wgetagent fossology-web fossology-mimetype fossology-delagent
fossology-scheduler fossology-buckets postgresql-common fossology-copyright fossology-db fossology-common
fossology-ununpack
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
fossology*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 49.2 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 52857 files and directories currently installed.)
Removing fossology ...
Stopping FOSSology job scheduler: no fossology killed.
Purging configuration files for fossology ...
update-rc.d: /etc/init.d/fossology exists during rc.d purge (use -f to force)
dpkg: error processing fossology (--purge):
subprocess installed post-removal script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
fossology
E: Sub-process /usr/bin/dpkg returned an error code (1)
Subtasks
History
Updated by Paul Holland 12 months ago
- IterNum set to 2
Updated by Dong Ma 11 months ago
- Status changed from New to Resolved
fixed in svn#5945, will test it with new packages.
Updated by Mary Laser 9 months ago
- Target version changed from 2.0.1 to 2.1.0
Updated by Bob Gobeille 8 months ago
- Target version changed from 2.1.0 to 2.2.0
Updated by Bob Gobeille 8 months ago
- Rank set to 99
Change unranked issues to rank 99 so they show up in a ranking report at the bottom. Otherwise, they show up on top.
Updated by Mary Laser 6 months ago
- Target version changed from 2.2.0 to 2.1.1
Updated by larry shi 6 months ago
- Status changed from Resolved to Feedback
- IterNum changed from 2 to 15
I did some testing on fo-ubuntu-1204-32 (single system, svn 6301), found that:
0. yes, Errors do not occur.
1. if you want to uninstall all fossology related packages, you have to apt-get purge fossology* -y,
apt-get purge fossology -y just remove the package fossology, make sense?
2. after I run apt-get purge fossology* -y, find that all the fossology related files are deleted except /srv/fossology/
Updated by larry shi 5 months ago
- Status changed from Feedback to Closed
larry shi wrote:
I did some testing on fo-ubuntu-1204-32 (single system, svn 6301), found that:
0. yes, Errors do not occur.
1. if you want to uninstall all fossology related packages, you have to apt-get purge fossology* -y,
apt-get purge fossology -y just remove the package fossology, make sense?
that is correct behavior.
2. after I run apt-get purge fossology* -y, find that all the fossology related files are deleted except /srv/fossology/
see #3813