Created
February 24, 2018 21:59
-
-
Save rpavlik/0d1a5b2d3cc4a9a436e884d10c692852 to your computer and use it in GitHub Desktop.
Find some installed packages and get just their names, suffixed by a forced version.
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 | |
# for instance, for fixing/removing a botched locally-build kernel. | |
dpkg -l|grep "bpo9+1.1" | sed -r 's/ii\s+(\S+).*/\1=4.14.13-1~bpo9+1/' | xargs echo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment