Add upgrade logic to the Linux installation scripts
I had version 1.1.62 of the Ubuntu driver installed. When I tried to install the new driver, I got errors saying the EVDI module was running and I needed to reboot to continue the installation. After reboot, I got the same error again.
After looking into the running DisplayLinkManager process, I ended up dropping into /usr/lib/displaylink and running the install script there with the uninstall option:
me@mine:/usr/lib/displaylink$ sudo ./displaylink-installer.sh uninstall
DisplayLink Linux Software 1.1.62 install script called: uninstall
Distribution discovered: Ubuntu 16.04.2 LTS
Removing EVDI from kernel tree, DKMS, and removing sources.
Stopping DLM systemd service
Removed symlink /etc/systemd/system/graphical.target.wants/displaylink.service.
Removing suspend-resume hooks
Removing udev rule
Removing Core folder
Uninstallation steps complete.
Please note that the evdi kernel module is still in the memory.
A reboot is required to fully complete the uninstallation process.
This finally allowed me to go install the new driver after a reboot. Can you guys just add some upgrade logic into your installation script?
alhusin alfarook commented
it is valuable for me