pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42066: pkg_add -f doesn't work as documented

>Number:         42066
>Category:       pkg
>Synopsis:       pkg_add -f doesn't work as documented
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 15 14:10:00 +0000 2009
>Originator:     Adam Hamsik
>Release:        5.99.17
NetBSD x350 5.99.17 NetBSD 5.99.17 (GENERIC) #0: Mon Sep 14 09:47:31 UTC 2009
pkg_add -f doesn't force installation of package even if dependencies are not 

x350# pkg_add -f ./scmgit-base-   
pkg_add: Warning: package `scmgit-base-' was built for a platform:
pkg_add: NetBSD/i386 5.0 (pkg) vs. NetBSD/i386 5.99.17 (this host)
pkg_add: no pkg found for 'tk>=8.4', sorry.
pkg_add: Can't install dependency tk>=8.4
pkg_add: 1 package addition failed

pkg_add(1) says:

 -f      Force installation to proceed even if prerequisite packages are
             not installed or the install script fails.  Although pkg_add will
             still try to find and auto-install missing prerequisite packages,
             a failure to find one will not be fatal.  This flag also over-
             rides the fatal error when the operating system or architecture
             the package was built on differ from that of the host.

Try to install some package with not resolved dependencies.

Home | Main Index | Thread Index | Old Index