From the course: Linux: Package Management for CentOS
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Troubleshoot Yum - Linux Tutorial
From the course: Linux: Package Management for CentOS
Troubleshoot Yum
- [Instructor] Sometimes Yum breaks. There may be a dependency issue because there's something wrong with the repository. In this case you can pass --skip-broken and Yum will install what it can. Locking a package can sometimes cause this issue. We can also temporarily disable problematic yum repositories when installing software. There are also are occasions where the downloaded cache of yum metadata gets out of sync or corrupted. We can clean this cache easily. The options for yum clean are expire-cache, packages, headers, metadata, dbcache, rpmdb, that would be the rpmdb cache, plugins for yum plugins, and if you want to clear out all cache data you can do yum clean all. After yum clean all you'll want to do a yum repo list again to download new metadata for each repository.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.