zfs-builds-mm/replace_packages_ubuntu

6 lines
283 B
Text
Raw Normal View History

2019-07-06 23:40:11 +02:00
#!/bin/bash
apt update
apt-get install python3 python3-dev python3-setuptools python3-cffi dkms python3-distutils gdebi -y
2019-07-08 21:34:29 +02:00
apt remove "zfs*" libnvpair1 libnvpair1linux libuutil1linux libzfs2linux libzpool2linux -y
2019-07-06 23:40:11 +02:00
for file in *$1*.deb; do sudo gdebi -q --non-interactive $file; done