Centos5 Make Clean Error
Contents |
command General support questions Post Reply Print view Search Advanced search 5 posts • Page 1 of 1 michaelwo Posts: 2 Joined: 2013/01/06 error: cannot retrieve repository metadata (repomd.xml) for repository: epel 08:18:49 Problem using make command Quote Postby michaelwo » 2013/01/06 08:49:20 I error cannot retrieve repository metadata (repomd.xml) for repository rhel-x86_64-server-6 am trying to use the make command to build a simple Kernel module written in C, but everytime
Cannot Retrieve Repository Metadata (repomd.xml) For Repository Centos
I try to run the command:makeI get the following output as a result:make -C /lib/modules/2.6.32-279.el6.x86_64/build M=/home/centosmaster/DriversDev/Driv02 modulesmake: *** /lib/modules/2.6.32-279.el6.x86_64/build: No such file or directory. Stop.make: *** [all] Error 2I've already
Repomd.xml Location
installed Development Tools using Yum install as well as kernel-devel so can someone please help me by telling me what i am doing wrong here? or what I am missing here to be able to compile the Kernel module .c fileThanks for your helpNote: Below I added the Kernel module I am trying to compile, just in case anyone repomd.xml not found need to check it:hello.cCode: Select all#include
#include
int init_module(void)
{
printk(KERN_INFO "init_module() called\n");
return 0;
}
void cleanup_module(void)
{
printk(KERN_INFO "cleanup_module() called\n");
}
MakefileCode: Select allobj-m += hello.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
Top toracat Forum Moderator Posts: 7148 Joined: 2006/09/03 16:37:24 Location: California, US Contact: Contact toracat Website Problem using make command Quote Postby toracat » 2013/01/06 09:47:34 You need to install a kernel-devel package that matches your running kernel. From the output you presented, I see your running kernel is 2.6.32-279.el6. I strongly recommend you update it to the latest. If for some reason you have to stay with this kernel, then find the matching kernel-devel package here and install it. Top michaelwo Posts: 2 Joined: 2013/01/06 08:18:49 Re: Problem using make command Quote Postby michaelwo » 2013/01/08 16:48:19 toracat wrote:You need to install a kernel-devel package that matches your running kernel. From the output you pr
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss
Error: Cannot Retrieve Metalink For Repository: Fedora. Please Verify Its Path And Try Again
the workings and policies of this site About Us Learn more about repomd.xml missing Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux repomd.xml errno 14 Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join http://www.centos.org/forums/viewtopic.php?t=3405 them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top yum Error:rpmdb open failed up vote 9 down vote favorite 3 I'm trying to run yum update and I'm running this error: rpmdb: PANIC: fatal region error detected; run http://unix.stackexchange.com/questions/198703/yum-errorrpmdb-open-failed recovery error: db3 error(-30974) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery error: cannot open Packages index using db3 - (-30974) error: cannot open Packages database in /var/lib/rpm CRITICAL:yum.main: Error: rpmdb open failed I checked page like this one but running yum clean all runs the same error. How can I solve this? centos yum share|improve this question asked Apr 25 '15 at 15:40 Alex Jolig 339128 migrated from serverfault.com Apr 26 '15 at 12:51 This question came from our site for system and network administrators. add a comment| 2 Answers 2 active oldest votes up vote 19 down vote accepted This is how I fixed my problem. This is quite the messy situation. You may fix this by cleaning out rpm database. To minimize risk, make a backup of files in /var/lib/rpm/ using cp command: mkdir /root/backups.rpm.mm_dd_yyyy/ cp -avr /var/lib/rpm/ /root/backups.rpm.mm_dd_yyyy/ To fix this problem, try: # rm -f /var/lib/rpm/__db* # db_verify /var/lib/rpm/Packages # rpm --rebuilddb # yum clean all Verify that error has gone with the following yum command # yum update share|improve this answer answered A
Changed your Social passwords?January 3rd, 2014 PawPrint.net News searchmain menuTechnobloggleCompiling FFMpeg on Centos 5 October 20th, 2010 October 20th, 2010 Technobloggle 2 Chirps By: Scott Baker Compiling FFMpeg on Centos 5 a procedural guide to getting ffmpeg to work with webm, mp4(x264) and ogg(theora) output **Updated May 24th 2011 to change to ffmpeg git repository per comments. This http://www.pawprint.net/news/article/105/Compiling-FFMpeg-on-Centos-5/ is a highly technical guide to how we managed to install ffmpeg on several CentOS 5.5 32 and 64bit platforms to achieve an effective modern web video transcoder. For those struggling to figure out how to get ffmpeg to install and to have it work with as many input video formats as possible, we hope this guide saves you some time. It took us roughly a month of searching, trial and error, and tests to eventually get this to cannot retrieve work over a period of a year on and off. Some Assumptions: 1) CentOS5.x 32 or 64 bit This may work for other platforms - probably should on RHEL and Fedora, but I have only tested it on CentOS. 2) Minimal extra repositories We know you can add yum repos that will give you ffmpeg, our goal here was a finer level of control and to get the latest latest libraries and svn of ffmpeg itself - also cannot retrieve repository to keep our CentOS yum repo as clean as possible. Therefore - this is taking the long/manual way around. 3) If ffmpeg fails - CLEAN IT if you hit an error trying to build ffmpeg (we certainly hope you won´t) be sure to completely clean that folder out (heck, I´d suggest even just re-grabbing the snapshot again) because you start to get unusual errors when you try to build on top of a failed build even if you "make clean" first. 4) Video Encoding Tests The video encoding tests at the bottom of the procedure were our own tests comprising videos we have had troubles encoding in the past. You can obviously replace these with your own test videos, we only left the command lines in there for your reference. These are not necessarily sane values and switches for encoding ffmpeg for the web - we´re still researching the best solutions for that - they are merely tests to see if it works. 5) The ffmpeg SVN Works is it working right now, it may not when you try this - you should be able to switch to the ffmpeg release 0.61 if the svn download failes to work. That had just been released when these guide was prepared so we expect it will serve as a baseline for a functioning code base to use. 6) VERSIONS CHANGE!!!! to simplify things we have