-
Notifications
You must be signed in to change notification settings - Fork 15
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
Unexpected platform mismatch on Linux #122
Comments
Seems like a bug in pkgcache. A workaround is to remove the extra newline from the end of https://paws-r.r-universe.dev/bin/linux/noble/4.4/src/contrib/PACKAGES (+ |
OK thank you. FFR I have implemented another temporary workaround which adds an unimportant field at the end of each dcf entry, such that the This indeed fixes the issue, so fortunately the Should I open an issue in pkgcache or can you transfer the current issue? |
Reprex: writeLines(c("Package: foo", ""), tmp <- tempfile())
pkgcache::parse_packages(tmp)
|
Smaller reprex: ❯ .Call(pkgcache:::pkgcache_parse_packages_raw, charToRaw("Package: foo\n\n"))
$Package
[1] "foo\n" |
Thank you |
I am getting a
platform mismatch
error on Linux for a package that hasPlatform: x86_64-pc-linux-gnu
.Reproduce
Run for example in this container:
And then run:
The text was updated successfully, but these errors were encountered: