![]() |
[SOLVED] Error when updating python via apt - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Configuration (/forum-17.html) +--- Thread: [SOLVED] Error when updating python via apt (/thread-2232.html) |
Error when updating python via apt - mc-denmark - 13th Apr, 2014 08:08 PM Hey all I hope this is the right forum to put my question in I have a problem when updating python via APT here is a the code when trying to execute apt Terminal The following packages will be upgraded: libpython2.7 python2.7 python2.7-minimal 3 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Need to get 0 B/5,438 kB of archives. After this operation, 1,024 B of additional disk space will be used. Do you want to continue [Y/n]? Y Create a snapshot of '/tmp/btrfs-snap/root/@' in '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2014-04-13-0953' Delete subvolume '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2014-04-13-0947' @btrfs-auto-snap_apt-run-2014-04-13-0953, 1 created snapshots, 1 destroyed snapshots, 0 warnings. (Reading database ... 32416 files and directories currently installed.) Preparing to replace python2.7-minimal 2.7.3-6 (using .../python2.7-minimal_2.7.3-6+deb7u2_armhf.deb) ... Unpacking replacement python2.7-minimal ... dpkg: error processing /var/cache/apt/archives/python2.7-minimal_2.7.3-6+deb7u2_armhf.deb (--unpack): trying to overwrite '/usr/lib/python2.7/lib-dynload/_hashlib.so', which is also in package python2.7 2.7.3-6 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/python2.7-minimal_2.7.3-6+deb7u2_armhf.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Does anyone else have this problem, and can you help me fix it? Best regards, Michael Andersen RE: Error when updating python via apt - mk01 - 19th Apr, 2014 12:05 AM run this two commands as sudo http://forum.xbian.org/thread-2195-post-21660.html#pid21660 RE: Error when updating python via apt - IriDium - 19th Apr, 2014 03:59 AM See Python 2.7 RE: Error when updating python via apt - mc-denmark - 19th Apr, 2014 09:18 PM Thank you both. It did the trick. |