ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@altlinux.org>
To: community@lists.altlinux.org
Subject: Re: [Comm] Как переустановить всю систему с репозитория?
Date: Sat, 12 Sep 2020 16:55:03 +0300
Message-ID: <20200912135503.GO20087@imap.altlinux.org> (raw)
In-Reply-To: <d0a0b21a-eba9-9a57-be81-557118f82a49@gmail.com>

On Sat, Sep 12, 2020 at 09:24:11AM +0400, Aleksey Borisenkov wrote:
> >> Переустановка

А что стряслось-то?

> > rpm -qa --qf '%{name}\n' |sed '/^kernel-/d' |xargs apt-get reinstall -y
> Ну, так и с aptitude можно.
> sudo aptitude reinstall '~i!~n^kernel-.*'
> 
> Но если есть ещё какие пакеты, которых нет в репозитории, то от них,
> видимо, придётся либо избавиться, либо тоже исключить из переустановки.
> Узнать список можно с помощью apt-cache list-extras

Предлагаю добавить на http://altlinux.org/Apt/Tips --
если неохота своею рукой, давайте я.

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


  reply	other threads:[~2020-09-12 13:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-11 22:47 ` [Comm] Как переустановить всю сисему " Vladimir D. Seleznev
2020-09-12  5:24   ` Aleksey Borisenkov
2020-09-12 13:55     ` Michael Shigorin [this message]
2020-09-12 17:06         ` [Comm] Как переустановить всю систему " Michael Shigorin
2020-09-12 17:24             ` Michael Shigorin
2020-09-12 17:49                 ` Michael Shigorin

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=20200912135503.GO20087@imap.altlinux.org \
    --to=mike@altlinux.org \
    --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