Sunday, May 5, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1845  / 3 Years ago, thu, august 12, 2021, 9:24:21

I used to install deb packages by using command: dpkg -i *.deb as all deb's are in same folder.



Sometimes dpkg shows warning of Downgrading dependencies to lower version. Because Later Version Already Installed.



So, How to Stop Downgrading (skip that package to install) so that Higher version remain installed.



Gdebi shows warning and stops From Installing. But It is Limited to handle single deb at a time. So Is there any command (dpkg --?) To skip that package While Group of debs installing?



Or Give me Antother Method To Install. (synaptic Add downloaded files Option not working well in offline)


More From » package-management

 Answers
7

You can add the --refuse-downgrade option so that no package is downgraded.

So run the following command to install packages.



dpkg -i --refuse-downgrade *

[#26262] Friday, August 13, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ranquctive

Total Points: 391
Total Questions: 103
Total Answers: 104

Location: South Sudan
Member since Thu, Feb 4, 2021
3 Years ago
ranquctive questions
;