LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-01-2004, 05:28 AM   #1
sagar
LQ Newbie
 
Registered: Sep 2004
Location: Nagpur
Posts: 12

Rep: Reputation: 0
Error while installing .rpm file


i have downloaded this .rpm files from net

squid-2.5.STABLE5-4.fc2.src.rpm
system-config-samba-1.2.15-0.fc2.1.src.rpm

when i executing the following command,
# rpm -U squid-2.5.STABLE5-4.fc2.src.rpm

then its showing following error

error: cannot create %sourcedir /usr/src/redhat/SOURCES

What should i do to remove this error.
 
Old 10-01-2004, 05:39 AM   #2
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
are you doing this as root?

If so check to see that the directory /usr/src/redhat/SOURCES exists.

if it doesn't, a simple

mkdir /usr/src/redhat/SOURCES/ will work.

Then install the rpm with rpm -Uvh filename.rpm
 
Old 10-01-2004, 07:08 AM   #3
sagar
LQ Newbie
 
Registered: Sep 2004
Location: Nagpur
Posts: 12

Original Poster
Rep: Reputation: 0
i have created the \usr\src\redhat\SOURCES\ ,but still the same error occurs.

please give me the way out.
 
Old 10-01-2004, 07:46 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you don't want to use those packages (at least not in the way you are trying to use them) as they are source files, not prebuilt progams. find a copy without "src" in the name, probably "i386" or "i686" instead.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help installing RPM file!!! yzrider210 Linux - Newbie 22 11-02-2003 07:40 PM
trouble installing rpm file mpaiello Linux - Newbie 7 09-28-2003 04:17 PM
Problem when installing an rpm file TransAmJugo Linux - Newbie 4 08-01-2003 01:22 PM
Problem when installing an rpm file TransAmJugo Linux - General 1 08-01-2003 11:04 AM
RPM file is not installing Harish_f Linux - General 4 06-14-2002 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration