Skip to content

Instantly share code, notes, and snippets.

@Ardagan
Created July 24, 2019 20:36
Show Gist options
  • Save Ardagan/319086ba572a2a411d1e80ff7c74e6fb to your computer and use it in GitHub Desktop.
Save Ardagan/319086ba572a2a411d1e80ff7c74e6fb to your computer and use it in GitHub Desktop.
Linux tricks
# Upgrade distributive and fix in case of failure.
# Run dist-upgrade from terminal, not from X system.
apt-get dist-upgrade
# Load from recovery, mount rootdevie as root.
apt-get --fix-broken install
# Restart, try dist-upgrade another time
# configure apt-get repos
vim /etc/apt/sources.list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment