[Bug 424627] New: [openSUSE:Factory/deb] breaking builds with conflicting / sbin/update-alternatives
https://bugzilla.novell.com/show_bug.cgi?id=424627 Summary: [openSUSE:Factory/deb] breaking builds with conflicting /sbin/update-alternatives Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: opensuse-communityscreening@forge.provo.novell.com ReportedBy: novell@nethog.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: Third Party Developer/Partner Dunno if anyone noticed or reported this yet, I looked around and didn't notice any attempts to report it... Anyways, in brief.. apparently the deb package now includes or doesn't properly remove/exclude /sbin/update-alternatives which is causing a conflict with the update-alternatives package, which in turn causes builds (i.e, smart, the package manager, etc..) to fail. the deb specfile attempts to remove (old?) /usr/bin/update-alternatives during the %install section section but that doesn't work, and changing that to be /usr/sbin/update-alternatives in the specfile doesn't seem to fix the problem either, but I could be mistaking. At the very least, under the %files section changing whats included in the specfile under %{_sbindir}/* to be more specific (and excluding update-alternatives from it) fixes any conflicts. a rough, temporary example that works and should give whomever what they need to figure it out and fix it was this... --- deb.spec 2008-09-05 16:46:10.000000000 +0000 +++ deb.spec 2008-09-05 20:07:30.000000000 +0000 @@ -160,7 +160,10 @@ %dir %{_sysconfdir}/dpkg %config(noreplace) %{_sysconfdir}/dpkg/* %{_bindir}/* -%{_sbindir}/* +%{_sbindir}/c* +%{_sbindir}/d* +%{_sbindir}/i* +%{_sbindir}/s* %{_prefix}/lib/dpkg %{_datadir}/dpkg %{_localstatedir}/lib/dpkg ..anyways.. enjoy! and thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=424627 User novell@nethog.com added comment https://bugzilla.novell.com/show_bug.cgi?id=424627#c1 --- Comment #1 from damon pike <novell@nethog.com> 2008-09-08 17:14:01 MDT --- oops.. i take that back... removing it from the sbin directory under the %install section does work... forget the changes under the %files section.. this is the rough/temp or permanent change that fixes the issue: --- deb.spec 2008-09-05 16:46:10.000000000 +0000 +++ deb.spec 2008-09-05 16:53:59.000000000 +0000 @@ -131,6 +131,7 @@ rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/alternatives rm -rf $RPM_BUILD_ROOT%{_localstatedir}/lib/dpkg/alternatives rm -rf $RPM_BUILD_ROOT%{_bindir}/update-alternatives +rm -rf $RPM_BUILD_ROOT%{_sbindir}/update-alternatives rm -rf $RPM_BUILD_ROOT%{_mandir}/man8/update-alternatives.8 rm -rf $RPM_BUILD_ROOT%{_mandir}/*/man8/update-alternatives.8 thanks, peace! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com