Linux Lite Forums
Software - Support => Installing Software => Topic started by: pkmaarsen on August 01, 2018, 07:13:18 AM
-
Hi all. I am a newbie in LL Forums. Try to define my problem as well as possible. Upon installing updates for LL 3.8, I always get error messages, like: while processing python-crypto, etc. errors occured. See Attachment. Could you please, help me? Paul. ===========================
Install Updates Error log
===========================
Install Updates could not successfully download and install available updates.
Go to https://www.linuxliteos.com/forums/ (https://www.linuxliteos.com/forums/) and paste the log below into a new or existing thread for assistance.
============ Log ===========
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages have been kept back:
virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11
The following packages will be upgraded:
libcapnp-0.5.3
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
5 not fully installed or removed.
Need to get 602 kB of archives.
After this operation, 4096 B disk space will be freed.
Get:1 http://us.archive.ubuntu.com/ubuntu (http://us.archive.ubuntu.com/ubuntu) xenial-security/main i386 libcapnp-0.5.3 i386 0.5.3-2ubuntu1.1 [602 kB]
Fetched 602 kB in 0s (965 kB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 209740 files and directories currently installed.)
Preparing to unpack .../libcapnp-0.5.3_0.5.3-2ubuntu1.1_i386.deb ...
Unpacking libcapnp-0.5.3:i386 (0.5.3-2ubuntu1.1) over (0.5.3-2ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Setting up libcapnp-0.5.3:i386 (0.5.3-2ubuntu1.1) ...
Setting up python-crypto (2.6.1-6ubuntu0.16.04.3) ...
Segmentation fault
Segmentation fault
dpkg: error processing package python-crypto (--configure):
subprocess installed post-installation script returned error exit status 139
dpkg: dependency problems prevent configuration of python-samba:
python-samba depends on python-crypto; however:
Package python-crypto is not configured yet.
dpkg: error processing package python-samba (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba-common-bin:
samba-common-bin depends on python-samba; however:
Package python-samba is not configured yet.
dpkg: error processing package samba-common-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba:
samba depends on python-samba; however:
Package python-samba is not configured yet.
samba depends on samba-common-bin (= 2:4.3.11+dfsg-0ubuntu0.16.04.13); however:
Package samba-common-bin is not configured yet.
dpkg: error processing package samba (--configure):
dependency problems - leaving unconfigured
Setting up python-apt (1.1.0~beta1ubuntu0.16.04.2) ...
Segmentation fault
Segmentation fault
dpkg: error processing package python-apt (--configure):
subprocess installed post-installation script returned error exit status 139
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
python-crypto
python-samba
samba-common-bin
samba
python-apt
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thank you!
-
Try:
sudo apt-get install -f
-
Thank you, Jerry, for your help. Unfortunately this command has not changed anything. The weird thing is that my system still works! My Synaptic Package Manager tells me that the python installed version (2.7.12-1~16.04) is the latest version as well. The same is true for python-crypto, pytho-samba, etc. Maybe I just have to ignore the "errors"? I am too much of a perfectionist? I am totally illiterate as far as computers are concerned. The more I admire what you - with a small crew - have been able to produce: a system that is simple for users as I am and competing with big-business microsoft. I have been using Linux Mint 14 (xfce) for a number of years on this old machine. So the step to LL was simple. Ciao, Paul.
-
Try all of these from command line:
sudo apt-get update –fix-missing
sudo dpkg –configure -a
sudo apt-get install -f
Hope it helps,
Charvie
-
Thanks Charvie. This was the result:
linuxlite@linuxlite-System-Product-Name:~$ sudo apt-get update -fix-missing
[sudo] password for linuxlite:
E: Command line option 'f' [from -fix-missing] is not understood in combination with the other options.
linuxlite@linuxlite-System-Product-Name:~$ sudo dpkg -configure -a
dpkg: error: unknown option -o
Type dpkg --help for help about installing and deinstalling packages
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Options marked - produce a lot of output - pipe it through 'less' or 'more' !
linuxlite@linuxlite-System-Product-Name:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python-crypto (2.6.1-6ubuntu0.16.04.3) ...
Segmentation fault
dpkg: error processing package python-crypto (--configure):
subprocess installed post-installation script returned error exit status 239
dpkg: dependency problems prevent configuration of python-samba:
python-samba depends on python-crypto; however:
Package python-crypto is not configured yet.
dpkg: error processing package python-samba (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba-common-bin:
samba-common-bin depends on python-samba; however:
Package python-samba is not configured yet.
dpkg: error processing package samba-common-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba:
samba depends on python-samba; however:
Package python-samba is not configured yet.
samba depends on samba-common-bin (= 2:4.3.11+dfsg-0ubuntu0.16.04.13); however:
Package samba-common-bin is not configured yet.
dpkg: error processing package samba (--configure):
dependency problems - leaving unconfigured
Setting up python-apt (1.1.0~beta1ubuntu0.16.04.2) ...
Segmentation fault
dpkg: error processing package python-apt (--configure):
subprocess installed post-installation script returned error exit status 139
Errors were encountered while processing:
python-crypto
python-samba
samba-common-bin
samba
python-apt
E: Sub-process /usr/bin/dpkg returned an error code (1)
linuxlite@linuxlite-System-Product-Name:~$
Can you make something out of it?
Ciao, Paul
-
Sorry, My mistake:
New first line:
sudo apt-get --fix-missing --reinstall install python python-minimal dh-python
Second line sudo dpkg –configure -a
should be
sudo dpkg --configure -a
then do
sudo apt-get install -f
Hope better results,
Charvie
-
linuxlite@linuxlite-System-Product-Name:~$ sudo apt-get --fix-missing --reinstall install python python-minimal dh-python
[sudo] password for linuxlite:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 3 not upgraded.
5 not fully installed or removed.
Need to get 239 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 python-minimal i386 2.7.12-1~16.04 [28,1 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 python i386 2.7.12-1~16.04 [137 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 dh-python all 2.20151103ubuntu1.1 [74,1 kB]
Fetched 239 kB in 0s (363 kB/s)
(Reading database ... 209740 files and directories currently installed.)
Preparing to unpack .../python-minimal_2.7.12-1~16.04_i386.deb ...
Unpacking python-minimal (2.7.12-1~16.04) over (2.7.12-1~16.04) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up python-minimal (2.7.12-1~16.04) ...
Segmentation fault
dpkg: error processing package python-minimal (--configure):
subprocess installed post-installation script returned error exit status 139
Errors were encountered while processing:
python-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)
linuxlite@linuxlite-System-Product-Name:~$ sudo dpkg --configure -a
Setting up python-crypto (2.6.1-6ubuntu0.16.04.3) ...
Segmentation fault
dpkg: error processing package python-crypto (--configure):
subprocess installed post-installation script returned error exit status 239
dpkg: dependency problems prevent configuration of python-samba:
python-samba depends on python-crypto; however:
Package python-crypto is not configured yet.
dpkg: error processing package python-samba (--configure):
dependency problems - leaving unconfigured
Setting up python-minimal (2.7.12-1~16.04) ...
dpkg: dependency problems prevent configuration of samba:
samba depends on python-samba; however:
Package python-samba is not configured yet.
dpkg: error processing package samba (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba-common-bin:
samba-common-bin depends on python-samba; however:
Package python-samba is not configured yet.
dpkg: error processing package samba-common-bin (--configure):
dependency problems - leaving unconfigured
Setting up python-apt (1.1.0~beta1ubuntu0.16.04.2) ...
Segmentation fault
Segmentation fault
dpkg: error processing package python-apt (--configure):
subprocess installed post-installation script returned error exit status 139
Errors were encountered while processing:
python-crypto
python-samba
samba
samba-common-bin
python-apt
linuxlite@linuxlite-System-Product-Name:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python-crypto (2.6.1-6ubuntu0.16.04.3) ...
Segmentation fault
Segmentation fault
dpkg: error processing package python-crypto (--configure):
subprocess installed post-installation script returned error exit status 139
dpkg: dependency problems prevent configuration of python-samba:
python-samba depends on python-crypto; however:
Package python-crypto is not configured yet.
dpkg: error processing package python-samba (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba-common-bin:
samba-common-bin depends on python-samba; however:
Package python-samba is not configured yet.
dpkg: error processing package samba-common-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of samba:
samba depends on python-samba; however:
Package python-samba is not configured yet.
samba depends on samba-common-bin (= 2:4.3.11+dfsg-0ubuntu0.16.04.13); however:
Package samba-common-bin is not configured yet.
dpkg: error processing package samba (--configure):
dependency problems - leaving unconfigured
Setting up python-apt (1.1.0~beta1ubuntu0.16.04.2) ...
Segmentation fault
Segmentation fault
dpkg: error processing package python-apt (--configure):
subprocess installed post-installation script returned error exit status 139
Errors were encountered while processing:
python-crypto
python-samba
samba-common-bin
samba
python-apt
*** Error in `/usr/bin/python3': free(): invalid pointer: 0x09af9e60 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x67377)[0xb760f377]
/lib/i386-linux-gnu/libc.so.6(+0x6d2f7)[0xb76152f7]
/lib/i386-linux-gnu/libc.so.6(+0x6dc31)[0xb7615c31]
/lib/i386-linux-gnu/libc.so.6(regfree+0x37)[0xb7671f07]
/usr/lib/i386-linux-gnu/libapt-pkg.so.5.0(+0x8d50f)[0xb707550f]
/usr/lib/i386-linux-gnu/libapt-pkg.so.5.0(_ZN13Configuration18MatchAgainstConfigD1Ev+0x25)[0xb7075555]
/usr/lib/i386-linux-gnu/libapt-pkg.so.5.0(_ZN11pkgDepCache18DefaultRootSetFuncD0Ev+0x2e)[0xb70d47ae]
/usr/lib/i386-linux-gnu/libapt-pkg.so.5.0(_ZN11pkgDepCache12MarkAndSweepEv+0x39)[0xb70cd489]
/usr/lib/i386-linux-gnu/libapt-pkg.so.5.0(_ZN11pkgDepCache11ActionGroup7releaseEv+0x99)[0xb70cd559]
/usr/lib/i386-linux-gnu/libapt-pkg.so.5.0(_ZN11pkgDepCache11ActionGroupD1Ev+0x24)[0xb70cd5c4]
/usr/lib/i386-linux-gnu/libapt-pkg.so.5.0(_Z14pkgApplyStatusR11pkgDepCache+0x143)[0xb704c3d3]
/usr/lib/python3/dist-packages/apt_pkg.cpython-35m-i386-linux-gnu.so(+0x17565)[0xb7192565]
/usr/bin/python3[0x81b1ff3]
/usr/bin/python3(PyObject_Call+0x4e)[0x820b3de]
/usr/bin/python3(PyEval_EvalFrameEx+0x4b0d)[0x8158ebd]
/usr/bin/python3[0x8217c51]
/usr/bin/python3(PyEval_EvalFrameEx+0x4ce1)[0x8159091]
/usr/bin/python3[0x8217c51]
/usr/bin/python3(PyEval_EvalCode+0x28)[0x814fc28]
/usr/bin/python3[0x826729d]
/usr/bin/python3(PyRun_FileExFlags+0x8b)[0x826735b]
/usr/bin/python3(PyRun_SimpleFileExFlags+0x1cd)[0x826925d]
/usr/bin/python3(PyRun_AnyFileExFlags+0x44)[0x8269334]
/usr/bin/python3(Py_Main+0x49c)[0x82926fc]
/usr/bin/python3(main+0xf9)[0x8119f59]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf7)[0xb75c0637]
/usr/bin/python3[0x8229fa6]
======= Memory map: ========
08048000-0845d000 r-xp 00000000 08:01 217218 /usr/bin/python3.5
0845d000-0845e000 r--p 00414000 08:01 217218 /usr/bin/python3.5
0845e000-084d7000 rw-p 00415000 08:01 217218 /usr/bin/python3.5
084d7000-084f8000 rw-p 00000000 00:00 0
09a47000-09d03000 rw-p 00000000 00:00 0 [heap]
b4400000-b4421000 rw-p 00000000 00:00 0
b4421000-b4500000 ---p 00000000 00:00 0
b459a000-b4bf3000 rw-p 00000000 00:00 0
b4bf3000-b6908000 rw-p 00000000 08:01 138787 /var/cache/apt/pkgcache.bin
b6908000-b69c8000 rw-p 00000000 00:00 0
b69c8000-b6a2b000 r-xp 00000000 08:01 1704290 /lib/i386-linux-gnu/libssl.so.1.0.0
b6a2b000-b6a2e000 r--p 00062000 08:01 1704290 /lib/i386-linux-gnu/libssl.so.1.0.0
b6a2e000-b6a32000 rw-p 00065000 08:01 1704290 /lib/i386-linux-gnu/libssl.so.1.0.0
b6a32000-b6a4a000 r-xp 00000000 08:01 254738 /usr/lib/python3.5/lib-dynload/_ssl.cpython-35m-i386-linux-gnu.so
b6a4a000-b6a4b000 r--p 00017000 08:01 254738 /usr/lib/python3.5/lib-dynload/_ssl.cpython-35m-i386-linux-gnu.so
b6a4b000-b6a4f000 rw-p 00018000 08:01 254738 /usr/lib/python3.5/lib-dynload/_ssl.cpython-35m-i386-linux-gnu.so
b6a4f000-b6b0f000 rw-p 00000000 00:00 0
b6b0f000-b6ce1000 r-xp 00000000 08:01 1704289 /lib/i386-linux-gnu/libcrypto.so.1.0.0
b6ce1000-b6ce2000 ---p 001d2000 08:01 1704289 /lib/i386-linux-gnu/libcrypto.so.1.0.0
b6ce2000-b6cf2000 r--p 001d2000 08:01 1704289 /lib/i386-linux-gnu/libcrypto.so.1.0.0
b6cf2000-b6cf9000 rw-p 001e2000 08:01 1704289 /lib/i386-linux-gnu/libcrypto.so.1.0.0
b6cf9000-b6ded000 rw-p 00000000 00:00 0
b6ded000-b6e01000 r-xp 00000000 08:01 222822 /usr/lib/i386-linux-gnu/liblz4.so.1.7.1
b6e01000-b6e02000 r--p 00013000 08:01 222822 /usr/lib/i386-linux-gnu/liblz4.so.1.7.1
b6e02000-b6e03000 rw-p 00014000 08:01 222822 /usr/lib/i386-linux-gnu/liblz4.so.1.7.1
b6e03000-b6e27000 r-xp 00000000 08:01 1705850 /lib/i386-linux-gnu/liblzma.so.5.0.0
b6e27000-b6e28000 r--p 00023000 08:01 1705850 /lib/i386-linux-gnu/liblzma.so.5.0.0
b6e28000-b6e29000 rw-p 00024000 08:01 1705850 /lib/i386-linux-gnu/liblzma.so.5.0.0
b6e29000-b6e39000 r-xp 00000000 08:01 1705782 /lib/i386-linux-gnu/libbz2.so.1.0.4
b6e39000-b6e3a000 r--p 0000f000 08:01 1705782 /lib/i386-linux-gnu/libbz2.so.1.0.4
b6e3a000-b6e3b000 rw-p 00010000 08:01 1705782 /lib/i386-linux-gnu/libbz2.so.1.0.4
b6e3b000-b6e4f000 r-xp 00000000 08:01 1705933 /lib/i386-linux-gnu/libresolv-2.23.so
b6e4f000-b6e50000 ---p 00014000 08:01 1705933 /lib/i386-linux-gnu/libresolv-2.23.so
b6e50000-b6e51000 r--p 00014000 08:01 1705933 /lib/i386-linux-gnu/libresolv-2.23.so
b6e51000-b6e52000 rw-p 00015000 08:01 1705933 /lib/i386-linux-gnu/libresolv-2.23.so
b6e52000-b6e54000 rw-p 00000000 00:00 0
b6e54000-b6e70000 r-xp 00000000 08:01 1705821 /lib/i386-linux-gnu/libgcc_s.so.1
b6e70000-b6e71000 rw-p 0001b000 08:01 1705821 /lib/i386-linux-gnu/libgcc_s.so.1
b6e71000-b6fde000 r-xp 00000000 08:01 218195 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
b6fde000-b6fdf000 ---p 0016d000 08:01 218195 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
b6fdf000-b6fe4000 r--p 0016d000 08:01 218195 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
b6fe4000-b6fe5000 rw-p 00172000 08:01 218195 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.21
b6fe5000-b6fe8000 rw-p 00000000 00:00 0
b6fe8000-b715e000 r-xp 00000000 08:01 218197 /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0.0
b715e000-b715f000 ---p 00176000 08:01 218197 /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0.0
b715f000-b7162000 r--p 00176000 08:01 218197 /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0.0
b7162000-b7163000 rw-p 00179000 08:01 218197 /usr/lib/i386-linux-gnu/libapt-pkg.so.5.0.0
b7171000-b7178000 r-xp 00000000 08:01 254733 /usr/lib/python3.5/lib-dynload/_lzma.cpython-35m-i386-linux-gnu.so
b7178000-b7179000 r--p 00006000 08:01 254733 /usr/lib/python3.5/lib-dynload/_lzma.cpython-35m-i386-linux-gnu.so
b7179000-b717b000 rw-p 00007000 08:01 254733 /usr/lib/python3.5/lib-dynload/_lzma.cpython-35m-i386-linux-gnu.so
b717b000-b71bd000 r-xp 00000000 08:01 215898 /usr/lib/python3/dist-packages/apt_pkg.cpython-35m-i386-linux-gnu.so
b71bd000-b71be000 r--p 00041000 08:01 215898 /usr/lib/python3/dist-packages/apt_pkg.cpython-35m-i386-linux-gnu.so
b71be000-b71c3000 rw-p 00042000 08:01 215898 /usr/lib/python3/dist-packages/apt_pkg.cpython-35m-i386-linux-gnu.so
b71c3000-b7303000 rw-p 00000000 00:00 0
b7303000-b7503000 r--p 00000000 08:01 226074 /usr/lib/locale/locale-archive
b7503000-b7504000 rw-p 00000000 00:00 0
b7504000-b7557000 r-xp 00000000 08:01 1705853 /lib/i386-linux-gnu/libm-2.23.so
b7557000-b7558000 r--p 00052000 08:01 1705853 /lib/i386-linux-gnu/libm-2.23.so
b7558000-b7559000 rw-p 00053000 08:01 1705853 /lib/i386-linux-gnu/libm-2.23.so
b7559000-b7572000 r-xp 00000000 08:01 1705972 /lib/i386-linux-gnu/libz.so.1.2.8
b7572000-b7573000 r--p 00018000 08:01 1705972 /lib/i386-linux-gnu/libz.so.1.2.8
b7573000-b7574000 rw-p 00019000 08:01 1705972 /lib/i386-linux-gnu/libz.so.1.2.8
b7574000-b7575000 rw-p 00000000 00:00 0
b7575000-b759b000 r-xp 00000000 08:01 1705814 /lib/i386-linux-gnu/libexpat.so.1.6.0
b759b000-b759c000 ---p 00026000 08:01 1705814 /lib/i386-linux-gnu/libexpat.so.1.6.0
b759c000-b759e000 r--p 00026000 08:01 1705814 /lib/i386-linux-gnu/libexpat.so.1.6.0
b759e000-b759f000 rw-p 00028000 08:01 1705814 /lib/i386-linux-gnu/libexpat.so.1.6.0
b759f000-b75a1000 r-xp 00000000 08:01 1705962 /lib/i386-linux-gnu/libutil-2.23.so
b75a1000-b75a2000 r--p 00001000 08:01 1705962 /lib/i386-linux-gnu/libutil-2.23.so
b75a2000-b75a3000 rw-p 00002000 08:01 1705962 /lib/i386-linux-gnu/libutil-2.23.so
b75a3000-b75a6000 r-xp 00000000 08:01 1705807 /lib/i386-linux-gnu/libdl-2.23.so
b75a6000-b75a7000 r--p 00002000 08:01 1705807 /lib/i386-linux-gnu/libdl-2.23.so
b75a7000-b75a8000 rw-p 00003000 08:01 1705807 /lib/i386-linux-gnu/libdl-2.23.so
b75a8000-b7758000 r-xp 00000000 08:01 1705783 /lib/i386-linux-gnu/libc-2.23.so
b7758000-b775a000 r--p 001af000 08:01 1705783 /lib/i386-linux-gnu/libc-2.23.so
b775a000-b775b000 rw-p 001b1000 08:01 1705783 /lib/i386-linux-gnu/libc-2.23.so
b775b000-b775e000 rw-p 00000000 00:00 0
b775e000-b7777000 r-xp 00000000 08:01 1705927 /lib/i386-linux-gnu/libpthread-2.23.so
b7777000-b7778000 r--p 00018000 08:01 1705927 /lib/i386-linux-gnu/libpthread-2.23.so
b7778000-b7779000 rw-p 00019000 08:01 1705927 /lib/i386-linux-gnu/libpthread-2.23.so
b7779000-b777b000 rw-p 00000000 00:00 0
b777c000-b777d000 rw-p 00000000 00:00 0
b777d000-b7781000 r-xp 00000000 08:01 254714 /usr/lib/python3.5/lib-dynload/_bz2.cpython-35m-i386-linux-gnu.so
b7781000-b7782000 r--p 00003000 08:01 254714 /usr/lib/python3.5/lib-dynload/_bz2.cpython-35m-i386-linux-gnu.so
b7782000-b7783000 rw-p 00004000 08:01 254714 /usr/lib/python3.5/lib-dynload/_bz2.cpython-35m-i386-linux-gnu.so
b7783000-b7788000 r-xp 00000000 08:01 254730 /usr/lib/python3.5/lib-dynload/_hashlib.cpython-35m-i386-linux-gnu.so
b7788000-b7789000 r--p 00004000 08:01 254730 /usr/lib/python3.5/lib-dynload/_hashlib.cpython-35m-i386-linux-gnu.so
b7789000-b778a000 rw-p 00005000 08:01 254730 /usr/lib/python3.5/lib-dynload/_hashlib.cpython-35m-i386-linux-gnu.so
b778a000-b7791000 r--s 00000000 08:01 224546 /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache
b7791000-b7792000 r--p 002d4000 08:01 226074 /usr/lib/locale/locale-archive
b7792000-b7793000 r--p 002d8000 08:01 226074 /usr/lib/locale/locale-archive
b7793000-b7794000 rw-p 00000000 00:00 0
b7794000-b7797000 r--p 00000000 00:00 0 [vvar]
b7797000-b7798000 r-xp 00000000 00:00 0 [vdso]
b7798000-b77bb000 r-xp 00000000 08:01 1705755 /lib/i386-linux-gnu/ld-2.23.so
b77bb000-b77bc000 r--p 00022000 08:01 1705755 /lib/i386-linux-gnu/ld-2.23.so
b77bc000-b77bd000 rw-p 00023000 08:01 1705755 /lib/i386-linux-gnu/ld-2.23.so
bfa9f000-bfac0000 rw-p 00000000 00:00 0 [stack]
E: Sub-process /usr/bin/dpkg returned an error code (1)
linuxlite@linuxlite-System-Product-Name:~$
Alas, Charvie. Thanks for your attempts.
Ciao, Paul.
-
Hi @pkmaarsen ,
You seem to have a 32bit installation.
Can you please verify how much memory you have by running
this command sudo lshw -c memory
in the terminal
Then please copy the whole result here.
Thanks!
-
Before we carry on with a cycle of "sudo apt-get install -f" and other commands which don't seem to be working, that we clear the decks first......
From the outputs posted by @pkmaarson the python and samba installs have become corrupted somehow and repeating the above command is not going to solve this.
python-crypto, python-samba, samba-common-bin, samba, python-apt seem to be giving the problem, so why not purge them first, and hopefully have a clean slate.
I suggest the following:
sudo apt-get purge samba*
sudo apt-get purge python*
sudo apt-get autoremove
sudo apt-get clean
I would then reboot and then try an update
sudo apt-get update
sudo apt-get upgrade
If the upgrade goes ok, then try and reinstall python and samba and any other modules that your programs might need.
-
@DeepThought , please let the guy do first as I asked for him to do.
I didn't ask that specific question just out of my hat
-
Trying to guess what happened. And shame on me if I'm wrong!
The Segmentation fault came while python-crypto package tried to setup, everybody can see that in the first post.
After python-crypto failed, failed of course all the packages too which were dependent of the python-crypto package,
so we found the culprit already - no need to blame the rest of the packages since they failed because of python-crypto.
Why did I ask for the amount of memory?
Because lack of writable memory leads to Segmentation faults. The memory pointer points to a segment which the
kernel cannot map to user space. You can probably malloc(3) 20G of memory but if you don't actually have it and you try to
write into unmapped segment of it, the kernel cannot do anything else but kill the process.
In short: I think @pkmaarsen 's computer does not meet the minimum requirements to install 32bit 3.8.
-
In short: I think @pkmaarsen 's computer does not meet the minimum requirements to install 32bit 3.8.
@kpanic Interesting assumption..... but if you look at his set up, showing under his name...
CPU: 4400 2.00 GHZ
MEMORY: 2Gb
I'd say that was more than sufficient to run a 32 bit 3.8 Linux Lite
-
Very good point @DeepThought , I didn't even think about those stats.
But now that you reminded me, and yet he seems to have 3.2 but he says he is "installing updates for 3.8".
So, he has installed 3.8 into some computer and he is trying to update it.
But is it even the same computer as this 3.2 is?
It would be nice to hear from him, since this is mainly his problem after all :)
-
I agree with kpanic about the 'segmentation fault'. Sometimes, on rare occasions, this fault is due to bad memory. It wouldn't hurt to due a memory test.
If memory is good, although linux die-hards hate to, this may be one of those time when a wipe and fresh install is the quickest way to get past this problem. It would be an opportunity to upgrade to LL 4. The machine I am using at this moment is an AMD A4-3300 with 2Gb of ram and LL 4 (64 bit) runs fine on it.
Charvie
-
Follow up on my previous post:
CPU Performance Comparison
Performance of selected CPUs can be found below. The values for the CPU are determined from thousands of PerformanceTest benchmark results and is updated daily.
Intel Core2 Duo E4400 @ 2.00GHz AMD A4-3300 APU Intel Atom D2500 @ 1.86GHz
CPU Class Desktop Desktop Desktop
Clock speed 2.0 GHz 2.5 GHz 1.9 GHz
Turbo Speed Not Sup Not Sup Not Sup
# of Physical Cores 2 2 2
Max TDP 65W 65W 10W
Single Thread Rating 735 838 292
CPU Mark 1158 1506 404
This is a comparison of your cpu and two of mine that are running LL 4. In fact the Atom D2500, which has a cpu mark of only 404, is running my home theater with no problems at all. So you should be able to install and run LL 4. You can't upgrade from LL 3 series to LL4. It must be a new install. If you decide to go this way and do not plan on using vbox, be sure to follow Jerry's instructions in the Linux Lite 4.0 Final Release Announcement under Performance Tips. It will decrease boot time.
-
Hi guys. After waking up, I see you have given me some homework. Iĺl try to do this stepwise. So first, I have to admit that I upgraded from 3.2 to 3.8 LL. I had problems with running LL 3.2 on this PC (which had been running Linux Mint 14 without any problem). So I tried to reinstall and why not the most recent version?
Now I did the memory test with appended result.
linuxlite@linuxlite-System-Product-Name:~$ sudo lshw -c memory
[sudo] password for linuxlite:
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: 0602
date: 05/08/2007
size: 64KiB
capacity: 448KiB
capabilities: isa pci pnp apm upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb ls120boot zipboot biosbootspecification
*-cache:0
description: L1 cache
physical id: 5
slot: L1-Cache
size: 32KiB
capacity: 32KiB
capabilities: pipeline-burst internal varies data
configuration: level=1
*-cache:1
description: L2 cache
physical id: 6
slot: L2-Cache
size: 2MiB
capacity: 2MiB
capabilities: pipeline-burst internal varies unified
configuration: level=2
*-memory
description: System Memory
physical id: 27
slot: System board or motherboard
size: 2GiB
*-bank:0
description: DIMM DDR2 Synchronous
product: PartNum0
vendor: Manufacturer0
physical id: 0
serial: SerNum0
slot: DIMM0
size: 1GiB
width: 64 bits
*-bank:1
description: DIMM DDR2 Synchronous
product: PartNum1
vendor: Manufacturer1
physical id: 1
serial: SerNum1
slot: DIMM1
size: 1GiB
width: 64 bits
linuxlite@linuxlite-System-Product-Name:~$
Yes, it is a very old PC. My motto is: if I can keep it running, I will. If not, I will buy another one. I had been running LL 3.8 on a HP 7800 desktop (from 2009) without any problem. I gave it to my daughter as a replacement for the present one (with LM 14). I could have thrown it away (which I should have done?).
I am going to work out the other suggestions. You will certainly hear from me.
-
Hi Deep Thought, I have carried the commands you suggested. The result is a long list of which I only send you the last part.
Package 'python3-photutils' is not installed, so not removed
Package 'python3-pip' is not installed, so not removed
Package 'python3-powerline' is not installed, so not removed
Package 'python3-pymysql' is not installed, so not removed
Package 'python3-pysha3' is not installed, so not removed
Package 'python3-pyxs' is not installed, so not removed
Package 'python3-rfc3986' is not installed, so not removed
Package 'python3-s3transfer' is not installed, so not removed
Package 'python3-spectral-cube' is not installed, so not removed
Package 'python3-sss' is not installed, so not removed
Package 'python3-ubuntu-image' is not installed, so not removed
Package 'python3-ubuntutools' is not installed, so not removed
Package 'python3-uwsgidecorators' is not installed, so not removed
Package 'python3-virtualenv' is not installed, so not removed
Package 'python3-wcsaxes' is not installed, so not removed
Package 'python-nova' is not installed, so not removed
Package 'python-nova-lxd' is not installed, so not removed
Package 'python-pylxd' is not installed, so not removed
Package 'python-pylxd-doc' is not installed, so not removed
Package 'python-acme' is not installed, so not removed
Package 'python-acme-doc' is not installed, so not removed
Package 'python-certbot' is not installed, so not removed
Package 'python-certbot-apache' is not installed, so not removed
Package 'python-certbot-apache-doc' is not installed, so not removed
Package 'python-certbot-doc' is not installed, so not removed
Package 'python-certbot-nginx' is not installed, so not removed
Package 'python-certbot-nginx-doc' is not installed, so not removed
Package 'python-nova.lxd' is not installed, so not removed
Package 'python-pymacaroons' is not installed, so not removed
Package 'python3-acme' is not installed, so not removed
Package 'python3-novaagent' is not installed, so not removed
Package 'python3-pylxd' is not installed, so not removed
Package 'python3-pymacaroons' is not installed, so not removed
Package 'python3-lxc' is not installed, so not removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
alacarte : Depends: python:any (>= 2.6.6-7~)
Depends: python-gi (>= 3.0) but it is not going to be installed
apparmor : Depends: python3:any
apt-clone : Depends: python3:any (>= 3.3.2-2~)
Depends: python3-apt but it is not going to be installed
Depends: python3 but it is not going to be installed
apt-xapian-index : Depends: python3-xapian1.3 but it is not going to be installed
Depends: python3-apt (>= 0.7.93.2) but it is not going to be installed
Depends: python3-debian (>= 0.1.14) but it is not going to be installed
Depends: python3:any (>= 3.4~)
aptdaemon : Depends: python3 but it is not going to be installed
Depends: python3:any (>= 3.2~)
Depends: python3-aptdaemon (= 1.1.1+bzr982-0ubuntu14) but it is not going to be installed
Depends: python3-gi but it is not going to be installed
blueman : Depends: python3 (< 3.6) but it is not going to be installed
Depends: python3 (>= 3.5~) but it is not going to be installed
Depends: python3-dbus but it is not going to be installed
Depends: python3-gi but it is not going to be installed
Depends: python3-cairo but it is not going to be installed
Depends: python3-gi-cairo but it is not going to be installed
catfish : Depends: python3:any (>= 3.3.2-2~)
Depends: python3-gi-cairo but it is not going to be installed
Depends: python3-pexpect but it is not going to be installed
command-not-found : Depends: python3-commandnotfound (>= 0.3ubuntu7) but it is not going to be installed
compiz-gnome : Depends: python3-gi but it is not going to be installed
Recommends: gnome-system-monitor but it is not going to be installed or
mate-system-monitor but it is not going to be installed
dh-python : Depends: python3:any (>= 3.3.2-2~)
duplicity : Depends: python (>= 2.7) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-lockfile (> 1:0.9) but it is not going to be installed
foomatic-db-compressed-ppds : Depends: python3 but it is not going to be installed
gconf2 : Depends: python3:any
gdebi : Depends: python3:any (>= 3.3.2-2~)
Depends: python3-gi but it is not going to be installed
gdebi-core : Depends: python3:any (>= 3.3.2-2~)
Depends: python3-apt but it is not going to be installed
Depends: python3-debian but it is not going to be installed
gimp : Depends: python-gtk2 (>= 2.8.0) but it is not going to be installed
Depends: python:any (>= 2.6.6-7~)
Depends: python2.7 but it is not going to be installed
gir1.2-ibus-1.0 : Depends: python3:any (>= 3.3.2-2~)
gnome-hearts : Depends: python:any (>= 2.7.5-5~)
gnome-menus : Depends: python3:any (>= 3.1~)
gufw : Depends: python:any (>= 2.6.6-7~)
Depends: python-netifaces but it is not going to be installed
Depends: python-gi but it is not going to be installed
hplip : Depends: python3-dbus (>= 0.80) but it is not going to be installed
Depends: python3-gi but it is not going to be installed
Depends: python3-pexpect but it is not going to be installed
Depends: python3-pil but it is not going to be installed
Depends: python3-reportlab but it is not going to be installed
Depends: python3 (< 3.6) but it is not going to be installed
Depends: python3 (>= 3.5~) but it is not going to be installed
hplip-data : Depends: python3:any (>= 3.3.2-2~)
ibus : Depends: python3-gi but it is not going to be installed
Depends: python3:any (>= 3.3.2-2~)
language-selector-common : Depends: python3:any (>= 3.3.2-2~)
Depends: python3-apt (>= 0.7.12.0) but it is not going to be installed
Depends: python3-dbus but it is not going to be installed
language-selector-gnome : Depends: python3:any (>= 3.3.2-2~)
Depends: python3-gi but it is not going to be installed
Depends: python3-apt but it is not going to be installed
Depends: python3-aptdaemon.gtk3widgets but it is not going to be installed
light-locker-settings : Depends: python:any (>= 2.7.5-5~)
Depends: python-psutil but it is not going to be installed
lightdm-gtk-greeter-settings : Depends: python3:any (>= 3.3.2-2~)
Depends: python3-gi (>= 3.0) but it is not going to be installed
lite-usermanager : Depends: python-pexpect but it is not going to be installed
lite-welcome : Depends: python-simplejson but it is not going to be installed
lsb-release : Depends: python3:any (>= 3.4~)
mugshot : Depends: python3-cairo but it is not going to be installed
Depends: python3-dbus but it is not going to be installed
Depends: python3-pexpect but it is not going to be installed
Depends: python3:any (>= 3.3.2-2~)
ntfs-config : Depends: python (>= 2.7) but it is not going to be installed
Depends: python (< 2.8) but it is not going to be installed
Depends: python-glade2 but it is not going to be installed
printer-driver-foo2zjs-common : Depends: python3 but it is not going to be installed
printer-driver-postscript-hp : Depends: python3 but it is not going to be installed
sessioninstaller : Depends: python3:any (>= 3.3.2-2~)
Depends: python3-aptdaemon.gtk3widgets but it is not going to be installed
Depends: python3-commandnotfound but it is not going to be installed
Depends: python3-defer but it is not going to be installed
Depends: python3-gi but it is not going to be installed
Depends: python3-xdg but it is not going to be installed
software-properties-common : Depends: python3:any (>= 3.3.2-2~)
Depends: python3 but it is not going to be installed
Depends: python3-gi but it is not going to be installed
Depends: python-apt-common (>= 0.9) but it is not going to be installed
Depends: python3-dbus but it is not going to be installed
Depends: python3-software-properties (= 0.96.20.7) but it is not going to be installed
software-properties-gtk : Depends: python3:any (>= 3.3.2-2~)
Depends: python3 but it is not going to be installed
Depends: python3-software-properties (= 0.96.20.7) but it is not going to be installed
Depends: python3-gi but it is not going to be installed
Depends: python3-aptdaemon.gtk3widgets but it is not going to be installed
system-config-printer-common : Depends: python3-cups (>= 1.9.60) but it is not going to be installed
Depends: python3-dbus but it is not going to be installed
Depends: python3-cupshelpers but it is not going to be installed
system-config-printer-gnome : Depends: python3-gi but it is not going to be installed
Depends: python3-lxml but it is not going to be installed
Depends: python3-requests but it is not going to be installed
Depends: python3-cairo but it is not going to be installed
Depends: packagekit-system-interface
system-config-printer-udev : Depends: python3-cups (>= 1.9.55) but it is not going to be installed
Depends: python3-dbus but it is not going to be installed
Depends: python3-cupshelpers but it is not going to be installed
ubiquity : Depends: python3:any (>= 3.3.2-2~)
Depends: python3-apt (>= 0.7.100.3~) but it is not going to be installed
Depends: python3-icu (>= 1.0) but it is not going to be installed
Depends: python3-pam but it is not going to be installed
ubiquity-frontend-debconf : Depends: python3:any (>= 3.3.2-2~)
ubiquity-frontend-gtk : Depends: python3:any (>= 3.3.2-2~)
Depends: python3-dbus but it is not going to be installed
Depends: python3-gi but it is not going to be installed
Depends: python3-cairo but it is not going to be installed
Depends: python3-gi-cairo but it is not going to be installed
ubuntu-drivers-common : Depends: python3:any (>= 3.3.2-2~)
Depends: python3-apt but it is not going to be installed
Depends: python3-xkit but it is not going to be installed
ubuntu-minimal : Depends: python3 but it is not going to be installed
ubuntu-release-upgrader-core : Depends: python3:any (>= 3.2~)
Depends: python3-distupgrade (= 1:16.04.25) but it is not going to be installed
ufw : Depends: python3:any (>= 3.3.2-2~)
update-manager-core : Depends: python3:any (>= 3.2~)
Depends: python3-update-manager (= 1:16.04.13) but it is not going to be installed
update-notifier-common : Depends: python3:any
Depends: python3-apt but it is not going to be installed
Depends: python3-dbus but it is not going to be installed
Depends: python3-debian but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
linuxlite@linuxlite-System-Product-Name:~$ sudo apt-get autoremove
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:
python-smbc : Depends: libsmbclient (>= 2:4.0.3+dfsg1) but it is not installed
E: Unmet dependencies. Try using -f.
linuxlite@linuxlite-System-Product-Name:~$ sudo apt-get clean
linuxlite@linuxlite-System-Product-Name:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
attr libaio1 libcdio-cdda1 libcdio-paranoia1 libgdata-common libgdata22
libgoa-1.0-0b libgoa-1.0-common liboauth0 libsystemback systemback-cli
systemback-locales systemback-scheduler
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libsmbclient samba-libs
The following NEW packages will be installed:
libsmbclient samba-libs
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 5608 kB of archives.
After this operation, 25,4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-security/main i386 samba-libs i386 2:4.3.11+dfsg-0ubuntu0.16.04.13 [5551 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-security/main i386 libsmbclient i386 2:4.3.11+dfsg-0ubuntu0.16.04.13 [57,3 kB]
Fetched 5608 kB in 5s (944 kB/s)
Selecting previously unselected package samba-libs:i386.
(Reading database ... 208770 files and directories currently installed.)
Preparing to unpack .../samba-libs_2%3a4.3.11+dfsg-0ubuntu0.16.04.13_i386.deb ...
Unpacking samba-libs:i386 (2:4.3.11+dfsg-0ubuntu0.16.04.13) ...
Selecting previously unselected package libsmbclient:i386.
Preparing to unpack .../libsmbclient_2%3a4.3.11+dfsg-0ubuntu0.16.04.13_i386.deb ...
Unpacking libsmbclient:i386 (2:4.3.11+dfsg-0ubuntu0.16.04.13) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up python-crypto (2.6.1-6ubuntu0.16.04.3) ...
Segmentation fault
dpkg: error processing package python-crypto (--configure):
subprocess installed post-installation script returned error exit status 239
Setting up samba-libs:i386 (2:4.3.11+dfsg-0ubuntu0.16.04.13) ...
Setting up libsmbclient:i386 (2:4.3.11+dfsg-0ubuntu0.16.04.13) ...
Setting up python-smbc (1.0.15.5-1) ...
Fatal Python error: GC object already tracked
Aborted
dpkg: error processing package python-smbc (--configure):
subprocess installed post-installation script returned error exit status 134
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Errors were encountered while processing:
python-crypto
python-smbc
E: Sub-process /usr/bin/dpkg returned an error code (1)
linuxlite@linuxlite-System-Product-Name:~$
Again, a segmentation fault is mentioned. Although I think it is useless, I will reboot.
Ciao, Paul
-
After rebooting and updating, the answer was: Your system is up-to-date. I guess why nothing has been removed?
Paul.
Maybe I should try to install LL 4 (64 bits)? Unless my memory is insufficient.
Iḿ waiting for your comments. Ciao, Paul
-
From: https://www.linuxliteos.com/forums/release-announcements/linux-lite-4-0-final-released/
Preferred Specs:
1.5GHz processor+
1024mb ram+
20gb HDD/SSD+
VGA, DVI or HDMI screen capable of 1366x768 resolution+
DVD drive or USB port for the ISO image
So your specs should run LL 4.0
I would check that your cpu is 64 bit capable with the following command
$ sudo lshw -C processor | grep width
Enter your password and you should see as a result:
width: 64 bits
If this is your result go ahead and try installing LL 4.0
-
Paul,
2Gb is more than enough to run LL 4. The system I am using right now has 2Gb of memory and I average using only 50% and that includes memory that is used for video because of the AMD A4 processor. Since, by your system specs, you have a video card, which should have it's own memory, you will most likely use less.
Burn a live DVD or USB and run it. If it runs off of the live version there is no reason it won't run after installed.
Charvie
-
Additional, when your are in the Live version do a heath check of your hard drive. Your present install may have become corrupted if the hard drive is starting to go. You can check by going to Menu=>Settings=>Disks. Then upper right corner left click to open a pull down menu. Click on SMART Data & Self-Test.
-
Hi Charvie, DeepThought, kPanic. I have tested my HD. It is OK. My LL System Report tells me that the CPU is 32-bit, 64-bit.
So, I will follow your suggestions to try and install LL 4.0. I will be away for a few days, so it will take some time before I know the result. I want to thank you very much for your support and help. Ciao, Paul.
-
Exit status 139 is a memory fragmentation error. 239 is a net backup error caused by 139. Exit status 134 means the attempt to run was aborted because the application was killed for a seg-fault. Colect the files you want save on a USB and new install 4.0. Run a memory test first.
TC
-
Before trying LL 4.0 64-bit, I have tried to install LL 3.8 64-bit. That did not work at all. After trying the "safe mode" I got I/O errors for a number of sectors!
So, I went back to installing LL 3.8 32-bit. Halfway the installation, I got the message "Installation failed: /target/usr/lib/i386-linux-gnu/libpython3.5mso.1.0 This file did not match its source copy on the CD/DVD."
I have tried to install various LL versions and even Lubuntu (from various different DVDś) and the message always was the same: Installation failed for the above-mentioned reason.
The problem therefore must be found in the HD, I suppose. This is strange, since I had carried out a health test, which said the HD was OK. Ciao, Paul.
-
Def sounds like hardware issue. Run memtest. I would run more extensive tests on HDD. Big names like Seagate, Western Digital have there own diagnostic tools.
-
Thank you, Jerry. I can now work this out myself. Consider the problem as "solved".
Thanks all for you help to this problem. I have learned a lot!
Ciao, Paul.