Try this:
This will usually attempt to fix any broken packages. Otherwise, I'd remove oracle-java7-installer as that particular PPA might be broken. You can then either use openjdk or install Oracle's java manually. There's some tips on Ubuntu's java page.
Hi,
I am upgrading a package on Solaris.
After upgradation, it changes it name to a <name>.2
eg. XYZ -> XYZ.2
XYZ no longer exists in pkginfo
Working on Solaris 8 sparc
Any idea's what's happening here?
Thanks (10 Replies)
Hi Friends,,
I got a doubt about installing packages after the installation of Solaris 10.
Suppose if we want to get smc tool by installing some packages from cd-3,,
then how can we know the packages that has to be installed to get the smc tool.
Can anyone help to solve this small... (1 Reply)
To all,
I have just installed a newer software package on one of our Performance testing AIX machine A. I later found out that this package didn't need to be installed on this machine cause it was a client and not a server package. I want to back out with pkgrm but the old package doesn't... (1 Reply)
Hi,
can someone help me with this?
How do we apply a new version of s/w package without disrupting the processes & daemons running with the old version?
Thanks (1 Reply)
Can anyone tell me detailed step by step procedure on how to upgrade sudo (sudo package) from 1.6.x to 1.7.1 or 1.7.2 versions on solaris 9 and 10 boxes. (1 Reply)
Hi All,
I have a solaris machine, in which I wanted to find the Oracle Installation date and Solaris Installation date.Any ways of finding out the package installation dates.
Kindly let me know
Thanks
Rj (1 Reply)
Hello,
i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm"
in /usr/local/ directory.
I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't.
I did:
1st try: Didn't work
sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Hello,
i have installed a package by using the command
sudo rpm -i filepackage.rpm
package filepackage is already installed
when i try to remove it, i get an error saying "is not installed":
sudo rpm -e filepackage.rpm
error: package filepackage is not installed
How can... (4 Replies)
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)
I have Solaris-11 and installed few non global zones inside it. I saw many of the packages are not installed in non global zone after installing it.
root@pos_ddr01 # pkg list | wc -l
479
root@pos_ddr01 #
root@pos_ddr01-zkmq01:~# pkg list | wc -l
206
root@pos_ddr01-zkmq01:~#
I can... (1 Reply)
Discussion started by: solaris_1977
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)