View Single Post
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#13
Originally Posted by wakkamis View Post
I tried the "dpkg -r package.deb" to remove an app I installed this way and got the message "dpkg: you must specify packages by their own names, not quoting the names of the files they come in."

So how can I find the name of a specific package to remove it?
package.deb is the name of the file containing the package.
The file name is often in the form "wireless-tools_29~pre21-2.osso1_armel.deb", just to take an example. In this case you can often guess the application/package name by using the part up to, but not including, the first underscore. So the name is probably 'wireless-tools'.

To be really sure you simply list the packages installed, and filter by name: dpkg --list | grep wireless

which would presumably print something like
i i wireless-tools 29~pre21-2 and a description

So, you would use 'dpkg -r wireless-tools' then.

(NB: Usually the package files have a slightly less convoluted name and a slightly less complicated version identification, but that was just the first .deb file I happened to look at. From the time of the N800.)
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 

The Following User Says Thank You to TA-t3 For This Useful Post: