[Python-Dev] Fw: fail to fetch python-dev for raspian with details of error message

Ken Chan kwchan at tsingma.com.hk
Mon Apr 21 02:25:28 CEST 2014


Dear sir,

I am working on WebIOPi where library of python-dev is needed, 
so I use "sudo apt-get install python-dev" to install it. 


Then returned message of:     fail to fetch http://mirrordirector.raspbian.org/raspbian/ wheezy......



  details of error message:
  Found Python 2.7.3rc2...
  Trying to install python-dev using apt-get
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following extra packages will be installed:
    libexpat1-dev libssl-dev libssl-doc python2.7-dev
  The following NEW packages will be installed:
    libexpat1-dev libssl-dev libssl-doc python-dev python2.7-dev
  0 upgraded, 5 newly installed, 0 to remove and 3 not upgraded.
  Need to get 31.3 MB of archives.
  After this operation, 42.2 MB of additional disk space will be used.
  Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main python2.7-dev armhf 2.7.3~rc2-2.1
    404  Not Found
  Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main python-dev all 2.7.3~rc2-1 [912 B]
  Get:2 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libexpat1-dev armhf 2.1.0-1 [210 kB]
  Get:3 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libssl-dev armhf 1.0.1c-4+rpi1 [1,494 kB]
  Get:4 http://mirrordirector.raspbian.org/raspbian/ wheezy/main libssl-doc all 1.0.1c-4+rpi1 [1,204 kB]
  Fetched 2,909 kB in 21s (136 kB/s)
  Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/python2.7/python2.7-dev_2.7.3~rc2-2.1_armhf.deb  404  Not Found
  E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
  Cannot install for Python 2.7.3rc2 : missing development headers

  Found Python 3.2.3...
  Trying to install python3-dev using apt-get
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following extra packages will be installed:
    libexpat1-dev libpython3.2 libssl-dev libssl-doc python3.2-dev
  The following NEW packages will be installed:
    libexpat1-dev libpython3.2 libssl-dev libssl-doc python3-dev python3.2-dev
  0 upgraded, 6 newly installed, 0 to remove and 3 not upgraded.
  Need to get 31.0 MB/33.9 MB of archives.
  After this operation, 46.8 MB of additional disk space will be used.
  Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libpython3.2 armhf 3.2.3-2
    404  Not Found
  Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main python3.2-dev armhf 3.2.3-2
    404  Not Found
  Get:1 http://mirrordirector.raspbian.org/raspbian/ wheezy/main python3-dev all 3.2.3-5 [1,060 B]
  Fetched 1,060 B in 0s (5,711 B/s)
  Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/python3.2/libpython3.2_3.2.3-2_armhf.deb  404  Not Found
  Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/p/python3.2/python3.2-dev_3.2.3-2_armhf.deb  404  Not Found
  E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
  Cannot install for Python 3.2.3 : missing development headers

  ERROR: WebIOPi cannot be installed - please check errors above






  Would you please to advise a solution.

  Many many thanks!

  Ken





          TIML MOM Limited
       
        交通基建管理合約有限公司
        
        P Please think of the environment before printing this email 


------------------------------------------------------------------------
        Disclaimer:
        This e-mail message (together with any attachments) is confidential to the addressee and may also be privileged. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message is strictly prohibited. Please also notify the sender immediately by return e-mail and delete it from your system. Internet communications cannot be guaranteed to be secure or error-free. The sender and the entity through which this message is sent therefore  
     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140421/574f6dbb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1089 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140421/574f6dbb/attachment.png>


More information about the Python-Dev mailing list