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

avoid failure when checking free space if cache directory doesn't exist #454

Conversation

oliverkurth
Copy link
Contributor

@oliverkurth oliverkurth commented Dec 1, 2023

tdnf would fail when checking for free space when the directory /var/cache/tdnf doesn't exist. Fixing this by creating it.

Steps to reproduce. The option --disablerepo=* is needed to reproduce because otherwise tdnf would refresh the cache and recreate the cache directory.

tdnf -y install lsof
rm -rf /var/cache/tdnf
tdnf --disablerepo=* remove lsof

@oliverkurth oliverkurth force-pushed the topic/okurth/avoid-fail-if-cachedir-doesnt-exist branch from 3a40690 to 6f2ca3f Compare December 1, 2023 01:32
@oliverkurth oliverkurth merged commit 680496a into vmware:dev Dec 1, 2023
3 checks passed
oliverkurth added a commit to oliverkurth/tdnf that referenced this pull request Dec 11, 2023
…l-if-cachedir-doesnt-exist

avoid failure when checking free space if cache directory doesn't exist
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