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

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



On Wed, Sep 13, 2000 at 02:43:07AM +0200, Pascal J. Bourguignon wrote:
> 
> 
> > > 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 -
> > 
> > df
> > 
> > Perhaps /var is not mounted?
> 
> 
> Well, thank you for stating  the obvious (sometimes it's usefull), but
> this  will  not  work  this  time  : I  really  have  a  problem  with
> packages.rpm.

Perhaps a --rebuilddb could help.  Previously, you tried to run the
command as a nonprivileged user.

One more obvious check:  what are the permissions on /var and /var/lib
?

Mate





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