When I try to use the command I get the following error:

root@h2094244:~# apt-get dist-upgrade
Segmentation fault gelesen... 98%

Also with aptitude

root@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@h2094244:~#

I'm currently running the following version:

root@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@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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1117682

Title:
  apt-get crashes with a segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1117682/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to