[Bug 1117682] Re: apt-get crashes with a segmentation fault
Georg Seewald
schorse at seewald-server.de
Sun Jun 16 21:22:05 UTC 2013
When I try to use the command I get the following error:
root at h2094244:~# apt-get dist-upgrade
Segmentation fault gelesen... 98%
Also with aptitude
root at h2094244:~# aptitude dist-upgrade
[100%] Paketlisten werden gelesenSegmentation fault
I user strace to check what happend:
These are the last lines of the outpunt
29724 open("/var/lib/apt/lists/de.archive.ubuntu.com_ubuntu_dists_precise-security_Release", O_RDONLY|O_LARGEFILE) = 6
29724 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
29724 dup(6) = 7
29724 fcntl64(7, F_GETFL) = 0x8000 (flags O_RDONLY|O_LARGEFILE)
29724 fstat64(7, {st_mode=S_IFREG|0644, st_size=49575, ...}) = 0
29724 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb53f7000
29724 _llseek(7, 0, [0], SEEK_CUR) = 0
29724 read(7, "Origin: Ubuntu\nLabel: Ubuntu\nSui"..., 4096) = 4096
29724 _llseek(4, 26214399, [26214399], SEEK_SET) = 0
29724 write(4, "\0", 1) = 1
29724 mremap(0xb53f8000, 25165824, 26214400, MREMAP_MAYMOVE) = 0xb3af7000
29724 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
29724 +++ killed by SIGSEGV +++
root at h2094244:~#
I'm currently running the following version:
root at h2094244:~# uname -a
Linux h2094244.stratoserver.net 2.6.32-042stab076.8 #1 SMP Tue May 14 20:38:14 MSK 2013 i686 athlon i386 GNU/Linux
root at h2094244:/etc# cat lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS
My problem is that I do not know how I can apply a patch for apt-get
without apt-get?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1117682
Title:
apt-get crashes with a segmentation fault
Status in “apt” package in Ubuntu:
Confirmed
Bug description:
When trying to --reinstall multiple packages with apt-get, it crashes
with a segmentation fault. The command line: apt-get --reinstall
install <2-or-more-packages...>
Syslog shows:
kernel: [ 3322.059837] apt-get[14417]: segfault at 7fa5c24d65bc ip 00007fa5bb931329 sp 00007fffb0170528 error 4 in libapt-pkg.so.4.12.0[7fa5bb8e1000+121000]
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apt 0.8.16~exp12ubuntu10.7
ProcVersionSignature: Ubuntu 3.2.0-37.58-generic 3.2.35
Uname: Linux 3.2.0-37-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.1
Architecture: amd64
Date: Wed Feb 6 15:39:44 2013
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1)
MarkForUpload: True
ProcEnviron:
TERM=xterm
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_US.UTF-8
LANGUAGE=en_US:
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1117682/+subscriptions
More information about the foundations-bugs
mailing list