Upgrade package using dpkg?

Tom H tomh0665 at gmail.com
Tue Mar 15 11:02:05 UTC 2011


On Tue, Mar 15, 2011 at 5:52 AM, Niki Kovacs <contact at 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.




More information about the ubuntu-users mailing list