|
List Info
Thread: RE: rpm not responding
|
|
| RE: rpm not responding |

|
2007-04-07 06:05:06 |
I only rename the /var/lib/rpm to /var/lib/rpm.old, try the
initdb, it create the /var/lib/rpm folder again, and rpm -qa
still no result. Rename the /var/lib/rpm, run the rpm
command recreate the /var/lib/rpm directory with the same
content.
I have try copy back the old rpm directory, do a 'rm
/var/lib/rpm/__*', then rebuild the db, still no result.
The message you mention is lost of package, on my server, it
does not return any package.
Regards,
Li Hao
-----Original Message-----
From: nahant-list-bounces redhat.com
[mailto:nahant-list-bounces redhat.com] On Behalf Of
Jussi Silvennoinen
Sent: Saturday, April 07, 2007 6:44 PM
To: nahant-list redhat.com
Subject: Re: rpm not responding
> Please help me on this strange problem:
>
> One of my RHEL4 update 4 server has problem with rpm.
As root user, run
> the command rpm -qa return no result, it just return
immediately without
> error message or result. Command rpm do give the syntax
help. I have try
> to remove /var/lib/rpm, then rebuild the db using rpm
-rebuilddb, but
> rpm -qa still give me the same result.
You've killed the contents of RPM database by removing
/var/lib/rpm. No
amount of --rebuilddb is going to fix that.
https://www.redhat.com/archives/nahant-list/2
006-July/msg00016.html
You probably could have fixed the original problem by 'rm
/var/lib/rpm/__*'
--
Jussi
--
nahant-list mailing list
nahant-list redhat.com
h
ttps://www.redhat.com/mailman/listinfo/nahant-list
--
nahant-list mailing list
nahant-list redhat.com
h
ttps://www.redhat.com/mailman/listinfo/nahant-list
|
|
| Re: rpm not responding |

|
2007-04-07 08:59:59 |
On 07/04/07, Li Hao NCS wrote:
> I only rename the /var/lib/rpm to /var/lib/rpm.old, try
the initdb, it create the /var/lib/rpm folder again, and rpm
-qa still no result. Rename the /var/lib/rpm, run the rpm
command recreate the /var/lib/rpm directory with the same
content.
>
> I have try copy back the old rpm directory, do a 'rm
/var/lib/rpm/__*', then rebuild the db, still no result.
>
> The message you mention is lost of package, on my
server, it does not return any package.
>
One can only guess what is left in your /var/lib/rpm,
perhaps you've
killed your RPM database with earlier attempts. Add option
-vv and try
rpm -vv --rebuilddb to get some debug output of what the
command
does. You can add the option to other commands, too.
--
nahant-list mailing list
nahant-list redhat.com
h
ttps://www.redhat.com/mailman/listinfo/nahant-list
|
|
| Re: rpm not responding |

|
2007-04-09 12:48:01 |
There were a few messages I posted just last week that would
show how
you could have had this problem fixed.
Li Hao NCS wrote:
> I only rename the /var/lib/rpm to /var/lib/rpm.old, try
the initdb, it create the /var/lib/rpm folder again, and rpm
-qa still no result. Rename the /var/lib/rpm, run the rpm
command recreate the /var/lib/rpm directory with the same
content.
>
> I have try copy back the old rpm directory, do a 'rm
/var/lib/rpm/__*', then rebuild the db, still no result.
>
> The message you mention is lost of package, on my
server, it does not return any package.
>
> Regards,
> Li Hao
>
> -----Original Message-----
> From: nahant-list-bounces redhat.com
[mailto:nahant-list-bounces redhat.com] On Behalf Of
Jussi Silvennoinen
> Sent: Saturday, April 07, 2007 6:44 PM
> To: nahant-list redhat.com
> Subject: Re: rpm not responding
>
>> Please help me on this strange problem:
>>
>> One of my RHEL4 update 4 server has problem with
rpm. As root user, run
>> the command rpm -qa return no result, it just
return immediately without
>> error message or result. Command rpm do give the
syntax help. I have try
>> to remove /var/lib/rpm, then rebuild the db using
rpm -rebuilddb, but
>> rpm -qa still give me the same result.
>
> You've killed the contents of RPM database by removing
/var/lib/rpm. No
> amount of --rebuilddb is going to fix that.
>
> https://www.redhat.com/archives/nahant-list/2
006-July/msg00016.html
>
> You probably could have fixed the original problem by
'rm /var/lib/rpm/__*'
>
--
nahant-list mailing list
nahant-list redhat.com
h
ttps://www.redhat.com/mailman/listinfo/nahant-list
|
|
[1-3]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|