On Sunday 09 April 2006 02:03, Andres Mejia wrote:
I updated KDE to version 3.5.2 from the supplementary folder. Now I can't install RPMs by clicking the <Install Package with YaST> button or use the <Use Directory as Source with YaST> button. This is what I'm getting running Konqueror in a terminal session.
user@linux:~> konqueror konqueror: WARNING: KXMLGUIClient::setXMLFile: cannot find .rc file krpmview.rc kparts: WARNING: Part '' has a widget with a focus policy of NoFocus. It should have at least a ClickFocus policy, for part activation to work well.
I get above output as well, after clicking on a .rpm file, but *without* clicking on the 'Install Package with YaST' or 'Use Directory as Source with YaST' buttons.
kdesu: Unknown option '-n'. kdesu: Use --help to get a list of available command line options.
Above 2 output lines are added after clicking *once* on /either/ the 'Install
Package with YaST' button *or* the 'Use Directory as Source with YaST' button
(still in Konqueror).
[snip]
Have you tried one of these:
- right-click on an .rpm-file, click 'Actions' -> 'Install with YaST'
- right-click on a directory, click 'Actions' -> 'Add directory as YaST
source'
Perhaps it is necessary to first add a directory as YaST source, and then
install a .rpm-file - not the other way around.
I admit, it's not a solution, but a work-around. ;)
But this *clearly* is a bug. I downloaded the .src.rpm package. The
servicemenu entries
in /opt/kde3/share/apps/konqueror/servicemenus/{add_yast_source,install_rpm}.sh
are ok (the option '-n' to kdesu was removed), but they forgot to remove that
option from the krpmview.cpp:
----