How do I know which packets are installed? Remove a packet?

If none of the more specific forums is the right place to ask

How do I know which packets are installed? Remove a packet?

Postby BugFactory » 2005-09-28 11:25

Hello. I have installed Debian. I tried to install MySQL 4.1.14 and it seems there is a conflict with an existing version.

How do I know which packets are installed?

If I find an exstig version, how do I remove it?
BugFactory
 
Posts: 13
Joined: 2005-09-22 17:04

Re: How do I know which packets are installed? Remove a pack

Postby dawgie » 2005-09-28 11:58

BugFactory wrote:Hello. I have installed Debian. I tried to install MySQL 4.1.14 and it seems there is a conflict with an existing version.

How do I know which packets are installed?


You can run synaptic and click on "search" and search for mysql.
From the shell, you can list installed packages:
$ dpkg -l| grep 'sql'

If I find an exstig version, how do I remove it?


The version in Debian stable is 4.1.11. Unless you have a good reason, you should use the Debian stable version and manage the installation and removal of the Debian packages with apt, aptitude, or synaptic.
User avatar
dawgie
 
Posts: 431
Joined: 2004-06-16 21:30
Location: New Hampshire USA

Postby Guest » 2005-09-29 07:08

Thanks.
Guest
 

Postby muskrat » 2005-12-31 17:56

I know this post is old, but my question relates to this one. I did it once some time back but I can't remember how I did it.

I would like to list all the installed packages and redirect the out put to a file, so that I can print it out and then work from that sheet removing any unwanted packages.

Ok, Update on this one. I found my answer so I'll post it here for others, just in case someone wants to do this also.

Code: Select all
dpkg -l > packages-installed.txt


This will give you a detailed listing of all the packages present on your system, the frist
colum is the status it has two digits, which can indecate wether it's installed uninstalled and several ether states of the package.

I like to print this out and refer to it from time to time, of course I have to print out a new one from time to time.

Anyway, I guess I answered my own question.

Thanks a lany way!
Last edited by muskrat on 2005-12-31 19:09, edited 1 time in total.
Steve - Muskrat
Registered Linux user #305785.
Registered desktop PC #261727 Sidux
Registered laptop PC #310468 Debian Lenny
User avatar
muskrat
 
Posts: 278
Joined: 2005-02-13 01:07
Location: Gulf-Coast TX-MX

Postby Harold » 2005-12-31 18:08

dpkg -l > filename.txt
Harold
 
Posts: 1501
Joined: 2005-01-07 00:15

Postby muskrat » 2005-12-31 19:13

Thanks Harold, I guess I was in the process of editing my post when you posted this. But thanks anyway.
Steve - Muskrat
Registered Linux user #305785.
Registered desktop PC #261727 Sidux
Registered laptop PC #310468 Debian Lenny
User avatar
muskrat
 
Posts: 278
Joined: 2005-02-13 01:07
Location: Gulf-Coast TX-MX


Return to General Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable