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

--pkglist can't be used with non-regular files #381

Open
DrJosh9000 opened this issue Aug 22, 2023 · 0 comments
Open

--pkglist can't be used with non-regular files #381

DrJosh9000 opened this issue Aug 22, 2023 · 0 comments
Labels
Triaged Someone on the DNF team has read the issue and determined the next steps to take

Comments

@DrJosh9000
Copy link

I ran a command similar to following:

createrepo_c \
  --no-database \
  --unique-md-filenames \
  --retain-old-md-by-age=180d \
  --update \
  --pkglist <(find /rpms -type f -name '*.rpm') \
  --recycle-pkglist \
  /rpms

(Put aside for the moment that I could make createrepo_c traverse the directory to find packages; maybe I have another command that outputs the pkglist.)

It printed pkglist file "/dev/fd/63" doesn't exists and exited. It appears --pkglist requires that its arg be a regular file:

if (!g_file_test(options->pkglist, G_FILE_TEST_IS_REGULAR)) {

@kontura kontura added the Triaged Someone on the DNF team has read the issue and determined the next steps to take label Aug 28, 2023
@kontura kontura removed their assignment Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triaged Someone on the DNF team has read the issue and determined the next steps to take
Projects
None yet
Development

No branches or pull requests

2 participants