[
https://issues.apache.org/jira/browse/BIGTOP-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14186313#comment-14186313
]
Hu Liu, commented on BIGTOP-1496:
---------------------------------
I found following code in hue.spec
{code}
if [ $1 -eq 0 ]; then
# TODO this seems awfully aggressive
# NOTE Despite dependency, hue-common could get removed before the apps are.
# We should remove app.reg because apps won't have a chance to
# unregister themselves.
rm -Rf %{hue_dir}/desktop %{hue_dir}/build %{hue_dir}/pids %{hue_dir}/app.reg
fi
{code}
But hue also includes some core apps, such as filebrowser_app, help_app and so
on.
It will cause the hue couldn't be uninstalled completely.
A possible fix here is to remove the apps directory without considering the
installed apps.
> Can't uninstall hue completely if any app is installed
> ------------------------------------------------------
>
> Key: BIGTOP-1496
> URL: https://issues.apache.org/jira/browse/BIGTOP-1496
> Project: Bigtop
> Issue Type: Bug
> Components: build
> Affects Versions: 0.8.0
> Reporter: Hu Liu,
> Fix For: 0.9.0
>
>
> After the hue was uninstalled, the hue/apps directory and its files are still
> there even if all installed apps were removed. But if we didn't install any
> app, the hue could be uninstalled completely.
> I understand that the hue-common couldn't be removed before there are apps.
> But the hue/apps directory and its files should be removed if the hue is
> uninstalled after the installed apps are all removed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)