From: Sergey Indlin <indlin@hotbox.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Пропали модули :( при сбросе.
Date: Sun, 09 Mar 2003 23:56:10 +0300
Message-ID: <3E6BAA6A.8030206@hotbox.ru> (raw)
In-Reply-To: <361096646.20030309024631@mail.ru>
Alexey Titov пишет:
> Здравствуйте, community.
>
> После перезагрузки компьютера ("мигнул" свет, UPS не спас :()
> перестал работать PPP. По отчету - пропали модули (см. ниже).
> Как понимаю их надо восстановить из rpm, но как? Спасите!!!
У меня была подобная ситуация. Для уверенности написал простенький
скрипт на питоне, который чекит всю базу rpm и выводит пакеты в которых
пропали файлы.
#!/usr/bin/python
# Check integrity all rpms files
# Run from root account!
import commands
# List all packages
cmd = "rpm -qa --qf '%{NAME}\n'"
for pkg in commands.getoutput(cmd).splitlines():
res=commands.getoutput("LANGUAGE=C rpm -V "+pkg)
if res.find("missing") >= 0:
print pkg
Запускать от рута, т.к. юзеру не все файлы доступны на чтение, и могут
быть ложные срабатывания.
--
Sergey Indlin
JID: serj@abc92.ru, ICQ: 6317316
http://www.abc92.ru
prev parent reply other threads:[~2003-03-09 20:56 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-08 23:46 Alexey Titov
2003-03-09 2:01 ` [Comm] " Michael Shigorin
2003-03-09 9:53 ` [Comm] " Alexey Titov
2003-03-09 10:18 ` Michael Shigorin
2003-03-10 10:11 ` [Comm] " Alexey Titov
2003-03-11 18:57 ` [Comm] [JT] " Michael Shigorin
2003-03-09 11:53 ` [Comm] " Andrew Vorobey
2003-03-09 12:30 ` Michael Shigorin
2003-03-09 13:17 ` [Comm] Re: [Comm] Denis Smirnov
2003-03-09 16:52 ` Alexey Titov
2003-03-09 23:19 ` Denis Smirnov
2003-03-11 20:52 ` Re[2]: " Alexey Titov
2003-03-12 17:36 ` Denis Smirnov
2003-03-12 20:35 ` [Comm] Re: 2.4.20 Michael Shigorin
2003-03-12 21:31 ` Denis Smirnov
2003-03-13 22:46 ` Michael Shigorin
2003-03-09 20:56 ` Sergey Indlin [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=3E6BAA6A.8030206@hotbox.ru \
--to=indlin@hotbox.ru \
--cc=community@altlinux.ru \
/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