Ho 2 macchine, che producono cose diverse su dpkg -l
modalità differenti: la seconda mostra "Architettura" solo su una macchina.
Come impostare la lingua di output per dpkg
e costringerlo a produrre informazioni sull'architettura?
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
sembra un promettente percorso con:
dpkg-query --show --showformat='${Package} ${Version} ${Architecture} ${Description}\n'
tuttavia restituisce troppe informazioni e non così ben presentato 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