Created
September 29, 2022 14:09
-
-
Save derjohn/ebfdfcf557e1d7dd96bc77446a2d9299 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Virtualmin Package not working on older debian ? | |
# They packed the .deb with "xz" fragments inside, older debian debs don't understand deb + xz | |
# Repack them als gzip | |
# Example webmin-virtual-server_7.2.gpl-1_all.deb for debian wheezy | |
ar x webmin-virtual-server_7.2.gpl-1_all.deb | |
xz -d control.tar.xz | |
xz -d data.tar.xz | |
gzip control.tar | |
gzip data.tar | |
ar r webmin-virtual-server_7.2.gpl-1_all.deb debian-binary control.tar data.tar | |
dpkg -i webmin-virtual-server_7.2.gpl-1_all.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment