/usr/bin/apt-get -o "Dir::Etc::sourceparts=''" -o "Dir::Etc::sourcelist=/etc/apt/sources.list.d/local.list" install -y `cat ~ildar/buffer/get-i586.list` ... 250 upgraded, 33 newly installed, 3 replaced, 9 removed and 2 not upgraded. Need to get 0B/160MB of archives. After unpacking 31.3MB of additional disk space will be used. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1214708016 (LWP 20699)] 0xb7bb93cc in Fileno () from /usr/lib/librpmio-4.0.4.so (gdb) bt #0 0xb7bb93cc in Fileno () from /usr/lib/librpmio-4.0.4.so #1 0xb7c0c601 in pthread_cancel () from /usr/lib/librpm-4.0.4.so #2 0x00000000 in ?? () Версии: rpm -q rpm apt glibc rpm-4.0.4-alt98.7 apt-0.5.15lorg2-alt26 glibc-2.9-alt5
Created attachment 3498 [details] strace
Created attachment 3499 [details] использованный файл get-i586.list
Created attachment 3500 [details] strace поменьше Вот пример попроще: gdb run -o "Dir::Etc::sourceparts=''" -o "Dir::Etc::sourcelist=/etc/apt/sources.list.d/local.list" install tex-common ... The following packages will be upgraded tex-common 1 upgraded, 0 newly installed, 0 removed and 253 not upgraded. Need to get 0B/4254B of archives. After unpacking 988B of additional disk space will be used. ---Type <return> to continue, or q <return> to quit--- Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1214957872 (LWP 25511)] 0xb7b7c3cc in Fileno () from /usr/lib/librpmio-4.0.4.so (gdb) bt #0 0xb7b7c3cc in Fileno () from /usr/lib/librpmio-4.0.4.so #1 0xb7bcf601 in pthread_cancel () from /usr/lib/librpm-4.0.4.so #2 0x00000000 in ?? ()
проблема обнаружена: причиной SIGSEGV оказалось rpm -Uvh /mnt/nfs/heap/software/ALTLinux/i586/tex-common_0.2-alt2_noarch.rpm error: open of /mnt/nfs/heap/software/ALTLinux/i586/tex-common_0.2-alt2_noarch.rpm failed: Permission denied Для рута это нетипично, но всё равно ошибка. Исправил на minor