No title

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
athan@kashyyk ~> sudo apt-get purge libpython3.5-dev
[sudo] password for athan: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libpython3-dev : Depends: libpython3.5-dev (>= 3.5.1-2~) but it is not going to be installed
 python3.5-dev : Depends: libpython3.5-dev (= 3.5.2-2ubuntu0~16.04.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
athan@kashyyk ~> sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libpython3.5-dev
The following packages will be upgraded:
  libpython3.5-dev
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
38 not fully installed or removed.
Need to get 0 B/36.5 MB of archives.
After this operation, 5,120 B disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 184920 files and directories currently installed.)
Preparing to unpack .../libpython3.5-dev_3.5.2-2ubuntu0~16.04.1_armhf.deb ...
Unpacking libpython3.5-dev:armhf (3.5.2-2ubuntu0~16.04.1) over (3.5.2-2~16.04) ...
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/libpython3.5-dev_3.5.2-2ubuntu0~16.04.1_armhf.deb (--unpack):
 cannot copy extracted data for './usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf/libpython3.5m-pic.a' to '/usr/lib/python3.5/config-3.5m-arm-linux-gnueabihf/libpython3.5m-pic.a.dpkg-new': unexpected end of file or stream
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libpython3.5-dev_3.5.2-2ubuntu0~16.04.1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
athan@kashyyk ~>