Upgrading to a Newer Version

Top  Previous  Next

Introductory Remarks

The upgrade procedure for previous versions of the product to version 11.0 is supported. Please note that your version of Dr.Web for Linux should be upgraded the same way as it was used during the installation:

If the current version was installed from the repository, an upgrade requires updating program packages from the repository.

If the current version was installed from the universal package, then to upgrade the product, you need to install another universal package that contains a newer version of the product.

To identify how the product version was installed, check whether the Dr.Web for Linux executable directory contains remove.sh program uninstallation script. If so, the current version was installed from the universal package; otherwise it was installed from the repository.

If you cannot update the product the way you installed it initially, uninstall your current version of Dr.Web for Linux, and then install a new version using any convenient method. Installation and uninstallation procedures for previous Dr.Web for Linux versions are the same as installation and uninstallation described in the current manual for version 11.0. For additional information, see User manual for your current version of Dr.Web for Linux.

Note that upgrade of Dr.Web for Linux from version 6.0.2 to version 11.0 can be performed only by uninstalling the outdated product and installing the version 11.0.

If the current version of the product is operating in the central protection mode, it is recommended that you record the address of the used central protection server. For example, to determine the address to which Dr.Web for Linux of the version higher than 6.0.2, you can use the following command:

$ drweb-ctl appinfo

In the output provided by this command, from the line that looks like:

ESAgent; <PID>; RUNNING 1; Connected <address>, on-line

save the <address> part (which can look like tcp://<IP address>:<port>, for example: tcp://10.20.30.40:1234). In addition, it is recommended that you save the server public key file.

In case there are any problems with finding out the parameters of the connection that you are currently using, refer to the Administrator’s Manual for the product version that you are currently using and to the administrator of your anti-virus network.

Upgrading Version 9.0 and Higher

Installing Universal Package for an Upgrade

Install Dr.Web for Linux 11.0 from the installation file. During the installation, if it is necessary, you are prompted to automatically uninstall the older version installed from the distribution.

Upgrading from the Repository

To upgrade your current version of Dr.Web for Linux that was installed from the Doctor Web’s repository, do one of the following, depending on the required type of packages:

In case of using RPM packages (yum):

1.Change the used repository (from the package repository of your current version to the package repository 11.0).

You can find the name of the repository in the Installing from the Repository section. For details on how to change repositories, refer to help guides of the used operating system distribution.

2.Install the new version using the following command:

# yum update

or, if the manager dnf is used (similar to the Fedora OS of the version 22 and earlier):

# dnf update

If during the update of packages there is an error, uninstall and repeat the installation of the product. If necessary, see sections Uninstalling the Product Installed from the Repository and Installing from the Repository (items for the OS and the package manager that you are using).

In case of using DEB packages (apt-get):

1.Change the used repository (from the package repository of your current version to the package repository 11.0).

2.Update the product using the following commands:

# apt-get update
# apt-get dist-upgrade

Please note that for the Ubuntu 14.04 (64-bit version) OS, the apt-get dist-upgrade command may fail. In this case use the aptitude package manager (to upgrade the product, issue the aptitude dist-upgrade command).

Key File Transfer

Regardless of the selected method to upgrade Dr.Web for Linux, the license key file is installed to the default location automatically.

If any problem occurs during automatic installation of the key file, you can install it manually. The license key file of Dr.Web for Linux version 9.0 and older resides in the directory /etc/opt/drweb.com. If a valid license key file is lost, contact Doctor Web technical support.

Restoring Connection to the Central Protection Server

If possible, after upgrading Dr.Web for Linux, if the upgraded product was connected to a central protection server, the connection is re-established automatically. If not, you can use any of the following ways (note that you should specify the saved address and server public key file):

Select the check box on the Mode tab of the Dr.Web for Linux settings window.

Use the command

$ drweb-ctl esconnect <address> --Key <path to a file of the public server key>

In case there are any problems with the connection process, contact the administrator of your anti-virus network.

Upgrading Procedure Features

If your current version of Dr.Web for Linux is active when upgrading the product from the repository, processes of the older version remain running until the user logs off the system after the upgrade is complete. At that, if Dr.Web for Linux is operating in graphical mode, the icon of the older version can display in the notification area.

After upgrading Dr.Web for Linux, SpIDer Gate settings may be reset to default values.

If a mail client runs in the system (such mail client as Mozilla Thunderbird) that uses the IMAP protocol to receive email messages, it is necessary to restart it after an update is complete to provide the scanning of incoming email messages.

Upgrading Version 6.0.2 and Older

Upgrade of Dr.Web for Linux from version 6.0.2 and older to version 11.0 can be performed only by uninstalling the outdated product version and installing version 11.0. For additional information how to uninstall the old version, see User manual for your installed version of Dr.Web for Linux.

Key File Transfer

After upgrading Dr.Web for Linux, the license key file is not installed automatically to the default location, but you can install it manually. The license key file of Dr.Web for Linux 6.0.2 and older, resides in the directory /home/<user>/.drweb (the directory is hidden). If a valid license key file is lost, contact Doctor Web technical support.

Dr.Web for Linux 11.0 does not support Version of Dr.Web for Linux 9.0 and older! If any isolated files remain in quarantine of an older version, you can retrieve or delete these files manually. Dr.Web for Linux 6.0.2 (and earlier) uses as quarantine the following directories:

/var/drweb/infected – system quarantine;

/home/<user>/.drweb/quarantine – user quarantine (where <user> – user name).

To simplify processing of quarantined files, it is recommended to revise quarantine using old version of Dr.Web for Linux before starting an upgrade.