Re: [gentoo-user] create packages of every installed program
On 3/14/06, Richard Fish [EMAIL PROTECTED] wrote: On 3/14/06, Etaoin Shrdlu [EMAIL PROTECTED] wrote: On Tuesday 14 March 2006 18:50, Marco Calviani wrote: Hi list, i would like to ask how to create a package of EVERY program installed on the system, as a backup of everything. Just add buildpkg to your FEATURES in make.conf.That will work for new merges and updates.For current packages: quickpkg /var/db/pkg/*/* Where do they go when you do that? How do you use them later? -- Kevin O'Gorman, PhD
Re: [gentoo-user] create packages of every installed program
On 3/15/06, Kevin O'Gorman [EMAIL PROTECTED] wrote: quickpkg /var/db/pkg/*/* Where do they go when you do that? How do you use them later? They go into your PKGDIR directory (normally /usr/portage/packages). To use them later, specify the --usepkg/--usepkgonly options to emerge. For example, I currently have portage-2.1_pre3-r1 through portage-2.1_pre6-r2 packages. If I have a problem with pre6-r2, and want to quickly downgrade, I can do something like: emerge --oneshot --usepkgonly =sys-apps/portage-2.1_pre5-r4 This is really useful for large packages that take a long time to compile, like X, KDE, or openoffice.org. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] create packages of every installed program
On 3/15/06, Kevin O'Gorman [EMAIL PROTECTED] wrote: On 3/14/06, Richard Fish [EMAIL PROTECTED] wrote: On 3/14/06, Etaoin Shrdlu [EMAIL PROTECTED] wrote: On Tuesday 14 March 2006 18:50, Marco Calviani wrote: Hi list, i would like to ask how to create a package of EVERY program installed on the system, as a backup of everything. Just add buildpkg to your FEATURES in make.conf. That will work for new merges and updates. For current packages: quickpkg /var/db/pkg/*/* Where do they go when you do that? How do you use them later? They go to $PKGDIR, if that's set, else, /usr/portage/packages... You use them giving emerge the -k option, or -K to force it to only use binaries. man emerge -- Kevin O'Gorman, PhD -- Daniel da Veiga Computer Operator - RS - Brazil -BEGIN GEEK CODE BLOCK- Version: 3.1 GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ --END GEEK CODE BLOCK-- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] create packages of every installed program
Hi Richard, Where do they go when you do that? How do you use them later? They go into your PKGDIR directory (normally /usr/portage/packages). To use them later, specify the --usepkg/--usepkgonly options to emerge. For example, I currently have portage-2.1_pre3-r1 through portage-2.1_pre6-r2 packages. If I have a problem with pre6-r2, and want to quickly downgrade, I can do something like: emerge --oneshot --usepkgonly =sys-apps/portage-2.1_pre5-r4 This is really useful for large packages that take a long time to compile, like X, KDE, or openoffice.org. thanks for this info... in fact i was searching for the packages in the /var/db directory and i could not find anything... Regards, MC -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] create packages of every installed program
On Wed, 15 Mar 2006 10:07:10 -0700, Richard Fish wrote: To use them later, specify the --usepkg/--usepkgonly options to emerge. For example, I currently have portage-2.1_pre3-r1 through portage-2.1_pre6-r2 packages. If I have a problem with pre6-r2, and want to quickly downgrade, I can do something like: emerge --oneshot --usepkgonly =sys-apps/portage-2.1_pre5-r4 This is really useful for large packages that take a long time to compile, like X, KDE, or openoffice.org. It's also useful if a new version of a critical package screws your system, like glibc, gcc, python or portage. You can untar the package directly into the root filesystem to get a functional system back, then use emerge --usepkg after to do it properly (otherwise portage will think the new version is still installed). -- Neil Bothwick Windows NT is the OS of the future and always will be... signature.asc Description: PGP signature
Re: [gentoo-user] create packages of every installed program
On Tuesday 14 March 2006 18:50, Marco Calviani wrote: Hi list, i would like to ask how to create a package of EVERY program installed on the system, as a backup of everything. Just add buildpkg to your FEATURES in make.conf. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] create packages of every installed program
On 3/14/06, Etaoin Shrdlu [EMAIL PROTECTED] wrote: On Tuesday 14 March 2006 18:50, Marco Calviani wrote: Hi list, i would like to ask how to create a package of EVERY program installed on the system, as a backup of everything. Just add buildpkg to your FEATURES in make.conf. That will work for new merges and updates. For current packages: quickpkg /var/db/pkg/*/* -Richard -- gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list