Is it OK for an amd64 system to install i386 packages?



  • I just saw this trying to install a package:

    Beginning package installation for vnstat2...
    Downloading package configuration file... done.
    Saving updated package information... done.
    Downloading vnstat2 and its dependencies... 
    Checking for package installation... 
     Downloading ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/All/vnstat-1.10_2.tbz ...  [FreeBSD repository]
     (extracting)
       Downloading ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/All/png-1.4.3.tbz ...  [FreeBSD repository]
     (extracting)
       Downloading ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/All/pkg-config-0.23_1.tbz ...  [FreeBSD repository]
     (extracting)
       Downloading ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/All/freetype2-2.3.12.tbz ...  [FreeBSD repository]
     (extracting)
       Downloading ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.1-release/All/fontconfig-2.8.0,1.tbz ...  [FreeBSD repository]
     (extracting)Loading package configuration... done.
    Configuring package components...
    Additional files... done.
    Loading package instructions...
    Menu items... done.
    Integrated Tab items... done.
    Custom commands...
    Executing custom_php_install_command()...done.
    Writing configuration... done.
    Starting service.
    
    Installation completed.   Please check to make sure that the package is configured from the respective menu then start the package.
    

    Why aren't these amd64 packages being installed?

    Just asking, because someone suggested that the issue I have with a library being unusable might be the result of i386 packages being installed on an amd64 system. If so, this might be the culprit…



  • This shows that the package is not changed to install on amd64-systems. You should ask the maintainer of that package. Its not a pfSense-problem indeed.

    I suspect that you will run into problems with i386-packages on an amd64-machine. The binaries won't run!


  • Rebel Alliance Developer Netgate

    You should be able to run i386 binaries on amd64 (we install the compat libs, IIRC) but you can't run amd64 binaries on i386.

    That said, it should definitely be installing the amd64 version if it's available.


Log in to reply