diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-05-03 18:42:43 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-05-03 18:42:43 +0200 |
commit | 4d600edc49ff0a7d0177a87870239a14296369c3 (patch) | |
tree | cafeecb19496bb1d79f8d1f42242abbbb04450d2 | |
parent | dc701e735f3c83703fd0d861b0124150c5f5bf87 (diff) |
README: Fix Debian instructions, add "unmet dependencies" note
-rw-r--r-- | README.md | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -37,15 +37,27 @@ assurance processes. To install the latest release, run: ``` -curl https://lib.finalrewind.org/deb/libtravel-routing-de-vrr-perl_latest_all.deb | sudo dpkg -i - +wget https://lib.finalrewind.org/deb/libtravel-routing-de-vrr-perl_latest_all.deb +sudo dpkg -i libtravel-routing-de-vrr-perl_latest_all.deb +sudo apt --fix-broken install +rm libtravel-routing-de-vrr-perl_latest_all.deb ``` For a (possibly broken) development snapshot of the Git master branch, run: ``` -curl https://lib.finalrewind.org/deb/libtravel-routing-de-vrr-perl_dev_all.deb | sudo dpkg -i - +wget https://lib.finalrewind.org/deb/libtravel-routing-de-vrr-perl_dev_all.deb +sudo dpkg -i libtravel-routing-de-vrr-perl_dev_all.deb +sudo apt --fix-broken install +rm libtravel-routing-de-vrr-perl_dev_all.deb ``` +Note that dpkg, unlike apt, does not automatically install missing +dependencies. If a dependency is not satisfied yet, `dpkg -i` will complain +about unmet dependencies and bail out. `apt --fix-broken install` installs +these dependencies and also silently finishes the Travel::Routing::DE::VRR +installation. + Uninstallation works as usual: ``` |