Error Cannot Write To Sourcedir /usr/src/redhat/sources
Contents |
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red error cannot create sourcedir /usr/src/redhat/sources Hat rpm error: cannot create %sourcedir User Name Remember Me? Password
Cpio Md5 Sum Mismatch
Red Hat This forum is for the discussion of Red Hat Linux. Notices Welcome to LinuxQuestions.org, a friendly rpm-build and active Linux Community. You are 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:
[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 Contact: URL: Whiteboard: Keywords: http://www.linuxquestions.org/questions/red-hat-31/rpm-error-cannot-create-sourcedir-165733/ 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 Versions: Category: --- oVirt Team: --- https://bugzilla.redhat.com/show_bug.cgi?id=203772 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 | Log In [x] | Forgot Password Login: [x] | Report Bugzilla Bug Legal
Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! Search Forums Show Threads Show Posts Tag Search Advanced Search http://www.unix.com/linux/11233-red-hat-rpm-problem.html Unanswered Threads Find All Thanked Posts Go to Page... linux operating http://forums.devshed.com/linux-help-33/redhat-9-0-error-create-sourcedir-usr-src-redhat-sources-89528.html commands and unix operating commands Red Hat RPM problem Linux Thread Tools Search this Thread Display Modes #1 09-11-2003 jasonr Registered User Join Date: Aug 2003 Last Activity: 27 October 2003, 9:10 PM EST Posts: error cannot 3 Thanks: 0 Thanked 0 Times in 0 Posts Red Hat RPM problem I have my system setup different then the conventional setup: [root@localhost root]# df -h Filesystem Size Used Avail Use% Mounted on /dev/hdc2 2.0G 977M 936M 52% / /dev/hdc1 97M 9.0M 83M 10% /boot none 251M 0 251M 0% /dev/shm So when I try to install error cannot write a RPM which looks for /usr etc. I get an error: [root@localhost root]# rpm -ivh exim-3.36-5.src.rpm warning: exim-3.36-5.src.rpm: V3 DSA signature: NOKEY, key ID e01260f1 error: cannot create %sourcedir /usr/src/redhat/SOURCES How do I fix this error? Thanks Jason Remove advertisements Sponsored Links jasonr View Public Profile Find all posts by jasonr #2 09-11-2003 OllieTech Registered User Join Date: Aug 2003 Last Activity: 6 December 2006, 3:28 PM EST Location: Dover, DE, USA Posts: 31 Thanks: 0 Thanked 0 Times in 0 Posts Quote: V3 DSA signature: NOKEY For this, put in your Red Hat CD 1 and mount it. Then type: PHP Code: rpm--import/mnt/cdrom/RPM-GPG-KEY
For the second problem, You need to install the package rpm-build and it will create the directories under /usr/src/redhat for you. Good Luck Remove advertisements Sponsored Links OllieTech View Public Pr
Search Username Password Remember Me? Register Lost Password? facebook google twitter rss Free Web Developer Tools Advanced Search Forum Operating Systems Linux Help Redhat 9.0 error: cannot create %sourcedir /usr/src/redhat/SOURCES Thread: Redhat 9.0 error: cannot create %sourcedir /usr/src/redhat/SOURCES Share This Thread Tweet This + 1 this Post To Linkedin Subscribe to this Thread Subscribe to This Thread October 7th, 2003,10:26 PM #1 No Profile Picture Wisher View Profile View Forum Posts Junior Member Devshed Newbie (0 - 499 posts) Join Date Oct 2003 Posts 2 Rep Power 0 Redhat 9.0 error: cannot create %sourcedir /usr/src/redhat/SOURCES Hello everyone, I'm getting some really extrange errors and all of them tell me the same thing. For example: Code: [root@localhost tmp]# rpm -Fvh up2date-* Preparing... ########################################### [100%] 1:up2date ########################################### [ 33%] 2:up2date-gnome ########################################### [ 67%] error: cannot create %sourcedir /usr/src/redhat/SOURCES Same trying to install apt-get: rpm -ivh apt* Does anyone knows a solution to this error?? Thanks Faq Reply With Quote October 7th, 2003,11:24 PM #2 Scorpions4ever View Profile View Forum Posts Banned ;) Devshed Supreme Being (6500+ posts) Join Date Nov 2001 Location Woodland Hills, Los Angeles County, California, USA Posts 9,766 Rep Power 4299 Have you tried creating the directory (/usr/src/redhat/) yourself -- maybe that dir doesn't exist currently on your system. Also, it sounds like you're trying to install source RPMs -- these install the source code to the programs, not the binaries. So you're going to have to compile the source code yourself. Is this what you want? Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo Faq Reply With Quote October 8th, 2003,08:26 AM #3 No Profile Picture Wisher View Profile View Forum Posts Junior Member Devshed Newbie (