Score:-1

Install .deb package only if version is higher

io flag
Lev

Is it possible to tell dpkg to only install a .deb if the new package version is higher than what's already installed on the system?

Example:

I have htop version 3.0.5 installed and I attempt to install 3.0.4 with dpkg -i htop-3.0.4-ubuntu.deb. The behavior I want is for dpkg to abort.

Score:0
in flag

from dpkg --help:

Options:
  -G|--refuse-downgrade      Skip packages with earlier version than installed.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.