delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/12/31/15:54:15

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; q=dns; s=default; b=BA0hjSYKcyj57KFtJTmqueBvI4aB
dNNp6mUP2S/cI3P26b4CXooIvILa7ROoSMIzg+3RtRKsiGEzibUU96WvsYIw3SPh
wfgubbl0vlAPPGzeYy1T4pDCdGh04zZHaTgsq5I74OxOyqgXrDHOn9oMYbLDTKcX
TLz6hE6GPVsNc34=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:content-type:mime-version:subject:from
:in-reply-to:date:content-transfer-encoding:message-id
:references:to; s=default; bh=1QZPw1ZG955pY+uRtga2MBYEhxw=; b=er
LvRK7qapX3EuSDlxhK0iRNH/DxdDVYwBkrWK2/6+AilXWHsCX/NPOStrBn2F+vCa
mLeb0aDpkFTr3WnNcITL0jQ+ZcFzQX9r4P2nMmKFC/rHg5Wa87Ckl0In7Y18j6/K
hwUJdDcf0ffQUMSxzAj0bB5Z7vn9okgQrctnRjQS8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=AWL,BAYES_50,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: etr-usa.com
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject: Re: A list of installed packages (no dependencies)
From: Warren Young <wyml AT etr-usa DOT com>
In-Reply-To: <54A43EE0.8010400@cygwin.com>
Date: Wed, 31 Dec 2014 13:54:07 -0700
Message-Id: <DCB8A447-3098-4EFB-BE6B-786DB98A994A@etr-usa.com>
References: <54A3CBE4 DOT 6060203 AT alice DOT it> <54A43EE0 DOT 8010400 AT cygwin DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id sBVKsBDs009454

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019