ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergei Dolmatov <sergei@dolmatov.dsb.ru>
To: AltLinux Sisyphus <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Проблема с alternatives
Date: Thu, 9 Sep 2004 09:12:46 +0900
Message-ID: <20040909001245.GA11864@dolmatov.dsb.ru> (raw)
In-Reply-To: <20040908125133.GV27133@pyro.hopawar.private.net>

On Wed, Sep 08, 2004 at 07:51:33PM +0700, Alexey Morozov wrote:
> On Wed, Sep 08, 2004 at 09:18:13PM +0900, Sergei Dolmatov wrote:
> > Видимо, за время отпуска я от чего-то жутко отстал... Обновил alternatives
> > у себя, и через некоторое время заметил, что они слетели совсем.
> :-) Собрат по несчастью :-)

Ну вот, все легче...

> > 
> > alternatives-validate ругается на "fatal: wrong number of the fields".
> > Файлы в /etc/alternatives/packages.d - пустые, размером от 3 до 54 байт...
> И содержимое в них - как правило смесь \x09 и \x0A.

Хм. Точно. Как-то сразу не догадался в hex посмотреть.

> > Симлинков вида /etc/alternatives/|usr|bin|XXX теперь нет. Вручную кое-что
> > поменял тупо, но, видимо, это не есть правильный вариант.
> Ну, это единственный вариант для того, чтобы привести систему хоть в
> сколько-нибудь рабочее состояние :-)

Ага, а сколько линков я еще не заметил? Запустить разве что что поиск
битых симлинков в /usr/bin...

> > Что это - глюк файловой системы, глюк системы, глюк при обновлении
> > alternatives? И что, собственно, теперь можно сделать?..
> Плакать, переустанавливая затронутые пакеты. Но вначале спросить
> у inger, "а чо было-то ?!" и устранить проблему с альтернативами.

При переустановке - все равно не проходит alternatives-helper, выдавая все
тот же "fatal: wrong number of fields". Я его, конечно, понимаю, т.к.
распарсить правильно весь этот набор 0x09 и 0x0a практически невозможно...
;)

inger, "а чо было-то?!" :)

-- 
Regards,
Sergei Dolmatov.
---
A formal parsing algorithm should not always be used.
		-- D. Gries


  reply	other threads:[~2004-09-09  0:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-08 12:18 Sergei Dolmatov
2004-09-08 12:51 ` Alexey Morozov
2004-09-09  0:12   ` Sergei Dolmatov [this message]
2004-09-09  4:01     ` Alexey Morozov
2004-09-20 12:08 ` Stanislav Ievlev

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=20040909001245.GA11864@dolmatov.dsb.ru \
    --to=sergei@dolmatov.dsb.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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