From owner-freebsd-pkg@freebsd.org Sun Sep 24 22:47:24 2017 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 23F03E03228 for ; Sun, 24 Sep 2017 22:47:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0B75B64FE9 for ; Sun, 24 Sep 2017 22:47:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 07FA1E03227; Sun, 24 Sep 2017 22:47:24 +0000 (UTC) Delivered-To: pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07A5FE03226 for ; Sun, 24 Sep 2017 22:47:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EAA7764FE8 for ; Sun, 24 Sep 2017 22:47:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8OMlNMg070715 for ; Sun, 24 Sep 2017 22:47:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 222502] ports-mgmt/pkg: pkg-1.10.1: archive_read_open_filename((null)) Date: Sun, 24 Sep 2017 22:47:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Sep 2017 22:47:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222502 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-ports-bugs@FreeBSD. |pkg@FreeBSD.org |org | Summary|pkg-1.10.1: |ports-mgmt/pkg: pkg-1.10.1: |archive_read_open_filename( |archive_read_open_filename( |(null)) |(null)) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-pkg@freebsd.org Thu Sep 28 15:34:30 2017 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18F19E01866 for ; Thu, 28 Sep 2017 15:34:30 +0000 (UTC) (envelope-from luca.pizzamiglio@gmail.com) Received: from mail-yw0-f170.google.com (mail-yw0-f170.google.com [209.85.161.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D35723C74 for ; Thu, 28 Sep 2017 15:34:29 +0000 (UTC) (envelope-from luca.pizzamiglio@gmail.com) Received: by mail-yw0-f170.google.com with SMTP id t127so1272377ywg.4 for ; Thu, 28 Sep 2017 08:34:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=HKSrUF12q0kopFuIe3iokZG49wChj9ecaxVOtPmcdZM=; b=eV+OCeh2Q4Hc1jAtpIpmaBkpcEroW+VvA+iMBn8R6J20fhNKFU5HfbQydufqBpgPdq gzQtpOuTHB9ADer1E5Kmw4VUBHzXK4V+SfHoEKk5ZAPJ6DLPPMujekQbam67yG+Fjlmh zMYfb4vtcxkQYIe6E4UeTSPUF5Ps4mKTes+ijn3PLMVu8QcFh5gdQ1dRyXmpOR/2x3SR 8etE6ASyhJZehpJvK5On0slrp/HMJcHZPby5Ov0nP5A6dcj+Pp30eXWSpaSLl7U2UNl2 qSvUxyNht1csg/V6KzlLGMhyHZPkoHi0s/DbzuM6EUxVED2LXqBr3qNOYcalWrGxUaGc q3Uw== X-Gm-Message-State: AHPjjUjdHSPUAPeYH6foTPlvXuKHazRhySt/JX1Imf1RdcxGWIZ/m0bE FMEMSWisJzoVIa82Uo49djFJYb6i X-Received: by 10.13.201.193 with SMTP id l184mr3838396ywd.261.1506612867685; Thu, 28 Sep 2017 08:34:27 -0700 (PDT) Received: from mail-io0-f176.google.com (mail-io0-f176.google.com. [209.85.223.176]) by smtp.gmail.com with ESMTPSA id x81sm700640ywc.35.2017.09.28.08.34.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Sep 2017 08:34:27 -0700 (PDT) Received: by mail-io0-f176.google.com with SMTP id v36so1911922ioi.1 for ; Thu, 28 Sep 2017 08:34:26 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAQFUEM99eQ2Xu5U2iGL9lETrj2IFrLh9awkDvvastHZnEN3uG2cp3rIndNCk+w7xmUq8BuLU6Cyy0DbYJPY6E= X-Received: by 10.107.203.4 with SMTP id b4mr7767636iog.6.1506612866418; Thu, 28 Sep 2017 08:34:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.139.88 with HTTP; Thu, 28 Sep 2017 08:34:05 -0700 (PDT) In-Reply-To: <369a094a-f6c6-9829-0fba-eb34c5ea9579@bluerosetech.com> References: <369a094a-f6c6-9829-0fba-eb34c5ea9579@bluerosetech.com> From: Luca Pizzamiglio Date: Thu, 28 Sep 2017 17:34:05 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Get list of packages installed from a given repo To: Mel Pilgrim Cc: freebsd-pkg@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2017 15:34:30 -0000 Hi Mel, the %R keyword is available in the query format, but is not available in the evaluation. you can use something like that: # pkg query "%R %o" | grep -v ^FreeBSD # pkg query "%R %o" | grep ^local Best regards, pizzamig On Sun, Sep 17, 2017 at 8:33 PM, Mel Pilgrim wrote: > I maintain local repos on top of the public pkg repo, and I want to check > which pkgs were installed from which repos. I know pkg knows this > information (the %R query keyword), but this doesn't work: > > # pkg query -e '%R !~ FreeBSD' %o > malformed evaluation string > # pkg query -e '%R ~ local' %o > malformed evaluation string > > How do I query for a list of installed pkgs based on an evaluation of the > repo name? > _______________________________________________ > freebsd-pkg@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-pkg > To unsubscribe, send any mail to "freebsd-pkg-unsubscribe@freebsd.org"