Date: Wed, 11 May 2016 11:42:27 +0800 From: "motb84mzft238"<motb84mzft238@163.com> To: "freebsd-questions"<freebsd-questions@freebsd.org> Subject: Hello Message-ID: <1b772a97.24475e.1549de8b41b.Coremail.motb84mzft238@163.com>
next in thread | raw e-mail | index | archive | help
RGVhciBNYW5hZ2VyLA0KIA0KIA0KSSdtIE1hZ2dpZSBmcm9tIFNoYW5naGFpIEpQIER5bmFtaWMg YmFsYW5jaW5nIG1hY2hpbmUgbWFudWZhY3R1cmluZyBDby4sTHRkLg0KICANCk91ciBiYWxhbmNp bmcgbWFjaGluZXMgYXJlIHN1aXRhYmxlIGZvciBNb3RvcnMgQmxvd2VycyBGYW5zIEJsYWRlcyBQ dW1wcyBlY3QuDQogDQpNYXliZSBzb21lIEJBTEFOQ0lORyBNQUNISU5FIGNhbiBtZWV0IHlvdXIg cmVxdWlyZW1lbnRzLg0KIA0KRS1jYXRhbG9nIHdpbGwgYmUgcHJvdmlkZWQgaWYgbmVlZGVkLg0K IA0KIA0KQmVzdCBSZWdhcmRzDQpNYWdnaWUNCiANCldoYXRzYXBwOiAwMDg2LTE1OTAwNDA0NTkz DQpTa3lwZTogbWFnZ2llLmRpbmc3Nw0KRW1haWw6IGpwMDE5QGpwLWJhbGFuY2VyLmNvbQ0KDQoy MDE2LTA1LTExDQoNCg0KbW90Yjg0bXpmdDIzOCA= From owner-freebsd-questions@freebsd.org Wed May 11 11:42:28 2016 Return-Path: <owner-freebsd-questions@freebsd.org> 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 <freebsd-questions@mailman.ysv.freebsd.org>; 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 <freebsd-questions@freebsd.org>; 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 <freebsd-questions@freebsd.org>; 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 <lobo@bsd.com.br> To: "Brandon J. Wandersee" <brandon.wandersee@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: pkg delete dilema Message-ID: <20160511084754.5b2e9d05@Papi> In-Reply-To: <86inylhd5s.fsf@WorkBox.Home> References: <CA+yoEx8cXJk7FGvk9EBqhzj6V8gTSCL_vdhjknJCJqhYqVgwuA@mail.gmail.com> <b80b3cf8-858b-3c88-0791-674ee6002f28@FreeBSD.org> <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 <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=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 <brandon.wandersee@gmail.com> 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."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1b772a97.24475e.1549de8b41b.Coremail.motb84mzft238>