When installing software through apt, you might see messages about unmet dependencies or broken packages. Run 'sudo apt --fix-broken install' to resolve conflicts automatically. If that doesn't help, try 'sudo dpkg --configure -a' to fix interrupted installations. Clear the package cache with 'sudo apt clean' and update the repository list using 'sudo apt update'. For stubborn cases, remove the problematic package completely with 'sudo apt remove package-name' and reinstall it fresh.
If your machine stops at a black screen or drops to emergency mode after updating, reboot and hold Shift to access GRUB menu. Select an older kernel version from Advanced Options. Once logged in, remove the faulty kernel with 'sudo apt remove linux-image-x.x.x-xx' and run 'sudo update-grub'. Check your disk space with 'df -h' because full root partitions often cause boot failures.
Install the appropriate graphics drivers first. For NVIDIA cards, use 'sudo ubuntu-drivers autoinstall'. AMD and Intel usually work with open-source drivers already included. After installation, reboot and check available resolutions in Display Settings. If your monitor still isn't recognized correctly, create a custom resolution using xrandr commands or install the manufacturer's monitor profile.
Check system resources by running 'htop' in terminal. High CPU usage often points to runaway processes you can kill with 'pkill process-name'. If memory is maxed out, close unnecessary applications or add swap space. Clear systemd journal logs that might be consuming disk space with 'sudo journalctl --vacuum-time=3d'. Outdated software can cause performance issues, so keep everything current with 'sudo apt upgrade'.