I often need to run pkg install -fR (something) to properly deal with library issues according to UPDATING. What I noticed a few times recently is pkg install -fR will Reinstall or Upgrade packages but it doesn't seem to Install newly required deps, thus it fails part way through with something like: Reinstalling xorg-server-1.7.7_6,1 done Reinstalling libsoup-gnome-2.34.3_2 done Reinstalling gnome-mount-0.8_10 done Reinstalling gvfs-1.6.6_3missing dependency tdb-1.2.11,1root@trident:/root # If I run pkg install tdb, it gets around the problem and then I can re-run pkg install -fR to finish where it left off. But I have to do it for exiv2 as well. Also the missing newlines make the error harder to see. If I run pkg upgrade -n before I do the pkg install -fR, it shows me the newly required dep packages among the Upgrading ones: .. Upgrading talloc: 2.0.7 -> 2.0.8 Installing tdb: 1.2.11,1 Installing exiv2: 0.23,1 Installing xconsole: 1.0.5 .. Is this intentional, or something that should be fixed, or needs more information/discussion? Should I file a PRI could probably get around it by doing pkg upgrade first, but then the system will be doing more work. I can reproduce this issue. Thanks. Fix: "pkg install -fR" should automatically pull in new deps like "pkg upgrade" does, or it should abort with a helpful error message before upgrading a portion of packages then exiting. How-To-Repeat: Follow UPDATING instructions to force reinstall all deps of some packages like libffi, icu, boost-libs. The pkg install -fR might miss some newly needed deps like tdb, exiv2.
Responsible Changed From-To: freebsd-ports-bugs->bapt I'll take it.
This is fixed by https://github.com/pkgng/pkgng/issues/430, scheduled for 1.0.9
State Changed From-To: open->patched Fixed upstream, will be released in 1.0.9
Responsible Changed From-To: bapt->bdrewery Take so I remember to close
Author: bdrewery Date: Thu Mar 14 02:42:11 2013 New Revision: 314127 URL: http://svnweb.freebsd.org/changeset/ports/314127 Log: - Update to 1.0.9 Changes: - pkg-query(8) now returns EX_UNAVAILABLE when no package could be found [1] - pkg-rquery(8) now returns EX_UNAVAILABLE when no package could be found - Incompatible ABI message has been improved - Support base libbsdyml when possible over bundled libyaml - Fix `pkg install -fR` not installing missing dependencies [2] - Fix build with clang/gcc-4.7 in some cases [3] - Fix SRV MIRROR support - pkg-{fetch,install,upgrade} -L has been deprecated. Please use -U now. -L will be removed in a future release. Thiwas was done to be consistent with future support for -U in pkg-rquery(8) and pkg-search(8) - Make DEVELOPER_MODE architecture suggestion more clear that it is non-fatal. This is not really implemented yet and is just a hint. - Fix @cwd not being respected for @exec/@unexec. This mostly manifested as directories being created in the wrong place when installing packages. - New configuration option FETCH_TIMEOUT [4] - Documentation updates PR: ports/173515 [1] Reported by: eadler [1] Submitted by: Alexandre Perrin [1] PR: ports/175899 [2] Reported by: Adam McDougall <mcdouga9@egr.msu.edu> [2] Submitted by: John Marino [3] Submitted by: Dan McGregor [4] Reviewed by: bapt (release changeset) With hat: portmgr Modified: head/ports-mgmt/pkg/Makefile head/ports-mgmt/pkg/distinfo Modified: head/ports-mgmt/pkg/Makefile ============================================================================== --- head/ports-mgmt/pkg/Makefile Thu Mar 14 01:50:38 2013 (r314126) +++ head/ports-mgmt/pkg/Makefile Thu Mar 14 02:42:11 2013 (r314127) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= pkg -DISTVERSION= 1.0.8 +DISTVERSION= 1.0.9 CATEGORIES= ports-mgmt MASTER_SITES= LOCAL/portmgr \ http://files.etoilebsd.net/pkg/ Modified: head/ports-mgmt/pkg/distinfo ============================================================================== --- head/ports-mgmt/pkg/distinfo Thu Mar 14 01:50:38 2013 (r314126) +++ head/ports-mgmt/pkg/distinfo Thu Mar 14 02:42:11 2013 (r314127) @@ -1,2 +1,2 @@ -SHA256 (pkg-1.0.8.tar.xz) = 6a061d8b9f880bb15788fc7e859e7d15d74630228ecda0821df29b17971e1c4d -SIZE (pkg-1.0.8.tar.xz) = 1449168 +SHA256 (pkg-1.0.9.tar.xz) = 33a59b3a16b4e02eb6cc6c0ad9fd62e0646cba531cec77a442a33e0f03d1da8a +SIZE (pkg-1.0.9.tar.xz) = 1449752 _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: patched->closed 1.0.9 released. Fixed.