Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1946  / 2 Years ago, wed, march 2, 2022, 10:32:51

I had to run dpkg-reconfigure -a for certain reasons, and consequently given options for configure debconf. But I don't really know how those change things, and want to use the default settings.


More From » dpkg

 Answers
0

Formulating Nimmermehr's answer into 2 commands that do the trick:



linenum=$(cat /var/cache/debconf/config.dat | grep -n 'Name: debconf/priority' | cut -d: -f1)
sed -n "$linenum,$(($linenum + 4))p" /var/cache/debconf/config.dat

[#42652] Wednesday, March 2, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eaderitable

Total Points: 368
Total Questions: 117
Total Answers: 111

Location: Tuvalu
Member since Sat, Feb 11, 2023
1 Year ago
;