24th Apr, 2016, 06:43 PM
Upgrading pi1 gives a problem as below.
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?
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?