Project

General

Profile

Bug #5539

[deb] cleanup gemfile.lock on uninstall

Added by Greg Sutcliffe almost 6 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Debian/Ubuntu
Target version:
Difficulty:
Triaged:
Bugzilla link:
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.

Associated revisions

Revision d32d6d79 (diff)
Added by Michael Moll almost 4 years ago

fixes #5539 - remove Gemfile.lock

Closes GH-1108

History

#1 Updated by The Foreman Bot almost 4 years ago

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

#2 Updated by Michael Moll almost 4 years ago

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

#3 Updated by Dominic Cleal almost 4 years ago

  • Category set to Debian/Ubuntu
  • Legacy Backlogs Release (now unused) set to 155

Also available in: Atom PDF