I want to install subversion (developer/versioning/subversion) in my Solaris 11 global zone. When I run

pkg install developer/versioning/subversion

Solaris wants to install 35 packages totalling 677 MB! Why is this? Is there any way to specify to 'pkg' to ignore dependencies? subversion itself is only around 7 MB.

For example:

           Packages to install:        35
            Services to change:         6
     Estimated space available:   3.47 GB 
Estimated space to be consumed: 677.84 MB
       Create boot environment:        No 
Create backup boot environment:        No
          Rebuild boot archive:        No

Changed packages: solaris   codec/flac
    None -> 1.2.1,5.11-   
    None -> 1.1.1,5.11-   
    None -> 2.30.0,5.11-   
    None -> 1.2,5.11-   
    None -> 1.7.5,5.11-   
    None -> 2.30.0,5.11-


    None -> 17.0.11,5.11-

Services:   restart_fmri:
  • 1
    Welcome to the package dependency hell. – Satō Katsura Sep 15 '17 at 13:57
  • 1
    I wonder what it is that pulls firefox in? The manifest doesn't look too heavy. – Kusalananda Sep 15 '17 at 18:11

According to Oracle Bug 15774570, this is because subversion relies on libproxy for making connections via proxies, and by default, that brings in libproxy-mozjs for parsing pac files with proxy definitions written in JavaScript. Since Solaris 11.3 and older don't have a standalone mozjs package, that brings in Firefox to use the bundled mozjs library.

This has been fixed for Solaris 11.4, and for older releases, you should be able to avoid it either by running pkg avoid libproxy-mozjs before the install, or doing the install with pkg install --reject libproxy-mozjs subversion.


Not that I'm aware of. Agreed on it being odd that so many dependencies are pulled in for subversion, which appears to be caused by those dependencies having other dependencies and so forth.

However, with the latest version of subversion being and older 1.7.20 in the support repo, you may be better of getting the latest version (1.9.7) from Apache and building it yourself depending on what your needs are.

You could also enable compression on the ZFS filesystem. Currently it can only be set to on for the root fs, but they may allow greater compression algorithms in the future based on RFE bugids. Granted, not a solution, but it may help give you some extra breathing room.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.