LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 03-09-2004, 11:38 AM   #1
race
Member
 
Registered: Nov 2003
Distribution: debian
Posts: 66

Rep: Reputation: 15
installed packages


ive been trying to install ftp packages for the last couple of days or so and i think i missed unistalling one. i came to this assumption when i finished unistalling wu-ftpd and it said "one more remaining ftp left" or something like that.

is there a way to get a list of all the packages installed by apt-get?

btw im using debian woody.

thanks,
race
 
Old 03-09-2004, 03:15 PM   #2
augamecock
Member
 
Registered: Feb 2002
Location: Atlanta, GA
Distribution: Debian
Posts: 78

Rep: Reputation: 15
Code:
dpkg -l
will list the packages you have installed. I'd use grep to narrow it down to what you're looking for.

side note: You could also use aptitude and search for packages if you know the name or part of the name. use the "/" key to search, when you find it use "-" to uninstall.
 
Old 03-09-2004, 05:33 PM   #3
race
Member
 
Registered: Nov 2003
Distribution: debian
Posts: 66

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by augamecock
Code:
dpkg -l
will list the packages you have installed. I'd use grep to narrow it down to what you're looking for.

side note: You could also use aptitude and search for packages if you know the name or part of the name. use the "/" key to search, when you find it use "-" to uninstall.
how do you use grep to narrow it all down??

thanks race
 
Old 03-09-2004, 05:50 PM   #4
augamecock
Member
 
Registered: Feb 2002
Location: Atlanta, GA
Distribution: Debian
Posts: 78

Rep: Reputation: 15
Code:
dpkg -l | grep <string>
say i was searching for packages with "apache" in the title.. I'd do
Code:
dpkg -l | grep apache
What you're searching for has to be in the title of the package this way
 
Old 03-09-2004, 09:28 PM   #5
race
Member
 
Registered: Nov 2003
Distribution: debian
Posts: 66

Original Poster
Rep: Reputation: 15
thats pretty nifty .. take a look at this though

me@MyAgony:~$ dpkg -l grep ftpd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii grep 2.4.2-3 GNU grep, egrep and fgrep.
rc ftpd 0.17-13 FTP server
me@MyAgony:~$

i chose the string ftpd because i noticed that ever ftp dameon has the string ftpd in it

so one would think after looking at that that ftpd would be installed
but take a look at this:




MyAgony:/home/me# apt-get remove ftpd
Reading Package Lists... Done
Building Dependency Tree... Done
Package ftpd is not installed, so not removed
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
MyAgony:/home/me#



im a confused newbie can you make some sense out of that??
 
Old 03-09-2004, 09:40 PM   #6
race
Member
 
Registered: Nov 2003
Distribution: debian
Posts: 66

Original Poster
Rep: Reputation: 15
even better take a look at this

MyAgony:/home/me# dpkg -l | grep ftpd
rc ftpd 0.17-13 FTP server
rc proftpd 1.2.4+1.2.5rc1 Versatile, virtual-hosting FTP daemon
rc proftpd-common 1.2.4+1.2.5rc1 Versatile, virtual-hosting FTP daemon
rc pyftpd 0.8.1 ftp daemon with advanced features
rc vsftpd 1.0.0-2 The Very Secure FTP Daemon
rc wu-ftpd 2.6.2-3woody2 powerful and widely used FTP server
MyAgony:/home/me# apt-get remove proftpd
Reading Package Lists... Done
Building Dependency Tree... Done
Package proftpd is not installed, so not removed
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
MyAgony:/home/me#


i get similar output for all the ones that were listed
 
Old 03-10-2004, 08:33 AM   #7
augamecock
Member
 
Registered: Feb 2002
Location: Atlanta, GA
Distribution: Debian
Posts: 78

Rep: Reputation: 15
Quote:
rc ftpd 0.17-13 FTP server
rc proftpd 1.2.4+1.2.5rc1 Versatile, virtual-hosting FTP daemon
rc proftpd-common 1.2.4+1.2.5rc1 Versatile, virtual-hosting FTP daemon
rc pyftpd 0.8.1 ftp daemon with advanced features
rc vsftpd 1.0.0-2 The Very Secure FTP Daemon
rc wu-ftpd 2.6.2-3woody2 powerful and widely used FTP server
I'm not at my debian machine right now but the "rc" in front means that those packages are not installed or half installed or something like that. When you removed them did you apt-get remove or apt-get purge? You might try apt-get purge to get all the files from those packages gone
 
Old 03-10-2004, 10:27 AM   #8
race
Member
 
Registered: Nov 2003
Distribution: debian
Posts: 66

Original Poster
Rep: Reputation: 15
ok that works good.... the purge was in the dpkg command. I was having a problem with conflicting software b/c after i got rid of all them i installed wu-ftpd and everything worked fine.

like i stated above im new to the linux scene and im not 100% sure what a good ftp dameon would be. any suggestions????

thanks for the help,

race
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
installed packages abdul_ado Linux - Software 4 08-15-2005 12:46 PM
where is installed packages bruse Mandriva 4 04-05-2005 09:55 AM
How to tell what packages are installed? KMorley Linux - Newbie 2 02-23-2005 03:16 PM
RPM is saying installed packages aren't installed ticky87 Linux - Newbie 4 07-26-2004 02:17 AM
where are packages installed? InTheWired Linux - General 10 04-08-2004 05:46 AM


All times are GMT -5. The time now is 04:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration