Skip to content

Instantly share code, notes, and snippets.

@wilm0x42
Created July 19, 2018 17:43
Show Gist options
  • Save wilm0x42/6f11a58d3ef1ccb1238045e29834af40 to your computer and use it in GitHub Desktop.
Save wilm0x42/6f11a58d3ef1ccb1238045e29834af40 to your computer and use it in GitHub Desktop.
Script to install boot-repair, 'cause manual installation sucks
#!/bin/bash
# Download debian packages
wget https://launchpad.net/~yannubuntu/+archive/ubuntu/boot-repair/+files/glade2script_3.2.3~ppa4_all.deb
wget https://launchpad.net/~yannubuntu/+archive/ubuntu/boot-repair/+files/boot-sav_4ppa65_all.deb
wget https://launchpad.net/~yannubuntu/+archive/ubuntu/boot-repair/+files/boot-repair_4ppa65_all.deb
# Attempt to install them
sudo dpkg -i ./glade2script_3.2.3~ppa4_all.deb
sudo dpkg -i ./boot-sav_4ppa65_all.deb
sudo dpkg -i ./boot-repair_4ppa65_all.deb
# Now that dpkg knows we need to install dependancies for these packages
# use apt-get to auto-install said dependancies
sudo apt-get -f install
# Install the packages FOR REAL this time
sudo dpkg -i ./glade2script_3.2.3~ppa4_all.deb
sudo dpkg -i ./boot-sav_4ppa65_all.deb
sudo dpkg -i ./boot-repair_4ppa65_all.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment