[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to "upgrade" a dpkg with a .deb



Matt England wrote:
> How can one upgrade an installed dpkg with a .deb file, much the same
> way one can run:
> 
>    rpm -Uhv <new-version-of-package.rpm>
> 
> using rpm?  I was hoping for a
> 
>    dpkg -u <new-version-of-package.deb>
> 
> command, but I don't see this or anything like it.  I can't find
> anything in apt-get's man page, either.
> 
> Any suggestions, tips?
> 
> -Matt
> 
> 
How about

  dpkg -iGE <new-version-of-package.rpm>

where

  -i | --install
  -G | --refuse-downgrade
  -E | --skip-same-version

Regards,
Jörg-Volker.



Reply to: