Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Error when updating python via apt
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Solved: Error when updating python via apt
13th Apr, 2014, 08:08 PM
Post: #1
mc-denmark Offline
Registered
Posts: 10
Joined: Sep 2013
Reputation: 0
Error when updating python via apt
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
Find all posts by this user
Quote this message in a reply
19th Apr, 2014, 12:05 AM
Post: #2
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Error when updating python via apt
run this two commands as sudo

http://forum.xbian.org/thread-2195-post-21660.html#pid21660

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
19th Apr, 2014, 03:59 AM
Post: #3
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: Error when updating python via apt
See Python 2.7

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
19th Apr, 2014, 09:18 PM
Post: #4
mc-denmark Offline
Registered
Posts: 10
Joined: Sep 2013
Reputation: 0
RE: Error when updating python via apt
Thank you both. It did the trick.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Apt-get raspbian python error jrmiscs 3 10,628 13th Jan, 2014 05:59 AM
Last Post: IriDium
  [PROBLEM] Error everytime i try to upgrade Python Exnor 9 34,787 21st Nov, 2013 08:57 PM
Last Post: alfaromeo

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 08:36 AM Powered By MyBB, © 2002-2025 MyBB Group.