Автор Тема: apt-get help  (Прочетена 674 пъти)

nay

  • Новаци
  • *
  • Публикации: 1
    • Профил
apt-get help
« -: Sep 07, 2004, 15:49 »
hi all ! stana ne6to s linuxa i sega kato se otipvam da instaliram ne6to s apt-get dava nqkvi gre6ki ,molq nqkoi ako ima nqkva idea ot kakvo moje da byde ,molq da mi pomogle .
izpolzvam Debian 3 .

Preconfiguring packages ...
(Reading database ... 19942 files and directories currently installed.)
Preparing to replace libreadline4 4.2a-5 (using .../libreadline4_4.2a-5_i386.deb) ...
install-info: failed to lock dir for editing! No such file or directory
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
install-info: failed to lock dir for editing! No such file or directory
dpkg: error processing /var/cache/apt/archives/libreadline4_4.2a-5_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 2
install-info: failed to lock dir for editing! No such file or directory
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Preparing to replace m4 1.4-14 (using .../archives/m4_1.4-14_i386.deb) ...
install-info: failed to lock dir for editing! No such file or directory
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
install-info: failed to lock dir for editing! No such file or directory
dpkg: error processing /var/cache/apt/archives/m4_1.4-14_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 2
install-info: failed to lock dir for editing! No such file or directory
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 2
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_4.0.20-10.dotdeb.0_i386.deb) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libreadline4_4.2a-5_i386.deb
 /var/cache/apt/archives/m4_1.4-14_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Активен

FuckBTK

  • Напреднали
  • *****
  • Публикации: 37
    • Профил
    • WWW
apt-get help
« Отговор #1 -: Sep 11, 2004, 06:44 »
Цитат
dpkg problem with install-info
Herve Lombaert, Nov, 11th, 2001

If you're trying to "dpkg --configure aPackage" and you got this error message:

  install-info: failed to lock dir for editing! No such file or directory

Try to create a dummy dir file with:

  echo 1 > /usr/info/dir

I found this trick by analysing the script "install-info" around the output of our error message.


Пробвай така ;-)
Активен

"Linux - a new age for the free software"

Agent_SMITH

  • Administrator
  • Напреднали
  • *****
  • Публикации: 3082
  • matrix kernel module
    • Профил
apt-get help
« Отговор #2 -: Sep 11, 2004, 21:08 »
Опитай така:

#apt-get clean
#apt-get update
#apt-get -f install

Ако грешката остане, или има проблеми по трасето, дай да видим:

/etc/apt/sources.list
/etc/apt/apt.conf

Успех '<img'>
Активен

-= СПАЗВАЙТЕ ПРАВИЛАТА НА ФОРУМА =-

  • Гост
apt-get help
« Отговор #3 -: Sep 14, 2004, 12:05 »
nai-sigurnoto e (izwinqwam se za latinicata):
dpkg --configure -a ili kakto kazaha otgore
apt-get -f install

(az si predpochitam dpkg --configure -a)
Активен