nixp.ru v3.0

26 апреля 2024,
пятница,
15:35:57 MSK

ulian написал 31 октября 2006 года в 22:07 (1270 просмотров) Ведет себя как мужчина; открыл 5 тем в форуме, оставил 6 комментариев на сайте.

Здравствуйте. Расскажу сначала:

хотел поставить драйверы модема ltmodem-2.6.8-2-386.deb

(зря я это сделал т. к. ядро 2.8.18). Т. к. apt не нашел образ ядра 2.6.8 и пакет стал битым. Но он не удаляется:

ulian:~# apt-get remove ltmodem-2.6.8-2-386

Reading package lists… Done

Building dependency tree… Done

The following packages will be REMOVED:

 ltmodem-2.6.8-2-386

0 upgraded, 0 newly installed, 1 to remove and 194 not upgraded.

1 not fully installed or removed.

Need to get 0B of archives.

After unpacking 1348kB disk space will be freed.

Do you want to continue [Y/n]? y

(Reading database … 168020 files and directories currently installed.)

Removing ltmodem-2.6.8-2-386 …

find: warning: you have specified the -mindepth option after a non-option argument -name, but options are not positional (-mindepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

find: warning: you have specified the -maxdepth option after a non-option argument -name, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

Could not identify your distribution’s way of automatically loading modules,

Exiting.

dpkg: error processing ltmodem-2.6.8-2-386 (--remove):

subprocess post-removal script returned error exit status 1

Errors were encountered while processing:

ltmodem-2.6.8-2-386

E: Sub-process /usr/bin/dpkg returned an error code (1)

Кто-нибуть знает что надо сделать чтобы нормально удалить его. Еще проблема в том что я не могу устанавливать/удалять/обновлять другие пакеты!

Заранее благодарен за предложения решения этой проблемы.

Any_Key

Во первых — man apt-get хотя-бы для понимания почему не сработало.

потом выполнить dpkg -r ltmodem-2.6.8-2-386.deb

по желагию написать краткий реферат по теме.

Any_Key

что-то насчет пункта 2 я соврамши

делать лучше так:

dpkg -l | grep -i ltmodem | awk '{print $2}'

полученное имя скормить

apt-get remove --purge

ulian
Any_Key
что-то  насчет пункта 2 я соврамши

делать лучше так:

dpkg -l | grep -i ltmodem | awk '{print $2}'

полученное имя скормить

apt-get remove --purge

Тоже самое:

ulian:~# dpkg -l | grep -i ltmodem | awk '{print $2}'

ltmodem-2.6.8-2-386

ulian:~# apt-get remove --purge ltmodem-2.6.8-2-386

Reading package lists… Done

Building dependency tree… Done

The following packages will be REMOVED:

ltmodem-2.6.8-2-386

0 upgraded, 0 newly installed, 1 to remove and 194 not upgraded.

1 not fully installed or removed.

Need to get 0B of archives.

After unpacking 1348kB disk space will be freed.

Do you want to continue [Y/n]? y

(Reading database … 168020 files and directories currently installed.)

Removing ltmodem-2.6.8-2-386 …

find: warning: you have specified the -mindepth option after a non-option argument -name, but options are not positional (-mindepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

find: warning: you have specified the -maxdepth option after a non-option argument -name, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.

Could not identify your distribution’s way of automatically loading modules,

Exiting.

dpkg: error processing ltmodem-2.6.8-2-386 (--remove):

subprocess post-removal script returned error exit status 1

Errors were encountered while processing:

ltmodem-2.6.8-2-386

E: Sub-process /usr/bin/dpkg returned an error code (1)

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.