Comments (2)
Actually, because of this line, the cache is not actually deleted: https://github.com/chef-cookbooks/yum/blob/master/providers/repository.rb#L91, as yum repolist
will only show the repositories that are defined.
from yum.
The problem with the fix you proposed in the bug is that it doesn't actually delete all of the cache, including the repo's cache directory. Execution of yum clean on the repo's cache directory only clears out some of the cruft left behind. A full directory deletion does a more thorough job.
directory "#{yum_cachedir}/#{repo}" do
action :delete
recursive true
end
from yum.
Related Issues (20)
- yum_repository doesn't support sensitive parameter
- Resolve Chef 13 deprecation warning HOT 2
- Shouldn't README not include an example for EPEL? HOT 1
- baseurl should support multiple url per documentation HOT 3
- Installation of packages on centos HOT 1
- node['yum']['main']['exclude'] would be better as an array, no? HOT 3
- Tests failing due to repo choice HOT 1
- how to download yum rpm to intel's machine and install in another ARM64 machine HOT 1
- yum makecache in a recipe HOT 4
- [QUESTION] yum cookbook backward compatibility promises HOT 1
- enabling a yum repo should implicitly set the `manage` attribute to true HOT 1
- Locking Amazon Linux to a specific version via releasever
- 5.1.0 is not available from the supermarket HOT 1
- yum_globalconfig doesn't read attributes HOT 4
- where can i download chef client for rhel 8 HOT 1
- support globalconfig options available to newer versions of yum HOT 4
- Add support for install_weak_deps property used by DNF HOT 4
- Allow DNF best, skip_if_unavailable, and excludepkgs to be managed directly
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yum.