Error al Instalar SAMBA

¿Algo falla o no sabes como funciona? Pide ayuda aquí!
Responder
maxfarin
Pi Newbie
Pi Newbie
Mensajes: 1
Registrado: 13 Ago 2017, 16:21
Agradecido: 0
Agradecimiento recibido: 0

Hola! estoy tratando de instalar SAMBA , lo he instalado en otra version de raspbian y funciono. en esta no hay caso, me dice lo siguiente, podrian ayudarme? gracias!

pi@raspberrypi:~ $ sudo apt-get install samba samba-common-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libgssapi3-heimdal libheimntlm0-heimdal
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  attr debconf libaio1 libfile-copy-recursive-perl libhdb9-heimdal libldb1
  libsmbclient libtdb1 python-crypto python-dnspython python-ldb python-ntdb
  python-samba python-tdb samba-common samba-dsdb-modules samba-libs
  samba-vfs-modules tdb-tools update-inetd
Suggested packages:
  debconf-doc debconf-utils libterm-readline-gnu-perl libgtk2-perl
  libnet-ldap-perl libqtgui4-perl libqtcore4-perl python-crypto-dbg
  python-crypto-doc bind9 bind9utils ctdb ldb-tools smbldap-tools winbind
  heimdal-clients
Recommended packages:
  debconf-i18n
The following NEW packages will be installed:
  attr libaio1 libfile-copy-recursive-perl libhdb9-heimdal python-crypto
  python-dnspython python-ldb python-ntdb python-samba python-tdb samba
  samba-common-bin samba-dsdb-modules samba-vfs-modules tdb-tools update-inetd
The following packages will be upgraded:
  debconf libldb1 libsmbclient libtdb1 samba-common samba-libs
6 upgraded, 16 newly installed, 0 to remove and 293 not upgraded.
1 not fully installed or removed.
Need to get 0 B/8,476 kB of archives.
After this operation, 25.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 132662 files and directories currently installed.)
Preparing to unpack .../debconf_1.5.56+deb8u1_all.deb ...
/var/lib/dpkg/info/debconf.prerm: 24: /var/lib/dpkg/info/debconf.prerm: py3clean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 24: /var/lib/dpkg/tmp.ci/prerm: py3clean: not found
dpkg: error processing archive /var/cache/apt/archives/debconf_1.5.56+deb8u1_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/debconf.postinst: 82: /var/lib/dpkg/info/debconf.postinst: py3compile: not found
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 /var/cache/apt/archives/debconf_1.5.56+deb8u1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Avatar de Usuario
funambuli
Pi Beta
Pi Beta
Mensajes: 144
Registrado: 22 Ene 2017, 21:43
Agradecido: 0
Agradecimiento recibido: 0

Muy buenas maxfarin!!!

Bueno tal y como veo el proceso de instalación, puedes probar lo siguiente:

sudo apt-get -y --purge remove samba samba-common-bin && sudo apt-get -y autoremove && sudo apt-get autoclean && sudo apt-get clean && sudo apt-get update && sudo -y apt-get dist-upgrade && sudo apt-get -y install samba samba-common-bin

Explico los comandos a groso modo para quien lo necesite:

- sudo apt-get -y --purge remove samba samba-common-bin && sudo apt-get -y autoremove

Desinstalas samba y paquetes innecesarios

- sudo apt-get autoclean && sudo apt-get clean && sudo apt-get update

Limpias paquetes .deb descargados y actualizas la lista de paquete

- sudo -y apt-get dist-upgrade

Actualiza la distro

- sudo apt-get -y install samba samba-common-bin

Y por último instalas samba.

Ya nos cuentas!!!
La mejor forma de agradecer la ayuda es brindársela a quien la necesite.
Salud y red!!!
Responder