From: Aleksey Borisenkov <grizlik78@gmail.com>
To: community@lists.altlinux.org
Subject: Re: [Comm] Как переустановить всю сисему с репозитория?
Date: Sat, 12 Sep 2020 09:24:11 +0400
Message-ID: <d0a0b21a-eba9-9a57-be81-557118f82a49@gmail.com> (raw)
In-Reply-To: <20200911224753.GA1339614@portlab>
12.09.2020 02:47, Vladimir D. Seleznev пишет:
> On Fri, Sep 11, 2020 at 11:03:32PM +0300, belka wrote:
>>
>> Переустановка
>> sudo aptitude reinstall '~i'
>> показал ошибку
>> E: I wasn't able to locate file for the kernel-image-std-def#1:5.4.28-alt1:p9+248518.100.1.1@1585233118 package. This might mean you need to manually fix this package.
>> Нужна другая команда
>
> Попробуйте такую команду от рута:
>
> rpm -qa --qf '%{name}\n' |sed '/^kernel-/d' |xargs apt-get reinstall -y
>
> и потом
>
> update-kernel
Ну, так и с aptitude можно.
sudo aptitude reinstall '~i!~n^kernel-.*'
Но если есть ещё какие пакеты, которых нет в репозитории, то от них,
видимо, придётся либо избавиться, либо тоже исключить из переустановки.
Узнать список можно с помощью
apt-cache list-extras
next prev parent reply other threads:[~2020-09-12 5:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-11 22:47 ` Vladimir D. Seleznev
2020-09-12 5:24 ` Aleksey Borisenkov [this message]
2020-09-12 13:55 ` [Comm] Как переустановить всю систему " Michael Shigorin
2020-09-12 17:06 ` 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=d0a0b21a-eba9-9a57-be81-557118f82a49@gmail.com \
--to=grizlik78@gmail.com \
--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