Linux за българи: Форуми

Linux секция за начинаещи => Настройка на програми => Темата е започната от: nay в Sep 07, 2004, 15:49



Титла: apt-get help
Публикувано от: nay в 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)


Титла: apt-get help
Публикувано от: FuckBTK в 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.


Пробвай така ;-)


Титла: apt-get help
Публикувано от: Agent_SMITH в Sep 11, 2004, 21:08
Опитай така:

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

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

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

Успех ;)


Титла: apt-get help
Публикувано от: в 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)