From owner-freebsd-pkg@freebsd.org Thu Feb 11 10:38:37 2016 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 81BF0AA481D for ; Thu, 11 Feb 2016 10:38:37 +0000 (UTC) (envelope-from tomek@ttmath.org) Received: from ttmath.org (ttmath.org [213.241.55.160]) (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 DDE29EF9; Thu, 11 Feb 2016 10:38:36 +0000 (UTC) (envelope-from tomek@ttmath.org) Received: from s101.ttmath.org (ip18-41.krt.net.pl [91.217.18.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ttmath.org (Postfix) with ESMTPSA id 1935843E0452; Thu, 11 Feb 2016 11:38:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ttmath.org; s=ttmath; t=1455187114; bh=M2zvwexako8lWIz3hxI3Lw5R2v5DYDjq5v0YdDwb6Pw=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=lqHD7/7Kxi2zuoPt6uyu5VNM6cLyZSFjqWqst7LvVW7Y7vg8R6kdrUOKpfVxCAPiK 4ldL4FGBwooDFlEChgmiEqrOz9et6YLwm8LsUROaZNM1qmAatAPsuaIuU/eOpiRpfq 0KckcZ7EqaDnXTNlC5hKFBIvg6GABQ9sK1xUp/Z2yh5YOxqSU0Bxbla+r6FqAXeLcD /2aqIliNACEYgmPN883TMSrPBKXUGg3lWLyb8g0SxoDAzXoD2/cVMMotPZMpA8Sahg 0W1ZZEFYe2j+2e8uCKx1O8eZENapb5grrNZYNY8WXx0hS+r1zd7wLYhjpglqQSO9a6 oQGP/4u2I6mgg== Subject: Re: pkg force to add a package To: Baptiste Daroussin References: <56BB7371.8070400@ttmath.org> <20160210225031.GJ1141@ivaldir.etoilebsd.net> Cc: freebsd-pkg@freebsd.org From: Tomasz Sowa X-Enigmail-Draft-Status: N1110 Message-ID: <56BC65C6.5070204@ttmath.org> Date: Thu, 11 Feb 2016 11:43:18 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160210225031.GJ1141@ivaldir.etoilebsd.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.20 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, 11 Feb 2016 10:38:37 -0000 On 2016.02.10 23:50, Baptiste Daroussin wrote: [...] > What you were looking for was pkg install ./nettle-3.2.tar which will replace > the old nettle already installed. Thanks, it works almost well but...sample without the internet connection: [second_machine]/home/tomek# ls nettle* gnutls* gnutls-3.3.17.1_2.tar nettle-3.2.tar [second_machine]/home/tomek# pkg install -Uf ./nettle-3.2.tar The following 2 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: nettle: 2.7.1 -> 3.2 gnutls: 3.3.15 -> 3.3.17.1_2 The process will require 709 KiB more space. 2 MiB to be downloaded. Proceed with this action? [y/N]: y And it waits for something forever... When I connect to the internet then: [second_machine]/home/tomek# pkg install -Uf ./nettle-3.2.tar The following 2 package(s) will be affected (of 0 checked): New packages to be INSTALLED: nettle: 3.2 gnutls: 3.3.17.1_2 The process will require 11 MiB more space. 2 MiB to be downloaded. Proceed with this action? [y/N]: y [second_machine] Fetching gnutls-3.3.17.1_2.txz: 100% 2 MiB 327.1kB/s 00:06 Checking integrity... done (0 conflicting) [second_machine] [1/2] Installing nettle-3.2... [second_machine] [1/2] Extracting nettle-3.2: 100% [second_machine] [2/2] Installing gnutls-3.3.17.1_2... [second_machine] [2/2] Extracting gnutls-3.3.17.1_2: 100% It seems nettle has been installed from the local package but gnutls has been downloaded from a remote repo. Is there an option to install all packages from my local disk? I was trying to use a wildcard but it gives me: [second_machine]# pkg install -Uf * pkg: /usr/home/tomek/penik/pakiety_2016.02.07/appstream-glib-0.4.1.tar is not a valid package: no manifest found pkg: No packages available to install matching 'appstream-glib-0.4.1' have been found in the repositories and I don't see an option to skip the broken package. -- Tomek