Centos Error Cannot Create Sourcedir /usr/src/redhat/sources
Contents |
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat rpm error: cannot create %sourcedir User Name Remember Me? Password Red Hat This forum is for the discussion
Cpio Md5 Sum Mismatch
of Red Hat Linux. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are rpm-build currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 04-03-2004, 10:47 AM #1 ticro LQ Newbie Registered: Sep 2003 Posts: 1 Rep: rpm error: cannot create %sourcedir very newbie here using redhat 9 I am trying to install samba 3.0.2a-1. This is the first rpm install I've tried. When using the install command # rpm -ivh [filename] I get the following error message: error: cannot create %sourcedir/usr/src/redhat/sources Do I have to make a directory to put it in? What directory do I put it in?If so how do I specify rpm to put it there? Thanks Ticro ticro View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by ticro 04-03-2004, 01:42 PM #2 RobertP Member Register
[x] Format For Printing -XML -Clone This Bug -Last Comment First Last Prev Next This bug is not in your last search results. Bug203772 - rpm cannot install .src.rpm due to missing /usr/src/redhat Summary: rpm cannot install .src.rpm due to missing /usr/src/redhat Status: CLOSED NOTABUG Aliases: None Product: Fedora Classification: Fedora Component: rpm (Show other bugs) Sub Component: --- Version: rawhide Hardware: All Linux Priority medium Severity medium TargetMilestone: --- TargetRelease: --- Assigned To: http://www.linuxquestions.org/questions/red-hat-31/rpm-error-cannot-create-sourcedir-165733/ Paul Nasrat QA Contact: Mike McLean Docs Contact: URL: Whiteboard: Keywords: Depends On: Blocks: Show dependency tree /graph Reported: 2006-08-23 13:45 EDT by Will Woods Modified: 2007-11-30 17:11 EST (History) CC List: 0 users See Also: Fixed In Version: Doc Type: Bug Fix Doc Text: Story Points: --- Clone Of: Environment: Last Closed: 2006-08-23 14:29:38 https://bugzilla.redhat.com/show_bug.cgi?id=203772 EDT Type: --- Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- RHEL 7.3 requirements from Atomic Host: Cloudforms Team: --- Attachments (Terms of Use) Add an attachment (proposed patch, testcase, etc.) Groups: None (edit) Description Will Woods 2006-08-23 13:45:30 EDT rpm is normally able to install .src.rpm files. However the rpm package does not own /usr/src/redhat - rpm-build does. Without this directory, attempting to install a .src.rpm fails with: error: cannot create %sourcedir /usr/src/redhat/SOURCES Creating /usr/src/redhat allows the .src.rpm to be installed. This bug has been present since FC5. Comment 1 Will Woods 2006-08-23 14:29:38 EDT Solution: install rpm-build. You need this to do anything useful with the contents of the .src.rpm anyway. If you don't want to wait that long, just do: mkdir /usr/src/redhat and try again. Note You need to log in before you can comment on or make changes to this bug. Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next This bug is
Issues related to software problems. Post Reply Print view Search Advanced search 13 posts 1 2 Next jamz Posts: 7 Joined: 2007/10/30 08:38:11 yum update problem Quote Postby jamz » http://www.centos.org/forums/viewtopic.php?t=18991 2007/10/30 08:55:50 hello everyone.Can anybody help me with updating my php 5.1.6 to 5.2.0.I have successfully installed my CENTOS 5 as our supposedly webserver but I couldn't update my php nor any application using yum. It keeps on showing this message:Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5 ... 86&repo=os error was[Errno 4] IOError: Error: Cannot find a valid baseurl for repo: basePlease..help.I'm not also really versed in centos error linux so kindly make it simpler to understand..Thank so much in advance. Top markkuk Posts: 717 Joined: 2007/09/07 10:56:28 Location: Finland Re: yum update problem Quote Postby markkuk » 2007/10/30 09:15:34 The current version of PHP for CentOS 5 is 5.1.6-15.el5. If you really must have PHP 5.2 then you can't use yum to update it and you can't install any PHP-related packages from the CentOS centos error cannot distribution or repositories. Are you sure that your PHP application requires 5.2?The error message means that the network configuration in your CentOS machine is broken, or there's a problem with your Internet connection. Top jamz Posts: 7 Joined: 2007/10/30 08:38:11 Re: yum update problem Quote Postby jamz » 2007/10/31 01:44:28 Thanks so much for replying.Actually our database developer has used php 5.2 in making the database for our system.Now she has already finished a lot and is ready to transfer most of her work to our dummy webserver for testing.Now since Centos 5 uses php 5.1.6, we're afraid there might be complications later for unsupported features for the database made in php 5.2.If as what you said, I could not make use of yum nor update from any repository, please tell me what should be done for this.And as to our network problem as what you have mentioned, I'm not so sure because I could ping any computer inside our network using the Centos box and could browse any website using the browser installed in it.However, if I try to ping any URL, it keeps on showing this:ping: unknown host www.xxx.com or if I ping the