From owner-freebsd-pkg@FreeBSD.ORG Sun Jan 26 17:39:27 2014 Return-Path: Delivered-To: freebsd-pkg@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 235A06AE for ; Sun, 26 Jan 2014 17:39:27 +0000 (UTC) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 95F551AB4 for ; Sun, 26 Jan 2014 17:39:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.5/8.14.5) with ESMTP id s0QHdJOI008772 for ; Sun, 26 Jan 2014 21:39:19 +0400 (MSK) (envelope-from marck@rinet.ru) Date: Sun, 26 Jan 2014 21:39:19 +0400 (MSK) From: Dmitry Morozovsky To: freebsd-pkg@FreeBSD.org Subject: poudriere: trouble updating releng/9 jail on 10 host Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (woozle.rinet.ru [0.0.0.0]); Sun, 26 Jan 2014 21:39:20 +0400 (MSK) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 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, 26 Jan 2014 17:39:27 -0000 Dear colleagues, I've just updated my home testbed server to stable/10 (from stable/9); one of roles it plays is poudriere builder, so I created 2 stable/10 svn jails (no problem so far), and then go to update existing 9 and 8 jails. Here the bang comes: echo tblgen: /usr/lib/libstdc++.a >> .depend make: don't know how to make /usr/lib/libstdc++.a. Stop *** [bootstrap-tools] Error code 2 1 error *** [_bootstrap-tools] Error code 2 1 error *** [buildworld] Error code 2 1 error ====>> Error: Failed to 'make buildworld' 7.897u 3.152s 0:07.61 145.0% 8533+273k 453+1190io 152pf+0w this was for releng/9.2: root@hamster:~# svn info /usr/local/poudriere/jails/92amd64/usr/src/ Path: /usr/local/poudriere/jails/92amd64/usr/src Working Copy Root Path: /usr/local/poudriere/jails/92amd64/usr/src URL: svn://freebsd.rinet.ru/base/releng/9.2 Relative URL: ^/releng/9.2 Repository Root: svn://freebsd.rinet.ru/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 261187 Node Kind: directory Schedule: normal Last Changed Author: delphij Last Changed Rev: 260647 Last Changed Date: 2014-01-14 23:42:28 +0400 (Tue, 14 Jan 2014) Any hints? Thanks in advance! -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------ From owner-freebsd-pkg@FreeBSD.ORG Wed Jan 29 17:20:18 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3A525612 for ; Wed, 29 Jan 2014 17:20:18 +0000 (UTC) Received: from mail-oa0-x22c.google.com (mail-oa0-x22c.google.com [IPv6:2607:f8b0:4003:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0246F115F for ; Wed, 29 Jan 2014 17:20:17 +0000 (UTC) Received: by mail-oa0-f44.google.com with SMTP id g12so2381757oah.3 for ; Wed, 29 Jan 2014 09:20:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:from:content-type:message-id:date:to :content-transfer-encoding:mime-version; bh=h/bXD1w8u3vNryhDvMA2vU61qsixK8ipMzPrjT25OhY=; b=DeI3XlH2a8rLqsG0JNrcvgXqxh9Ds+XtCKbOEx8efDBhTNH5lBdvaQBvHnv2OS+6HR HSZmn59MRlCEgqP2dbEsTZCmCz5FWIce/15YPY6SuiQkgQRHuiaB1Y5p6NLiFlnG1pRu Xevqq+LztU8wgyFhJc4dy1E7CQUcgpYhVg7V4tmVPhq2pnU4aCr6D5ZKjNL8ibFr94MD sc3x7f0BOSQdiJmmefwwyqIRnmoC9BPjWlTKfUZCKHUUZGPxoKSrX+onE53wyXXi4Z3L d9XJqmbDiukmsjcUlmZbIJ1BwH0p1IJ2ZRrzAyoTR7rKVGF3klkmWIF3oQyr6uzTny0n wTHQ== X-Received: by 10.182.243.138 with SMTP id wy10mr1201133obc.83.1391016017093; Wed, 29 Jan 2014 09:20:17 -0800 (PST) Received: from [192.168.1.64] (pool-71-164-175-115.dllstx.fios.verizon.net. [71.164.175.115]) by mx.google.com with ESMTPSA id o7sm17595693oed.3.2014.01.29.09.20.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Jan 2014 09:20:16 -0800 (PST) Subject: "pkg install subversion" tries to install multiple subversion versions at the same time From: Matthew Pherigo Content-Type: text/plain; charset=us-ascii X-Mailer: iPad Mail (11B554a) Message-Id: <111BF4D6-C5EC-4AC7-92C1-3272DF7E39D2@gmail.com> Date: Wed, 29 Jan 2014 11:20:19 -0600 To: freebsd-pkg@freebsd.org Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 29 Jan 2014 17:20:18 -0000 Hi, please forgive that trainwreck of a title. I'm on FreeBSD 9.2-release with the latest pkgng. When I attempt to install the subversion package, the following occurs: [root@Chiyochan-FreeBSD /home/matt/btsync/LinuxConfigStuff]# pkg install sub= version Updating r= epository catalogue The following 9 packages will be installed: Installing gdbm: 1.11 Installing db42: 4.2.52_5 Installing sqlite3: 3.8.2 Installing neon29: 0.29.6_4 Installing apr: 1.4.8.1.5.3 Installing subversion: 1.6.23_2 Installing subversion: 1.7.14 Installing serf: 1.3.2_1 Installing subversion: 1.8.5 The installation will require 53 MB more space 0 B to be downloaded Proceed with installing packages [y/N]: Of course, if I say yes, the packages run into conflicts with each other and= fail to install. Specifying the latest version of subversion works around t= his problem. I can only speculate, but if this problem is not specific to my= box, my guess would be that there's some sort of dependency tangle. Thanks, Matt (How many versions could a subversion version if the subversion version was v= irgin?)= From owner-freebsd-pkg@FreeBSD.ORG Wed Jan 29 18:36:04 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 53EBABE2 for ; Wed, 29 Jan 2014 18:36:04 +0000 (UTC) Received: from nm18-vm3.access.bullet.mail.gq1.yahoo.com (nm18-vm3.access.bullet.mail.gq1.yahoo.com [216.39.63.76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 12515180F for ; Wed, 29 Jan 2014 18:36:03 +0000 (UTC) Received: from [216.39.60.171] by nm18.access.bullet.mail.gq1.yahoo.com with NNFMP; 29 Jan 2014 18:32:35 -0000 Received: from [98.138.226.243] by tm7.access.bullet.mail.gq1.yahoo.com with NNFMP; 29 Jan 2014 18:32:35 -0000 Received: from [127.0.0.1] by smtp114.sbc.mail.ne1.yahoo.com with NNFMP; 29 Jan 2014 18:32:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1391020355; bh=G2LZyB2pePGkp6Z6mXZrErNiduJ+MPHsMFIqkyYPR0c=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=cxgi130/InIriaIaUbs/x+BzJc7qQwMhPnL8cUTfSACodIJaNOzSxyb8vQa20RSFOPesa6W8tfvfm86F64xvvEhdEKg1UwsUXpRYeLnvpzIpFPlHWVceeYIZq9e3MsMX0XwnQ0uvprcgFwE7kJswKeqTxPUUr6n376a3PSHm1aY= X-Yahoo-Newman-Id: 600633.41247.bm@smtp114.sbc.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: DhspNCcVM1nY_EU29HpajWD2GfrV13oQKsdjbREBg7u_kZ. h44IrO7hs.zYXzx4ka2YjSEoq.6WSCRqOTxCcGpqktaHLOmwhH2Z_oBQ3FJ8 .K7SHEGaD1U8Q2ufp7MokZJO7lKRUQs1TPCl.aVN2hOE5_4lzsQjsKlpoT7C Y1zIp7gIAxkWwO.s0pCP1z_RYXQEMSBpBnMkH7LxtuMyVKqJ5WSglzmPEkIB dw4fcaDQlUC4_i.7Az2e2ZiV7KpmqTw_hUfeJ_QwjWtj9_y8y7NpRz59GXuM wGKOHjIUGZ7dZ0XbySEaKXTAy0fyQ2gYI1aaCttTMDbSjZG9mzTzMxtH.CCH 27QjKh3t56joGJPV1xJ_YRtj2KP3V_cDJGq.d.bB5CsEbgRhdN4pgwFYPruo cgnjNbu.YmDdoFRGtI2rZM4QA.RpX9wTjNV4QAXmWy2tHbErJUeikhcmd.R6 UtldRu..slmm2rdFIcrXHN0HN1xPFc6C2MtbJgSZyELghMCCLR9rV6IcqlGX A6jRmmX1uamHDJEsTAKdm6Zt2.1x3ZdpKuQ-- X-Yahoo-SMTP: dQDeuIqswBBZlqxPL_idatjeqZFsZlQC4MQ5I3DYpsI- X-Rocket-Received: from [135.207.130.101] (k.oikonomou@135.207.130.101 with plain [98.138.31.74]) by smtp114.sbc.mail.ne1.yahoo.com with SMTP; 29 Jan 2014 18:32:35 +0000 UTC Message-ID: <52E9496E.2030702@att.net> Date: Wed, 29 Jan 2014 13:33:18 -0500 From: Kostas Oikonomou User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: can pkg be used to install in /opt? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 29 Jan 2014 18:36:04 -0000 The packages math/goblin and math/glpk can't both be installed in 9.2, due to a conflict on a shared library they both try to install. Is it possible to use pkg to install a package in /opt, thus avoiding the shared library problem in this case? I can't see how to do this with pkg. The old pkg_add had this ability. Kostas From owner-freebsd-pkg@FreeBSD.ORG Wed Jan 29 19:27:13 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AA5F9C96 for ; Wed, 29 Jan 2014 19:27:13 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 20F051D3F for ; Wed, 29 Jan 2014 19:27:12 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.8/8.14.8) with ESMTP id s0TJR8k3023046 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 29 Jan 2014 19:27:08 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s0TJR8k3023046 Authentication-Results: smtp.infracaninophile.co.uk/s0TJR8k3023046; dkim=none reason="no signature"; dkim-adsp=none Message-ID: <52E955FA.6050604@FreeBSD.org> Date: Wed, 29 Jan 2014 19:26:50 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: can pkg be used to install in /opt? References: <52E9496E.2030702@att.net> In-Reply-To: <52E9496E.2030702@att.net> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Gh4DFFu850d7Ei3iHiNsB89Kf2GAuso3p" X-Virus-Scanned: clamav-milter 0.98 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DCC_CHECK autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 29 Jan 2014 19:27:13 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Gh4DFFu850d7Ei3iHiNsB89Kf2GAuso3p Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 29/01/2014 18:33, Kostas Oikonomou wrote: > The packages math/goblin and math/glpk can't both be installed in 9.2, > due to a conflict on a shared library they both try to install.=20 >=20 > Is it possible to use pkg to install a package in /opt, thus avoiding > the shared library problem in this case? > I can't see how to do this with pkg. The old pkg_add had this ability.= Only if you have packages specially compiled to install in /opt. Or in other words, there's no way to install to a substitute prefix -- although you can install into a jail or chroot, but that's not quite the same thing. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --Gh4DFFu850d7Ei3iHiNsB89Kf2GAuso3p Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJS6VYLXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATVgAQAI+C+qyFDiW5J2IICUK17JPE Z+40/FotlOMbcp52rJlD/R+robLbOMWq7Fl+CYn+iQPfthWuIj1D1U1mjcuYq/hI iKrBCL5xPw4OLNeqtkA4lZh86Wzw3I3XyXTpSaIWhS2o5Jd/y9jUN0VbxFbb+U1X CzkbjMIFVMsRTIPevsrEzfJG0/VKdPw4HuCjjhADcneP9gpV7Gi9DTTXhWsLohLv 1bYwS56LrhvNFgfoM7CtbKXCdemkUVfcZpS4Pwc9W7cf5aFsOGnknNHExphW5gL2 XrJ/cr3SRotGTH0ystw8hA1qckNhJAMxDRbbXY9HANNz7iDXD+6g1flL0e4P6F0r 54qBogHxl7Wh4tfE7R3uUvs9J1D+KD2ds5RNAdCoOvW+1APLWfBH1i/ezp/E0MwR 2HXiB4Cq8Cr2dVidZ8hUBIQBrlzqKwq0mwWqh0DbH/ZnOrol3CFUba6FIUDnwsPb yzZdP1yVY1mOHNCd3+vzAULjxcCb0IzXVzJbWFuiubjVNVzGdySwPotw+TI1vnMf 5m8OevFaEm+P7VSDGc3slDg+8RFHhzIn7LlROWnZVzk0GJiEfQ83+Ttk06a1BSuj L6PoFHIot0M7UV+pPM/3sA/2IXBD/U/+ldvl3z99V90GUJFZ+vqRyZO9meXlXKBi gx5tuoQxdM8Zar/jyX5c =ldaV -----END PGP SIGNATURE----- --Gh4DFFu850d7Ei3iHiNsB89Kf2GAuso3p-- From owner-freebsd-pkg@FreeBSD.ORG Wed Jan 29 19:55:00 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F295BEC9 for ; Wed, 29 Jan 2014 19:55:00 +0000 (UTC) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C50C01F8E for ; Wed, 29 Jan 2014 19:55:00 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 2627920AA9 for ; Wed, 29 Jan 2014 14:54:58 -0500 (EST) Received: from web3 ([10.202.2.213]) by compute1.internal (MEProxy); Wed, 29 Jan 2014 14:54:58 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:subject:date:in-reply-to :references; s=smtpout; bh=SXLHGJr9EL28yl/xlXn1xfzFrAk=; b=eRKB+ 9uzoS6oIt8KbP7n7nG0k/vOVYxVTbsWKl2QonEqIsHK0O3d2IiezmHYtfaRWU/11 w7V+jYZzMQGBpLPMxlVpRjGP3pvPm21N5c3NVzt0JknEr7Sd4RwcWvoi6X1TMRwa huF3esl1Am9umSC7jMvbg3PARqX0OEKGAnBgSc= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id E408C11E852; Wed, 29 Jan 2014 14:54:57 -0500 (EST) Message-Id: <1391025297.7611.76916141.17A7F808@webmail.messagingengine.com> X-Sasl-Enc: azJLWSwjC5W9OVJCLm/dj2kRQIlH9bGjhSc6rFJjdjo/ 1391025297 From: Mark Felder To: freebsd-pkg@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-1b692d69 Subject: Re: can pkg be used to install in /opt? Date: Wed, 29 Jan 2014 13:54:57 -0600 In-Reply-To: <52E9496E.2030702@att.net> References: <52E9496E.2030702@att.net> X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 29 Jan 2014 19:55:01 -0000 On Wed, Jan 29, 2014, at 12:33, Kostas Oikonomou wrote: > The packages math/goblin and math/glpk can't both be installed in 9.2, > due to a conflict on a shared library they both try to install. > > Is it possible to use pkg to install a package in /opt, thus avoiding > the shared library problem in this case? > I can't see how to do this with pkg. The old pkg_add had this ability. > File a PR. They should be built in a way that they provide their own shared library under a unique name. This isn't too difficult to accomplish. From owner-freebsd-pkg@FreeBSD.ORG Wed Jan 29 19:58:42 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A4C1FE8 for ; Wed, 29 Jan 2014 19:58:42 +0000 (UTC) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 757141FCE for ; Wed, 29 Jan 2014 19:58:42 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 0FCAF20A91 for ; Wed, 29 Jan 2014 14:58:41 -0500 (EST) Received: from web3 ([10.202.2.213]) by compute3.internal (MEProxy); Wed, 29 Jan 2014 14:58:41 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=0s6VhxLdIOgHDO1P8bicFgaMLgc=; b=coU ytS3Pl7cR/buzXkFpRlbrkN+yIce5NC487jF+pdw7fBUReGTnFFZDZ0KaNdI5wyA X7coGIEUzzZM5oGoOyhodt4CbPAAsatptgVm2yfC+VGC29Xw84NBM0hWqmBnTQ3h PG+orZrW0t2jE0t775MYL4QfIsPiGdcmGZWytTCk= Received: by web3.nyi.mail.srv.osa (Postfix, from userid 99) id E554A11E91C; Wed, 29 Jan 2014 14:58:40 -0500 (EST) Message-Id: <1391025520.8527.76916485.08C9C199@webmail.messagingengine.com> X-Sasl-Enc: 846diz0Nhn+b2YHgDRR5vo/cWoVHJCab33yeJE9Fnd3v 1391025520 From: Mark Felder To: freebsd-pkg@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-1b692d69 In-Reply-To: <111BF4D6-C5EC-4AC7-92C1-3272DF7E39D2@gmail.com> References: <111BF4D6-C5EC-4AC7-92C1-3272DF7E39D2@gmail.com> Subject: Re: "pkg install subversion" tries to install multiple subversion versions at the same time Date: Wed, 29 Jan 2014 13:58:40 -0600 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 29 Jan 2014 19:58:42 -0000 This is due to a package name conflict -- all subversion ports used the same package name and they were complicated ports entangled with many other ports. Mat fixed this recently. It should go away soon when the packages are refreshed. http://svnweb.freebsd.org/ports/head/devel/subversion16/Makefile.common?revision=340848&view=markup From owner-freebsd-pkg@FreeBSD.ORG Wed Jan 29 20:36:46 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A5F1BC5 for ; Wed, 29 Jan 2014 20:36:46 +0000 (UTC) Received: from nm27-vm6.access.bullet.mail.bf1.yahoo.com (nm27-vm6.access.bullet.mail.bf1.yahoo.com [216.109.115.229]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B83911300 for ; Wed, 29 Jan 2014 20:36:45 +0000 (UTC) Received: from [66.196.81.163] by nm27.access.bullet.mail.bf1.yahoo.com with NNFMP; 29 Jan 2014 20:36:38 -0000 Received: from [98.138.226.240] by tm9.access.bullet.mail.bf1.yahoo.com with NNFMP; 29 Jan 2014 20:36:38 -0000 Received: from [127.0.0.1] by smtp111.sbc.mail.ne1.yahoo.com with NNFMP; 29 Jan 2014 20:36:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1391027798; bh=8rPLHe1ek6a/JeCyFtpSlGzNQ+uO5qZ+TtbpgCcwF8E=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=6gQ48caflfrkvAtohzz48WRC23pVJ/zNq/Mgm7f7uY8mow45cHS1P0YmsGVTmDpwj05wHdMeeIVdDcv0grb+/kqkf6Outkm6nnW3p6bSmHO3cZbDE/Cy8l5EPuJ1ZGnd3aDseYqHq4vypKNztIT6KsWUQBfOCiydY8gsAbmpypY= X-Yahoo-Newman-Id: 167510.25721.bm@smtp111.sbc.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: yb97eDEVM1kB42eqb1RyOWQBuB1UIFN6h5Xsk3LKhPTHn1N 4m.0zsspUA4xXttL42e7scvwpHRQmPcRfXFzJiqLXm8Dpw6icP2UEeTfsk1b L0hkDZh2wsUhXJnxBhW1rE.hcvIFfaIEPB.LRs2Keb9g6948Q0iv3CQAVgSJ LCJx.1tVL268qnsZ_OPT0hjaBKF_0X4vXPtL8qxdB60jdCJrArqJfeTjmxJE aD7c2fvTTYdvtg.x15WTfv0YO_i2Rq3x5x2H8YvXEUrkByJ_I1i52elHIvPV ppc.g4y8Jg.eGrlV8Mq90FxEBHB15F2uIT6XtN4C75iivo1kWDKc.CIq0pxr .io.WYz3At_ddAFmzCuTqpzomeGCU5pQlUCzVoOcusIq3bGpP0PPBfOZgTMW iRrgfoXXvaTJCf8JRkZuNUDdcS332yj3ji4Zqk7nTQpoopzjsMKuqAp8H.Ke axdMHHQExjdd_1Sycrz6Ub7SmeTX5_0OZrmW9yw3_Dj60h93EIHSggj6k6q9 eQX.lNzBFP_FNPKg4GGMDzSeVyixsTjTAklQFlaYjWwN8iDG3MvhZGbZc.04 WOPpqGADFQP4- X-Yahoo-SMTP: dQDeuIqswBBZlqxPL_idatjeqZFsZlQC4MQ5I3DYpsI- X-Rocket-Received: from [135.207.130.101] (k.oikonomou@135.207.130.101 with plain [98.138.31.74]) by smtp111.sbc.mail.ne1.yahoo.com with SMTP; 29 Jan 2014 12:36:38 -0800 PST Message-ID: <52E96680.9070208@att.net> Date: Wed, 29 Jan 2014 15:37:20 -0500 From: Kostas Oikonomou User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: can pkg be used to install in /opt? References: <52E9496E.2030702@att.net> In-Reply-To: <52E9496E.2030702@att.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 29 Jan 2014 20:36:46 -0000 Matthew, Mark, thanks for replying. I ended up editing the Makefile of /usr/ports/math/goblin to set PREFIX = /opt/local, and installed the port. Still, it seems to me that the ability to install a package to a different prefix is, occasionally, useful. What was the reason for removing it from pkg, when pkg_add had it? Kostas From owner-freebsd-pkg@FreeBSD.ORG Wed Jan 29 20:43:49 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0FF3D7D for ; Wed, 29 Jan 2014 20:43:49 +0000 (UTC) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 967CD13B8 for ; Wed, 29 Jan 2014 20:43:48 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id n12so9000266wgh.2 for ; Wed, 29 Jan 2014 12:43:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=9GoTlvY2P22p9VxfaouuWCCgv5IBl67M6RrsxnBIRU0=; b=nrZUQ9qY2kzGOSVneT+ZVGzF1mZz7ioBhxSa0kXja5KDmjy9+SUMHJks8lvcFpJ8yp yb6M0ZUUPzDJbozdns1lBvtuXGjX3F8+97GOY38vpdM+rUHvacGoUC+jVFQ6JZvXX8Z+ z698FsIeaucLgOm6V1AusfKpIN+9ILjFNTI1Q/wASDc7MltSz/JCwsQn9lzufvt3Ylb0 FJ6mJr5TZCkeCEtTpjHLcA2uHT2HgWHjnpJbiqe3R6QVD19+YOZcJbmswnAEg2v1oLAH E58bKs+EdVGoyn1o9xjUidN8U2QVMubiVWwFUBS7Bw54Fn4lCv8XaJey0IH4PhKl304F Y7pQ== X-Received: by 10.194.174.197 with SMTP id bu5mr1365wjc.71.1391028226500; Wed, 29 Jan 2014 12:43:46 -0800 (PST) Received: from ithaqua.etoilebsd.net (ithaqua.etoilebsd.net. [37.59.37.188]) by mx.google.com with ESMTPSA id ua8sm7324010wjc.4.2014.01.29.12.43.44 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 29 Jan 2014 12:43:45 -0800 (PST) Sender: Baptiste Daroussin Date: Wed, 29 Jan 2014 21:43:43 +0100 From: Baptiste Daroussin To: Kostas Oikonomou Subject: Re: can pkg be used to install in /opt? Message-ID: <20140129204342.GC54904@ithaqua.etoilebsd.net> References: <52E9496E.2030702@att.net> <52E96680.9070208@att.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LwW0XdcUbUexiWVK" Content-Disposition: inline In-Reply-To: <52E96680.9070208@att.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 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: Wed, 29 Jan 2014 20:43:49 -0000 --LwW0XdcUbUexiWVK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 29, 2014 at 03:37:20PM -0500, Kostas Oikonomou wrote: > Matthew, Mark, thanks for replying. >=20 > I ended up editing the Makefile of /usr/ports/math/goblin to set PREFIX > =3D /opt/local, and installed the port. >=20 > Still, it seems to me that the ability to install a package to a > different prefix is, occasionally, useful. > What was the reason for removing it from pkg, when pkg_add had it? The reason is that relocatable packages are broken by design because build process hard code path at build time too often Bapt --LwW0XdcUbUexiWVK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (FreeBSD) iEYEARECAAYFAlLpZ/4ACgkQ8kTtMUmk6EwcGwCggEuGUhHstzTG9f7upEyGSykw 6WwAoLjcnU/PhTFTSVV+O8YBEIeCFuet =m60b -----END PGP SIGNATURE----- --LwW0XdcUbUexiWVK-- From owner-freebsd-pkg@FreeBSD.ORG Fri Jan 31 09:35:39 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94FBBA2B for ; Fri, 31 Jan 2014 09:35:39 +0000 (UTC) Received: from mail-vb0-x22c.google.com (mail-vb0-x22c.google.com [IPv6:2607:f8b0:400c:c02::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 53AC61D8D for ; Fri, 31 Jan 2014 09:35:39 +0000 (UTC) Received: by mail-vb0-f44.google.com with SMTP id f12so2738755vbg.17 for ; Fri, 31 Jan 2014 01:35:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=++W4u0nfBkQTb125RZexZOHjpa4reOLG849X2pSaau4=; b=zI4F0CCwrLndZAy9nZDBFerxD1UP9fIAa6BL3ROccO/MRXl5ZCjvZalh2JKEBQK6L8 VQL6qQiJTSSKEn44fMuMvF9K528nlVm2nY1ehzmOAMSTIThgM/iByThiG+6NrdDMWmmM CzSSVyc80vwYQoHuzGOA5fkxY3qZYCg5z7VABTJKCnbZNL5FYEe24l7SXkOOYH7TwLLZ 8MWDJZ4fS1e6osTtKQWdZ8TSjkz+WKG8do3M5wxeQ51X6rsrRWWUKB00vUP7Eh5nsyV+ KDVfGXlTk24P9qsePqX/QysSRaBrVAt851cjJsG/T9JCHAAKtvpM2ZBGbzbn8HQanQE6 sD0w== X-Received: by 10.52.155.66 with SMTP id vu2mr85448vdb.50.1391160938335; Fri, 31 Jan 2014 01:35:38 -0800 (PST) MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.58.171.42 with HTTP; Fri, 31 Jan 2014 01:34:57 -0800 (PST) From: Ivan Voras Date: Fri, 31 Jan 2014 10:34:57 +0100 X-Google-Sender-Auth: d_Gd3Mzzo7qmGn8Uee8NB7Dvzcg Message-ID: Subject: Upgrading sets of packages? To: freebsd-pkg@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 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: Fri, 31 Jan 2014 09:35:39 -0000 Hello, An example of a very common operation I have to do is to upgrade PHP. Here's what I have one one of my machines: # pkg info -q | grep php php5-5.3.8 php5-bcmath-5.3.8 php5-bz2-5.3.8 php5-ctype-5.3.8 php5-curl-5.3.8 php5-dom-5.3.8 php5-exif-5.3.8 php5-extensions-1.6 php5-fileinfo-5.3.8 php5-filter-5.3.8 php5-ftp-5.3.8 php5-gd-5.3.8 php5-hash-5.3.8 php5-iconv-5.3.8 php5-json-5.3.8 php5-ldap-5.3.8 php5-mbstring-5.3.8 php5-mcrypt-5.3.8 php5-mysql-5.3.8 php5-mysqli-5.3.8 php5-openssl-5.3.8 php5-pcntl-5.3.8 php5-pdo-5.3.8 php5-pdo_sqlite-5.3.8 php5-pgsql-5.3.8 php5-phar-5.3.8 php5-posix-5.3.8 php5-session-5.3.8 php5-snmp-5.3.8 php5-soap-5.3.8 php5-sockets-5.3.8 php5-sqlite-5.3.8 php5-sqlite3-5.3.8 php5-tokenizer-5.3.8 php5-xml-5.3.8 php5-xmlreader-5.3.8 php5-xmlrpc-5.3.8 php5-xmlwriter-5.3.8 php5-zip-5.3.8 php5-zlib-5.3.8 All of the module packages depend on the php package. Simply running "pkg install php5" only wants to upgrade the php5 package, which will obviously break everything: ---- Updating repository catalogue The following 2 packages will be installed: Upgrading libxml2: 2.7.8_1 -> 2.8.0_3 Upgrading php5: 5.3.8 -> 5.4.24 The installation will require 2 MB more space ---- Trying to upgrade the php5-extensions package which depends on all the rest also doesn't work as it wants to upgrade only a subset of the packages: ---- Updating repository catalogue The following 21 packages will be installed: Upgrading libxml2: 2.7.8_1 -> 2.8.0_3 Upgrading sqlite3: 3.8.0.2 -> 3.8.2 Upgrading php5: 5.3.8 -> 5.4.24 Upgrading php5-xmlwriter: 5.3.8 -> 5.4.24 Upgrading php5-dom: 5.3.8 -> 5.4.24 Upgrading php5-xml: 5.3.8 -> 5.4.24 Upgrading php5-simplexml: 5.3.8 -> 5.4.24 Upgrading php5-ctype: 5.3.8 -> 5.4.24 Upgrading php5-posix: 5.3.8 -> 5.4.24 Upgrading php5-hash: 5.3.8 -> 5.4.24 Upgrading php5-filter: 5.3.8 -> 5.4.24 Upgrading php5-tokenizer: 5.3.8 -> 5.4.24 Upgrading php5-json: 5.3.8 -> 5.4.24 Upgrading php5-sqlite3: 5.3.8 -> 5.4.24 Upgrading php5-pdo: 5.3.8 -> 5.4.24 Upgrading php5-iconv: 5.3.8 -> 5.4.24 Upgrading php5-phar: 5.3.8 -> 5.4.24 Upgrading php5-session: 5.3.8 -> 5.4.24 Upgrading php5-xmlreader: 5.3.8 -> 5.4.24 Upgrading php5-pdo_sqlite: 5.3.8 -> 5.4.24 Upgrading php5-extensions: 1.6 -> 1.7 The installation will require 3 MB more space ---- For example, the php5-gd package isn't included in the above list even though it is depended on by php5-extenions: # pkg info -d php5-extensions | grep gd php5-gd-5.3.8 and it depends on php5: # pkg info -r php5 | grep gd php5-gd-5.3.8 My question is: what is the correct way to upgrade (in this case) all of the php5-* packages? Running "pkg install `pkg info -q | grep php`" doesn't work because it tries to install packages by including the full version number, and those old packages are neither what I want nor available, and I can't find an argument to "pkg info" which only shows the base package names without the extensions. Further, it looks like "pkg upgrade" doesn't accept package names, which seems odd. From owner-freebsd-pkg@FreeBSD.ORG Fri Jan 31 10:02:00 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2E3C83DB for ; Fri, 31 Jan 2014 10:02:00 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 947C81F7A for ; Fri, 31 Jan 2014 10:01:59 +0000 (UTC) Received: from ox-dell39.ox.adestra.com (no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged)) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.8/8.14.8) with ESMTP id s0VA1niJ080202 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 31 Jan 2014 10:01:55 GMT (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk s0VA1niJ080202 Authentication-Results: smtp.infracaninophile.co.uk/s0VA1niJ080202; dkim=none reason="no signature"; dkim-adsp=none X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host no-reverse-dns.metronet-uk.com [85.199.232.226] (may be forged) claimed to be ox-dell39.ox.adestra.com Message-ID: <52EB7482.3000000@freebsd.org> Date: Fri, 31 Jan 2014 10:01:38 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: Upgrading sets of packages? References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="K4lXu8wVjeHmWjg76xH29wJjPpaeBkES1" X-Virus-Scanned: clamav-milter 0.98 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_00,DCC_CHECK, RDNS_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 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: Fri, 31 Jan 2014 10:02:00 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --K4lXu8wVjeHmWjg76xH29wJjPpaeBkES1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/31/14 09:34, Ivan Voras wrote: > Further, it looks like "pkg upgrade" doesn't accept package names, > which seems odd. Just to pick one little bit out of your post: It is odd. Even odder is that you can achieve the affect you want by "pkg install pkgname" even if pkgname is already installed. This is, I believe, going to change with pkg-1.3 where we have a new solver -- the 'install' and 'upgrade' actions will become pretty much freely interchangeable. Cheers, Matthew --K4lXu8wVjeHmWjg76xH29wJjPpaeBkES1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQJ8BAEBCgBmBQJS63SIXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQxOUYxNTRFQ0JGMTEyRTUwNTQ0RTNGMzAw MDUxM0YxMEUwQTlFNEU3AAoJEABRPxDgqeTn5CgQALIUYIFK4EF+EciZgC2Q7fjb tha0xzClitk1288THUtiWol0x3DSAJqaEgl8NbTlbwqaiWRSlnvMx1c0OT5vSZD9 2pPg8gs/pv/bTSBFPTWR+HEtyJLuytZEEIZqMOQQztV0kOFzbU0oqwnc8FqY3ZN6 ZCqhNSfEEK5nUXM1vogb5If+z/ME0DZw5PT7qGiFUxU/wpEaadLnk1zscW/L5DyB vM54ImXh28h3OtpOHEQAEgJ3UVVFBPWy8uzm3NnNEolfi/uWLFZ48AI2xuuOfZHJ REMEtO1l9FwIHVfTT3J3gpWxbFElbwGD7CPE1RVF1Sjdb+3GZT/NPgW28pgFA3PB hyqu4kD8uGdFu3ZOEjTJQ7K/0bAod8PNqU8v7kgZHOttHUmyv+zwHcN9CR28eccu GxbcvohfueIrXDbxc5J+0NUo28zsE4U52hcl/BlnJOK/2eBwPUviRRyuueUqBSsP eeBL508WMIT7SgJ2R+aQ88MvJ5GRPOq6YoJk0cuAtcIDEdrWp5jm6+pl1GhK5aP9 3D82AnhUgzSVrgpNDsfTh0arBuOnzDOwCdWOgRPuibOc8q7mqD3tzv4lZHgH3aHU qg3v+ZMlh1KCEThvhInq32olMDpTvK83NDkgAfZSMKTi3rGAgg9Cktq/jgV4ashf K3NC8+e0c7AE5+S+IvAC =WPx0 -----END PGP SIGNATURE----- --K4lXu8wVjeHmWjg76xH29wJjPpaeBkES1-- From owner-freebsd-pkg@FreeBSD.ORG Fri Jan 31 10:59:22 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2F6153B1 for ; Fri, 31 Jan 2014 10:59:22 +0000 (UTC) Received: from smtp.free.de (smtp.free.de [91.204.6.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 981BE1392 for ; Fri, 31 Jan 2014 10:59:21 +0000 (UTC) Received: (qmail 7393 invoked from network); 31 Jan 2014 11:52:36 +0100 Received: from smtp.free.de (HELO orwell.free.de) (k@free.de@[91.204.4.103]) (envelope-sender ) by smtp.free.de (qmail-ldap-1.03) with AES128-SHA encrypted SMTP for ; 31 Jan 2014 11:52:36 +0100 From: Kai Gallasch Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="Apple-Mail-42-541501050" Content-Transfer-Encoding: 7bit Subject: pkg snapshot and pkg rollback functionality Date: Fri, 31 Jan 2014 11:52:41 +0100 Message-Id: <95F734F1-21C5-4DAC-ADC2-AF730B115237@free.de> To: freebsd-pkg@freebsd.org Mime-Version: 1.0 (Apple Message framework v1085) X-Pgp-Agent: GPGMail 1.4.1 X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.17 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: Fri, 31 Jan 2014 10:59:22 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-42-541501050 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi. I am using pkg in combination with my own poudriere repos to install and = maintain a lot of FreeBSD servers and jails. When upgrading FreeBSD installations I often run into the following = problem: After I did a "pkg upgrade" I find out the hard way, that upgraded = applications are broken (software bug, config changed, incompatible = dependencies, etc.) and I need to go back to the state, before the pkg = upgrade. I normally get around this bis doing a "zfs snapshot" and a rollback = after I broke something with pkg upgrade.. What is your preferred method of rolling back a troublesome pkg upgrade? Wouldn't it be nice to have a "pkg snapshot" and "pkg rollback" = functionality in pkg itself? The upgrade cycle would then be: a) pkg snapshot --create --comment "before upgrade to php 5.3.38" b) pkg upgrade c) bang!! php trouble.. d) pkg snapshot --rollback --last This could be implemented in a way to lock all packages in the local = package cache of the upgraded system, that are connected to a certain = existing pkg snapshot. -- example -- # pkg clean The following package files will be deleted from the cache directory /var/cache/pkg: Package: Origin: Reason: All/bash-4.2.45.txz shells/bash Superseded by = bash-4.2.45_1 All/pkg-1.2.1.txz ports-mgmt/pkg Superseded by = pkg-1.2.5 All/openssl-1.0.1_8.txz security/openssl Superseded by = openssl-1.0.1_9 All/sqlite3-3.8.0.2.txz databases/sqlite3 Superseded by = sqlite3-3.8.2 All/p5-Socket6-0.25.txz net/p5-Socket6 Superseded by = p5-Socket6-0.25_1 The following package files are locked and cannot be deleted from the = cache directory, because they belong to an existing snapshot. Please delete = snapshot first! All/python27-2.7.6.txz lang/python27 needed by snapshot = $snapshot_uuid All/p5-DateTime-1.04.txz devel/p5-DateTime needed by snapshot = $snapshot_uuid -- example -- Other functions: - pkg snapshot --list - pkg snapshot --delete --$snapshot_uuid I think such a snapshot/rollback option for pkg would be very = beneficial, because it would give you the option to "roll back" your pkg = to every former frozen state in an orderly manner. Even after you find = out a week later that doing an upgrade was not such a splendig idea. What do you think? K. -- GPG-Key: A593 E38B E968 4DBE 14D6 2115 7065 4D7C 4FB1 F588 Key available from hkps://hkps.pool.sks-keyservers.net --Apple-Mail-42-541501050 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: Signierter Teil der Nachricht content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJS64B5AAoJEHBlTXxPsfWIZPsQAKSuJxE6YuO+jEH9VO/bChbT oH5tkJUdgPs4ioZuDnbzloQRKdiNaCoffXSFF0Ks67zqtcWQAOVv2fpMlWLGdt/6 kCulA5MHiiuqa7E3BVHvg9Yhhf/p55GmyAr9IfNbC0moofko12nc9w9AS3VSeBC4 5qwavHER28ZkYhcMeF4U+hYCPHHSYEGHXA1ZuXWZjp9eawTO6jtDEFORbNQmX2EB BVckWIhVH1AJeDty1Q1mPAdGQkwxuhArbnQ4NvbLPMlOb0ibLqAsO5gANc2GSk7V gEGuz5F+vEp1qGERMVOaV8xF0LG4gKuhGDkwuqqMRb3k6sS5xEeq1KJ6pm4VSAbY iNwKjb4Sm7bbei1pjRuvr2mGhKaOcsQNI6NOBkIt2MX8Fow9TjmvhmKOObqc7VXW n6sSaAUavKo9rrpTlhrXwGbHKoVjclazrHbWchmygJq2rTRVasIyf/NyYpdqIFZX Y/GneXP/GEcgVhDKpBLQoSfDjxS9s1K9ZFL+rDPAAoUzOFkYXPEAkqYpowJw8BFs 0fuqYagDhpd5couWbyE42pORRUan8U8WegvhywKAUyjZSAoo2BdNZ3puAepPMvX2 hYzklElnD4OylR/vBD5C4ZCqysFxCsaDw6nQSXZwkJ6E5w2DsJ/8G6VtiiadafQg m8+IE7pvkzKp0HZuyOuR =DLUu -----END PGP SIGNATURE----- --Apple-Mail-42-541501050--