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(8)                                                                  APT                                                                 APT(8)

NAME
apt - command-line interface SYNOPSIS
apt [-h] [-o=config_string] [-c=config_file] [-t=target_release] [-a=architecture] {list | search | show | update | install pkg [{=pkg_version_number | /target_release}]... | remove pkg... | upgrade | full-upgrade | edit-sources | {-v | --version} | {-h | --help}} DESCRIPTION
apt provides a high-level commandline interface for the package management system. It is intended as an end user interface and enables some options better suited for interactive usage by default compared to more specialized APT tools like apt-get(8) and apt-cache(8). Much like apt itself, its manpage is intended as an end user interface and as such only mentions the most used commands and options partly to not duplicate information in multiple places and partly to avoid overwhelming readers with a cornucopia of options and details. update (apt-get(8)) update is used to download package information from all configured sources. Other commands operate on this data to e.g. perform package upgrades or search in and display details about all packages available for installation. upgrade (apt-get(8)) upgrade is used to install available upgrades of all packages currently installed on the system from the sources configured via sources.list(5). New packages will be installed if required to satisfy dependencies, but existing packages will never be removed. If an upgrade for a package requires the remove of an installed package the upgrade for this package isn't performed. full-upgrade (apt-get(8)) full-upgrade performs the function of upgrade but will remove currently installed packages if this is needed to upgrade the system as a whole. install, remove, purge (apt-get(8)) Performs the requested action on one or more packages specified via regex(7), glob(7) or exact match. The requested action can be overridden for specific packages by append a plus (+) to the package name to install this package or a minus (-) to remove it. A specific version of a package can be selected for installation by following the package name with an equals (=) and the version of the package to select. Alternatively the version from a specific release can be selected by following the package name with a forward slash (/) and codename (stretch, buster, sid ...) or suite name (stable, testing, unstable). This will also select versions from this release for dependencies of this package if needed to satisfy the request. Removing a package removes all packaged data, but leaves usually small (modified) user configuration files behind, in case the remove was an accident. Just issuing an installation request for the accidentally removed package will restore its function as before in that case. On the other hand you can get rid of these leftovers by calling purge even on already removed packages. Note that this does not affect any data or configuration stored in your home directory. autoremove (apt-get(8)) autoremove is used to remove packages that were automatically installed to satisfy dependencies for other packages and are now no longer needed as dependencies changed or the package(s) needing them were removed in the meantime. You should check that the list does not include applications you have grown to like even though they were once installed just as a dependency of another package. You can mark such a package as manually installed by using apt-mark(8). Packages which you have installed explicitly via install are also never proposed for automatic removal. search (apt-cache(8)) search can be used to search for the given regex(7) term(s) in the list of available packages and display matches. This can e.g. be useful if you are looking for packages having a specific feature. If you are looking for a package including a specific file try apt- file(1). show (apt-cache(8)) Show information about the given package(s) including its dependencies, installation and download size, sources the package is available from, the description of the packages content and much more. It can e.g. be helpful to look at this information before allowing apt(8) to remove a package or while searching for new packages to install. list (work-in-progress) list is somewhat similar to dpkg-query --list in that it can display a list of packages satisfying certain criteria. It supports glob(7) patterns for matching package names as well as options to list installed (--installed), upgradeable (--upgradeable) or all available (--all-versions) versions. edit-sources (work-in-progress) edit-sources lets you edit your sources.list(5) files in your preferred texteditor while also providing basic sanity checks. SCRIPT USAGE AND DIFFERENCES FROM OTHER APT TOOLS
The apt(8) commandline is designed as an end-user tool and it may change behavior between versions. While it tries not to break backward compatibility this is not guaranteed either if a change seems beneficial for interactive use. All features of apt(8) are available in dedicated APT tools like apt-get(8) and apt-cache(8) as well. apt(8) just changes the default value of some options (see apt.conf(5) and specifically the Binary scope). So you should prefer using these commands (potentially with some additional options enabled) in your scripts as they keep backward compatibility as much as possible. SEE ALSO
apt-get(8), apt-cache(8), sources.list(5), apt.conf(5), apt-config(8), The APT User's guide in /usr/share/doc/apt-doc/, apt_preferences(5), the APT Howto. DIAGNOSTICS
apt returns zero on normal operation, decimal 100 on error. BUGS
APT bug page[1]. If you wish to report a bug in APT, please see /usr/share/doc/debian/bug-reporting.txt or the reportbug(1) command. AUTHOR
APT team NOTES
1. APT bug page http://bugs.debian.org/src:apt APT 1.6.3ubuntu0.1 20 October 2015 APT(8)
All times are GMT -4. The time now is 09:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy