Date: Tue, 26 Nov 2013 23:05:07 +0100 From: Michael Gmelin <freebsd@grem.de> To: freebsd-ports@freebsd.org Subject: Question on updating pkg Message-ID: <20131126230507.11b5b8f6@bsd64.grem.de>
next in thread | raw e-mail | index | archive | help
Maybe this has been answered before, but I stumbled over it numerous times: When pkg needs an update, it's performed first and pkg exits just ok, but the original action wouldn't be done. This is a little bit confusing when running it manually and potentially harmfully in a scripted context. Thanks, Michael Example: $ sudo pkg install git Updating repository catalogue digests.txz 100% 996KB 996.1KB/s 996.1KB/s 00:01 packagesite.txz 100% 5555KB 5.4MB/s 3.8MB/s 00:01 Incremental update completed, 0 packages processed: 11200 packages updated, 709 removed and 135 added. New version of pkg detected; it needs to be installed first. After this upgrade it is recommended that you do a full upgrade using: 'pkg upgrade' The following 1 packages will be installed: Upgrading pkg: 1.1.4_8 -> 1.1.4_10 The installation will require 2 kB more space 1 MB to be downloaded Proceed with installing packages [y/N]: y pkg-1.1.4_10.txz 100% 1649KB 1.6MB/s 1.6MB/s 00:01 Checking integrity... done [1/1] Upgrading pkg from 1.1.4_8 to 1.1.4_10... done $ git bash: git: command not found -- Michael Gmelin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131126230507.11b5b8f6>