Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
`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.
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!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.