Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

abroot pkg doesn't remove unstaged packages even though they are removed. #392

Open
74320 opened this issue Jan 28, 2025 · 4 comments
Open
Assignees

Comments

@74320
Copy link

74320 commented Jan 28, 2025

Hi, i installed some icon themes with abroot pkg add. Then I decided to delete them, but when i open refine (its like gnome-tweaks) i still can see all the icon packs and still use them. Is it wrong to install them through abroot pkg ? is there better way of doing this ? The usual ~/.icons path doesn't work.

And most importantly: how can I remove them?
Maybe this behavior is the same with other packages... how can I be sure that they are really deleted?

I also looked up the /usr/share/icons dir and could only see the preinstalled icons.

I also looked up if fzf could find them, but I couldn't find anything.

I'm confused :D

is there also a way to install themes?

(sorry if my english isn't correct)

greeting's

@taukakao taukakao changed the title abroot pkg remove doesn't remove packages abroot pkg doesn't remove unstaged packages even though they are removed. Jan 28, 2025
@taukakao
Copy link
Member

Icon packs should go into ~/.local/share/icons

And yes the abroot pkg apply command is a bit buggy. Usually, it just fails to report correctly on what it installed or removed, so I'm leaving this issue open.

Instead of "abroot pkg apply", you can also do "abroot upgrade -f". It will remove packages more reliably.

I think most of the confusion comes from the default terminal being in a container. Stuff you install with abroot will go on the host. You can either use the "host-shell" command or just look into the /run/host/ folder.

If you want to know what's currently installed on your host system then run:
cat /run/host/usr/share/abroot/package-summary

If you want to see what icon packs are installed on the host run:
ls /run/host/usr/share/icons/

@taukakao taukakao self-assigned this Jan 28, 2025
@74320
Copy link
Author

74320 commented Jan 29, 2025

thank you for your reply. I will test it later

@74320
Copy link
Author

74320 commented Jan 29, 2025

nice
With the upgrade -f command I was able to delete the packages. And I could also check if they are really gone with the file paths.

Thank you

keep up the good work!

@74320
Copy link
Author

74320 commented Jan 29, 2025

I also forgot that you can also save icons/themes under ~/.local/share/.
That worked just as well.
Thanks for the tip.

the package summary got the same output as the abroot pkg list command.
The icon packages were not visible there either.

maybe this helps in future improvement's
or maybe pkg list do trigger the summary output
I don't know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants