Nicolas Thierry-Mieg wrote:
hi,
I just updated to the latest synaptic and apt rpmforge packages, on an
x86_64 centos5 box.
$ rpm -q synaptic apt
synaptic-0.57.2-5.el5.rf.x86_64
apt-0.5.15lorg3.94a-3.el5.rf.x86_64
The new apt works well, and I can install or upgrade packages with apt-get.
However, synaptic is now broken for me
<snip>
Following up on this problem, I found that this is a known problem with
a known solution:
http://lists.laiskiainen.org/pipermail/apt-rpm-laiskiainen.org/2008-April/000847.html
As indicated, I rebuilt the rpm including the patch:
http://apt-rpm.org/patches/synaptic-0.57.2-progressapi-hack.patch
This solves the problem for me.
I'm attaching a patch to the rpmforge synaptic.spec file, which also
includes the solution to another problem (broken pam config file for
synaptic on x86_64) that I had submitted back in september but that
didn't get applied (why?).
Regards,
Nicolas
--- synaptic_orig.spec 2008-10-29 00:53:14.000000000 +0100
+++ synaptic.spec 2008-11-06 17:00:01.000000000 +0100
@@ -5,7 +5,7 @@
Summary: Graphical package management program using apt
Name: synaptic
Version: 0.57.2
-Release: 5.rf
+Release: 6.rf
License: GPL
Group: Applications/System
URL: http://www.nongnu.org/synaptic/
@@ -17,6 +17,7 @@
Patch0: http://apt-rpm.org/patches/synaptic-0.57.2-gcc41.patch
Patch1: http://apt-rpm.org/patches/synaptic-0.57.2-repomd-1.patch
Patch2: http://apt-rpm.org/patches/synaptic-0.57.2-showprog.patch
+Patch3: http://apt-rpm.org/patches/synaptic-0.57.2-progressapi-hack.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: apt-devel >= 0.5.15lorg3.2
@@ -45,6 +46,7 @@
%patch0 -p1
%patch1 -p1
%patch2 -p1
+%patch3 -p1
%{__cat} <<EOF >synaptic.apps
USER=root
@@ -55,13 +57,9 @@
%{__cat} <<EOF >synaptic.pam
#%PAM-1.0
-auth sufficient /lib/security/pam_rootok.so
-auth sufficient /lib/security/pam_timestamp.so
-auth required /lib/security/pam_stack.so service=system-auth
-session required /lib/security/pam_permit.so
-session optional /lib/security/pam_xauth.so
-session optional /lib/security/pam_timestamp.so
-account required /lib/security/pam_permit.so
+auth include config-util
+account include config-util
+session include config-util
EOF
%{__cat} <<EOF >data/synaptic.desktop.in
_______________________________________________
users mailing list
[email protected]
http://lists.rpmforge.net/mailman/listinfo/users