Prevent reinstalling the same version of a package?
Asked by
Simon May
Is there a way to prevent gdebi (on the command line) from reinstalling the same version of a .deb file that is already installed? For example, if I do
$ sudo gdebi -n example.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
(Reading database ... 568005 files and directories currently installed.)
Preparing to unpack example.deb ...
Unpacking example (13.6.0.10243651) over (13.6.0.10243651) ...
Setting up example (13.6.0.10243651) ...
...
I see “Unpacking example (13.6.0.10243651) over (13.6.0.10243651)”. I would rather have gdebi do nothing if I already have the same version of the package installed. How can I achieve that?
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu gdebi Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
To post a message you must log in.