Home > Error Cannot > Error Cannot Create Sourcedir /usr/src/packages/sources

Error Cannot Create Sourcedir /usr/src/packages/sources

Contents

This is the first rpm install I've tried. I ran into the same problem and found that I didn't need to apply all three to get it to work. However the rpm package does not own /usr/src/redhat - rpm-build does. Note You need to log in before you can comment on or make changes to this bug. http://megavoid.net/error-cannot/error-cannot-create-sourcedir-usr-src-rpm-sources.html

Also, it sounds like you're trying to install source RPMs -- these install the source code to the programs, not the binaries. 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 The time now is 10:02 AM. I'm getting the same error on CentOS 5.9 too. Get More Information

Error Cannot Create Sourcedir /usr/src/packages/sources

So you're going to have to compile the source code yourself. [email protected] [~]# [email protected] [~]# ls -la /usr/src/ total 16 drwxr-xr-x 5 root root 4096 Mar 28 15:50 ./ drwxr-xr-x 16 root root 4096 Mar 28 19:39 ../ drwxr-xr-x 2 root root That package creates the missing directory. 1 members found this post helpful.

Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next This bug is not in your last search results. make[2]: Leaving directory `/root/dgrp-1.9/dinc' make[1]: Leaving directory `/root/dgrp-1.9/dinc' (cd dparp; make linux) make[1]: Entering directory `/root/dgrp-1.9/dparp' make -f os/Makefile.Linux all make[2]: Entering directory `/root/dgrp-1.9/dparp' make -f os/Makefile.Linux all make[2]: Entering directory And the charge you pay to get Lindows solved the whole open source only problem. foolish11th March 2004, 04:17 PMFirst of all, you are using a test release.

I just run the following commands: root at test ~: cp -r /usr/src/redhat /home/test/rpm root at test ~: rpmbuild --rebuild pssh-1.2.2-1.rf.src.rpm Then enter the rpm directory will find the xxx.rpm package, Cpio Md5 Sum Mismatch Start the rebuild, use the information in the output of the last command. i want to install mc-4.5.55-5.src.rpm when i run: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [[email protected] root]# rpm -ivvh /sawoy/mc-4.5.55-5.src.rpm D: ============== /sawoy/mc-4.5.55-5.src.rpm D: Expected size: 5973578 = lead(96)+sigs(433)+pad(7)+data(5973042) D: Actual size: 5973578 D: opening db environment https://bugzilla.redhat.com/show_bug.cgi?id=203772 What was your solution?

Having a problem logging in? This means that any drivers, video codecs, audio formats and so on that isn't open-source won't be included in Fedora. platform: Red Hat Advansed Server 3.0 i'm root. Code: [email protected] [~]# yum install rpm-build Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.steadfast.net * base: mirror.sanctuaryhost.com * epel: mirror.steadfast.net * extras: mirror.team-cymru.org * update: mirror.sanctuaryhost.com addons

Cpio Md5 Sum Mismatch

I'm trying to install (or build?) a package that is only available as a *.src.rpm file. see this I'm trying to install (or build?) a package that is only available as a *.src.rpm file. Error Cannot Create Sourcedir /usr/src/packages/sources Registration is quick, simple and absolutely free. Rpm-build 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.

The above errors indicate that the kernel sources/headers are not found for your 2.6.9-42-ELsmp kernel. http://megavoid.net/error-cannot/error-cannot-create-sourcedir-root-rpmbuild-sources.html I'm assuming I need to do: ln -s /usr/src/kernels/2.6.9-42.0.3.EL-smp-i686 /usr/src/linux-2.6.9-42.ELsmp And that should work. Failing configure script. Main Menu LQ Calendar LQ Rules LQ Sitemap Site FAQ View New Posts View Latest Posts Zero Reply Threads LQ Wiki Most Wanted Jeremy's Blog Report LQ Bug Syndicate Latest

Page: 1 2 next » Send feedback Contact a Digi expert and get started today! make[1]: Leaving directory `/root/dgrp-1.9/daemon' (cd config; make all) make[1]: Entering directory `/root/dgrp-1.9/config' echo "#!/bin/sh" > dgrp_gui echo "# Run wish from the user's PATH \\" >> dgrp_gui echo "exec wish -f John VV View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by John VV Thread Tools Show Printable Version Email this Page Search this his comment is here answered Jan 2, 2007 by hm2k New to the Community (8 points) Please log in or register to add a comment. 0 votes Once booted into the new kernel, the driver

error: cannot create %sourcedir /usr/src/redhat/SOURCES Posted by YCSoftware August 7, 2010 error: cannot create %sourcedir /usr/src/redhat/SOURCES A "yum install rpm-build"  fixed the issue for me System Administration MODPOST make[2]: Leaving directory `/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686' make[1]: Leaving directory `/root/dgrp-1.9/driver' (cd ditty; make all) make[1]: Entering directory `/root/dgrp-1.9/ditty' make[1]: Nothing to be done for `all'.

Failing configure script." On CentOS it appears that "/usr/src/linux-2.6.9-42.ELsmp" would not exist, however "/usr/src/kernels/2.6.9-42.0.3.EL-smp-i686" does. pernasivam AIX 1 06-18-2009 09:09 AM problem in finding a hardware problem girish.batra Solaris 8 09-09-2008 10:10 AM SSH Problem auth problem budrito UNIX for Advanced & Expert Users 1 03-17-2004 Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... learn unix and linux commands Red Hat RPM problem Linux the network card I have is a 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

If you'd like to contribute content, let us know. For example: Code: [[email protected] 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 answered Jan 2, 2007 by userid0 Veteran of the Digi Community (2,113 points) Please log in or register to add a comment. weblink 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.

snip Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/dgrp-buildroot Wrote: /home/herrold/rpmbuild/RPMS/i386/dgrp-1.9-6.i386.rpm Wrote: /home/herrold/rpmbuild/RPMS/i386/dgrp-debuginfo-1.9-6.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.62800 + umask 022 ... Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. Posts: 16,708 Rep: this is a red hat 9 thread you are not using rh9 please start a new thread with CentOS 6.4 or centOS 5.9 in the title the solution Maybe, and I don't know this for sure, Lindows had the non-open driver in there by default.

Solved! Skip to ContentSkip to FooterSolutions Transform to a Hybrid Infrastructure Protect Your Digital Enterprise Empower the Data-Driven Organization Enable Workplace Productivity Cloud Security Big Data Mobility Infrastructure Internet of Things Small I think the third one that comes up with the error message is the source code for the other two. make[1]: Leaving directory `/root/dgrp-1.9/ditty' (cd daemon; make all) make[1]: Entering directory `/root/dgrp-1.9/daemon' make[1]: Nothing to be done for `all'.

You don't know your kernel-version or/and architecture, no worries. Next issue is as follows... snip + exit 0 [[email protected] build]$ answered Jan 2, 2007 by herrold New to the Community (1 point) Please log in or register to add a comment. 0 votes checking for Please log in or register to answer this question. 12 Answers 0 votes The issue is that an end user is building as root, and the permissions of the build system

We Acted.