Re: RPM database stuck?

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

 



On Tue, 2002-10-29 at 01:21, Craig White wrote:
> On Mon, 2002-10-28 at 12:04, Warren Togami wrote:
> > On Mon, 2002-10-28 at 09:09, Tuan Hoang wrote:
> > > Hi,
> > > 
> > > It seems like my RPM database is either stuck or confused.  What were the 
> > > commands to delete & rebuild it?  Also does anyone know what's causing 
> > > this problem?
> > > 
> > > It seems to have happened when I rebuilt a SRPM and then tried to install 
> > > the resulting binary RPM.
> > > 
> > > Thanks,
> > > Tuan
> > 
> > rm -rf /var/lib/rpm/__*
> > rpm --rebuilddb
> > 
> > I think rebooting will do the first step, but not the second step.
> > 
> ----
> I think rebooting is a concept best left to windows & macintosh
> 
> rebooting is only necessary to change the kernel that you are using.
> 
> I don't recall anything that would leave me to believe that rebooting
> would do the equivalent of rm -fr /var/lib/rpm/__*  Rebooting might
> however kill any rpm or up2date processes that are 'hung' and that would
> be necessary for those who don't know how to find these processes and
> kill them.

[ryan@vanessa]:[/etc/rc.d]$ grep -R var/lib/rpm *
rc.sysinit:rm -f /var/lib/rpm/__db*

That will "do the equivalent of rm -fr /var/lib/rpm/__*"

Finding the hung processes and killing them does not solve this
problem.  Have you experienced this problem?  Ignorant comments were not
solicited.

-Ryan



> Craig
> 
> 
> 
> -- 
> Psyche-list mailing list
> Psyche-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/psyche-list
-- 
Powered by Red Hat Linux 8.0



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux