Sponsored Content
Operating Systems Linux Slackware Looking for a file within a given slackware distribution. Post 302757833 by stf92 on Friday 18th of January 2013 05:17:31 AM
Old 01-18-2013
Looking for a file within a given slackware distribution.

Hi: suppose you want to look for file foo belonging to the Slackware N.N distribution. Then either you make a full installation or N.N and look into /var/log/packages (grep) or you go to some Slackware index tree in the web and you traverse the tree node by node, which would be a great deal of work to do and therefor impracticable.

Now suppose further that you are not able, momentarily, to install N.N to your disk. Perhaps you have it now occupied by another O.S. or for whatever reason. So your only place where to look at is the N.N disk itself. In this disk your have PACKAGES.TXT and FILELIST.TXT. But neither of these will do. They list packages but not their contents.

So, in spite of having the disk, you arent able to know if foo is there or not or, in case you know it is, in which package. Is this really true?
 

2 More Discussions You Might Find Interesting

1. Slackware

Slackware

I want to know more about the Concurrency(Process Synchronization, Deadlocks) of a slackware, i know already the Concurrency but i want to know further what else is the Concurrency(Process Synchronization, Deadlocks) of a slackware. :cool: (1 Reply)
Discussion started by: green12
1 Replies

2. Slackware

Slackware 13.

Hello everyone. I am a newbie in operating systems. so far I've been playing with Ubuntu and I like it a lot. I heard about Slackware and I wanna try it. Last night I download the iso but It didn't fit in my usb or Dvd. it is a 4.2 GB. Is there one less than 4.2GB that will fit in my usb or DVD? ... (1 Reply)
Discussion started by: openation1
1 Replies
pkginfo(1)                                                         User Commands                                                        pkginfo(1)

NAME
pkginfo - display software package information SYNOPSIS
pkginfo [-q | -x | -l] [-p | -i] [-r] [-a arch] [-v version] [-c category...] [pkginst...] pkginfo [-d device] [-R root_path] [-q | -x | -l] [-a arch] [-v version] [-c category...] [pkginst...] DESCRIPTION
pkginfo displays information about software packages that are installed on the system (with the first synopsis) or that reside on a par- ticular device or directory (with the second synopsis). Without options, pkginfo lists the primary category, package instance, and the names of all completely installed and partially installed packages. It displays one line for each package selected. OPTIONS
The -p and -i options are meaningless if used in conjunction with the -d option. The options -q, -x, and -l are mutually exclusive. -a arch Specify the architecture of the package as arch. -c category Display packages that match category. Categories are defined with the CATEGORY parameter in the pkginfo(4) file. If more than one category is supplied, the package needs to match only one category in the list. The match is not case specific. -d device Defines a device, device, on which the software resides. device can be an absolute directory pathname or the identifiers for tape, floppy disk, removable disk, and so forth. The special token spool may be used to indicate the default installa- tion spool directory (/var/spool/pkg). -i Display information for fully installed packages only. -l Specify long format, which includes all available information about the designated package(s). -p Display information for partially installed packages only. -q Do not list any information. Used from a program to check whether or not a package has been installed. -r List the installation base for relocatable packages. -R root_path Defines the full path name of a directory to use as the root_path. All files, including package system information files, are relocated to a directory tree starting in the specified root_path. -v version Specify the version of the package as version. The version is defined with the VERSION parameter in the pkginfo(4) file. All compatible versions can be requested by preceding the version name with a tilde (~). Multiple white spaces are replaced with a single white space during version comparison. -x Designate an extracted listing of package information. The listing contains the package abbreviation, package name, package architecture (if available) and package version (if available). OPERANDS
pkginst A package designation by its instance. An instance can be the package abbreviation or a specific instance (for example, inst.1 or inst.2). All instances of a package can be requested by inst.*. The asterisk character (*) is a special character to some shells and may need to be escaped. In the C-Shell, "*" must be surrounded by single quotes (') or preceded by a backslash (). EXIT STATUS
0 Successful completion. >0 An error occurred. FILES
/var/spool/pkg default installation spool directory ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
pkgtrans(1), pkgadd(1M), pkgask(1M), pkgchk(1M), pkgrm(1M), pkginfo(4), attributes(5) Application Packaging Developer's Guide SunOS 5.10 6 Nov 2000 pkginfo(1)
All times are GMT -4. The time now is 09:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy