Re: да не вылечит...
miha -> debian-russian@lists.debian.org @ Tue, 31 Jan 2006 17:19:40 +0200:
>> >>> Возился с win модемом на чипе intel. Скачал пакет и установил. В итоге
>> >>> получил ошибку. удалить пакет не могу ни через synaptic ни врукопашную.
>> >>> Получаю следующее:
>> >>>
>> >>> root@miha:/home/miha/Desktop# apt-get -f check
>> >>> Reading package lists... Done
>> >>> Building dependency tree... Done
>> >>> E: The package ltmodem-2.6.8-2-386 needs to be reinstalled, but I can't
>> >>> find an archive for it.
>> >>> root@miha:/home/miha/Desktop#
>> >>>
>> >>> Как можно исправить ошибку в базе?
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >> Проблема я думаю в самом репозитарии или как там сбор файлов назівается %)
>> >> Если
>> >>
>> >> apt-get -f не помогает, то как вариант - подождать слудующего обновления
>> >> пакетов в базе. Или если у тебя не было apt-get update етц. У меня бывает
>> >> относительно часто такое - ждём пару дней и оно сё обновляет, попробуй
>> >> поставить в /etc/apt/sources.list другой мирор етц. Или просто подожди.
>> >>
>> >>
>> M> Или dpkg --purge, как сказал товарисчь, но опять таки, думаю, сиё
>> M> может не помочь.
>>
>> Проблему "needs to be reinstalled" точно вылечит.
>>
>> --
>> Artem Chuprina
>> RFC2822: <ran{}ran.pp.ru> Jabber: ran@jabber.ran.pp.ru
>>
>> mv /dev/rookie /dev/hands
>>
>>
m> Вот что даёт Kpackage ......
m> <iha/Desktop/ltmodem-2.6.8-2-386_8.31a11_i386.deb' ;echo RESULT=$?
m> Выбор ранее не выбранного пакета ltmodem-2.6.8-2-386.
m> (Чтение базы данных... на данный момент установлено 119786 файлов и
m> каталогов.)
m> Подготовка к замене пакета ltmodem-2.6.8-2-386 8.31a11 (используется
m> файл .../ltmodem-2.6.8-2-386_8.31a11_i386.deb)...
m> Распаковывается замена для пакета ltmodem-2.6.8-2-386...
m> find: warning: you have specified the -mindepth option after a
m> non-option argument -name, but options are not positional (-mindepth
m> affects tests specified before it as well as those specified after it).
m> Please specify options before other arguments.
m> find: warning: you have specified the -maxdepth option after a
m> non-option argument -name, but options are not positional (-maxdepth
m> affects tests specified before it as well as those specified after it).
m> Please specify options before other arguments.
m> Could not identify your distribution's way of automatically loading
m> modules,
m> Exiting.
m> dpkg: предупреждение -- старый скрипт, выполняемый post-removal
m> возвратил код ошибки 1
m> dpkg: попытка использовать скрипт из нового пакета...
m> find: warning: you have specified the -mindepth option after a
m> non-option argument -name, but options are not positional (-mindepth
m> affects tests specified before it as well as those specified after it).
m> Please specify options before other arguments.
m> find: warning: you have specified the -maxdepth option after a
m> non-option argument -name, but options are not positional (-maxdepth
m> affects tests specified before it as well as those specified after it).
m> Please specify options before other arguments.
m> Could not identify your distribution's way of automatically loading
m> modules,
m> Exiting.
m> dpkg: не удалось обработать
m> параметр //home/miha/Desktop/ltmodem-2.6.8-2-386_8.31a11_i386.deb
m> (--install):
m> подпроцесс новый скрипт, выполняемый post-removal возвратил код ошибки
m> 1
m> find: warning: you have specified the -mindepth option after a
m> non-option argument -name, but options are not positional (-mindepth
m> affects tests specified before it as well as those specified after it).
m> Please specify options before other arguments.
m> find: warning: you have specified the -maxdepth option after a
m> non-option argument -name, but options are not positional (-maxdepth
m> affects tests specified before it as well as those specified after it).
m> Please specify options before other arguments.
m> Could not identify your distribution's way of automatically loading
m> modules,
m> Exiting.
m> dpkg: ошибка при очистке -
m> подпроцесс post-removal script возвратил код ошибки 1
m> При обработке следующих пакетов произошли ошибки:
m> //home/miha/Desktop/ltmodem-2.6.8-2-386_8.31a11_i386.deb
m> RESULT=1
Глючные скрипты лечатся посредством вставления в их начало exit 0.
Скрипты живут в /var/lib/dpkg/info.
--
Artem Chuprina
RFC2822: <ran{}ran.pp.ru> Jabber: ran@jabber.ran.pp.ru
Нет применения человеческому разуму! (c)JB
Reply to: