search for: create_package_list

Displaying 3 results from an estimated 3 matches for "create_package_list".

2015 Feb 26
2
Easy way to strip down CentOS?
...g, and I found a satisfying solution. It's not very elegant, but it works. Here goes. 1. First, make a list of the packages contained in a minimal installation. This is easy, since I can do a minimal installation in a virtual guest, and then run the following little script: #!/bin/bash # # create_package_list.sh # # (c) Niki Kovacs, 2014 TMP=/tmp RPMLIST=$TMP/rpmlist.txt PKGLIST=$TMP/pkglist.txt rm -f $RPMLIST $PKGLIST rpm -qa | sort > $RPMLIST sed 's/-[^-]*-[^-]*\.[^.]*\.[^.]*$//' $RPMLIST > $PKGLIST 2. I copy that package list to the 'core' file in my Git repo and run the foll...
2015 Feb 26
0
Easy way to strip down CentOS?
...It's not very elegant, but it works. Here goes. > > 1. First, make a list of the packages contained in a minimal installation. > This is easy, since I can do a minimal installation in a virtual guest, and > then run the following little script: > > #!/bin/bash > # > # create_package_list.sh > # > # (c) Niki Kovacs, 2014 > > TMP=/tmp > RPMLIST=$TMP/rpmlist.txt > PKGLIST=$TMP/pkglist.txt > rm -f $RPMLIST $PKGLIST > rpm -qa | sort > $RPMLIST > sed 's/-[^-]*-[^-]*\.[^.]*\.[^.]*$//' $RPMLIST > $PKGLIST > > 2. I copy that package list to the...
2015 Feb 26
2
Easy way to strip down CentOS?
On Wed, February 25, 2015 14:18, Brian Mathis wrote: > > I don't think there's a single yum command that lets you roll > back to the packages the were installed at a given point in > time. I also don't think that this would get you back to the > *exact* system as it was. # yum history rollback 1 # return to first post-update state. # yum history undo 1 # undo