Unix Technical Forum

listing the content of a package in a remote repository

This is a discussion on listing the content of a package in a remote repository within the Debian Linux support forums, part of the Debian Linux category; --> How could I do that with apt-get or apt-cache? I want to see what's inside a package before downloading ...


Go Back   Unix Technical Forum > Unix Operating Systems > Debian Linux > Debian Linux support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-19-2008, 06:54 AM
toylet
 
Posts: n/a
Default listing the content of a package in a remote repository

How could I do that with apt-get or apt-cache?
I want to see what's inside a package before downloading it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-19-2008, 06:54 AM
asmo
 
Posts: n/a
Default Re: listing the content of a package in a remote repository

On Fri, 06 May 2005 12:30:48 +0800, toylet wrote:

> How could I do that with apt-get or apt-cache?
> I want to see what's inside a package before downloading it.


apt-cache show ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-19-2008, 06:54 AM
gregor herrmann
 
Posts: n/a
Default Re: listing the content of a package in a remote repository

On Fri, 06 May 2005 12:30:48 +0800, toylet wrote:

> How could I do that with apt-get or apt-cache?
> I want to see what's inside a package before downloading it.


man apt-file

list List the contents of a package matching the pattern pattern.
This action is very close to the dpkg -S command except the
package does not need to be installed or fetched.


gregor
--
.''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
: :' : infos zur usenet-hierarchie at.*: http://www.usenet.at/
`. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/
`-
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-19-2008, 06:54 AM
toylet
 
Posts: n/a
Default Re: listing the content of a package in a remote repository


> apt-cache show ?


it didn't list the detail of the package. Can I see the files contained
inside a pkg of a repository?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-19-2008, 06:54 AM
toylet
 
Posts: n/a
Default Re: listing the content of a package in a remote repository

gregor herrmann wrote:
> On Fri, 06 May 2005 12:30:48 +0800, toylet wrote:
>
>
>>How could I do that with apt-get or apt-cache?
>>I want to see what's inside a package before downloading it.

>
>
> man apt-file
>


there is no apt-file in my ubuntu-5.04
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-19-2008, 06:54 AM
asmo
 
Posts: n/a
Default Re: listing the content of a package in a remote repository

On Sat, 07 May 2005 14:16:05 +0800, toylet wrote:

> gregor herrmann wrote:
>> On Fri, 06 May 2005 12:30:48 +0800, toylet wrote:
>>
>>
>>>How could I do that with apt-get or apt-cache?
>>>I want to see what's inside a package before downloading it.

>>
>>
>> man apt-file
>>

>
> there is no apt-file in my ubuntu-5.04


apt-get install apt-file?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-19-2008, 06:54 AM
asmo
 
Posts: n/a
Default Re: listing the content of a package in a remote repository

On Sat, 07 May 2005 08:47:51 +0200, asmo wrote:

> On Sat, 07 May 2005 14:16:05 +0800, toylet wrote:
>
>> gregor herrmann wrote:
>>> On Fri, 06 May 2005 12:30:48 +0800, toylet wrote:
>>>
>>>
>>>>How could I do that with apt-get or apt-cache?
>>>>I want to see what's inside a package before downloading it.
>>>
>>>
>>> man apt-file
>>>

>>
>> there is no apt-file in my ubuntu-5.04

>
> apt-get install apt-file?


[asmodaiii@phoenix:~] $ apt-cache show apt-file
[...]
Description: APT package searching utility -- command-line interface
apt-file is a command line tool for searching packages for the APT
packaging system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-19-2008, 06:55 AM
Richard Brooks
 
Posts: n/a
Default Re: listing the content of a package in a remote repository


"asmo" <asmodaiii@hotmail.com> wrote in message
newsan.2005.05.07.07.41.49.31707@hotmail.com...
> On Sat, 07 May 2005 08:47:51 +0200, asmo wrote:
>
> > On Sat, 07 May 2005 14:16:05 +0800, toylet wrote:
> >
> >> gregor herrmann wrote:
> >>> On Fri, 06 May 2005 12:30:48 +0800, toylet wrote:
> >>>
> >>>
> >>>>How could I do that with apt-get or apt-cache?
> >>>>I want to see what's inside a package before downloading it.
> >>>
> >>>
> >>> man apt-file
> >>>
> >>
> >> there is no apt-file in my ubuntu-5.04

> >
> > apt-get install apt-file?

>
> [asmodaiii@phoenix:~] $ apt-cache show apt-file
> [...]
> Description: APT package searching utility -- command-line interface
> apt-file is a command line tool for searching packages for the APT
> packaging system.
> .
> Unlike apt-cache, you can search in which package a file is included
> or list the contents of a package without installing or fetching it.
> [...]
> .
>

You could try " dpkg -p lynx " lynx is the package

time:~# dpkg -p lynx
Package: lynx
Priority: optional
Section: web
Installed-Size: 4580
Maintainer: James Troup <james@nocrew.org>
Architecture: i386
Version: 2.8.5-2
Replaces: lynx-ssl
Provides: www-browser, news-reader, lynx-ssl
Depends: libbz2-1.0, libc6 (>= 2.3.2.ds1-4), libgnutls11 (>= 1.0.16),
libncursesw5 (>= 5.4-1), zlib1g (>= 1:1.2.1)
Recommends: mime-support
Conflicts: lynx-ssl
Filename: pool/main/l/lynx/lynx_2.8.5-1_i386.deb
Size: 1854524
MD5sum: 1f913331fbd98d4a11df264cdeab4dff
Description: Text-mode WWW Browser
Lynx is a fully-featured World Wide Web (WWW) client for users
running cursor-addressable, character-cell display devices (e.g.,
vt100 terminals, vt100 emulators running on PCs or Macs, or any other
"curses-oriented" display). It will display hypertext markup language
(HTML) documents containing links to files residing on the local
system, as well as files residing on remote systems running Gopher,
HTTP, FTP, WAIS, and NNTP servers.

time:~#


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:12 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com