Error Cannot Create Usr Src Redhat Sources
Contents |
Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat rpm error: cannot create %sourcedir User Name
Error Cannot Create Sourcedir /usr/src/redhat/sources
Remember Me? Password Red Hat This forum is for the discussion of Red Hat cpio md5 sum mismatch Linux. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By rpm-build 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
[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: Paul Nasrat QA Contact: Mike McLean Docs http://www.linuxquestions.org/questions/red-hat-31/rpm-error-cannot-create-sourcedir-165733/ 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 EDT Type: --- Regression: --- Mount Type: --- Documentation: --- CRM: Verified https://bugzilla.redhat.com/show_bug.cgi?id=203772 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 not in your last search results. Home | New | Search | [?] | Reports | Requests | Help | NewAccount |
Core 2 Test 1 on my new laptop, everything installed just great... accept the onboard network card and wireless card, I figured the wireless card wouldn't go so I'm not really worried about that. the network card I have is a http://forums.fedoraforum.org/archive/index.php/t-379.html Broadcom NetXtreme BCM5788 the network card does show up in ifconfig as eth0 but in the network config utility in fedora it doesn's show up. downloaded the newest drivers from broadcom's site tried to start the compile... but I get this lovely error: rpm -ivf bcm5700-7.1.22-1.src.rpm /etc/security/selinux/src/policy/file_contexts/file_contexts: no such file or directory error: cannot create %sourcedir /usr/src/redhat/SOURCES now this is a fresh install of Fedora so I'm not sure why I'm even getting this error. installing the driver itself is error cannot pretty well covered by the instructions but if I Can't get past this then.... :S funny thing though.. just for kicks I installed lindows 4.5 dev ed. and it worked just fine, including the ethernet card. any suggestions? foolish11th March 2004, 04:17 PMFirst of all, you are using a test release. Compare this to beeing a test pilot for a plane that doesn't entirely work. You use test releases to find the errors, so that they can be fixed. Just error cannot create as you don't learn how to fly a plane by beeing a test-pilot for some government funded research project, you don't learn how to use Fedora by using a test release, especially the first of the 3 test releases. If you don't want to be a test-pilot, you should use a stable release of Fedora, Core 1 is the current stable release. Fedora is an open-source only distro, as such it's free for you to download. This means that any drivers, video codecs, audio formats and so on that isn't open-source won't be included in Fedora. If they were, Fedora wouldn't be free, nor open. Maybe, and I don't know this for sure, Lindows had the non-open driver in there by default. And the charge you pay to get Lindows solved the whole open source only problem. In Fedora, you will have to install this driver That beeing said, the src.rpm is probably a driver for the card that has to be compiled against the kernel that you are currently using. I may be wrong about this, read up on it. I'm sure the site you got the src.rpm from offers at least some information. To build the package against your kernel you have to rebuild the driver from source, the src.rpm contains the source and instructions for the rpm system on how to build the package. To build rpms you need a lot of things, first