ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Nikolay A. Fetisov" <naf@naf.net.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] apt-get: bad object HEAD
Date: Fri, 22 May 2020 15:05:52 +0300
Message-ID: <c5688c819fdebbd5a385d2864d08928532013ba4.camel@naf.net.ru> (raw)
In-Reply-To: <CAA8E9_t3LBPDJWpjqkMY7gLPr0MRBsWeU98b5+OhivvG-+pNzg@mail.gmail.com>

В Пт, 22/05/2020 в 14:57 +0300, Yuri Khachaturyan пишет:
> пт, 22 мая 2020 г. в 14:46, Nikolay A. Fetisov <naf@naf.net.ru>:
> > 
.... 
> > Для учёта изменений от пакетов etckeeper добавляет в apt hook'и,
> > срабатывающие в начале и в конце работы apt-get. 
> > Т.е., перед установкой пакетов etckeeper запоминает в репозитории
> > имеющиеся изменения в /etc, и после установки пакетов - внесенные
> > установленными пакетами изменения.
> 
> Я правильно понимаю, что в случае чего, можно откатиться назад с
> помощью etckeeper?

В общем случае - нет; сильно зависит от того, что именно и кем/чем
менялось. Но можно как минимум посмотреть изменения, сравнить версии 
файлов в /etc/ за разное время, узнать кто и когда их менял, и т.п.

-- 
С уважением,
Николай Фетисов

      parent reply	other threads:[~2020-05-22 12:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-21 20:17 ` Michael Shigorin
2020-05-22  8:55     ` Michael Shigorin
2020-05-22 10:12     ` Nikolay A. Fetisov
2020-05-22 10:43         ` Nikolay A. Fetisov
2020-05-22 11:46             ` Nikolay A. Fetisov
2020-05-22 12:05                 ` Nikolay A. Fetisov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c5688c819fdebbd5a385d2864d08928532013ba4.camel@naf.net.ru \
    --to=naf@naf.net.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git