Upgrade package using dpkg?
Hi,
I wonder if there's a way to upgrade a package using dpkg, sort of the equivalent of 'rpm -Uvh' for Debian/Ubuntu. 'man dpkg' doesn't contain any information about that. Any suggestions ? Niki Kovacs -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
Upgrade package using dpkg?
Le 15/03/2011 10:52, Niki Kovacs a écrit :
Hi, I wonder if there's a way to upgrade a package using dpkg, sort of the equivalent of 'rpm -Uvh' for Debian/Ubuntu. 'man dpkg' doesn't contain any information about that. Any suggestions ? Niki Kovacs I'll answer that myself, since I fiddled around with the command, and I found the solution. Apparently, 'dpkg --install' (or 'dpkg -i') manages installing as well as updating a package. A bit like rpm -Uvh manages both, except the other way around :o) Cheers from the rainy South of France, Niki -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
Upgrade package using dpkg?
On Tue, Mar 15, 2011 at 5:52 AM, Niki Kovacs <contact@kikinovak.net> wrote:
> > I wonder if there's a way to upgrade a package using dpkg, sort of the > equivalent of 'rpm -Uvh' for Debian/Ubuntu. 'man dpkg' doesn't contain any > information about that. Install and upgrade with dpkg are the same "dpkg -i". You can add "--refuse-downgrade" so as not to downgrade a package by mistake or "--force-downgrade" to force one. -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
| All times are GMT. The time now is 04:01 PM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.