10-05-2012
dpkg -S is fine to search, as you wrote, among installed packages.
A more generic search can be performed using apt-file search.
--
Bye
9 More Discussions You Might Find Interesting
1. Ubuntu
Hi all,
I am working on Ubuntu 7.10 and I want to install libssl-dev_0.9.8a-7ubuntu0.13_i386.deb. So tryied it with apt-get command but getting the following error--
Then I downloaded .deb file and attempt to install it with package installer but again unable to install it and getting the... (3 Replies)
Discussion started by: smartgupta
3 Replies
2. UNIX for Advanced & Expert Users
Friends,
Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ?
For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies
3. Ubuntu
I am trying to install tcsh package in ubuntu 11
When i tried to invoke the tcsh,i was prompted to contact administrator to install tcsh package.
Since i am also the admin on my system its my job to install tcsh :D
I have downloaded tcsh package named "tcsh-6.17.00.tar", since i don not have... (12 Replies)
Discussion started by: animesharma
12 Replies
4. Ubuntu
Hi i want to install md5 package into ubuntu. any idea how?
Apparently applying md5sum and md5 on a string (not a file) gives a different value! The one that I need to use is the md5 command, but it says command not found when i type md5 in bash. (2 Replies)
Discussion started by: jremio
2 Replies
5. UNIX for Dummies Questions & Answers
Hello,
i try to install quilt package on ubuntu 10.10 :
apt-get install quilt
but i have this error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package quilt is not available, but is referred to by another package.
This may mean... (1 Reply)
Discussion started by: chercheur857
1 Replies
6. Ubuntu
Hi,
I want to upgrade a package to a specified version on Ubuntu, can you please shed some light?
I know we can do it with but jere i want to upgrade the package to a specified version.
Can someone please assist?
Thanks (1 Reply)
Discussion started by: prash358
1 Replies
7. Ubuntu
I don't have internet connection in my Ubuntu server, so package download directly from internet is not possible.
So if I download package from Index of /ubuntu
How do I find which version of package is compatible with my Release of Ubuntu server ( 15.10 )
user01@ubuntu01:~$ lsb_release -a... (0 Replies)
Discussion started by: hiten.r.chauhan
0 Replies
8. Shell Programming and Scripting
I was just flirting with the idea of installing one package (bcl2fas2) on my WSL:Ubuntu using alien. However, when I run
sudo alien bcl2fastq2-v2.20.0.422-Linux-x86_64.rpm
I get the following error:
Package build failed. Here's the log:
dh_testdir
dh_testdir
dh_testroot
dh_prep... (0 Replies)
Discussion started by: Xterra
0 Replies
9. UNIX for Beginners Questions & Answers
Hello, I'm running Ubuntu 18.04 and I would like to install libboost-python version 1.46. Currently I have installed version 1.65:
wakatana@local-machine:~$ dpkg -l | grep libboost-python
ii libboost-python-dev 1.65.1.0ubuntu1 amd64 ... (1 Reply)
Discussion started by: wakatana
1 Replies
LEARN ABOUT DEBIAN
apt-show-versions
APT-SHOW-VERSIONS(1p) User Contributed Perl Documentation APT-SHOW-VERSIONS(1p)
NAME
apt-show-versions - Lists available package versions with distribution
DESCRIPTION
apt-show-versions parses the dpkg status file and the APT lists for the installed and available package versions and distribution and shows
upgrade options within the specific distribution of the selected package.
This is really useful if you have a mixed stable/testing environment and want to list all packages which are from testing and can be
upgraded in testing.
apt-show-versions uses caching for the status information of installed and available packages. If you run apt-show-versions as root the
cache is updated as needed. If you run as non-root uses the newest available information, but can't update the cache. If you run as root
with the option -i the cache is initialized or updated only.
SYNOPSIS
apt-show-versions [-h] [[-p] package name] [-a] [-b]
OPTIONS
If you don't give any options the status of all installed packages is printed.
-p package, --package=package
Print available and installed versions for specified package. You can also specify a package name without the option -p. If -p and a
package name are missing, all installed packages are displayed.
-r, --regex
interpret package from option -p as a regex.
-R, --regex-all
like --regex, but also show matching packages which are not installed
-u, --upgradeable
Print only upgradeable packages
-a, --allversions
Print all available versions of the selected packages
-b, --brief
Print only package_name/distribution for upgradeable packages
-v, --verbose
Prints out messages about which Package files are parsed.
-i, --initialize
Initialize or update package cache only (as root). Do this every time when the status of the installed or available packages has
changed. Initialization is done automatically on installation of the package and via a cron.daily job.
-stf file, --status-file=file
Use file as the dpkg status file instead of /var/lib/dpkg/status
-ld directory, --list-dir=directory
Use directory as path to apt's list files instead of /var/state/apt/lists/ or /var/lib/apt/lists/
-h, --help
Prints out command-line help.
EXIT CODES
0 No error
1 Wrong usage
2 apt-show-versions has been called with exactly one package and upgradeable option set, but package is uptodate. As no output has been
requested, this case gets signaled using the exit code.
255 Unspecified error
EXAMPLES
If you want to know for all your installed packages whether they are uptodate or upgradeable, use:
apt-show-versions
If you want to have a list of all upgradeable packages:
apt-show-versions -u
To get a list of all available versions of libc6:
apt-show-versions -a -p libc6
To get information about several packages:
apt-show-versions dpkg apt
apt-show-versions -r ^texlive
To upgrade all packages in testing:
apt-get install `apt-show-versions -u -b | fgrep testing`
AUTHOR
Christoph Martin, martin@uni-mainz.de
SEE ALSO
apt(8), dpkg(1)
perl v5.14.2 2012-10-26 APT-SHOW-VERSIONS(1p)