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

Re: Creating Rpm database



Debian doesn't use RPM for it's package management, so the database will
never have anything in it unless you populate it manually.

On 05/04/05 10:42:20AM +0200, Padiyath Sreekumaran wrote:
> 
>    Hello,
>    Iam having the following problem:
>    #rpm -qa gave the following output
> 
> error: cannot open Packages index using db3 - No such file or directory (2)
> 
>    Then I did the following:
> 
>    #mkdir /var/lib/rpm
>    #rpm --initdb
>    # ls -la /var/lib/rpm
> total 24
> drwxr-xr-x    2 root     root         4096 May  4 08:58 .
> drwxr-xr-x   25 root     root         4096 May  4 08:57 ..
> -rw-r--r--    1 root     root        24576 May  4 08:57 Packages
> 
> 
>    When I execute "rpm -qa" I get no output.Iam missing a lot of information
> in rpm directory.
>    How can I recreate it? I donot know how I lost the whole directory and
> the contents?
>    Iam missing rpmpkgs file also.
> 
>    Thanks in advance,
>      Kumar 
> 
> ------------------------------------------------------------------
> Padiyath Sreekumar       |   Tel: +41.56.310.3643
> Paul Scherrer Institut   |   email: kumar.padiyath@psi.ch
> AIT                      |   Office: WHGA/U132 
> WHGA/U132                |   Fax: +41.56.310.3649
> CH-5232 Villigen PSI     | 
> Switzerland              |
> -----------------------------------------------------------------
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-alpha-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 



Reply to: