![](https://seccdn.libravatar.org/avatar/bc4b5d18adf833c71c79b036ab084c82.jpg?s=120&d=mm&r=g)
On Fri, 17 Sep 2004 21:12:23 +0200, Richard Bos
Op vrijdag 17 september 2004 20:07, schreef yongtao yang:
# which a2ps # a2ps -bash: a2ps: command not found # rpm -Uvh /var/cache/apt/archives/a2ps_4.13-1050_i586.rpm a2ps ########################################### # rpm -qa | grep a2ps
So it seems "rpm" does not work at all. I am really worried about that. However I don't have a clue what had gone wrong. Can somebody give me some instructions.
Some ideas, try: rpm -qa | less ls -l /bin/rpm ls -l /var/lib/rpm/Packages ls -l /var/lib/rpm rpm -V rpm
Any suspected output?
Hello Richard: Thanks for your mail. I made the following checks: # rpm -qa | less ...(pretty long, 792 lines in total) # ls -l /bin/rpm -rwxr-xr-x 1 root root 1151948 2004-01-20 19:18 /bin/rpm # ls -l /var/lib/rpm/Packages ls: /var/lib/rpm/Packages: No such file or directory # ls -l /var/lib/rpm total 79160 drwxr-xr-x 2 root root 4096 2004-01-20 19:18 . drwxr-xr-x 30 root root 4096 2004-09-17 19:26 .. -rw-r--r-- 1 root root 16384 2004-09-17 20:56 conflictsindex.rpm -rw-r--r-- 1 root root 12058624 2004-09-17 20:56 fileindex.rpm -rw-r--r-- 1 root root 24576 2004-09-17 20:56 groupindex.rpm -rw-r--r-- 1 root root 49152 2004-09-17 20:56 nameindex.rpm -rw-r--r-- 1 root root 48741000 2004-09-17 20:17 packages.rpm -rw-r--r-- 1 root root 327680 2004-09-17 20:56 providesindex.rpm -rw-r--r-- 1 root root 21454848 2004-09-17 20:56 requiredby.rpm -rw-r--r-- 1 root root 16384 2004-09-17 20:56 triggerindex.rpm # rpm -V rpm No output. So the file /var/lib/rpm/Packages is missing, anyway to fix it. Another problem with the recent upgrade, I saw several lines in /var/log/message complaining "mtrr ... overlap existing ...", and after that gdm can not start, complaining "gdm[1711]: Display :0 is busy. There is another X server running already" Any ideas about that? Thanks in advance! -- Yongtao Yang email: yongtao.yang@gmail.com