Dell Security Management Server Virtual Diversions Fail to Upgrade to v10.1.0

Summary: Dell Security Management Server may fail to upgrade to v10.1.0 if diversions are missing or configured incorrectly.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Affected Products:

  • Dell Security Manager Server Virtual

Affected Versions:

  • v10.1.0

Cause

Not Applicable

Resolution

Note:

Missing Diversions may cause Dell Security Management Server Virtual to display Failed to apply software upgrade. This issue is resolved if upgrading to Dell Security Management Server Virtual v10.2.1 and later.

Install Updates
Figure 1: (English Only) Install Updates

Misconfigured Diversions may occur if a Dell Security Management Server Virtual upgrade was attempted with missing diversions. This can cause a version mismatch for libsystemd0 resulting in upgrade attempts to display the following packages have unmet dependencies system: Depends: libsystem0. This issue is resolved if upgrading to Dell Security Management Server Virtual v10.2.1 and later.

Misconfigure Diversions
Figure 2: (English Only) Misconfigure Diversions

Click the appropriate section for more information.

Identify if any diversions are missing before applying the Fix.

To identify if the server is affected:

  1. Log in to the Dell Enterprise Server Virtual administration console using the default administrator (delluser) credentials.

Log In
Figure 3: (English Only) Log In 

Note:
  • The default credentials for Dell Security Management Server Virtual are:
    • Username: delluser
    • Password: delluser
  • An administrator can change the default password within the product’s virtual appliance menu.
  1. On the Main Menu, select Launch Shell and then press Enter.

Launch Shell
Figure 4: (English Only) Launch Shell

  1. Type su dellsupport and then press Enter.

Type su dellsupport and then press Enter
Figure 5: (English Only) Type su dellsupport and then press Enter

  1. Type the password for dellsupport and then press Enter.

Type the password
Figure 6: (English Only) Type the password

Note:
  • The default credentials for Dell Security Management Server Virtual are:
    • Username: dellsupport
    • Password: dellsupport
  • An administrator can change the default password within the product’s virtual appliance menu.
  1. Type sudo dpkg-divert --list and then press Enter.
  2. Compare the output to the Correct list of diversions. If one or more diversions are missing, go to the Fix section. Otherwise, go to Misconfigured Diversions.

Correct:

Correct list of diversions
Figure 7: (English Only) Correct list of diversions

Fix

To add missing diversion files:

To add missing diversion files, Dell Security Management Server Virtual requires a third-party SSH (secure shell) client.

  • Examples of an SSH client include (but are not limited to):
    • PuTTY
    • KiTTY
    • OpenSSH
Note:
  • Dell does not support any listed third-party product. The listed clients are meant to be an example of potential products a customer can use. Contact the product’s manufacturer for information about setup, configuration, and management.
  • Your SSH Client UI may differ from the below screenshot examples.
  1. Launch the SSH client.
  2. In the SSH client, Open a connection to Dell Security Management Server Virtual.
Note: An SSH user must be enabled within Dell Security Management Server Virtual. Reference How to Enable SSH in Dell Security Management Server Virtual for more information.

PuTTY Configuration
Figure 8: (English Only) PuTTY Configuration

  1. Login as dellsupport, confirm the password, and then press Enter.

Login as dellsupport
Figure 9: (English Only) Login as dellsupport

Note:
  • Dell support must be enabled as an SSH user within Dell Security Management Server Virtual. Reference How to Enable SSH in Dell Security Management Server Virtual for more information.
  • The default credentials for Dell Security Management Server Virtual are:
    • Username: dellsupport
    • Password: dellsupport
  • An administrator can change the default password within the product’s virtual appliance menu.
  1. Copy and paste into the SSH session:
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/crontab.dsmsv /etc/crontab
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/issue.dsmsv /etc/issue
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/issue.net.dsmsv /etc/issue.net
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/locale.gen.dsmsv /etc/locale.gen
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/locale.nopurge.dsmsv /etc/locale.nopurge
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/nagios3/conf.d/localhost_nagios2.cfg.dsmsv /etc/nagios3/conf.d/localhost_nagios2.cfg
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/nagios3/nagios.cfg.dsmsv /etc/nagios3/nagios.cfg
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/postfix/dynamicmaps.cf.dsmsv /etc/postfix/dynamicmaps.cf
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/postfix/main.cf.dsmsv /etc/postfix/main.cf
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/postfix/master.cf.dsmsv /etc/postfix/master.cf
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/postfix/post-install.dsmsv /etc/postfix/post-install
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/postfix/postfix-files.dsmsv /etc/postfix/postfix-files
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/postfix/postfix-script.dsmsv /etc/postfix/postfix-script
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/postfix/sasl_passwd.dsmsv /etc/postfix/sasl_passwd
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/postfix/sasl_passwd.db.dsmsv /etc/postfix/sasl_passwd.db
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/ssh/sshd_config.dsmsv /etc/ssh/sshd_config
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/systemd/journald.conf.dsmsv /etc/systemd/journald.conf
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/systemd/logind.conf.dsmsv /etc/systemd/logind.conf
sudo /usr/sbin/dpkg-divert --add --package dsmsv --divert /etc/systemd/timesyncd.conf.dsmsv /etc/systemd/timesyncd.conf
  1. Close the SSH session.
  2. Attempt an upgrade of Dell Security Management Server Virtual.
Note: For more information about upgrading Dell Security Management Server Virtual, reference How to Upgrade Dell Security Management Server Virtual.

To correct the misconfigured diversion files:

  1. Log in to the Dell Enterprise Server Virtual administration console using the default administrator (delluser) credentials.

Log In
Figure 10: (English Only) Log In

Note:
  • The default credentials for Dell Security Management Server Virtual are:
    • Username: delluser
    • Password: delluser
  • An administrator can change the default password within the product’s virtual appliance menu.
  1. On the Main Menu, select Launch Shell and then press Enter.

Launch Shell
Figure 11: (English Only) Launch Shell

  1. Type su dellsupport and then press Enter.

Type su dellsupport
Figure 12: (English Only) Type su dellsupport

  1. Type the password for dellsupport and then press Enter.

Type the password
Figure 13: (English Only) Type the password

Note:
  • The default credentials for Dell Security Management Server Virtual are:
    • Username: dellsupport
    • Password: dellsupport
  • An administrator can change the default password within the product’s virtual appliance menu.
  1. Type sudo apt-get install -f and then press Enter.

Type sudo apt-get install -f and then press Enter
Figure 14: (English Only) Type sudo apt-get install -f and then press Enter

Note: The number of files: Upgraded, newly installed, removed, or not upgraded may differ in your environment.
  1. Attempt an upgrade of Dell Security Management Server Virtual.
Note: For more information about upgrading Dell Security Management Server Virtual, reference How to Upgrade Dell Security Management Server Virtual.

To contact support, reference Dell Data Security International Support Phone Numbers.
Go to TechDirect to generate a technical support request online.
For additional insights and resources, join the Dell Security Community Forum.

Affected Products

Dell Encryption
Article Properties
Article Number: 000130699
Article Type: Solution
Last Modified: 03 Jan 2024
Version:  11
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.