![]() |
[SOLVED] Broken pipe fix? - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Installation (/forum-16.html) +--- Thread: [SOLVED] Broken pipe fix? (/thread-3545.html) |
Broken pipe fix? - Skywatch - 24th Apr, 2016 06:43 PM Upgrading pi1 gives a problem as below. Terminal xbian@kitchen ~ $ 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 0 not upgraded. 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-04-24-0929' 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-04-24-0929' in '/run/btrfs-snap/root/@last_good_known' Delete subvolume (no-commit): '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2016-04-23-2014' @btrfs-auto-snap_apt-run-2016-04-24-0929, 1 created snapshots, 1 destroyed snapshots, 0 warnings. (Reading database ... 30322 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) I have tried apt-get autoremove, that gives similar error. Apt-get -f install gives the above and even apt-get install samba-common won't install....I tried installing each package one at a time and still have the issue. ![]() ![]() This happens on both pi1 installs, so not isolated to one pi (one pi has 6 upgrade packages and the other 10 upgrade packages). Can anyone tell me how to fix this please? ![]() ![]() RE: Broken pipe fix? - JoySurfer - 24th Apr, 2016 08:24 PM Had the same issue. The only way is to rollback to an older btrfs snapshot. Look at the wiki at http://wiki.xbian.org/doku.php/snapshots. RE: Broken pipe fix? - Nachteule - 24th Apr, 2016 09:46 PM (24th Apr, 2016 06:43 PM)Skywatch Wrote: Can anyone tell me how to fix this please? This is not XBian issue. Raspbian built Samba packages with broken dependencies. Had same issue, can be solved by hard way: 1) remove all samba* packages Terminal sudo dpkg -r --force-all python-samba samba samba-common-bin samba-common samba-dsdb-modules samba-libs:armhf 2) Reinstall Samba and lib Terminal sudo apt-get install samba python-samba samba-common-bin samba-common samba-dsdb-modules samba-libs libsmbclient libldb1 python-ldb RE: Broken pipe fix? - Skywatch - 24th Apr, 2016 09:52 PM Thank you! - I'll give that a go! ![]() It needed an apt-get -f install in between those commands to get it done, but seems OK now! - Cheers! RE: Broken pipe fix? - Nachteule - 24th Apr, 2016 10:37 PM Seems that Raspbian guys were too fast releasing Samba packages. They switched to 4.2 whereas standard Debian still using 4.1 ![]() RE: Broken pipe fix? - Skywatch - 25th Apr, 2016 12:58 AM HAh! - Luckily we have you to help us out then! ![]() ![]() It also removed a huge locked cifs file on the server that I had been trying to get rid of for an hour! Ciao. RE: Broken pipe fix? - Nachteule - 25th Apr, 2016 01:36 AM Marked as solved RE: Broken pipe fix? - Exnor - 29th Apr, 2016 04:21 AM Thank you mates ![]() Was starting to get frustrated with this "broken Pipe" problem. |