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

FILES_IGNORE_GLOB doesn't prevent to install pkg-static #2190

Open
ocochard opened this issue Oct 10, 2023 · 3 comments
Open

FILES_IGNORE_GLOB doesn't prevent to install pkg-static #2190

ocochard opened this issue Oct 10, 2023 · 3 comments

Comments

@ocochard
Copy link
Member

On my poudriere image, I don't need any pkg-static* files (32M each!).
So my pkg.conf is like this one:

FILES_IGNORE_GLOB: [
  "*.a",
  "/usr/local/sbin/pkg-static*",
]

But only pkg-static.pkgsave isn't installed, and pkg-static is still installed.

@igalic
Copy link

igalic commented Oct 11, 2023

what other globs did you try?
what kind of output does pkg give you in debug mode give you?

@ocochard
Copy link
Member Author

ocochard commented Oct 12, 2023

The other glob I've tried is this one (same result, pkg-static still installed):

FILES_IGNORE_GLOB: [
  "*.a",
  "/usr/local/sbin/pkg-static",
  "/usr/local/sbin/pkg-static.pkgsave",
]

I need to study how to run pkg in debug mode from poudriere image now.

@ocochard
Copy link
Member Author

I even don't understand how we could end up with the file pkg-static.pkgsave.
This concept came from pkg that is upgrading a package and encounter a orphan file… but how could it consider that its own previous pkg-static could not belong to any package ?

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