[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: List of current apt sources?

Hello Wanderer,

The Wanderer <wanderer@fastmail.fm> wrote:
> Is there any way to get a list of what sources are *currently* active, i.e., the
> ones which were in sources.list during the *most recent* successful 'apt-get
> update'?

$ ls -1 /var/lib/apt/lists/*_Packages

will give you a list of the currently loaded Packages files, whose
filenames contain the archive and distribution.



Reply to: