From owner-freebsd-questions@freebsd.org Wed May 11 03:43:15 2016 Return-Path: Delivered-To: freebsd-questions@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 C951BB36F9B for ; Wed, 11 May 2016 03:43:15 +0000 (UTC) (envelope-from motb84mzft238@163.com) Received: from m13-225.163.com (m13-225.163.com [220.181.13.225]) by mx1.freebsd.org (Postfix) with ESMTP id D221F1FB5 for ; Wed, 11 May 2016 03:43:02 +0000 (UTC) (envelope-from motb84mzft238@163.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Message-ID:Subject:MIME-Version; bh=71ix2 iTs2iCwd83yreRl/mXvj/F0M+waLuGZYo0XvqQ=; b=crMQML8a7tH9iQGDJqaec AWdXVzftkmjBacJ8iizYodvIaUDNt/2enoAMjQeyd9E86nLDfLRJyKGMPi2cX1CR FpADpZa+8jqapg0xDxep2FBG4/JtiuJFkUqbNqCrkFj2hq+99qDC2ywYydbbGe+D 0Q8b9gUvhRrsLQ3EB2W5r0= Received: from motb84mzft238$163.com ( [101.81.25.208] ) by ajax-webmail-sdy26 (Coremail) ; Wed, 11 May 2016 11:42:34 +0800 (GMT+08:00) Date: Wed, 11 May 2016 11:42:27 +0800 From: "motb84mzft238" To: "freebsd-questions" Message-ID: <1b772a97.24475e.1549de8b41b.Coremail.motb84mzft238@163.com> Subject: Hello MIME-Version: 1.0 X-Mailer: MailMaster PC 1.1.1.20 X-Priority: 3 (Normal) X-Originating-IP: [101.81.25.208] X-CM-TRANSID: UseowACnUQUqqjJXSgdeAA--.4954W X-CM-SenderInfo: hprwumgup2w3qstyqiywtou0bp/1tbisQZls1XlTYIbNQABsx X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2016 03:43:15 -0000 RGVhciBNYW5hZ2VyLA0KIA0KIA0KSSdtIE1hZ2dpZSBmcm9tIFNoYW5naGFpIEpQIER5bmFtaWMg YmFsYW5jaW5nIG1hY2hpbmUgbWFudWZhY3R1cmluZyBDby4sTHRkLg0KICANCk91ciBiYWxhbmNp bmcgbWFjaGluZXMgYXJlIHN1aXRhYmxlIGZvciBNb3RvcnMgQmxvd2VycyBGYW5zIEJsYWRlcyBQ dW1wcyBlY3QuDQogDQpNYXliZSBzb21lIEJBTEFOQ0lORyBNQUNISU5FIGNhbiBtZWV0IHlvdXIg cmVxdWlyZW1lbnRzLg0KIA0KRS1jYXRhbG9nIHdpbGwgYmUgcHJvdmlkZWQgaWYgbmVlZGVkLg0K IA0KIA0KQmVzdCBSZWdhcmRzDQpNYWdnaWUNCiANCldoYXRzYXBwOiAwMDg2LTE1OTAwNDA0NTkz DQpTa3lwZTogbWFnZ2llLmRpbmc3Nw0KRW1haWw6IGpwMDE5QGpwLWJhbGFuY2VyLmNvbQ0KDQoy MDE2LTA1LTExDQoNCg0KbW90Yjg0bXpmdDIzOCA= From owner-freebsd-questions@freebsd.org Wed May 11 11:42:28 2016 Return-Path: Delivered-To: freebsd-questions@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 1489FB3560C for ; Wed, 11 May 2016 11:42:28 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-qk0-x22f.google.com (mail-qk0-x22f.google.com [IPv6:2607:f8b0:400d:c09::22f]) (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 CE36F11BA for ; Wed, 11 May 2016 11:42:27 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: by mail-qk0-x22f.google.com with SMTP id x7so23018828qkd.3 for ; Wed, 11 May 2016 04:42:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsd.com.br; s=capeta; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=wis3et72BUuFYmyTJfLhPKAA0Z4dyauzzgDez6X1ho8=; b=PqvMOv02pS5yvIJtDa3ccUQzfJDn61m4VNY8qrrFhC1l0Kd2HGQZIM/xa8/L/8CjJU NKpc0iPVVKC7iHRg4xPdiHuqqmqRgfOstrLIyHfrR0+7jEVBvpxYcAsOWBLtgQ6sKgo2 a8LnGlPRxxAQ14oKyBy8ReNNxX8TNMHbyIqBo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=wis3et72BUuFYmyTJfLhPKAA0Z4dyauzzgDez6X1ho8=; b=QSUqhIPPKiF8PTxMsJZvihwpz/qoPV5L1dodZlm927eFanTmOY/1qCTbsalwlgcqom KcqbWhiESTqVOcgWLyJqNf57zOIJPgooAOBO3d9VN89vKhxvWyCJiINZn3YLHW7I4jia lu6XB5J+nF3KtgpjdX42hQmzDjaoysQs/5K+kfpk30CP0em47TYTjEfxHVE0+ujIrxev 8gyJShvAh9EC5cxB4GtfRMLaJfioK7EJyibaj/K5HzqC0finrRuglRmtnGuhVlnRK1Ei XT40LzptofTnWRbf4DT7qc/EFmJMutnXwY5jk8SyNIyqtYlBD6Vd6lXMauvV3ALB6Qr4 rJkg== X-Gm-Message-State: AOPr4FXStAJM5aW2/XT0WlvaB67Cf9ao0dXOX+W3e1fahp/Dodp5w9DjFYi9Zr74l/vjkA== X-Received: by 10.55.156.206 with SMTP id f197mr2971326qke.9.1462966946436; Wed, 11 May 2016 04:42:26 -0700 (PDT) Received: from Papi ([186.212.152.97]) by smtp.gmail.com with ESMTPSA id t103sm3211267qge.26.2016.05.11.04.42.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 May 2016 04:42:26 -0700 (PDT) Date: Wed, 11 May 2016 08:47:54 -0300 From: Mario Lobo To: "Brandon J. Wandersee" Cc: freebsd-questions@freebsd.org Subject: Re: pkg delete dilema Message-ID: <20160511084754.5b2e9d05@Papi> In-Reply-To: <86inylhd5s.fsf@WorkBox.Home> References: <86inylhd5s.fsf@WorkBox.Home> Organization: BSD X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.25; amd64-portbld-freebsd10.3) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2016 11:42:28 -0000 On Tue, 10 May 2016 15:27:11 -0500 Brandon J. Wandersee wrote: > Matthew Seaman writes: > > > On 10/05/2016 18:44, Mario Lobo wrote: > >> So, is there a way to tell pkg just to delete the package WITHOUT > >> deleting the dependent ports? If not, is there a way for me to > >> remove just the cups-client port? Or just force cups to get > >> installed (make FORCE_PKG_REGISTER=yes install issues the same > >> problem as plain make above)? > > > > pkg delete -f cups-client > > > > Cheers, > > > > Matthew > > From the pkg-delete(8) man page: > > | -f, --force > | Forces packages to be removed despite leaving unresolved > | dependencies. In combination with the -a or --all flag, > | causes pkg(8) to be removed as well as all other > packages. > > Correct me if I'm wrong, but that bit about "despite leaving > unresolved dependencies" is not inconsequential. Yes, it will allow > Mario to upgrade one port, but will also essentially leave all those > ports with recorded dependencies on outdated cups-* packages > unresolvable, won't it? That is, when it comes time to upgrade other > ports pkg(8) will then complain that dependencies of those ports > can't be resolved, won't it? > Yes! It will! But I desperately needed to print something so I had to make it work. I will deal with the dependencies later. > > I could be wrong. I have to admit that I don't know all the > ins-and-outs of pkg(8), but (if I may be blunt) the conventional > wisdom I learned from my Arch Linux days was "Don't ever use 'pacman > --force' unless you know what you're doing---and if you think using > 'pacman --force' is a good idea, you don't know what you're doing." > Right! It is not a good idea but I had to. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] "UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things."