Make sure /usr/src/redhat directory exists.  Create it if it does not
exist (mkdir -p /usr/src/redhat).

Huy
--
Huy Le
Spring Partners, Inc.
http://www.springpartners.com | http://www.TheSimpleMe.com


On Aug 29, 10:21 pm, Iron_Man <[EMAIL PROTECTED]> wrote:
> Try using the command:
>   rpm -ivh ./gnorpm.96-12.7x.src.rpm
>
> This may get rid of the error message regarding 'No such file or
> directory'
>
> On Aug 29, 1:17 pm, "Federico Carrillo" <[EMAIL PROTECTED]>
> wrote:
>
> > Hi, I did the following:
>
> > > [EMAIL PROTECTED] Desktop]# ls -al
> > >  total 692
> > >  drwxr-xr-x  2 root root   4096 2008-08-22 22:34 .
> > >  drwxr-x--- 31 root root   4096 2008-08-29 09:35 ..
> > >  -rwxrwxrwx  1 root root   1238 2008-06-30 20:57 AdobeReader.desktop
> > >  -rw-r--r--  1 root root 673844 2008-08-22 22:33 gnorpm-0.96-12.7x.src.rpm
> > > [EMAIL PROTECTED] Desktop]# rpm -ivh gnorpm.96-12.7x.src.rpm
> > >  error: open of gnorpm.96-12.7x.src.rpm failed: No such file or directory
> > > [EMAIL PROTECTED] Desktop]#
> > > [EMAIL PROTECTED] Desktop]# rpm -Uvh gnorpm-0.96-12.7x.src.rpm
> > >  error: cannot create %sourcedir /usr/src/redhat/SOURCES
> > > [EMAIL PROTECTED] Desktop]# rpm -i gnorpm-0,96-12.7x.src.rpm
> > >  error: open of gnorpm-0,96-12.7x.src.rpm failed: No such file or
>
> > directory
>
> > Thank
>
> > Elias
>
> > On Tue, Aug 26, 2008 at 4:50 PM, Umarzuki Mochlis <[EMAIL PROTECTED]>wrote:
>
> > > how did you do it?
> > > # rpm -i package.rpm ?
>
> > > 2008/8/27 Elias <[EMAIL PROTECTED]>
>
> > >> Hi
>
> > >> I am trying to install a packages with RPM, and on the screen appear
> > >> an error mesage
>
> > >> error: can not create %sourcedir /usr/scr/redhat/sources
>
> > >> I hope someone can help me
>
> > >> Thank you
>
> > > --
> > > Regards,
>
> > > Umarzuki Mochlis
> > >http://umarzuki.com
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [EMAIL PROTECTED]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to