public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] create packages of every installed program
@ 2006-03-14 17:50 Marco Calviani
  2006-03-14 18:14 ` Etaoin Shrdlu
  0 siblings, 1 reply; 8+ messages in thread
From: Marco Calviani @ 2006-03-14 17:50 UTC (permalink / raw
  To: gentoo-user

Hi list,
  i would like to ask how to create a package of EVERY program
installed on the system, as a backup of everything.

Regards,
MC

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] create packages of every installed program
  2006-03-14 17:50 [gentoo-user] create packages of every installed program Marco Calviani
@ 2006-03-14 18:14 ` Etaoin Shrdlu
  2006-03-14 19:45   ` Richard Fish
  0 siblings, 1 reply; 8+ messages in thread
From: Etaoin Shrdlu @ 2006-03-14 18:14 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] create packages of every installed program
  2006-03-14 18:14 ` Etaoin Shrdlu
@ 2006-03-14 19:45   ` Richard Fish
  2006-03-15 16:53     ` Kevin O'Gorman
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Fish @ 2006-03-14 19:45 UTC (permalink / raw
  To: gentoo-user

On 3/14/06, Etaoin Shrdlu <shrdlu@unlimitedmail.org> 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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] create packages of every installed program
  2006-03-14 19:45   ` Richard Fish
@ 2006-03-15 16:53     ` Kevin O'Gorman
  2006-03-15 17:07       ` Richard Fish
  2006-03-15 17:14       ` Daniel da Veiga
  0 siblings, 2 replies; 8+ messages in thread
From: Kevin O'Gorman @ 2006-03-15 16:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 597 bytes --]

On 3/14/06, Richard Fish <bigfish@asmallpond.org> wrote:
>
> On 3/14/06, Etaoin Shrdlu <shrdlu@unlimitedmail.org> 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

[-- Attachment #2: Type: text/html, Size: 999 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] create packages of every installed program
  2006-03-15 16:53     ` Kevin O'Gorman
@ 2006-03-15 17:07       ` Richard Fish
  2006-03-15 17:16         ` Marco Calviani
  2006-03-15 22:17         ` Neil Bothwick
  2006-03-15 17:14       ` Daniel da Veiga
  1 sibling, 2 replies; 8+ messages in thread
From: Richard Fish @ 2006-03-15 17:07 UTC (permalink / raw
  To: gentoo-user

On 3/15/06, Kevin O'Gorman <kogorman@gmail.com> 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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] create packages of every installed program
  2006-03-15 16:53     ` Kevin O'Gorman
  2006-03-15 17:07       ` Richard Fish
@ 2006-03-15 17:14       ` Daniel da Veiga
  1 sibling, 0 replies; 8+ messages in thread
From: Daniel da Veiga @ 2006-03-15 17:14 UTC (permalink / raw
  To: gentoo-user

On 3/15/06, Kevin O'Gorman <kogorman@gmail.com> wrote:
> On 3/14/06, Richard Fish <bigfish@asmallpond.org> wrote:
>
> > On 3/14/06, Etaoin Shrdlu <shrdlu@unlimitedmail.org> 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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] create packages of every installed program
  2006-03-15 17:07       ` Richard Fish
@ 2006-03-15 17:16         ` Marco Calviani
  2006-03-15 22:17         ` Neil Bothwick
  1 sibling, 0 replies; 8+ messages in thread
From: Marco Calviani @ 2006-03-15 17:16 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] create packages of every installed program
  2006-03-15 17:07       ` Richard Fish
  2006-03-15 17:16         ` Marco Calviani
@ 2006-03-15 22:17         ` Neil Bothwick
  1 sibling, 0 replies; 8+ messages in thread
From: Neil Bothwick @ 2006-03-15 22:17 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 921 bytes --]

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...

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-03-15 22:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-14 17:50 [gentoo-user] create packages of every installed program Marco Calviani
2006-03-14 18:14 ` Etaoin Shrdlu
2006-03-14 19:45   ` Richard Fish
2006-03-15 16:53     ` Kevin O'Gorman
2006-03-15 17:07       ` Richard Fish
2006-03-15 17:16         ` Marco Calviani
2006-03-15 22:17         ` Neil Bothwick
2006-03-15 17:14       ` Daniel da Veiga

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox