Re: rpm / apt question
Richard Ford <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.beijing |
|---|---|
| Organization | BLUG |
| Message-ID | <[email protected]> |
G'Day Charles, Sorry for the late reply. I am in Suzhou for work and been quite busy. I will answer inline: > rpm -i /tmp/apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm > > There was an error as I cannot find an executible file anywhere. However, I do > see /etc/apt and /usr/lib/apt. > > I then tried to reinstall using rpm -Uhv and I get the message > > package apt-0.5.15cnc6-1.1.fc2.fr is already installed > > I thought I'd try to uninstall by typing > > rpm -e apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm When you uninstall you need not use the full name: try this: rpm -qa |grep -i apt That command will display all entries (query) in the RPM database (rpm -qa) and filter out any response that contains the string 'apt' (grep -i apt). The -i means case insensitive. Point is to uninstall you need to do this: rpm -e apt-0.5.15cnc Cheers, Richard. > and I get the message > > error: package apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm is not installed > > Any ideas? > > --Charles > > _______________________________________________ > blug-general list > [email protected] > http://list.beijinglug.org/cgi-bin/mailman/listinfo/blug-general _______________________________________________ blug-general list [email protected] http://list.beijinglug.org/cgi-bin/mailman/listinfo/blug-general