[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: failed to open //var/lib/rpm/packages.rpm



> On Tue, Sep 12, 2000 at 08:27:00PM +0200, Pascal J. Bourguignon wrote:
> > 
> > Hello!
> > 
> > I have this problem:
> > 
> >     [pascal@hermes pascal]$ su
> >     Password: 
> >     [root@hermes pascal]# rpm -q -a
> >     failed to open //var/lib/rpm/packages.rpm
> [...]
> > 
> > What would you do in my case ?
> > 
>
> su -
>
> Mate

Or maybe use this:
---
[root@tcs1 bin]# type sub
sub is a function
sub () 
{ 
    umask 022;
    su root -c $HOME/.-bash -p;
    umask 002
}
---

Derald
dmetz@remotesensing.org





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []