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

Pacman tries to read a directory as a compressed file #7600

Closed

Conversation

jdarwood007
Copy link
Member

Fixes error caused by package manager trying to read a directory as a compressed file

Notice
: file_get_contents(): Read of 8192 bytes failed with errno=21 Is a directory in
/Sources/Subs-Package.php
on line
36

@live627
Copy link
Contributor

live627 commented Dec 20, 2022

How to reproduce this?

@jdarwood007
Copy link
Member Author

I would have to poke around to be sure, but I caught this in one of my error logs.
The fix is fairly straightforward and has our extraction function just bail out if it detects its a directory.

@jdarwood007 jdarwood007 closed this Jan 7, 2024
@jdarwood007 jdarwood007 deleted the packageIsDirFix branch January 7, 2024 02:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants