Error Cannot Create Sourcedir Usr Src Redhat Sources Rhel
Red Hat Certificate System Red Hat Satellite Subscription Asset Manager Red Hat Update Infrastructure Red Hat Insights Ansible Tower by Red Hat Cloud Computing Back Red Hat CloudForms Red cpio md5 sum mismatch Hat OpenStack Platform Red Hat Cloud Infrastructure Red Hat Cloud Suite Red Hat rpm-build OpenShift Container Platform Red Hat OpenShift Online Red Hat OpenShift Dedicated Storage Back Red Hat Gluster Storage Red Hat Ceph Storage JBoss Development and Management Back Red Hat JBoss Enterprise Application Platform Red Hat JBoss Data Grid Red Hat JBoss Web Server Red Hat JBoss Portal Red Hat JBoss Operations Network Red Hat JBoss Developer Studio JBoss Integration and Automation Back Red Hat JBoss Data Virtualization Red Hat JBoss Fuse Red Hat JBoss A-MQ Red Hat JBoss BPM Suite Red Hat JBoss BRMS Mobile Back Red Hat Mobile Application Platform Services Back Consulting Technical Account Management Training & Certifications Red Hat Enterprise Linux Developer Program Support Get Support Production Support Development Support Product Life Cycle & Update Policies Knowledge Search Documentation Knowledgebase Videos Discussions Ecosystem Browse Certified Solutions Overview Partner Resources Tools Back Red Hat Insights Learn More Red Hat Access Labs Explore Labs Configuration Deployment Troubleshooting Security Additional Tools Red Hat Access plug-ins Red Hat Satellite Certificate Tool Security Back Product Security Center Security Updates Security Advisories Red Hat CVE Database Security Labs Resources Overview Security Blog Security Measurement Severity Ratings Backporting Policies Product Signing (GPG) Keys Community Back Discussions Red Hat Enterprise Linux Red Hat Virtualization Red Hat Satellite Customer Portal Private Groups All Discussions Start a Discussion Blogs Customer Portal Red Hat Product Security Red Hat Access Labs Red Hat Insights All Blogs Events Customer Events Red Hat Summit Stories Red Hat Subscription Benefits You Asked. We Acted. Open Source Communities Subscriptions Downloads Support Cases Account Back Log In Register Red Hat Account Number: Account Details Newsletter and Contact Preferences User Management Account Maintenance My Profile Notifications Help Log Out Language Back English español Deutsch italiano 한국어 français 日本語 português 中文 (中国) русский Customer Portal Search Products & Services Back View All Products Infrastructure and Management Back Red Hat Enterprise Linux Red Hat Virtuali
[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: https://access.redhat.com/solutions/56028 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 Unanswered Threads Find All http://www.unix.com/linux/11233-red-hat-rpm-problem.html Thanked Posts Go to Page... unix and linux 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: 3 Thanks: 0 Thanked 0 Times in 0 Posts Red error cannot 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 a RPM which looks for /usr etc. I get an error: [root@localhost root]# error cannot create 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 Profile Visit OllieTech's homepage! Find all posts by OllieTech #3 09-12-2003 jasonr Registered User Join Date: Aug 2003 Last Activity: 27 October 20