LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2003, 12:07 AM   #1
Godsguitarist
LQ Newbie
 
Registered: Sep 2003
Location: East TN
Distribution: Mandrake 9.1 Currently...
Posts: 8

Rep: Reputation: 0
Can someone help me with shorewall... STILL!


`Hello again! I am trying my best to get this to work, and it hates me. I first tried installing shorewall, and it wouldn't let me because it couldn't find iproute. I tried to do it without dependencies, and it wouldn't let me change it because it said it couldn't find it. Then, I thought I would try IPROUTE... maybe it's not installed... turns out it was installed with my distro. So then I try upgrading the rpm, and this is what I put in and got...

[brandon@localhost brandon]$ su root
Password:
[root@localhost brandon]# rpm -Uvh shorewall-1.4.7-1.noarch.rpm
error: open of shorewall-1.4.7-1.noarch.rpm failed: No such file or directory
[root@localhost brandon]#

????
I get this anytime I try to do something. Can anyone see what I'm doing wrong? Thanks.

Brandon <><
 
Old 10-23-2003, 06:32 AM   #2
stv_t
Member
 
Registered: Oct 2003
Location: Gatwick, UK
Distribution: Mandrake 9.1, Mandrake 9.2, Redhat 9.0
Posts: 47

Rep: Reputation: 15
Hi,
Silly question - but are you in the correct directory that contains the package you are trying to install after doing the 'su'.

stv T
 
Old 10-23-2003, 10:36 AM   #3
Godsguitarist
LQ Newbie
 
Registered: Sep 2003
Location: East TN
Distribution: Mandrake 9.1 Currently...
Posts: 8

Original Poster
Rep: Reputation: 0
I don't think I am... but every time I've tried, my attempts have been futile... lol. If it's in a sub directory under my "Home", what do I need to type in to show it that? Thanks!

Brandon <><
 
Old 10-23-2003, 11:22 AM   #4
stv_t
Member
 
Registered: Oct 2003
Location: Gatwick, UK
Distribution: Mandrake 9.1, Mandrake 9.2, Redhat 9.0
Posts: 47

Rep: Reputation: 15
Hi,

The best way to find out where the package is located is to use the locate command:

prompt> locate shorewall-1.4.7-1.noarch.rpm

if this fails with an error you may need to build the locate database:

prompt> su
root> updatedb

then try the command again. This should then tell you where the package is located. You can then run your rpm command. If you installed from CD/DVD then the package file will probably not be on the system.

So ...
probably a better way to do it is with the package installation manager from the Mandrake Control Centre, the install package option from the menu bar or use urpmi from the command line. These will both tell you of any dependancies and install those packages also.

Stv T
 
  


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
shorewall config question with /etc/shorewall/rules peter72 Linux - Networking 3 01-01-2007 10:33 PM
shorewall apoc63 Linux - Networking 1 01-23-2005 06:26 PM
Shorewall Soppa Mandriva 0 03-12-2004 05:34 AM
I Need Help With Shorewall zebra90210 Linux - Security 1 10-23-2003 02:57 PM
shorewall? sk8guitar Linux - Security 1 08-19-2003 11:04 PM


All times are GMT -5. The time now is 06:33 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration