Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Apr 2016 07:05:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 208565] sysutils/firstboot-pkgs: fails to install list if any already installed
Message-ID:  <bug-208565-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208565

            Bug ID: 208565
           Summary: sysutils/firstboot-pkgs: fails to install list if any
                    already installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cperciva@FreeBSD.org
          Reporter: freebsd@geoffgarside.co.uk
          Assignee: cperciva@FreeBSD.org
             Flags: maintainer-feedback?(cperciva@FreeBSD.org)

When given a set of packages to install on first boot, if any one of the
packages already exists on the host then none of them will be installed.

This can be seen with the "freebsd/FreeBSD-10.3-RELEASE" VMware vagrant box=
. In
this image the following configuration is given

    firstboot_pkgs_enable=3DYES
    firstboot_pkgs_list=3D"sudo rsync open-vm-tools-nox11"

but the image already has the open-vm-tools-nox11 package installed. Becaus=
e of
this the other packages are never installed.

    $ env ASSUME_ALWAYS_YES=3DYES pkg install sudo rsync open-vm-tools-nox11
    Updating FreeBSD repository catalogue...
    FreeBSD repository is up-to-date.
    All repositories are up-to-date.

In order to get the packages to be installed, you must use the -f flag to f=
orce
pkg to install them, this also re-installs the existing packages.

The "freebsd/FreeBSD-10.3-RELEASE" package list after boot is

    firstboot-freebsd-update-1.2   Update the system using freebsd-update w=
hen
it first boots
    firstboot-pkgs-1.4             Install packages when the system first b=
oots
    gettext-runtime-0.19.6         GNU gettext runtime libraries and progra=
ms
    glib-2.44.1_3                  Some useful routines of C programming
(current stable version)
    icu-55.1                       International Components for Unicode (fr=
om
IBM)
    indexinfo-0.2.4                Utility to regenerate the GNU info page
index
    libdnet-1.12_1                 Simple interface to low level networking
routines
    libffi-3.2.1                   Foreign Function Interface
    libiconv-1.14_9                Character set conversion library
    open-vm-tools-nox11-1280544_12,1 Open VMware tools for FreeBSD VMware
guests
    pcre-8.38                      Perl Compatible Regular Expressions libr=
ary
    perl5-5.20.3_8                 Practical Extraction and Report Language
    pkg-1.7.1                      Package manager
    python27-2.7.11_1              Interpreted object-oriented programming
language

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208565-13>