Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

"Cannot open packages" error log appears when uninstalling Deep Security Agent (DSA)

    • Updated:
    • 23 Aug 2017
    • Product/Version:
    • Deep Security 10.0
    • Deep Security 10.1
    • Deep Security 9.0
    • Deep Security 9.5
    • Deep Security 9.6
    • Platform:
    • N/A N/A
Summary

When you manually uninstall Deep Security Agent (DSA) from a Linux console, the uninstallation fails and the following error shows:

Error: Cannot open Packages

Cannot open packages

Details
Public

The issue occurs because the local RPM database (DB) is broken.

To resolve the issue, rebuild the local RPM DB:

  1. Run the commands below to back up the current RPM DB:

    # cd /var/lib
    # tar -zcvf /var/preserve/rpmdb-$(date +%Y-%m-%d_%H-%M-%S).tar.gz rpm

  2. Verify the integrity of the package files using the following commands:

    # cd /var/lib/rpm
    # rm -f __db*
    # /usr/lib/rpm/rpmdb_verify Packages

     
    The command # rm -f __db* is necessary to avoid stale locks.
  3. Once the package files are verified, type the command below to rebuild RPM indexes:

    # rpm -vv --rebuilddb

Premium
Internal
Rating:
Category:
Troubleshoot
Solution Id:
1114966
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.