summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README28
1 files changed, 27 insertions, 1 deletions
diff --git a/README b/README
index 1821111b..94463355 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-$Id: README,v 1.20 2003/08/18 09:38:20 ianmacd Exp $
+$Id: README,v 1.21 2003/09/13 17:04:14 ianmacd Exp $
INSTALLATION
@@ -235,6 +235,32 @@ A. This is actually a 'feature' of bash. bash recognises a colon as
Unfortunately, there's no way to turn this off. The only thing you
can do is escape the colons with a backslash.
+Q. Where did urpmi completion go?
+
+A. Guillaume Rousse <rousse@ccr.jussieu.fr> now maintains it separately as
+ part of the urpmi RPM package.
+
+Q. Why is rpm completion so slow with -q?
+
+A. Probably because the database is being queried every time and this uses a
+ lot of memory.
+
+ You can make this faster by pregenerating the list of installed packages on
+ the system. Make sure you have a readable file called /var/log/rpmpkgs.
+ It's generated by /etc/cron.daily/rpm on modern Red Hat and Mandrake
+ Linux systems.
+
+ If you don't have such a cron job, make one:
+
+ #!/bin/sh
+
+ rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}.rpm\n' 2>&1 \
+ | sort > /var/log/rpmpkgs
+
+ rpm completion will use this flat text file instead of the RPM database,
+ unless it detects that the database has changed since the file was created,
+ in which case it will still use the database to ensure accuracy.
+
Q. This code is rubbish/not bad/pretty good/the best thing since
sliced bread. How can I show my appreciation?