[luau] locate apt and synaptic after rpm -i?
tom_gordon at notes.k12.hi.us
tom_gordon at notes.k12.hi.us
Fri Sep 26 14:05:00 PDT 2003
Or even simpler:
rpmquery synaptic
If your not sure what it's called exactly use grep on the whole list:
rpmquery -a|grep -i syn
This will take a few seconds depending on speed. (-i means
case-insensative)
Not only is locate updated once per day (4 AM by default) but also
/var/log/rpmpkgs. This log is like an rpmquery -a except it's sorted,
has the .rpm extension and the archatecture (ie: i386, athlon):
grep -i syn /var/log/rpmpkgs
Aloha,
Tom
Please respond to luau at videl.ics.hawaii.edu
Sent by: luau-admin at videl.ics.hawaii.edu
To: luau at videl.ics.hawaii.edu
cc:
Subject: Re: [luau] locate apt and synaptic after rpm -i?
TB wrote:
> I'm trying to get fedora going, so I downloaded the
> rpm for apt and synaptic and installed them. I think.
> I ran rpm -i filename.
>
> Then I tried "locate apt-get" and got nothing. And
> "locate synaptic", also nothing. then I tried just
> running apt-get, it worked.
>
> Why is the locate command letting me down? How do I
> find out where rpm installed synaptic?
locate uses a database that is rebuilt automatically once per day from
cron. It wont immediately know about changes to your filesystem. You
can force a rebuild of that database with "updatedb".
After a RPM package is installed, use the following command to list all
files within that package.
rpm -ql synaptic
Warren
_______________________________________________
LUAU mailing list
LUAU at videl.ics.hawaii.edu
http://videl.ics.hawaii.edu/mailman/listinfo/luau
More information about the LUAU
mailing list