public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Automatically make backups of removed packages
@ 2010-08-17 19:53 Enrico Weigelt
  2010-08-17 20:19 ` Florian CROUZAT
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Enrico Weigelt @ 2010-08-17 19:53 UTC (permalink / raw
  To: gentoo-user

Hi folks,


is there any global option (eg. make.conf) to tell portage always
to do backups of uninstalled or overwritten packages ?


thx
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt@metux.de
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------



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

* Re: [gentoo-user] Automatically make backups of removed packages
  2010-08-17 20:19 ` Florian CROUZAT
@ 2010-08-17 20:15   ` Enrico Weigelt
  2010-08-17 20:26     ` Alan McKinnon
  0 siblings, 1 reply; 7+ messages in thread
From: Enrico Weigelt @ 2010-08-17 20:15 UTC (permalink / raw
  To: gentoo-user

* Florian CROUZAT <gentoo@floriancrouzat.net> wrote:

> What is that you want to backup ? 

The (binary) package content files. In something critical got 
removed or broken by accident (eg. toolchain or portage itself).
And this should be done automatically.

cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt@metux.de
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------



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

* Re: [gentoo-user] Automatically make backups of removed packages
  2010-08-17 19:53 [gentoo-user] Automatically make backups of removed packages Enrico Weigelt
@ 2010-08-17 20:19 ` Florian CROUZAT
  2010-08-17 20:15   ` Enrico Weigelt
  2010-08-17 20:21 ` Alan McKinnon
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Florian CROUZAT @ 2010-08-17 20:19 UTC (permalink / raw
  To: gentoo-user


On 17 août 2010, at 21:53, Enrico Weigelt wrote:

> Hi folks,
> 
> 
> is there any global option (eg. make.conf) to tell portage always
> to do backups of uninstalled or overwritten packages ?
> 
> 
> thx

What is that you want to backup ? Your distfiles directory should have the tarballs, if you don't erase them.
And you can consult the emerge logs (or qlop -u if you have q) to see what you unmerged.

----
Florian (SuperFlo) CROUZAT
/ For security reasons, all text in this mail 
  is double-rot13 encrypted. /




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

* Re: [gentoo-user] Automatically make backups of removed packages
  2010-08-17 19:53 [gentoo-user] Automatically make backups of removed packages Enrico Weigelt
  2010-08-17 20:19 ` Florian CROUZAT
@ 2010-08-17 20:21 ` Alan McKinnon
  2010-08-17 20:25 ` Paul Hartman
  2010-08-18  0:23 ` Albert Hopkins
  3 siblings, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2010-08-17 20:21 UTC (permalink / raw
  To: gentoo-user; +Cc: Enrico Weigelt

On Tuesday 17 August 2010 21:53:32 Enrico Weigelt wrote:
> Hi folks,
> 
> 
> is there any global option (eg. make.conf) to tell portage always
> to do backups of uninstalled or overwritten packages ?

Not that I know of.

What you could do is always make a backup of all packages when they are 
installed with FEATURES=buildpkg. When you uninstall them, the last backup you 
made it already there.

If you keep the backups reasonably pruned, total size will be approximately 
the size of /usr and /opt together.

Or, you could just habitually quickpkg and package you think you might want to 
keep before you unmerge it.


-- 
alan dot mckinnon at gmail dot com



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

* Re: [gentoo-user] Automatically make backups of removed packages
  2010-08-17 19:53 [gentoo-user] Automatically make backups of removed packages Enrico Weigelt
  2010-08-17 20:19 ` Florian CROUZAT
  2010-08-17 20:21 ` Alan McKinnon
@ 2010-08-17 20:25 ` Paul Hartman
  2010-08-18  0:23 ` Albert Hopkins
  3 siblings, 0 replies; 7+ messages in thread
From: Paul Hartman @ 2010-08-17 20:25 UTC (permalink / raw
  To: gentoo-user

On Tue, Aug 17, 2010 at 2:53 PM, Enrico Weigelt <weigelt@metux.de> wrote:
> Hi folks,
>
>
> is there any global option (eg. make.conf) to tell portage always
> to do backups of uninstalled or overwritten packages ?

If you mean binary backup, you can enable buildpkg in FEATURES and
wait for next+1 updates, then you'll have binary package of current
and previous version...

If you just want to know what was previously installed, but don't mind
recompiling, you can use the "demerge" package, which saves state and
allows you to revert to a previous state (emerge back to exact package
versions that were installed at a certain date and time). It can also
use binary packages if they are available (when used alongside
buildpkg for example).

There are also commands to create binpkg of an already-installed
package, if you have specific times you want this but not all of the
time.



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

* Re: [gentoo-user] Automatically make backups of removed packages
  2010-08-17 20:15   ` Enrico Weigelt
@ 2010-08-17 20:26     ` Alan McKinnon
  0 siblings, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2010-08-17 20:26 UTC (permalink / raw
  To: gentoo-user

On Tuesday 17 August 2010 22:15:43 Enrico Weigelt wrote:
> * Florian CROUZAT <gentoo@floriancrouzat.net> wrote:
> > What is that you want to backup ?
> 
> The (binary) package content files. In something critical got
> removed or broken by accident (eg. toolchain or portage itself).
> And this should be done automatically.

FEATURES=buildsyspkg

-- 
alan dot mckinnon at gmail dot com



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

* Re: [gentoo-user] Automatically make backups of removed packages
  2010-08-17 19:53 [gentoo-user] Automatically make backups of removed packages Enrico Weigelt
                   ` (2 preceding siblings ...)
  2010-08-17 20:25 ` Paul Hartman
@ 2010-08-18  0:23 ` Albert Hopkins
  3 siblings, 0 replies; 7+ messages in thread
From: Albert Hopkins @ 2010-08-18  0:23 UTC (permalink / raw
  To: gentoo-user

On Tue, 2010-08-17 at 21:53 +0200, Enrico Weigelt wrote:
> Hi folks,
> 
> 
> is there any global option (eg. make.conf) to tell portage always
> to do backups of uninstalled or overwritten packages ?

I always build binary packages when I emerge them (i.e.
FEATURES=buildpkg).  That way if I uninstall something or it is upgraded
etc. I always have a copy).

-a






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

end of thread, other threads:[~2010-08-18  1:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-17 19:53 [gentoo-user] Automatically make backups of removed packages Enrico Weigelt
2010-08-17 20:19 ` Florian CROUZAT
2010-08-17 20:15   ` Enrico Weigelt
2010-08-17 20:26     ` Alan McKinnon
2010-08-17 20:21 ` Alan McKinnon
2010-08-17 20:25 ` Paul Hartman
2010-08-18  0:23 ` Albert Hopkins

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