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

Can't install groups #3

Open
jwpeddle opened this issue Jun 7, 2021 · 3 comments
Open

Can't install groups #3

jwpeddle opened this issue Jun 7, 2021 · 3 comments

Comments

@jwpeddle
Copy link

jwpeddle commented Jun 7, 2021

pacmanfile has been a great quality of life boost! I have noticed that it seems to choke on some things though, and I'm not sure how to work-around it.

I tried to install texlive-most, which is a group. It installs fine, but then on the next sync, I'm asked to remove all the packages in the group. There's no way I can figure out how to fully sync. I tried to just list all the packages in the group separately, and that mostly works, but for some reason I'm still asked every sync if I want to install texlive-core. I'm not sure offhand what's special about texlive-core that makes it choke.

@jwpeddle
Copy link
Author

jwpeddle commented Jun 7, 2021

It occurs to me that for this case, I can just leave texlive-core out, since it's a dependency of the other packages and will get installed either way.

@cloudlena
Copy link
Owner

cloudlena commented Jun 8, 2021

@jwpeddle, thanks for this valid bug. Groups are currently not supported and the workaround is, as you described, to specify the group members individually. I added a section about groups in the readme: https://github.com/mastertinner/pacmanfile#limitations

As for textlive-core, I'm guessing that you have it installed already as a dependency. However, pacmanfile only looks at the packages you have installed explicitly. To fix that, you can run sudo pacman -D --asexplicit texlive-core.

So I'm guessing that we have two issues at hand:

  • Support for groups
  • Correct handling of packages installed as a depenency which should be changed to being installed explicitly

Can you confirm whether the above command solved the issue for you?

@jwpeddle
Copy link
Author

jwpeddle commented Jun 9, 2021

You were correct! After marking it as explicit, I can add it to my pacmanfile with successful syncing. Thanks 🎈

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