Upgrade package using dpkg?

Niki Kovacs contact at kikinovak.net
Tue Mar 15 10:27:55 UTC 2011


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




More information about the ubuntu-users mailing list