{"id":3979,"date":"2006-12-08T00:00:00","date_gmt":"2006-12-07T17:00:00","guid":{"rendered":"http:\/\/www.kitty.in.th\/index.php\/2006\/12\/08\/apt-aptitude-ouch-got-sigsegv\/"},"modified":"2011-10-24T15:47:01","modified_gmt":"2011-10-24T08:47:01","slug":"apt-aptitude-ouch-got-sigsegv","status":"publish","type":"post","link":"https:\/\/kitty.in.th\/index.php\/2006\/12\/08\/apt-aptitude-ouch-got-sigsegv\/","title":{"rendered":"apt | aptitude : Ouch! Got SIGSEGV"},"content":{"rendered":"<p>\u0e08\u0e30\u0e25\u0e07 kernel-package \u0e2a\u0e31\u0e01\u0e2b\u0e19\u0e48\u0e2d\u0e22<\/p>\n<pre># aptitude install kernel-package\r\nOuch! Got SIGSEGV, dying..\r\nSegmentation fault (core dumped)<\/pre>\n<p>\u0e40\u0e2d \u0e41\u0e1b\u0e25\u0e01\u0e46 &#8230; apt-get \u0e14\u0e39\u0e0b\u0e34<\/p>\n<pre># apt-get install kernel-package\r\nSegmentation fault (core dumped)<\/pre>\n<p>\u0e40\u0e2b\u0e27\u0e2d\u0e46\u0e46 &#8230; \u0e40\u0e01\u0e34\u0e14\u0e44\u0e23\u0e02\u0e36\u0e49\u0e19\u0e25\u0e48\u0e30\u0e40\u0e19\u0e35\u0e48\u0e22\u0e30 &#8230; \u0e44\u0e21\u0e48\u0e02\u0e33\u0e19\u0e30 .. T_T<\/p>\n<pre># strace -o xxx aptitude\r\n# less xxx\r\n....\r\nstat64(\"\/var\/cache\/apt\/pkgcache.bin\", {st_mode=S_IFREG|0644, st_size=9454080, ...}) = 0\r\nopen(\"\/var\/cache\/apt\/pkgcache.bin\", O_RDONLY) = 4\r\nfcntl64(4, F_SETFD, FD_CLOEXEC)         = 0\r\nfstat64(4, {st_mode=S_IFREG|0644, st_size=9454080, ...}) = 0\r\nmmap2(NULL, 9454080, PROT_READ, MAP_SHARED, 4, 0) = 0xb7195000\r\nstat64(\"\/var\/lib\/apt\/lists\/belldandy:9999_ubuntu_dists_edgy_main_binary-i386_Packages\", {st_mode=S_IFREG|0644, st_size=5491154, ...}) = 0\r\n--- SIGSEGV (Segmentation fault) @ 0 (0) ---<\/pre>\n<p>\u0e40\u0e2b\u0e21\u0e37\u0e2d\u0e19\u0e08\u0e30\u0e40\u0e14\u0e35\u0e49\u0e22\u0e07\u0e41\u0e16\u0e27\u0e46 \u0e08\u0e31\u0e07\u0e2b\u0e27\u0e30\u0e2d\u0e48\u0e32\u0e19 package \u0e08\u0e32\u0e01 cache .. hmm.. cache \u0e19\u0e48\u0e32\u0e08\u0e30\u0e25\u0e1a\u0e17\u0e34\u0e49\u0e07\u0e44\u0e14\u0e49\u0e25\u0e48\u0e30\u0e19\u0e30 ..<\/p>\n<pre># cd \/var\/cache\r\n# mv apt apt-saved\r\n# mkdir -p apt\/archives\/partial\r\n&lt;code&gt;\r\n\u0e41\u0e25\u0e49\u0e27\u0e01\u0e47\u0e25\u0e2d\u0e07\u0e23\u0e31\u0e19\u0e2d\u0e35\u0e01\u0e23\u0e2d\u0e1a\r\n&lt;code&gt;\r\n# aptitude install kernel-package\r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\nReading extended state information\r\nInitializing package states... Done\r\n...<\/pre>\n<p>\u0e17\u0e33\u0e07\u0e32\u0e19\u0e44\u0e14\u0e49\u0e08\u0e23\u0e34\u0e07\u0e46 \u0e14\u0e49\u0e27\u0e22 ! .. \u0e40\u0e22\u0e49 .. :D :D &#8230; \u0e43\u0e04\u0e23\u0e40\u0e08\u0e2d\u0e1b\u0e31\u0e0d\u0e2b\u0e32\u0e1b\u0e23\u0e30\u0e21\u0e32\u0e13\u0e19\u0e35\u0e49\u0e08\u0e30\u0e25\u0e2d\u0e07\u0e17\u0e33\u0e15\u0e32\u0e21\u0e14\u0e39\u0e01\u0e47\u0e44\u0e14\u0e49 .. \u0e41\u0e15\u0e48\u0e16\u0e49\u0e32\u0e40\u0e14\u0e35\u0e49\u0e22\u0e07\u0e08\u0e23\u0e34\u0e07\u0e46 \u0e01\u0e47\u0e15\u0e31\u0e27\u0e43\u0e04\u0e23\u0e15\u0e31\u0e27\u0e21\u0e31\u0e19\u0e19\u0e30 :P<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e08\u0e30\u0e25\u0e07 kernel-package \u0e2a\u0e31\u0e01\u0e2b\u0e19\u0e48\u0e2d\u0e22 # aptitude install kernel-package Ouch! Got SIGSEGV, dying.. Segmentation fault (core dumped) \u0e40\u0e2d \u0e41\u0e1b\u0e25\u0e01\u0e46 &#8230; apt-get \u0e14\u0e39\u0e0b\u0e34 # apt-get install kernel-package Segmentation fault (core dumped) \u0e40\u0e2b\u0e27\u0e2d\u0e46\u0e46 &#8230; \u0e40\u0e01\u0e34\u0e14\u0e44\u0e23\u0e02\u0e36\u0e49\u0e19\u0e25\u0e48\u0e30\u0e40\u0e19\u0e35\u0e48\u0e22\u0e30 &#8230; \u0e44\u0e21\u0e48\u0e02\u0e33\u0e19\u0e30 .. T_T # strace -o xxx aptitude # less xxx &#8230;. stat64(&#8220;\/var\/cache\/apt\/pkgcache.bin&#8221;, {st_mode=S_IFREG|0644, st_size=9454080, &#8230;}) = 0 open(&#8220;\/var\/cache\/apt\/pkgcache.bin&#8221;, O_RDONLY) = 4 fcntl64(4, &hellip; <a href=\"https:\/\/kitty.in.th\/index.php\/2006\/12\/08\/apt-aptitude-ouch-got-sigsegv\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">apt | aptitude : Ouch! Got SIGSEGV<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85],"tags":[126,267,5],"class_list":["post-3979","post","type-post","status-publish","format-standard","hentry","category-blog","tag-admin","tag-apt","tag-linux"],"_links":{"self":[{"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/posts\/3979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/comments?post=3979"}],"version-history":[{"count":9,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/posts\/3979\/revisions"}],"predecessor-version":[{"id":9432,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/posts\/3979\/revisions\/9432"}],"wp:attachment":[{"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/media?parent=3979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/categories?post=3979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kitty.in.th\/index.php\/wp-json\/wp\/v2\/tags?post=3979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}