Solution! I hope

3 views
Skip to first unread message

Napoleon M

unread,
Nov 7, 2023, 3:30:54 AM11/7/23
to GSLUG
Here are the steps that seem to work.
examine base system looking for any recent changes
in new software/hardware ie. drivers/update

Determine if these changes cause problems, consider isolating problem;
I mistakenly did an update where I installed the wrong drivers and updates to the kernel, 
I installed some proprietary system76 versions of the software. here is a script I used to remove the software. 

#!/bin/bash

# Define a regex pattern to match package names with "system76" in them
pattern="system76"

# List all installed packages
dpkg --get-selections | while read line
do
  package=$(echo $line | awk '{print $1}')
  if [[ $package =~ $pattern ]]; then
    echo "Removing package: $package"
    sudo dpkg --purge --force-all $package
  fi
done

# Clean up any residual configuration files
sudo apt-get autoremove

then I sudo reboot and Walla seems to work. hopefully, more trials are needed. 

a weird thing is there was a power management package for laptops I installed and it was keeping my PC in a state of not responding to shutdown requests. 
Reply all
Reply to author
Forward
0 new messages