[sisyphus] apt-get dist-upgrade

Dmitry V. Levin =?iso-8859-1?q?ldv_=CE=C1_alt-linux=2Eorg?=
Пн Ноя 26 12:55:34 MSK 2001


On Mon, Nov 26, 2001 at 10:20:07AM +0300, Sir Raorn wrote:
> Прихожу сегодня на работу, делаю apt-get dist-upgrade и опаньки:
> 
> [root на hell ~]# apt-get dist-upgrade
> Processing File Dependencies... Done
> Reading Package Lists... Done       
> Building Dependency Tree... Done
> Calculating Upgrade... Done
> [/dev/null]
> 122 packages upgraded, 0 newly installed, 1 to remove(replace) and 5 not upgraded.
> Need to get 0B/131MB of archives. After unpacking 1088kB will be used.
> Do you want to continue? [Y/n] 
> Rebuilding RPM database (this may take a few minutes)...
> rpmdb: write: 0x404b9eec, 4096: File too large
> rpmdb: Packages: write failed for page 2500
> error: db3 error(27) from db->sync: File too large
> rpmdb: write: 0x404b9eec, 4096: File too large
> rpmdb: Packages: write failed for page 2500
> error: db3 error(27) from db->sync: File too large
> rpmdb: write: 0x40871eec, 4096: File too large
> rpmdb: Packages: write failed for page 2500
> rpmdb: write: 0x408a1b64, 4096: File too large
> rpmdb: Packages: write failed for page 2501
> rpmdb: write: 0x408927a4, 4096: File too large
> rpmdb: Packages: write failed for page 2502
> [/dev/null]
> rpmdb: write: 0x4087d1ac, 4096: File too large
> rpmdb: Packages: write failed for page 2528
> rpmdb: write: 0x4088a5a4, 4096: File too large
> rpmdb: Packages: write failed for page 2529
> rpmdb: write: 0x40861aec, 4096: File too large
> rpmdb: Packages: write failed for page 2530
> File size limit exceeded (core dumped)
> [root на hell ~]#

Скорее всего, у Вас испортился файл /var/lib/rpm/Packages.
Если это так, то ничего хуже я себе представить не могу - база RPM
испорчена безвозвратно.

> Кто виноват и что делать?

- что говорил "ulimit -Sa" в тот момент?
- на какой файловой системе находится /var/lib/rpm?
- какое ядро использовалось в момент dist-upgrade'а?


Regards,
	Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto://ldv@alt-linux.org
ALT Linux Team      http://www.altlinux.ru/
Fandra Project      http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип     : application/pgp-signature
Размер  : 232 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url     : <http://lists.altlinux.org/pipermail/sisyphus/attachments/20011126/4597c507/attachment-0012.bin>


Подробная информация о списке рассылки Sisyphus