search for: rpmlist

Displaying 7 results from an estimated 7 matches for "rpmlist".

2015 Feb 26
2
Easy way to strip down CentOS?
...egant, 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 following script on the system I want to prune: #!...
2015 Feb 26
0
Easy way to strip down CentOS?
...t 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 > following script...
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
2016 May 18
1
one-shot yum command to match rpms between systems?
On Wed, 18 May 2016 18:17:10 +0100 James Hogarth wrote: > Well if you're planning on doing a yum update anyway just cat rpmlist | > xargs yum -y install That wouldn't remove the unneeded packages on the second system. -- MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
2016 May 18
3
one-shot yum command to match rpms between systems?
On Wed, 18 May 2016 09:30:54 +0100 James Hogarth wrote: > And of course as will be pointed out by many the only right answer is yum > update anyway given cherry picking updates is not supported. The objective is not to cherry pick updates, but rather to install a second system with packages that match the first system. After fine-tuning the installed packages and stripping out the
2016 May 18
0
one-shot yum command to match rpms between systems?
...ould be nice to just say "make that system look like this one" -- rsync for yum if you will. The specific package versions aren't important at that stage since I can run yum update after the initial installation. > Well if you're planning on doing a yum update anyway just cat rpmlist | xargs yum -y install Better solution to this though is a basic ansible task list defining what you need.
2005 Apr 22
1
Newbie Question
...have installed all systemimager/systeminstaller/flamethrower RPMS that machine. I would like to install OS through PXE boot on another Athlon machine. When I execute mkssimage for creating a image master # mksiimage --Add --name image1 --path /var/lib/systemimager/images/image1 --filename /root/rpmlist --location /tftpboot/rpm --arch i686 Warning: Missing required packages, continuing systemconfigurator at /usr/bin/mksiimage line 164 Couldn't find file for PYXML. at /usr/lib/SystemInstaller/PackageBest.pm line 110 Couldn't find file for raidtools. at /usr/lib/SystemInstall...