열면 gnome-software
다음 오류가 발생합니다.
나는 응용 프로그램의 자세한 출력을 보았지만 아무것도 얻지 못했습니다.
$ echo '# kill existing processes'; killall gnome-software; echo '# done killing'; gnome-software --verbose 2>&1 | grep -C7 'not handling error failed for action'
# kill existing processes
gnome-software: no process found
# done killing
08:12:38:0806 Gs Chaining cancellation from 0x560efce97e20 to 0x560efd0f8820
08:12:38:0806 Gs Chaining cancellation from 0x560efce97e20 to 0x560efd0fa160
08:12:38:0806 Gs Chaining cancellation from 0x560efce97e20 to 0x560efd17a9e0
08:12:38:0806 Gs Disconnecting cancellable 0x560efce97e20
08:12:38:0806 Gs emitting global finished
08:12:38:0807 Gs getting historical updates for fresh session
08:12:38:0807 Gs Chaining cancellation from 0x560efcf592a0 to 0x560efd17a820
08:12:38:0807 Gs not handling error failed for action refresh: Could not activate remote peer.
08:12:38:0807 Gs emitting global waiting
08:12:38:0807 Gs emitting waiting(packagekit-refresh)
08:12:38:0807 Gs emitting waiting(packagekit-refresh)
08:12:38:0807 Gs emitting waiting(packagekit-refresh)
08:12:38:0807 Gs emitting setup(packagekit-refresh)
08:12:38:0807 Gs emitting global finished
08:12:38:0808 Gs not handling error failed for action get-updates-historical: Could not activate remote peer.
08:12:38:0809 Gs truncating results to 20 from 59
08:12:38:0809 Gs no ->sort_func() set for get-featured, using random!
08:12:38:0812 PK role now resolve
08:12:38:0816 Gs emitting global waiting
08:12:38:0827 Gs running get-updates-historical on plugin=packagekit with dedupe-flags=7 with refine-flags=require-version with timeout=60 on apps , elapsed time since creation 20ms
08:12:38:0830 GsPluginFlatpak system/flatpak/flathub/org.gnucash.GnuCash/stable is not installed, so ignoring version of 4.13+ (Flathub 4.13)
08:12:38:0831 GsPluginFlatpak marking system/flatpak/flathub/org.gnucash.GnuCash/stable as available with flatpak
^C
게다가 strace
오류 전에 시스템 호출에 "피어"라는 단어가 다시 표시되어 getpeername
소프트웨어가 실제로 "피어" 자격이 없는 항목을 처리하고 있다고 믿게 됩니다.
$ echo '# kill existing processes'; killall gnome-software; echo '# done killing'; strace gnome-software --verbose 2>&1 | grep -C7 'not handling error failed for action'
# kill existing processes
gnome-software: no process found
# done killing
futex(0x5576ba937d80, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x5576ba9689e0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x5576ba961088, FUTEX_WAKE_PRIVATE, 1) = 1
getpeername(2, 0x7ffc63195d80, [128]) = -1 ENOTSOCK (Socket operation on non-socket)
ioctl(2, TCGETS, 0x7ffc63195d80) = -1 ENOTTY (Inappropriate ioctl for device)
write(2, "08:15:52:0916 ", 1408:15:52:0916 ) = 14
write(2, "Gs ", 4Gs ) = 4
write(2, "not handling error failed for ac"..., 78not handling error failed for action refresh: Could not activate remote peer.
) = 78
futex(0x7f20427bd108, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f20427bd108, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f20427bd108, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f20427bd108, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f20427bd108, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f20427bd108, FUTEX_WAKE_PRIVATE, 1) = 0
--
poll([{fd=5, events=POLLIN}, {fd=8, events=POLLIN}, {fd=13, events=POLLIN}, {fd=15, events=POLLIN}], 4, 0) = 0 (Timeout)
futex(0x7f20427bd108, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f20427bd108, FUTEX_WAKE_PRIVATE, 1) = 0
getpeername(2, 0x7ffc63195d80, [128]) = -1 ENOTSOCK (Socket operation on non-socket)
ioctl(2, TCGETS, 0x7ffc63195d80) = -1 ENOTTY (Inappropriate ioctl for device)
write(2, "08:15:52:0924 ", 1408:15:52:0924 ) = 14
write(2, "Gs ", 4Gs ) = 4
write(2, "not handling error failed for ac"..., 93not handling error failed for action get-updates-historical: Could not activate remote peer.
) = 93
futex(0x7f20427bd108, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f20427bd108, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f20427bd108, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f20427bd108, FUTEX_WAIT_PRIVATE, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x7f20427bd108, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f20427bd108, FUTEX_WAKE_PRIVATE, 1) = 0
^C
그렇게 했는데 rm -rf ~/.cache/
문제에 영향이 없습니다. 일부 소스를 다시 열고 닫으려고 시도했지만 오류가 지속됩니다.
이것은 소프트웨어 버그입니까? 아니면 실패한 작업을 중지하기 위해 조정할 수 있는 다른 구성이 있습니까?
온라인 중
$ gnome-software --version
gnome-software 41.5
$ cat /etc/redhat-release
AlmaLinux release 9.1 (Lime Lynx)
$ flatpak update
Looking for updates…
Nothing to do.
$ dnf check-update
Last metadata expiration check: 0:28:59 ago on Tue 17 Jan 2023 09:00:15 AM CET.
전체 리포지토리 목록을 살펴보고 비활성화하여 오류가 사라졌습니다. 다시 활성화하면 flathub
오류만 발생합니다. 모든 관련 패키지 저장소를 비활성화 flathub
했지만 활성화하면 오류가 발생하지 않았습니다. 따라서 flathub에서만 문제가 발생했습니다.