Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 8220  / 2 Years ago, sat, december 4, 2021, 7:26:22

Why when an installation fails, should I run dpkg --configure -a, to fix it, also, why can't sudo apt do this?


More From » apt

 Answers
4

From the manpage:



--configure package...|-a|--pending
Reconfigure an unpacked package. If -a or --pending is given
instead of package, all unpacked but unconfigured packages are
configured.

Configuring consists of the following steps:

1. Unpack the conffiles, and at the same time back up the old
conffiles, so that they can be restored if something goes wrong.

2. Run postinst script, if provided by the package.

[#23475] Saturday, December 4, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
puccop

Total Points: 66
Total Questions: 99
Total Answers: 93

Location: Aruba
Member since Sun, Nov 27, 2022
1 Year ago
;