web-dev-qa-db-fra.com

dpkg: paquet de traitement des erreurs samba-libs: AMD64 (--configure)

J'ai Ubuntu 16.04. J'ai installé de nombreux paquets à partir des référentiels par défaut par apt-get mais j'ai cette erreur dpkg depuis hier soir. Je suis nouveau sur Linux donc je ne sais pas grand chose.

Je reçois ceci sur Sudo apt install <package_name>:

$ Sudo apt install python-gnuplot 
Reading package lists... Done
Building dependency tree        
Reading state information... Done
The following additional packages will be installed:
  libblas-common libblas3 libgfortran3 liblapack3 python-numpy
Suggested packages:
  gfortran python-dev python-nose python-numpy-dbg python-numpy-doc
The following NEW packages will be installed:
  libblas-common libblas3 libgfortran3 liblapack3 python-gnuplot python-numpy
0 upgraded, 6 newly installed, 0 to remove and 237 not upgraded.
1 not fully installed or removed.
Need to get 4,192 kB/9,365 kB of archives.
After this operation, 18.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu xenial/main AMD64 libblas-common AMD64 3.6.0-2ubuntu2 [5,342 B]
Get:2 http://in.archive.ubuntu.com/ubuntu xenial/main AMD64 libblas3 AMD64 3.6.0-2ubuntu2 [147 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu xenial-updates/main AMD64 libgfortran3 AMD64 5.3.1-14ubuntu2.1 [260 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu xenial/main AMD64 liblapack3 AMD64 3.6.0-2ubuntu2 [1,938 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu xenial/main AMD64 python-numpy AMD64 1:1.11.0-1ubuntu1 [1,763 kB]                                   
Get:6 http://in.archive.ubuntu.com/ubuntu xenial/universe AMD64 python-gnuplot all 1.8-6 [79.1 kB]                                            
Fetched 4,192 kB in 20s(202kB/s)                                                                                                            
Selecting previously unselected package libblas-common.
 (Reading database ... 186488 files and directories currently installed.)
 Preparing to unpack .../libblas-common_3.6.0-2ubuntu2_AMD64.deb ...
Unpacking libblas-common (3.6.0-2ubuntu2) ...
Selecting previously unselected package libblas3.
Preparing to unpack .../libblas3_3.6.0-2ubuntu2_AMD64.deb ...
Unpacking libblas3 (3.6.0-2ubuntu2) ...
Selecting previously unselected package libgfortran3:AMD64.
Preparing to unpack .../libgfortran3_5.3.1-14ubuntu2.1_AMD64.deb ...
Unpacking libgfortran3:AMD64 (5.3.1-14ubuntu2.1) ...
Selecting previously unselected package liblapack3.
Preparing to unpack .../liblapack3_3.6.0-2ubuntu2_AMD64.deb ...
Unpacking liblapack3 (3.6.0-2ubuntu2) ...
Selecting previously unselected package python-numpy.
Preparing to unpack .../python-numpy_1%3a1.11.0-1ubuntu1_AMD64.deb ...
Unpacking python-numpy (1:1.11.0-1ubuntu1) ...
Selecting previously unselected package python-gnuplot.
Preparing to unpack .../python-gnuplot_1.8-6_all.deb ...
Unpacking python-gnuplot (1.8-6) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for doc-base (0.10.7) ...
Processing 1 added doc-base file...
dpkg: error processing package samba-libs:AMD64 (--configure):
 package samba-libs:AMD64 is not ready for configuration
 cannot configure (current status 'half-installed')
Setting up libblas-common (3.6.0-2ubuntu2) ...
Setting up libblas3 (3.6.0-2ubuntu2) ...
update-alternatives: using /usr/lib/libblas/libblas.so.3 to provide /usr/lib/libblas.so.3 (libblas.so.3) in auto mode
Setting up libgfortran3:AMD64 (5.3.1-14ubuntu2.1) ...
Setting up liblapack3 (3.6.0-2ubuntu2) ...
update-alternatives: using /usr/lib/lapack/liblapack.so.3 to provide /usr/lib/liblapack.so.3 (liblapack.so.3) in auto mode
Setting up python-numpy (1:1.11.0-1ubuntu1) ...
Setting up python-gnuplot (1.8-6) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
samba-libs:AMD64
E: Sub-process /usr/bin/dpkg returned an error code (1)
4
Keshav Kira

C'est un bug connu sur lequel on est en train de travailler. Ajoutez-vous à la liste des utilisateurs concernés sur cette page:

https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1581679

4
Amias

Cela a fonctionné pour moi:

Sudo apt-get install --reinstall samba-libs:AMD64
2
Alexandre Alves

Essaye ça:

Sudo systemctl stop nmbd

Sudo systemctl disable nmbd

Puis lancez:

Sudo apt-get install --reinstall samba-libs:AMD64

apt devrait être bon pour partir de là.

0
TonyWakuu