#884852 implement a way to report packages installed from a given repository

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Arturo Borrero Gonzalez
Date:
2017-12-20 14:30:02 UTC
Severity:
wishlist
#884852#5
Date:
2017-12-20 13:38:02 UTC
From:
To:
Dear apt maintainers/developers, thanks for your hard work with key package!
It's really appreciated :-)

I would love to have a clean way to generate a report of packages installed from
a given repository.

Example:

sources.list contains 'deb repoA main', 'deb repoB main'

$ apt-whatever report-packages
pkg1: installed from repoB
pkg2: installed from repoB
pkg3: installed from repoA
pkg4: installed from repoA

If this already exists, or is scriptable in anyway, could you please share the info?

Thanks, best regards.

#884852#10
Date:
2017-12-20 12:50:25 UTC
From:
To:
Arturo Borrero Gonzalez wrote:

Something like:

Start-Date: 2017-12-12  23:47:48
Commandline: apt-get install foo
Repository: http://ftp.de.debian.org/debian/
Requested-By: jmm (1000)
Install: foo:amd64 (1.23)
End-Date: 2017-12-12  23:47:51

Cheers,
        Moritz