Hier mein - zugegeben sehr langsamer - Einzeiler (zum Glück ein dehnbarer Begriff):
for package in $(dpkg -l | grep ii | awk '{ print $2 }' ); do echo -en "$package\t" ; echo -n $(apt-cache show $package | grep Filename | awk -F / '{ print $2 }') ; echo "" ; done
Mit apt-cache show
werden pro $package
mehrere Angaben gemacht - deshalb ist das mit den echos oben etwas komplizierter geworden.
$ apt-cache show apport-kde
Package: apport-kde
Architecture: all
Version: 2.20.9-0ubuntu7.2
Priority: optional
Section: universe/kde
Source: apport
Origin: Ubuntu
Maintainer: Martin Pitt <martin.pitt@ubuntu.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 195
Depends: python3, python3-apport (>= 2.20.9-0ubuntu7.2), python3-pyqt5, apport (>= 0.41), procps, x-terminal-emulator
Recommends: kubuntu-notification-helper, gdb-minimal | gdb
Filename: pool/universe/a/apport/apport-kde_2.20.9-0ubuntu7.2_all.deb
Size: 17848
MD5sum: 99fa7408973660b11c7f4a93f320ef06
SHA1: b4abf6d681e8ea1ff6ba9ba00245c555a1e67b1c
SHA256: 4ba3701b25c9b60a413475bf1a32f5537d1ea409f7e706df1d6654a9775fb91d
Homepage: https://wiki.ubuntu.com/Apport
Description-en: KDE frontend for the apport crash report system
apport automatically collects data from crashed processes and
compiles a problem report in /var/crash/. This utilizes the crashdump
helper hook provided by the Ubuntu kernel.
.
This package provides a KDE frontend for browsing and handling the
crash reports.
Description-md5: c8fd570a74a013e8fc3c502dd64152ce
Task: kubuntu-desktop, kubuntu-full
Supported: 3y
Package: apport-kde
Architecture: all
Version: 2.20.9-0ubuntu7.1
Priority: optional
Section: universe/kde
Source: apport
Origin: Ubuntu
Maintainer: Martin Pitt <martin.pitt@ubuntu.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 195
Depends: python3, python3-apport (>= 2.20.9-0ubuntu7.1), python3-pyqt5, apport (>= 0.41), procps, x-terminal-emulator
Recommends: kubuntu-notification-helper, gdb-minimal | gdb
Filename: pool/universe/a/apport/apport-kde_2.20.9-0ubuntu7.1_all.deb
Size: 17848
MD5sum: 235d8b361c3eaa1c7ecae8f5512c3c37
SHA1: fbf72bbc683efe21702d6b9bb05cd2ccabb21bd3
SHA256: 5c4d8b5fe895530ebcd1bbbe01e17318adc6362ce5ee627331f28d9ad4ee6bd1
Homepage: https://wiki.ubuntu.com/Apport
Description-en: KDE frontend for the apport crash report system
apport automatically collects data from crashed processes and
compiles a problem report in /var/crash/. This utilizes the crashdump
helper hook provided by the Ubuntu kernel.
.
This package provides a KDE frontend for browsing and handling the
crash reports.
Description-md5: c8fd570a74a013e8fc3c502dd64152ce
Task: kubuntu-desktop, kubuntu-full
Supported: 3y
Package: apport-kde
Architecture: all
Version: 2.20.9-0ubuntu7
Priority: optional
Section: universe/kde
Source: apport
Origin: Ubuntu
Maintainer: Martin Pitt <martin.pitt@ubuntu.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 195
Depends: python3, python3-apport (>= 2.20.9-0ubuntu7), python3-pyqt5, apport (>= 0.41), procps, x-terminal-emulator
Recommends: kubuntu-notification-helper, gdb-minimal | gdb
Filename: pool/universe/a/apport/apport-kde_2.20.9-0ubuntu7_all.deb
Size: 17844
MD5sum: 7ae423961c7dfdd72068337cd7ff4f90
SHA1: 6a2c8d3804a4b067d4953b9ee1203f3c7e99f171
SHA256: 719cca2462621faa87d9b244bbe674e16118cebe7d3a563c9ed193d4d7e19542
Homepage: https://wiki.ubuntu.com/Apport
Description-en: KDE frontend for the apport crash report system
apport automatically collects data from crashed processes and
compiles a problem report in /var/crash/. This utilizes the crashdump
helper hook provided by the Ubuntu kernel.
.
This package provides a KDE frontend for browsing and handling the
crash reports.
Description-md5: c8fd570a74a013e8fc3c502dd64152ce
Task: kubuntu-desktop, kubuntu-full
Supported: 3y
Die Ausgabe lautet dann z.B.
$ apt-cache show apport-kde | grep Filename
Filename: pool/universe/a/apport/apport-kde_2.20.9-0ubuntu7.2_all.deb
Filename: pool/universe/a/apport/apport-kde_2.20.9-0ubuntu7.1_all.deb
Filename: pool/universe/a/apport/apport-kde_2.20.9-0ubuntu7_all.deb
Was hat es damit genau auf sich?
Taomon schrieb:
Dort wo nicht irgendwas von universe oder multiverse steht kommt aus main.
Hm, da kann ich dir nicht zustimmen:
sudo dpkg-query -W -f='${Section}\t${Package}\t${Version}\n' | grep gtimelog
admin gtimelog 0.11-4
Das kommt nämlich aus universe.
Gruß BillMaier