У меня есть 2 машины, которые выводят разные вещи по dpkg -l
разному: 2-я отображает "Архитектура" только на одной машине.
Как установить язык вывода для dpkg
и заставить его выводить информацию "Архитектура"?
1
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===================================-============================-============
2
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==================================-=============================-============-============
dpkg-query
выглядит как многообещающий след с:
dpkg-query --show --showformat='${Package} ${Version} ${Architecture} ${Description}\n'
все же он возвращает слишком много информации и не так красиво представлен, как dpkg -l
:
acpi 1.5-2 amd64 displays information on ACPI devices
Attempts to replicate the functionality of the 'old' apm command on
ACPI systems, including battery and thermal information. Does not support
ACPI suspending, only displays information about ACPI devices.
acpi-support-base 0.137-5 all scripts for handling base ACPI events such as the power button
This package contains scripts to react to various base ACPI events
such as the power button. For more extensive ACPI support, including support
for suspend-to-RAM and for various laptop features, install the package
"acpi-support".
acpid 1:2.0.7-1squeeze4 amd64 Advanced Configuration and Power Interface event daemon