Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#27925 - [packagekit] Support for proxy
Attached to Project:
Community Packages
Opened by Daniel Apolinario (dapolinario) - Friday, 13 January 2012, 11:46 GMT
Last edited by Jonathan Conder (PirateJonno) - Monday, 26 November 2012, 01:40 GMT
Opened by Daniel Apolinario (dapolinario) - Friday, 13 January 2012, 11:46 GMT
Last edited by Jonathan Conder (PirateJonno) - Monday, 26 November 2012, 01:40 GMT
|
DetailsDescription: PackageKit does not support proxy. Please add the patch you sent me earlier.
Additional info: * package version(s): packagekit 0.6.19-4 |
This task depends upon
Closed by Jonathan Conder (PirateJonno)
Monday, 26 November 2012, 01:40 GMT
Reason for closing: Fixed
Additional comments about closing: The comment section has drifted off-topic. If you're still having trouble, open a new bug. I can't guarantee I'll have time to fix anything though.
Monday, 26 November 2012, 01:40 GMT
Reason for closing: Fixed
Additional comments about closing: The comment section has drifted off-topic. If you're still having trouble, open a new bug. I can't guarantee I'll have time to fix anything though.
proxy.patch
The output was:
danielr ~ $ sudo /usr/lib/PackageKit/packagekitd
Failed to load any of the specified backends:: alpm
Now another problem (I do not know if I have to open another ticket), but how do I disable signature verification?
Jan 24 07:13:36 localhost kernel: [ 533.646508] packagekitd[3202]: segfault at 41ed ip b71fb824 sp b59feb80 error 4 in libc-2.15.so[b71b8000+19c000]
# gdb /usr/lib/PackageKit/packagekitd
(as root, make sure no other instances of packagekitd are running first), then type
run
and do whatever it is that causes the crash. Then type
bt
and send me the output. To quit type
q
[Thread 0xb5fffb40 (LWP 3737) exited]
[New Thread 0xb5fffb40 (LWP 5763)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5fffb40 (LWP 5763)]
0xb7a2d824 in vfprintf () from /lib/libc.so.6
(gdb) bt
#0 0xb7a2d824 in vfprintf () from /lib/libc.so.6
#1 0xb7ae91f1 in __vasprintf_chk () from /lib/libc.so.6
#2 0xb7c14896 in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#3 0xb7bf20a6 in g_string_append_vprintf () from /usr/lib/libglib-2.0.so.0
#4 0xb7bf21fb in g_string_append_printf () from /usr/lib/libglib-2.0.so.0
#5 0xb6b1df1c in ?? () from /usr/lib/packagekit-backend/libpk_backend_alpm.so
#6 0x0806d62a in ?? ()
#7 0xb7bf6344 in ?? () from /usr/lib/libglib-2.0.so.0
#8 0xb7eebd4c in start_thread () from /lib/libpthread.so.0
#9 0xb7ad303e in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further
1) add '!strip' to the options array
options=('!libtool' '!strip')
2) put CFLAGS='-g -O0' at the end of make -s (on line 51)
make -s CFLAGS='-g -O0'
then repeat those gdb commands. Thanks.
Also you might want to just run /usr/lib/PackageKit/packagekitd (as root) first and see if it prints out anything unusual. It will keep running in the background afterwards: to kill it safely use the following command:
dbus-send --system --dest=org.freedesktop.PackageKit /org/freedesktop/PackageKit org.freedesktop.PackageKit.SuggestDaemonQuit
(packagekitd:24195): PackageKit-alpm-DEBUG: call to waitpid succeeded
[Thread 0xb5fffb40 (LWP 24209) exited]
[New Thread 0xb5fffb40 (LWP 26235)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5fffb40 (LWP 26235)]
0xb7a25824 in vfprintf () from /lib/libc.so.6
(gdb) bt
#0 0xb7a25824 in vfprintf () from /lib/libc.so.6
#1 0xb7ae11f1 in __vasprintf_chk () from /lib/libc.so.6
#2 0xb7c0c896 in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#3 0xb7bea0a6 in g_string_append_vprintf () from /usr/lib/libglib-2.0.so.0
#4 0xb7bea1fb in g_string_append_printf () from /usr/lib/libglib-2.0.so.0
#5 0xb6b147c9 in pk_backend_get_files_thread (self=0x80cd800)
at pk-backend-packages.c:348
#6 0x08071012 in pk_backend_thread_setup (thread_data=0x80c8748)
at pk-backend.c:2556
#7 0xb7bee344 in ?? () from /usr/lib/libglib-2.0.so.0
#8 0xb7ee3d4c in start_thread () from /lib/libpthread.so.0
#9 0xb7acb03e in clone () from /lib/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further
If not it could be tricky to track down:
what packages in particular were you updating when it happened?
is your computer i686 or x86_64?
(packagekitd:28012): PackageKit-alpm-DEBUG: call to waitpid succeeded
[Thread 0xb5fffb40 (LWP 28030) exited]
[New Thread 0xb5fffb40 (LWP 28044)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5fffb40 (LWP 28044)]
0xb7a25824 in vfprintf () from /lib/libc.so.6
(gdb) bt
#0 0xb7a25824 in vfprintf () from /lib/libc.so.6
#1 0xb7ae11f1 in __vasprintf_chk () from /lib/libc.so.6
#2 0xb7c0c896 in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#3 0xb7bea0a6 in g_string_append_vprintf () from /usr/lib/libglib-2.0.so.0
#4 0xb7bea1fb in g_string_append_printf () from /usr/lib/libglib-2.0.so.0
#5 0xb6b147c5 in pk_backend_get_files_thread (self=0x80cd800)
at pk-backend-packages.c:350
#6 0x08071012 in pk_backend_thread_setup (thread_data=0x80cc450)
at pk-backend.c:2556
#7 0xb7bee344 in ?? () from /usr/lib/libglib-2.0.so.0
#8 0xb7ee3d4c in start_thread () from /lib/libpthread.so.0
#9 0xb7acb03e in clone () from /lib/libc.so.6
About the questions:
With any package is the problem.
I have two machines, one i686 and one x86_64, and two in the same problem.
(packagekitd:14601): PackageKit-alpm-DEBUG: adding database entry 'devede'
(packagekitd:14601): PackageKit-alpm-DEBUG: writing devede-3.21.0-1 DESC information back to db
(packagekitd:14601): PackageKit-alpm-DEBUG: writing devede-3.21.0-1 FILES information back to db
(packagekitd:14601): PackageKit-alpm-DEBUG: adding entry 'devede' in 'local' cache
(packagekitd:14601): PackageKit-alpm-DEBUG: running ldconfig
(packagekitd:14601): PackageKit-alpm-DEBUG: executing "/sbin/ldconfig" under chroot "/"
(packagekitd:14601): PackageKit-alpm-DEBUG: call to waitpid succeeded
(packagekitd:14601): PackageKit-alpm-WARNING **: package: <libftdi;0.19-1;i686;installed> file: usr/
The dmesg returned:
packagekitd[14638]: segfault at 41ed ip b7135824 sp b56fe6e0 error 4 in libc-2.15.so[b70f2000+19c000]
The settings for the proxy are correct!
The problem is when I update or install a package.
When I update a package, the warning window that appears warning that the system has been updated does not appear, but the package has been updated. At this time the segmentation fault appears already mentioned.
When I install a package, the buttons are locked and gives segmentation fault mentioned, but when I search the package, it is installed perfectly.
The dmesg returned:
packagekitd[14638]: segfault at 41ed ip b7135824 sp b56fe6e0 error 4 in libc-2.15.so[b70f2000+19c000]
Dmesg did not return any segmentation fault.
The gdb returned:
(packagekitd:27784): PackageKit-alpm-DEBUG: call to waitpid succeeded
[Thread 0xb5fffb40 (LWP 29392) exited]
[New Thread 0xb5fffb40 (LWP 29394)]
(packagekitd:27784): PackageKit-alpm-WARNING **: package: <hunspell-de;20110609-1;any;installed> file: /usr/
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5fffb40 (LWP 29394)]
0xb7a24824 in vfprintf () from /lib/libc.so.6
(gdb) bt
#0 0xb7a24824 in vfprintf () from /lib/libc.so.6
#1 0xb7ae01f1 in __vasprintf_chk () from /lib/libc.so.6
#2 0xb7c0b896 in g_vasprintf () from /usr/lib/libglib-2.0.so.0
#3 0xb7be4c13 in g_strdup_vprintf () from /usr/lib/libglib-2.0.so.0
#4 0xb7bceafe in g_logv () from /usr/lib/libglib-2.0.so.0
#5 0xb7bcee93 in g_log () from /usr/lib/libglib-2.0.so.0
#6 0xb6b127d9 in pk_backend_get_files_thread (self=0x80cd800)
at pk-backend-packages.c:350
#7 0x08071012 in pk_backend_thread_setup (thread_data=0x80cd388)
at pk-backend.c:2556
#8 0xb7bed344 in ?? () from /usr/lib/libglib-2.0.so.0
#9 0xb7ee2d4c in start_thread () from /lib/libpthread.so.0
#10 0xb7aca03e in clone () from /lib/libc.so.6