public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Warren Young <wyml@etr-usa.com>
To: cygwin@cygwin.com
Subject: Re: A list of installed packages (no dependencies)
Date: Wed, 31 Dec 2014 20:53:00 -0000	[thread overview]
Message-ID: <DCB8A447-3098-4EFB-BE6B-786DB98A994A@etr-usa.com> (raw)
In-Reply-To: <54A43EE0.8010400@cygwin.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

  reply	other threads:[~2014-12-31 20:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-31 10:11 Angelo Graziosi
2014-12-31 18:22 ` Larry Hall (Cygwin)
2014-12-31 20:53   ` Warren Young [this message]
2014-12-31 22:32 Angelo Graziosi
2014-12-31 23:42 ` Yaakov Selkowitz
2015-01-01  4:46   ` Steven Penny
2015-01-01 16:05     ` Andrey Repin
2015-01-01 22:25       ` Steven Penny
2015-01-01 23:36         ` Vince Rice
2015-01-02  7:58           ` Steven Penny
2015-01-02  8:13             ` Yaakov Selkowitz
2015-01-02  8:45             ` David Stacey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DCB8A447-3098-4EFB-BE6B-786DB98A994A@etr-usa.com \
    --to=wyml@etr-usa.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).