Sponsored Content
Full Discussion: Upgrade a package on Ubuntu
Operating Systems Linux Ubuntu Upgrade a package on Ubuntu Post 302757367 by prash358 on Thursday 17th of January 2013 12:08:40 PM
Old 01-17-2013
Upgrade a package on 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
Quote:
apt-get install package
but jere i want to upgrade the package to a specified version.

Can someone please assist?

Thanks
 

9 More Discussions You Might Find Interesting

1. Solaris

Upgrade scenarios of a package in Solaris

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)
Discussion started by: vibhor_agarwali
10 Replies

2. Ubuntu

Ubuntu upgrade

ive been using Ubuntu 7.10 for about 3 weeks now and i love it more than any other linux operating system. ive been watching the countdown to the upgrade of ubuntu 8.04. has any one tried out the 8.04 beta at all. if so, did u think it is worth upgrading my box to 8.04 or should i keep it at... (13 Replies)
Discussion started by: Texasone
13 Replies

3. Solaris

Upgrade sudo package

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)
Discussion started by: saintsnwarriors
1 Replies

4. UNIX for Dummies Questions & Answers

Ubuntu upgrade procedure

How can i upgrade Ubuntu 7.10 to 8.04 from command line? (1 Reply)
Discussion started by: proactiveaditya
1 Replies

5. Ubuntu

unable to install package on 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

6. Ubuntu

Problems after upgrade to ubuntu 11.04

We had Ubuntu Server 10.10, after upgrade to Ubuntu Server 11.04 some applications doesn't works by example "Printing" on "Sysmte- Administration" and User Administration GUI, how can I fix it? (2 Replies)
Discussion started by: dmejias
2 Replies

7. UNIX for Dummies Questions & Answers

ubuntu 10.10 quilt package

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

8. Ubuntu

java error during upgrade or installation of package

Hi, everytime I do "sudo apt-get " and install package or just upgrade I get the following error: sha256sum mismatch jdk-7u3-linux-x64.tar.gz Oracle JDK 7 is NOT installed. dpkg: error processing oracle-java7-installer (--configure): subprocess installed post-installation script returned... (1 Reply)
Discussion started by: programAngel
1 Replies

9. Ubuntu

Ubuntu 16.04 - upgrade to ZFS 0.7?

What is the recommended way to upgrade ZFS on Ubuntu 16.04? i have read this thread, but the PPA is not safe? Ubuntu 16.04, ZFS 0.7.3 anyone got it running? : zfs (7 Replies)
Discussion started by: kebabbert
7 Replies
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)
All times are GMT -4. The time now is 06:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy