VirtualBox

Changeset 67818 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jul 6, 2017 12:56:32 PM (7 years ago)
Author:
vboxsync
Message:

bugref:8524: Additions/linux: play nicely with distribution-installed Additions
Improve the documentation for packaging and minor installer change.

Add a README file for Linux distribution Additions packagers encouraging them
to track stable versions of the Additions without sticking to one major
version in one distribution release. Update the message when the Additions
installer detects another version installed not to always recommend removing
distribution Additions. Force a version update notification after an attempt
to install the Additions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/install.sh.in

    r66504 r67818  
    129129    test "$found" = 0 && return 0
    130130    if ! test "$1" = "force" ; then
     131        # Try to make the promised notification appear on next start.
     132        VBoxControl guestproperty delete \
     133            /VirtualBox/GuestAdd/HostVerLastChecked 2>&1 > /dev/null
    131134        cat 1>&2 << EOF
    132 You appear to have a version of the VirtualBox Guest Additions
    133 on your system which was installed from a different source or using a
    134 different type of installer.  If you installed it from a package from your
    135 Linux distribution or if it is a default part of the system then we strongly
    136 recommend that you cancel this installation and remove it properly before
    137 installing this version.  If this is simply an older or a damaged
    138 installation you may safely proceed.
    139 
    140 Do you wish to continue anyway? [yes or no]
     135This system appears to have a version of the VirtualBox Guest Additions
     136already installed.  If it is part of the operating system and kept up-to-date,
     137there is most likely no need to replace it.  If it is not up-to-date, you
     138should get a notification when you start the system.  If you wish to replace
     139it with this version, please do not continue with this installation now, but
     140instead remove the current version first, following the instructions for the
     141operating system.
     142
     143If your system simply has the remains of a version of the Additions you could
     144not remove you should probably continue now, and these will be removed during
     145installation.
     146
     147Do you wish to continue? [yes or no]
    141148EOF
    142149        read reply dummy
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette