[Solved] unable to install python3-numpy package corrupted

Forum Forums Orphaned Posts antiX-17 “Heather Heyer, Helen Keller” [Solved] unable to install python3-numpy package corrupted

  • This topic has 2 replies, 2 voices, and was last updated Feb 21-10:29 am by linx5.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18764
    Member
    linx5

      Hi,
      I am using antix 17.3.1 with kernel 4.9.153-antix.1-amd64-smp.
      When trying to install specific python3 packages I get this error related to python3-numpy:

      Preparing to unpack .../python3-numpy_1%3a1.12.1-3_amd64.deb ...
      Unpacking python3-numpy (1:1.12.1-3) ...
      dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
      dpkg-deb: error: subprocess <decompress> returned error exit status 2
      dpkg: error processing archive /var/cache/apt/archives/python3-numpy_1%3a1.12.1-3_amd64.deb (--unpack):
       cannot copy extracted data for './usr/lib/python3/dist-packages/numpy/core/multiarray.cpython-35m-x86_64-linux-gnu.so' to '/usr/lib/python3/dist-packages/numpy/core/multiarray.cpython-35m-x86_64-linux-gnu.so.dpkg-new': unexpected end of file or stream
      Errors were encountered while processing:
       /var/cache/apt/archives/python3-numpy_1%3a1.12.1-3_amd64.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      

      Not sure how to proceed. Should I try to remove the corrupted archive?
      Thank you in advance for any advice.

      • This topic was modified 4 years, 2 months ago by linx5.
      #18771
      Forum Admin
      anticapitalista
        Helpful
        Up
        0
        ::

        I would try apt-get clean followed by apt-get update and then try to install it

        Philosophers have interpreted the world in many ways; the point is to change it.

        antiX with runit - leaner and meaner.

        #18788
        Member
        linx5
          Helpful
          Up
          0
          ::

          I would try apt-get clean followed by apt-get update and then try to install it

          Thank you for the prompt reply, anti. Fixed it.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.