On Dec 31, 2014, at 11:22 AM, Larry Hall (Cygwin) 
<reply-to-list-only...@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

Reply via email to