Project

General

Profile

Actions

Bug #18539

open

Katello RPM package leaves empty directories

Added by Lukas Zapletal over 7 years ago. Updated 10 months ago.

Status:
Ready For Testing
Priority:
Normal
Category:
RPMs
Target version:
-
Difficulty:
easy
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When you upgrade the RPM, these directories are left:

opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.47
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.47/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.47/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.47/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.47/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.70
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.70/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.70/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.70/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.70/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.73
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.73/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.73/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.73/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.73/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.78
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.78/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.78/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.78/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.78/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.80
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.80/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.80/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.80/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.80/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.81
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.81/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.81/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.81/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.81/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.82/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.90
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.90/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.90/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.90/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.90/public/assets
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.94
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.94/public
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.94/public/apipie-cache
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.94/public/apipie-cache/plugin
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.94/public/assets

I think we need to add these as %ghost files or something so they are removed properly.

Can't find packaging component, is this the correct project?

Actions

Also available in: Atom PDF