[NTLUG:Discuss] New to the list and to Linux
Steve Baker
sjbaker1 at airmail.net
Thu May 23 21:48:22 CDT 2002
Wayne Dahl wrote:
> Here's the thing. I'm trying to run Glint and when I attempt to install a
> package, I get an error that says "failed to open
> //var/lib/rpm/packages.rpm". If I attempt to install a package using rpm
> -ivh filename, I get the same error message. What am I doing wrong? I
> know the file package.rpm is there.
Well, there are other reasons why it may not be able to open the file - even
though it exists.
One obvious possibility is that you don't have permission to open it.
When I do this:
ls -l /var/lib/rpm/packages.rpm
...to get a long listing - I see:
-rw-r--r-- 1 root root 44677960 Mar 3 04:28 /var/lib/rpm/packages.rpm
The '-rw-r--r--' bit means that only the owner of the file is allowed to write
to it - and you can see that it's owned by 'root'.
Are you logged in as 'root' ? You'll probably need to be in order to
install stuff.
----------------------------- Steve Baker -------------------------------
Mail : <sjbaker1 at airmail.net> WorkMail: <sjbaker at link.com>
URLs : http://www.sjbaker.org
http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net
http://prettypoly.sf.net http://freeglut.sf.net
http://toobular.sf.net http://lodestone.sf.net
More information about the Discuss
mailing list