Форум русскоязычного сообщества Ubuntu


Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?
Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!

Автор Тема: apt-get поломался  (Прочитано 9555 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн ManJak

  • Автор темы
  • Новичок
  • *
  • Сообщений: 41
    • Просмотр профиля
apt-get поломался
« : 23 Августа 2006, 07:29:37 »
# apt-get remove msttcorefonts
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED
  msttcorefonts
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 168kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 128152 files and directories currently installed.)
Removing msttcorefonts ...
/etc/defoma/hints/msttcorefonts.hints: Unable to open, or empty.
dpkg: error processing msttcorefonts (--remove):
 subprocess pre-removal script returned error exit status 1
warning: /usr/share/X11/fonts/truetype does not exist or is not a directory
These fonts were provided by Microsoft "in the interest of cross-
platform compatibility".  This is no longer the case, but they are
still available from third parties.

You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.
/etc/defoma/hints/msttcorefonts.hints: Unable to open, or empty.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 msttcorefonts
E: Sub-process /usr/bin/dpkg returned an error code (1)

И теперь НИЧЕГО не поставить, удалить и т.д.,
он всегда пытается эти фонты добить!

# dpkg -r --force-all msttcorefonts
(Reading database ... 128152 files and directories currently installed.)
Removing msttcorefonts ...
/etc/defoma/hints/msttcorefonts.hints: Unable to open, or empty.
dpkg: error processing msttcorefonts (--remove):
 subprocess pre-removal script returned error exit status 1
warning: /usr/share/X11/fonts/truetype does not exist or is not a directory
These fonts were provided by Microsoft "in the interest of cross-
platform compatibility".  This is no longer the case, but they are
still available from third parties.

You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.
/etc/defoma/hints/msttcorefonts.hints: Unable to open, or empty.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 msttcorefonts

# apt-get upgrade
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.
Do you want to continue [Y/n]? y
Setting up msttcorefonts (1.2ubuntu3) ...
/etc/defoma/hints/msttcorefonts.hints: Unable to open, or empty.
dpkg: error processing msttcorefonts (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 msttcorefonts
E: Sub-process /usr/bin/dpkg returned an error code (1)

Что делать?
Как их переставить?

Оффлайн ManJak

  • Автор темы
  • Новичок
  • *
  • Сообщений: 41
    • Просмотр профиля
Re: apt-get поломался
« Ответ #1 : 23 Августа 2006, 07:32:49 »
Может есть спопсоб заставить его забыть, что он стоит уже (стот пакет)?  :o :'( :'(

Оффлайн ManJak

  • Автор темы
  • Новичок
  • *
  • Сообщений: 41
    • Просмотр профиля
Re: apt-get поломался
« Ответ #2 : 23 Августа 2006, 07:34:09 »
# apt-get --fix-broken install msttcorefonts
Reading package lists... Done
Building dependency tree... Done
msttcorefonts is already the newest version.
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.
Setting up msttcorefonts (1.2ubuntu3) ...
/etc/defoma/hints/msttcorefonts.hints: Unable to open, or empty.
dpkg: error processing msttcorefonts (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 msttcorefonts
E: Sub-process /usr/bin/dpkg returned an error code (1)

Оффлайн ManJak

  • Автор темы
  • Новичок
  • *
  • Сообщений: 41
    • Просмотр профиля
Re: apt-get поломался
« Ответ #3 : 23 Августа 2006, 07:51:46 »
Еще хуже =(

# dpkg -P msttcorefonts
(Reading database ... 128152 files and directories currently installed.)
Removing msttcorefonts ...
/etc/defoma/hints/msttcorefonts.hints: Unable to open, or empty.
dpkg: error processing msttcorefonts (--purge):
 subprocess pre-removal script returned error exit status 1
warning: /usr/share/X11/fonts/truetype does not exist or is not a directory
These fonts were provided by Microsoft "in the interest of cross-
platform compatibility".  This is no longer the case, but they are
still available from third parties.

You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.
/etc/defoma/hints/msttcorefonts.hints: Unable to open, or empty.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 msttcorefonts

Оффлайн ManJak

  • Автор темы
  • Новичок
  • *
  • Сообщений: 41
    • Просмотр профиля
Re: apt-get поломался
« Ответ #4 : 23 Августа 2006, 07:57:05 »
Ответа не знаю, но применил "грсзный хак":

vi /var/lib/dpkg/status
нашел и удалил упоминание о нем =)

 apt-get install msttcorefonts

И все Ок!

Оффлайн ManJak

  • Автор темы
  • Новичок
  • *
  • Сообщений: 41
    • Просмотр профиля
Re: apt-get поломался
« Ответ #5 : 23 Августа 2006, 08:39:25 »
Сорри, но тему не закрываю, может были более научные способы?

Оффлайн A2K

  • Активист
  • *
  • Сообщений: 402
    • Просмотр профиля
Re: apt-get поломался
« Ответ #6 : 23 Августа 2006, 10:10:53 »
наверное,

apt-get -f install

должно помоч
Gentoo.

Оффлайн ManJak

  • Автор темы
  • Новичок
  • *
  • Сообщений: 41
    • Просмотр профиля
Re: apt-get поломался
« Ответ #7 : 23 Августа 2006, 10:12:50 »
Не помогало, т.к., с выше писал, что пробовал "--fix-broken", а это тоже самое.  ::)

Оффлайн Фрай

  • Любитель
  • *
  • Сообщений: 76
    • Просмотр профиля
Re: apt-get поломался
« Ответ #8 : 18 Марта 2009, 17:26:22 »
sudo apt-get install msttcorefonts


E: Couldn't configure pre-depend libc6 for findutils, probably a dependency cycle.



пропал файл /var/lib/dpkg/status - ........... можно что нить сделать ? или системе конец?

Оффлайн npokypop

  • Новичок
  • *
  • Сообщений: 1
    • Просмотр профиля
Re: apt-get поломался
« Ответ #9 : 12 Августа 2009, 17:46:47 »
Помогите! Попытка поставить какой-либо пакет заканчиваеться ошибкой!

root@ubuntutv:/tmp/opensascng/open-sasc-ng# apt-get install libssl-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl-dev is already the newest version.
The following packages were automatically installed and are no longer required:
  libevent1
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up gconf2 (2.26.0-0ubuntu1) ...
gconf-merge-tree: symbol lookup error: gconf-merge-tree: undefined symbol: g_dgettext
dpkg: error processing gconf2 (--configure):
 subprocess post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of notification-daemon:
 notification-daemon depends on gconf2 (>= 2.10.1-2); however:
  Package gconf2 is not configured yet.
dpkg: error processing notification-daemon (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 gconf2
 notification-daemon
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

Страница сгенерирована за 0.033 секунд. Запросов: 23.