1

Добрый день

Errors were encountered while processing:
squid3
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up squid3 (3.1.6-1.2+squeeze2) ...
/var/lib/dpkg/info/squid3.postinst: 70: cannot open /etc/squid3/squid.conf: No such file
dpkg: error processing squid3 (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
squid3

Помогите починить сквид3 или снести его полностью. у меня стоит сквид 2 нормально работает меня устраивает, но вот 3 сквид ничего не дает сделать.

2

Попробуйте сначала

apt-get -f install

если это исправит состояние пакета, то можно будет удалить.

Пётр.

Пётр.

3

root@debian:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up squid3 (3.1.6-1.2+squeeze2) ...
/var/lib/dpkg/info/squid3.postinst: 70: cannot open /etc/squid3/squid.conf: No such file
dpkg: error processing squid3 (--configure):
subprocess installed post-installation script returned error exit status 2
configured to not write apport reports
                                      Errors were encountered while processing:
squid3
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@debian:~#

4

проблему решил удалив из папки
/var/lib/dpkg/info/
все что касается squid3
Надеюсь в ближайшие часы сервак не полетит))

5

Надеюсь, всё же из файлов, надо, кажется, из двух.
Мне раз или два тоже пришлось так делать.

Пётр.

Пётр.

6

сейчас все хорошо.
моя проблема была именно в присутствии тех файлов.
Но пользователям все таки советую прежде чем удалять какие либо файлы скопируйте их куда нибудь. А то мало -ли что вы удалите.