Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
BugFactory
Posts: 13
Joined: 2005-09-22 17:04

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

#1 Post by BugFactory »

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?

User avatar
dawgie
Posts: 430
Joined: 2004-06-16 21:30
Location: New Hampshire USA

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

#2 Post by dawgie »

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.

Guest

#3 Post by Guest »

Thanks.

User avatar
muskrat
Posts: 274
Joined: 2005-02-13 01:07
Location: Gulf-Coast TX-MX
Contact:

#4 Post by muskrat »

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

Harold
Posts: 1482
Joined: 2005-01-07 00:15
Been thanked: 3 times

#5 Post by Harold »

dpkg -l > filename.txt

User avatar
muskrat
Posts: 274
Joined: 2005-02-13 01:07
Location: Gulf-Coast TX-MX
Contact:

#6 Post by muskrat »

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

Post Reply