Nao consigo remover pacotes com o apt/dpkg
Bom dia a todos,
Sou novato no Debian e, por alguma bobagem minha, nao estou
conseguindo remover alguns pacotes.
Alterei meu source.list para conseguir instalar plugins como flash e
java, agora nao consigo fazer mais nada com o APT. Tudo o que tento da
erro no pacote webmin* (!?)
Se tento remover o webmin recebo a mensagem:
The following packages will be REMOVED:
webmin-core webmin-inetd
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 10.6MB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 107887 files and directories currently installed.)
Removing webmin-core ...
/var/lib/dpkg/info/webmin-core.prerm: line 5: /usr/sbin/update-webmin:
No such file or directory
dpkg: error processing webmin-core (--remove):
subprocess pre-removal script returned error exit status 1
/var/lib/dpkg/info/webmin-core.postinst: line 4:
/usr/sbin/update-webmin: No such file or directory
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Removing webmin-inetd ...
/var/lib/dpkg/info/webmin-inetd.prerm: line 5:
/usr/sbin/update-webmin: No such file or directory
dpkg: error processing webmin-inetd (--remove):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
webmin-core
webmin-inetd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Se tento fazer upgrade, mensagem abaixo:
srvdebian:/var/cache/apt# apt-get dist-upgrade -f
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following NEW packages will be installed:
webmin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B/1097kB of archives.
After unpacking 6062kB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
(Reading database ... 107887 files and directories currently installed.)
Unpacking webmin (from .../webmin_1.180-3_all.deb) ...
dpkg: error processing /var/cache/apt/archives/webmin_1.180-3_all.deb
(--unpack):
trying to overwrite `/usr/share/webmin/change-user/images/icon.gif',
which is also in package webmin-core
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/webmin_1.180-3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
srvdebian:/var/cache/apt#
Como faco para me livrar destes erros, consertar minha base de pacotes
e instalar os pacotes de plugins para o firefox?
muito obrigado
--
[]'s
( `*.¸ Elton
`*.¸ ) esbaptista em yahoo com br
¸.*)´ esbaptista em gmail com
(.*´
`*. uin 153513488
Linux User #198105 - http://counter.li.org
"A alegria não está nas coisas: está em nós! Acredito que ter as
coisas que queremos pode até nos trazer uma alegria momentânea,
mas ser o que queremos ser, fazer o que sonhamos é que nos traz
a verdadeira alegria!
- Göethe
Reply to: