View Single Post
Old 09-30-2020, 07:56 PM   #1
sgala
Junior Member
 
Join Date: Sep 2020
Posts: 1
Default lost file after uninstall DisplayLink_Manager_App_1.0.0.pkg

Hello,

I uninstalled the ASUS_MB_Series_DisplayLink_Manager_App_1.0.0.pkg package that embed DisplayLinkManagerApp.pkg.

After that I found that lots of my file from the system were lost/deleted.
I lost for example all files in my .ssh/ home folder, the .zshrc file and all the preferences of my mac user.
I don't know exacly how many files are missing.

I found this log:
Code:
2020-08-22 15:02:12+02 matteoss package_script_service[9763]: PackageKit: Executing script "postinstall" in /tmp/PKInstallSandbox.eaf5OK/Scripts/com.displaylink.displaylinkmanagerapp.Qrl2Be
2020-08-22 15:02:12+02 matteoss package_script_service[9763]: Set responsibility to pid: 9745, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
2020-08-22 15:02:12+02 matteoss package_script_service[9763]: ./postinstall: DisplayLink uninstall script
2020-08-22 15:02:12+02 matteoss package_script_service[9763]: ./postinstall: > DisplayLink uninstaller running in "/Users/sgala/Downloads/ASUS_MB_Series_DisplayLink_Manager_App_1.0.0/ASUS_MB_Series_Displa
yLink_Manager_App_1.0.0.pkg" mode


2020-08-22 15:02:25+02 matteoss package_script_service[9763]: ./postinstall: > Remove plists from user directories
2020-08-22 15:02:25+02 matteoss package_script_service[9763]: ./postinstall: /var/root
2020-08-22 15:02:25+02 matteoss package_script_service[9763]: ./postinstall: /Users/Shared
2020-08-22 15:02:26+02 matteoss package_script_service[9763]: ./postinstall: /Users/mariateresa
2020-08-22 15:02:26+02 matteoss package_script_service[9763]: ./postinstall: /Users/sgala
2020-08-22 15:02:26+02 matteoss package_script_service[9763]: ./postinstall: /Users/sgala 1
2020-08-22 15:02:26+02 matteoss package_script_service[9763]: ./postinstall: rm: /Users/sgala: is a directory
2020-08-22 15:02:26+02 matteoss package_script_service[9763]: ./postinstall: rm: /Users/sgala: is a directory
2020-08-22 15:02:26+02 matteoss package_script_service[9763]: ./postinstall: /Users/sgala 1 2
2020-08-22 15:02:26+02 matteoss package_script_service[9763]: ./postinstall: rm: /Users/sgala: is a directory
2020-08-22 15:02:26+02 matteoss package_script_service[9763]: ./postinstall: rm: /Users/sgala: is a directory
2020-08-22 15:02:26+02 matteoss package_script_service[9763]: ./postinstall: /Users/sgala.old
2020-08-22 15:02:27+02 matteoss package_script_service[9763]: ./postinstall: /Users/test_rapido
2020-08-22 15:02:27+02 matteoss package_script_service[9763]: ./postinstall: > DisplayLink uninstall script done.
2020-08-22 15:02:27+02 matteoss package_script_service[9763]: Responsibility set back to self.
in the postinstall script there is some rm -R commands:
Code:
for f in $files
do
  if [ -e "$f" ] || [ -h "$f" ]
  then
    echo "Removing $f..."
    if ! rm -R "$f"
    then
      echo "ERROR: Unable to remove $f. Please remove manually."
     fi
    echo "$f successfully removed."
  else
    echo "$f not found, skipping."
  fi
done
I think that the uninstall script have some bug/issue that removed lots of file that are not should be.

Is it happened to some other ?

Thanks

Matteo

p.s: , so I think that should be related to displayling.org product software.
sgala is offline   Reply With Quote