Forum

Full Version: problem installing new pack
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I am not really sure if this is the correct places to post this but I guess some one will let me know xD.

I have a problem I am trying to installs but I am getting this message.
Terminal

xbian@xbian ~ $ sudo apt-get install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
samba : Depends: samba-common-bin (= 2:4.2.10+dfsg-0+deb8u2) but 2:4.1.17+dfsg-2+deb8u2 is to be installed
Depends: samba-libs (= 2:4.2.10+dfsg-0+deb8u2) but 2:4.1.17+dfsg-2+deb8u2 is to be installed
samba-common-bin : Depends: samba-common (= 2:4.1.17+dfsg-2+deb8u2) but 2:4.2.10+dfsg-0+deb8u2 is to be installed
samba-libs : Depends: libldb1 (< 2:1.1.18~) but 2:1.1.20-0+deb8u1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Also I tried apt-get -f install
Terminal

sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libgssapi3-heimdal libheimntlm0-heimdal libkdc2-heimdal
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libsmbclient python-samba samba samba-common-bin samba-dsdb-modules samba-libs
Suggested packages:
bind9 bind9utils ctdb ldb-tools smbldap-tools winbind heimdal-clients
Recommended packages:
attr samba-vfs-modules
The following packages will be upgraded:
libsmbclient python-samba samba samba-common-bin samba-dsdb-modules samba-libs
6 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
5 not fully installed or removed.
Need to get 0 B/7,000 kB of archives.
After this operation, 2,989 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Create a snapshot of '/run/btrfs-snap/root/@' in '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2016-05-15-0416'
Delete subvolume (no-commit): '/run/btrfs-snap/root/@last_good_known'
Create a snapshot of '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2016-05-15-0416' in '/run/btrfs-snap/root/@last_good_known'
Delete subvolume (no-commit): '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2016-05-14-2156'
@btrfs-auto-snap_apt-run-2016-05-15-0416, 1 created snapshots, 1 destroyed snapshots, 0 warnings.
(Reading database ... 34392 files and directories currently installed.)
Preparing to unpack .../samba-libs_2%3a4.2.10+dfsg-0+deb8u2_armhf.deb ...
Unpacking samba-libs:armhf (2:4.2.10+dfsg-0+deb8u2) over (2:4.1.17+dfsg-2+deb8u2) ...
dpkg: error processing archive /var/cache/apt/archives/samba-libs_2%3a4.2.10+dfsg-0+deb8u2_armhf.deb (--unpack):
trying to overwrite '/usr/lib/arm-linux-gnueabihf/samba/process_model/onefork.so', which is also in package samba 2:4.1.17+dfsg-2+deb8u2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/samba-libs_2%3a4.2.10+dfsg-0+deb8u2_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

the only I can see is I have a broken pipe.... Them Should I call a plumber? or do you know a good one? Tongue

I tried purge and autoremove..... but nothing..... Confused

them if someone knows a possible solution and shares it with me, I will be thankful. by the way I have a RP1-B
isn't SAMBA installed by default? And why not use xbian-config from SSH as pictured or even xbian-config from within Kodi GUI?

I had same issues, solved this by the hard way Dodgy

First, remove all Samba packages:
Terminal

sudo dpkg -r --force-all python-samba samba samba-common-bin samba-common samba-dsdb-modules samba-libs:armhf

After that, reinstall everything:
Terminal

apt-get install samba samba-common python-samba samba-common-bin samba-dsdb-modules samba-libs libsmbclient


And voila, everything is ok again Smile
Terminal

dpkg -l | grep samba
ii python-samba 2:4.2.10+dfsg-0+deb8u2 armhf Python bindings for Samba
ii samba 2:4.2.10+dfsg-0+deb8u2 armhf SMB/CIFS file, print, and login server for Unix
ii samba-common 2:4.2.10+dfsg-0+deb8u2 all common files used by both the Samba server and client
ii samba-common-bin 2:4.2.10+dfsg-0+deb8u2 armhf Samba common files used by both the server and the client
ii samba-dsdb-modules 2:4.2.10+dfsg-0+deb8u2 armhf Samba Directory Services Database
ii samba-libs:armhf 2:4.2.10+dfsg-0+deb8u2 armhf Samba core libraries
ii xbian-package-samba 20150219-0 armhf Windows <--> linux filesharing 20150219-0
Btw, this was already reported and solved here
(15th May, 2016 09:55 PM)Nachteule Wrote: [ -> ]I had same issues, solved this by the hard way Dodgy


(15th May, 2016 09:58 PM)Nachteule Wrote: [ -> ]Btw, this was already reported and solved here
everything is working again
Thank you

I have an extra small question. I was looking to /etc/apt/source.list and I saw that the repository is Jessey.... is it ok or should be wheezy?
(16th May, 2016 12:49 AM)akitolong Wrote: [ -> ]I have an extra small question. I was looking to /etc/apt/source.list and I saw that the repository is Jessey.... is it ok or should be wheezy?

It is NOT Jessey -- it is Jessie .

And yes, it is ok
Marked as solved
So is this error caused by XBian being ahead of the standard samba jessie package?
No - XBian is using standard Jessie packages for Samba. The culprit in this case is Raspbian, seems to be wrong dependencies
Reference URL's