Date: Thu, 11 Feb 2016 11:43:18 +0100 From: Tomasz Sowa <tomek@ttmath.org> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: freebsd-pkg@freebsd.org Subject: Re: pkg force to add a package Message-ID: <56BC65C6.5070204@ttmath.org> In-Reply-To: <20160210225031.GJ1141@ivaldir.etoilebsd.net> References: <56BB7371.8070400@ttmath.org> <20160210225031.GJ1141@ivaldir.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56BC65C6.5070204>