On Tue, Nov 26, 2013 at 11:05:07PM +0100, Michael Gmelin wrote: > 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 > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "[email protected]"
This has been addressed by pkg 1.2, now the process initially asked for is automatically restarted, regards, Bapt
pgptl0iu8xADG.pgp
Description: PGP signature
