LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Cannot update or install software: Segmentation fault error. (https://www.linuxquestions.org/questions/linux-general-1/cannot-update-or-install-software-segmentation-fault-error-4175413032/)

patufet99 06-23-2012 04:11 PM

Cannot update or install software: Segmentation fault error.
 
My PC has been running an Ubuntu 12.04 amd 64 distribution for some time but I cannot install or updgrade software anymore.

When trying to update the repositories with apt-get, aptitude or synaptic, dmesg returns:

Code:

[  336.567614] apt-config[2453]: segfault at 8 ip 00007fa61a100be2 sp 00007fff0c1e21b0 error 4 in ld-2.15.so[7fa61a0f5000+22000]
[  336.995437] apport[2454]: segfault at 8 ip 00007fa62d1a9be2 sp 00007fff5ee99740 error 4 in ld-2.15.so[7fa62d19e000+22000]
[  336.995467] Process 2454(apport) has RLIMIT_CORE set to 1
[  336.995469] Aborting core
[  337.004246] apt-config[2455]: segfault at 8 ip 00007fd82edb7be2 sp 00007fff483ec590 error 4 in ld-2.15.so[7fd82edac000+22000]
[  337.317706] apport[2456]: segfault at 8 ip 00007f389cc38be2 sp 00007fffbde7ad50 error 4 in ld-2.15.so[7f389cc2d000+22000]
[  337.317738] Process 2456(apport) has RLIMIT_CORE set to 1
[  337.317740] Aborting core
[  337.354296] apt-get[2461]: segfault at 8 ip 00007f4f11bb7be2 sp 00007fffb156bdf0 error 4 in ld-2.15.so[7f4f11bac000+22000]
[  337.690407] apport[2462]: segfault at 8 ip 00007fe30f9b0be2 sp 00007fff68bfe420 error 4 in ld-2.15.so[7fe30f9a5000+22000]
[  337.690437] Process 2462(apport) has RLIMIT_CORE set to 1
[  337.690440] Aborting core
[  364.783642] package-data-do[2603]: segfault at 8 ip 00007f42cf00fbe2 sp 00007fffb99548a0 error 4 in ld-2.15.so[7f42cf004000+22000]
[  364.953177] apport[2604]: segfault at 8 ip 00007f3463adfbe2 sp 00007fff15adf0b0 error 4 in ld-2.15.so[7f3463ad4000+22000]
[  364.953207] Process 2604(apport) has RLIMIT_CORE set to 1
[  364.953210] Aborting core
[ 3252.991629] aptitude[2686]: segfault at 8 ip 00007f162d90ebe2 sp 00007ffff7c298e0 error 4 in ld-2.15.so[7f162d903000+22000]
[ 3253.233650] apport[2687]: segfault at 8 ip 00007f22d7d19be2 sp 00007fffab861bc0 error 4 in ld-2.15.so[7f22d7d0e000+22000]
[ 3253.233681] Process 2687(apport) has RLIMIT_CORE set to 1
[ 3253.233684] Aborting core

I have tried to replace the ld-2.15.so from a live dvd but that did not solve the problem.

Any hints on what could be done?

Thank you for your help.

manu-tm 06-23-2012 04:45 PM

Not sure but if you still have the install cd, you could try reinstall the apt package.
Also, have you checked /etc/apt/sources.list?

patufet99 06-24-2012 05:06 AM

I have found the way:

I manually downloaded the packages from the repository:

Quote:

pool/main/a/apt/

apt_0.8.16~exp12ubuntu10.2_amd64.deb
apt-utils_0.8.16~exp12ubuntu10.2_amd64.deb
apt-transport-https_0.8.16~exp12ubuntu10.2_amd64.deb
and installed it with

Quote:

sudo dpkg -i apt...
thank you for the help.


All times are GMT -5. The time now is 04:25 AM.