This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: A list of installed packages (no dependencies)
- From: Warren Young <wyml at etr-usa dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 31 Dec 2014 13:54:07 -0700
- Subject: Re: A list of installed packages (no dependencies)
- Authentication-results: sourceware.org; auth=none
- References: <54A3CBE4 dot 6060203 at alice dot it> <54A43EE0 dot 8010400 at cygwin dot com>
On Dec 31, 2014, at 11:22 AM, Larry Hall (Cygwin) <reply-to-list-only-lh@cygwin.com> wrote:
> On 12/31/2014 05:11 AM, Angelo Graziosi wrote:
>> pacman -Qqe > pkglist
>
> This sounds contradictory to what you're asking above. If you want to
> re-install all the packages, you need the dependencies too to make a
> useful (re)install.
pacman -e lists only packages explicitly installed, leaving out packages automatically installed to satisfy dependencies.
Basically, it gives you a much shorter list than if you simply list all installed packages, without changing the result if you ask the package manager on a different, freshly-installed box to install “just” those on the shorter list.
DPKG-based OSes must maintain a similar list, because they are able to detect when an automatically-installed package is no longer needed as a result of removing the last explicitly-installed package that depended on it. (apt-get autoremove).
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple