Project

General

Profile

Actions

Bug #5539

closed

[deb] cleanup gemfile.lock on uninstall

Added by Greg Sutcliffe almost 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Debian/Ubuntu
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Seems we don't cleanup properly:

root@wheezy934:~# apt-get purge foreman-postgresql foreman
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
bundler comerr-dev foreman-proxy krb5-multidev libgssrpc4 libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6
libkrb5-dev libpq-dev libpq5 libssl-dev libssl-doc rake ruby-rack ruby-rack-protection ruby-rkerberos
ruby-sinatra ruby-tilt rubygems-integration unzip zip zlib1g-dev
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
foreman* foreman-postgresql*
0 upgraded, 0 newly installed, 2 to remove and 15 not upgraded.
After this operation, 47.1 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 44627 files and directories currently installed.)
Removing foreman-postgresql ...
Purging configuration files for foreman-postgresql ...
Removing foreman ...
Purging configuration files for foreman ...
dpkg: warning: while removing foreman, directory '/usr/share/foreman' not empty so not removed
root@wheezy934:~# ls lh /usr/share/foreman
total 4.0K
-rw-r--r-
1 foreman foreman 3.4K May 1 14:24 Gemfile.lock

We should delete that in the pre-rm script.

Actions #1

Updated by The Foreman Bot almost 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Anonymous
  • Pull request https://github.com/theforeman/foreman-packaging/pull/1108 added
Actions #2

Updated by Anonymous almost 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #3

Updated by Dominic Cleal almost 8 years ago

  • Category set to Debian/Ubuntu
  • translation missing: en.field_release set to 155
Actions

Also available in: Atom PDF