LinuxQuestions.org
Review your favorite Linux distribution.
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-26-2004, 02:29 AM   #1
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 31
Can APT show me list of files for not-installed pkgs?


Can APT show me a listing of files contained in a not-yet-installed package, in the same way that

Code:
dpkg -L package_name
can do for packages already installed?
 
Old 03-26-2004, 02:45 AM   #2
cdgeorge
LQ Newbie
 
Registered: Mar 2004
Distribution: woody
Posts: 7

Rep: Reputation: 0
Try the aptitude program. Maybe it will help.


Regards,
George
 
Old 03-26-2004, 02:54 AM   #3
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Original Poster
Rep: Reputation: 31
Hmm... I believe aptitude is just a front-end to the standard apt-* tools. So, if aptitude can do it, there should be a way to do it yourself by-hand...
 
Old 03-30-2004, 02:30 PM   #4
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Original Poster
Rep: Reputation: 31
{bump}
 
Old 03-30-2004, 03:32 PM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 63
Re: Can APT show me list of files for not-installed pkgs?

Quote:
Originally posted by johnMG
Can APT show me a listing of files contained in a not-yet-installed package, in the same way that

Code:
dpkg -L package_name
can do for packages already installed?
Don't know of way to do it from apt but you can get the information at Debian Packages by the display the files in an individual package off the "Search the contents of packages" link.
 
Old 03-30-2004, 04:08 PM   #6
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Original Poster
Rep: Reputation: 31
A ha! Sweet.

I scrolled down to the bottom of the page,
http://www.debian.org/distrib/packages
put the package name in the field, selected all files in this package, and out comes the list!

Note: the list may take up multiple pages -- you don't always get them all listed on the first page. :)

Thanks!
 
Old 03-30-2004, 05:50 PM   #7
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
aptitude is the way
 
Old 03-30-2004, 06:08 PM   #8
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Original Poster
Rep: Reputation: 31
> aptitude is the way

I'll have to give aptitude a try. If it can indeed to that trick, and anyone figures out how one could do the same thing with just using the apt-* tools, please post.

Thanks.
 
Old 03-30-2004, 06:29 PM   #9
tr4nsfix
Member
 
Registered: Mar 2004
Location: Toronto, Ontario
Distribution: Debian
Posts: 36

Rep: Reputation: 15
dpkg -l <package_name> does show uninstalled packages...
(thats lower case L)

so if I do:

dpkg -l *get*

I'll get entries such as this indicating installed packages:
ii wget 1.9.1-3 retrieves files from the web
and this indicating uninstalled:
un gettext <none> (no description available)

from there I ussually do an 'apt-cache show <package>' to get info on uninstalled packages
 
Old 03-30-2004, 08:39 PM   #10
KneeLess
Member
 
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190

Rep: Reputation: 30
You can use apt-cache to find packages.
 
Old 03-31-2004, 02:33 PM   #11
augamecock
Member
 
Registered: Feb 2002
Location: Atlanta, GA
Distribution: Debian
Posts: 78

Rep: Reputation: 15
Quote:
Originally posted by tr4nsfix
and this indicating uninstalled:
un gettext <none> (no description available)
If this is the case (I'm not on my deb machine and unsure) you could use

Code:
dpkg -l | grep ^un
to list uninstalled packages
 
Old 04-14-2004, 02:59 PM   #12
Qerub
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
apt-file or auto-apt
 
  


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
Help with Synaptic Package Manager REPOSITORY/apt-get nvidia pkgs beeblequix Debian 4 10-07-2005 04:27 PM
Get pkgs (xFree86) installed from cmd line mattp Debian 2 10-02-2005 01:16 PM
Problem getting installed GNOME theme to show in theme list on RedHat 9.0 linux-fan64 Linux - Newbie 1 02-25-2004 05:16 PM
if 4.0 is installed can 4.0 soho pkgs be installed?? bosewicht VectorLinux 2 11-22-2003 11:05 AM
list installed pkgs? clothocan Mandriva 4 10-06-2003 08:19 AM


All times are GMT -5. The time now is 11:00 AM.

Main Menu
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