yum update error failed to retrieve repodata/filelists.xml.gz from ol6_x86_64_latest
When performing an update through yum I received the following error.
---> Package redhat-lsb-core.x86_64 0:4.0-7.0.1.el6 will be installed
ol6_x86_64_latest/filelists | 28 MB 00:39
ol6_x86_64_latest/filelists | 28 MB 00:45
Error: failed to retrieve repodata/filelists.xml.gz from ol6_x86_64_latest
error was [Errno -1] Metadata file does not match checksum
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
The error was still present after trying both suggested work arounds. Yum uses a cache to speed operations and this cache can become corrupt overtime. In the case of the error above clearing the Yum cache and rebuilding it solved the problem.
To clear the yum cache use the clean all command.
[root@wrath ~]# yum clean all Loaded plugins: refresh-packagekit, rhnplugin, security Cleaning repos: ol6_x86_64_latest Cleaning up Everything [root@wrath ~]#
Next rebuild the cache with the makcache command
[root@wrath ~]# yum makecache Loaded plugins: refresh-packagekit, rhnplugin, security ol6_x86_64_latest | 1.4 kB 00:00 ol6_x86_64_latest/group | 1.1 MB 00:01 ol6_x86_64_latest/filelists | 28 MB 00:37 ol6_x86_64_latest/updateinfo | 540 kB 00:00 ol6_x86_64_latest/primary | 26 MB 00:42 ol6_x86_64_latest/other | 191 MB 05:46 ol6_x86_64_latest 20831/20831 ol6_x86_64_latest 20831/20831 ol6_x86_64_latest 20831/20831 Metadata Cache Created [root@wrath ~]#
After running the makecache you should now be able to perform a yum update without error.
Building a simple server to provide DNS, DHCP and NTP to support Grid Naming Services
Oracle 11g Grid Infrastructure provides the ability to use DHCP for all private interconnect address, as well as most VIP address but it does not provide an optimal method for producing names for these address to external clients. Grid Naming Services provides a solution to the naming problem. GNS is linked to the companies DNS server to provide names private interconnect and VIP addresses.
Read more »
Changing the HOSTNAME on Oracle Enterprise Linux
Either due to cloning or corporate naming standards, you may find the need to change the hostname of an Oracle Enterprise Linux System.
Create an ODBC Client DSN for an Oracle TimesTen Database on Linux
This document will detail the steps to create an ODBC Client DSN to a remote Oracle TimesTen Database on Linux.
Read more »
Configuring an Oracle TimesTen Logical Server Name on UNIX Based Systems
A logical server name is used on the TimesTen client to connect to remote OracleTimes Server processes that do not listen on the default port or for local client/server using shared memory inter-process communications or UNIX domain sockets.
This document will detail the steps to create a logical server name on UNIX based systems.
Read more »
Installing Berkeley DB 11gR2 11.2.5.0.26 on Oracle Enterprise Linux
Berkeley DB is a general purpose embedded database engine that provides data management features found in enterprise class databases. Berkeley DB is used in various applications ranging from cell phones to e-commerce systems. Included in the 11gR2 version of Berkeley DB is a SQLite compatible SQL API.
Berkeley DB 11gR2 is a zero administration database engine. All administration duties are performed via API calls so no Database Administrator is required. API’s are available for many programming languages including C/C++, Java, Perl and Ruby.
Backup Does Not Run When Scheduled in CRON
You have created a script to perform the backup and have tested it to verify that it works as expected. However when the script is executed in CRON it either appears to not run or it runs with errors.
Read more »
Check Password Policy for sudo fails when attempting to deploy a Deployment Procedure
In order to deploy a Deployment Procedure for an Oracle Home or CRS image you will need to have sudo configured correctly.
Read more »
Mount NTFS file systems with NTFS 3G
Tuxera provides a stable read/write NTFS driver for Linux though their NTFS 3G. The driver provides the ability to mount Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows Server 2008 and Windows 7 NTFS file systems. You can download the driver from the link below.
http://www.tuxera.com/community/ntfs-3g-download/
In this post we will configure and install the 3.6 version of the driver. We will extract, configure, make and install.