dik @ 24-05-2008 13:51:00

Как то давно ещё до поломки компа - устанавливал python2.5 на scratchbox
вместо того чтобы ставить python2.5-runtime меня дёрнуло скормить apt - python2.5*

в результате - куча траблов с зависимостями. Сегодня начал чистить, поудалял все пакеты python, и остальные с проблемами - осталось только это :

Код:

[sbox-CHINOOK_ARMEL: ~] > apt-get -f install             
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
/scratchbox/tools/bin/sh: line 1: /usr/sbin/dpkg-preconfigure: No such file or directory
Setting up base-files (3.1.osso2+3.1.10.osso12) ...
/scratchbox/tools/bin/chown: changing ownership of `/var/run/utmp': Operation not permitted
/scratchbox/tools/bin/chown: changing ownership of `/var/log/wtmp': Operation not permitted
/scratchbox/tools/bin/chown: changing ownership of `/var/log/btmp': Operation not permitted
/scratchbox/tools/bin/chown: changing ownership of `/var/log/lastlog': Operation not permitted
dpkg: error processing base-files (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 base-files
E: Sub-process /scratchbox/devkits/debian-etch/bin/dpkg returned an error code (1)
[sbox-CHINOOK_ARMEL: ~] >

Посоветуйте плиз что сделать - поправить postinstall скрипт и сделать то же самое руками или не трогать ?

Wall @ 24-05-2008 14:31:05

попробуйте fakeroot apt-get -f install вместо просто apt-get -f install

dik @ 24-05-2008 14:37:55

wow, всё поставилось. Спасибо