LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-14-2009, 05:37 AM   #1
rajeshksv
LQ Newbie
 
Registered: Jan 2009
Posts: 10

Rep: Reputation: 0
Angry Error while creating client module sw_single


Hey Guys,

Here is an interesting problem :P I updated my system (installed many packages including yast-ncursors(donno exact name) and some pkgs related to yast).Now when I try 2 open YAST->Software Management a small window saying tht

Error while creating client module sw_single

is being dispalyed..wt 2 do??plz help


Thanks in advance...
 
Old 01-14-2009, 05:48 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Scan these packages and see if you might be missing something.


Code:
S | Name                | Summary                                               | Type
--+---------------------+-------------------------------------------------------+-----------
i | libncurses5         | The New curses Libraries                              | package
i | libncurses5-32bit   | The New curses Libraries                              | package
i | ncurses             | New curses Libraries                                  | srcpackage
i | ncurses-devel       | Include Files and Libraries mandatory for Development | package
  | ncurses-devel-32bit | Include Files and Libraries mandatory for Development | package
i | ncurses-utils       | Tools using the new curses libraries                  | package
  | php5-ncurses        | PHP5 Extension Module                                 | package
i | yast2-ncurses       | YaST2 - Character Based User Interface                | package
  | yast2-ncurses-devel | YaST2 - character based user interface                | package
i | yast2-ncurses-pkg   | YaST2 - Character Based Package Manager Frontend      | package
Code:
zypper se yast2 | sed -n '/^i/p'
i | autoyast2                    | autoyast: fix for cloning a system for an autoinstallation                                | patch
i | autoyast2-installation       | YaST2 - Auto Installation Modules                                                         | package
i | yast2                        | YaST2 - Main Package                                                                      | package
i | yast2-add-on                 | YaST2 - Add-On media installation code                                                    | package
i | yast2-apparmor               | YaST2 - Plugins for AppArmor Profile Management                                           | package
i | yast2-backup                 | YaST2 - System Backup                                                                     | package
i | yast2-backup                 | yast2-backup: Fix for arbitrary shell code injection and improvemnt for handling symlinks | patch
i | yast2-bootloader             | YaST2 - Bootloader Configuration                                                          | package
i | yast2-control-center         | YaST2 - Control Center                                                                    | package
i | yast2-control-center-gnome   | YaST2 - Control Center (GNOME version)                                                    | package
i | yast2-control-center-qt      | YaST2 - Control Center (Qt Version)                                                       | package
i | yast2-core                   | YaST2 - Core Libraries                                                                    | package
i | yast2-country                | YaST2 - Country Settings (Language, Keyboard, and Timezone)                               | package
i | yast2-country-data           | YaST2 - Data files for Country settings                                                   | package
i | yast2-firewall               | YaST2 - Firewall Configuration                                                            | package
i | yast2-hardware-detection     | YaST2 - Hardware Detection Interface                                                      | package
i | yast2-inetd                  | YaST2 - Network Services Configuration                                                    | package
i | yast2-installation           | YaST2 - Installation Parts                                                                | package
i | yast2-irda                   | YaST2 - Infra-Red (IrDA) Access Configuration                                             | package
i | yast2-iscsi-client           | YaST2 - Configuration of iscsi-client                                                     | package
i | yast2-kerberos-client        | YaST2 - Kerberos Client Configuration                                                     | package
i | yast2-ldap                   | YaST2 - LDAP Agent                                                                        | package
i | yast2-ldap-client            | YaST2 - LDAP Client Configuration                                                         | package
i | yast2-libyui                 | YaST2 - User Interface Engine                                                             | package
i | yast2-mail                   | YaST2 - Mail Configuration                                                                | package
i | yast2-metapackage-handler    | YaST2 - Easy Installation of Add-on RPMs using Metapackages                               | package
i | yast2-mouse                  | YaST2 - Mouse Configuration                                                               | package
i | yast2-ncurses                | YaST2 - Character Based User Interface                                                    | package
i | yast2-ncurses-pkg            | YaST2 - Character Based Package Manager Frontend                                          | package
i | yast2-network                | YaST2 - Network Configuration                                                             | package
i | yast2-nfs-client             | YaST2 - NFS Configuration                                                                 | package
i | yast2-nfs-common             | YaST2 - NFS Configuration, common parts                                                   | package
i | yast2-nfs-server             | YaST2 - NFS Server Configuration                                                          | package
i | yast2-nis-client             | YaST2 - Network Information Services (NIS, YP) Configuration                              | package
i | yast2-ntp-client             | YaST2 - NTP Client Configuration                                                          | package
i | yast2-online-update          | YaST2 - Online Update (YOU)                                                               | package
i | yast2-online-update-frontend | YaST2 - Online Update (YOU)                                                               | package
i | yast2-packager               | YaST2 - Package Library                                                                   | package
i | yast2-pam                    | YaST2 - PAM Agent                                                                         | package
i | yast2-perl-bindings          | YaST2 - Perl Bindings                                                                     | package
i | yast2-pkg-bindings           | YaST2 - Package Manager Access                                                            | package
i | yast2-pkg-bindings           | yast2-pkg-bindings: let one click installer select the best architecture                  | patch
i | yast2-printer                | YaST2 - Printer Configuration                                                             | package
i | yast2-profile-manager        | YaST2 - Profile Configuration                                                             | package
i | yast2-qt                     | YaST2 - Graphical User Interface                                                          | package
i | yast2-qt-pkg                 | YaST2 - Graphical User Interface                                                          | package
i | yast2-qt-pkg                 | qt-pkg: Fix for a Yast crash after leaving the package selection.                         | patch
i | yast2-registration           | YaST2 - Registration Module                                                               | package
i | yast2-repair                 | YaST2 - System Repair Tool                                                                | package
i | yast2-restore                | YaST2 - System Restore                                                                    | package
i | yast2-runlevel               | YaST2 - Runlevel Editor                                                                   | package
i | yast2-samba-client           | YaST2 - Samba Client Configuration                                                        | package
i | yast2-samba-server           | YaST2 - Samba Server Configuration                                                        | package
i | yast2-scanner                | YaST2 - Scanner Configuration                                                             | package
i | yast2-security               | YaST2 - Security Configuration                                                            | package
i | yast2-slp                    | YaST2 - SLP Agent and Browser                                                             | package
i | yast2-sound                  | YaST2 - Sound Configuration                                                               | package
i | yast2-storage                | YaST2 - Storage Configuration                                                             | package
i | yast2-storage-lib            | YaST2 - Storage Configuration Library                                                     | package
i | yast2-sudo                   | YaST2 - sudo configuration                                                                | package
i | yast2-support                | YaST2 - Support Inquiries                                                                 | package
i | yast2-sysconfig              | YaST2 - Sysconfig Editor                                                                  | package
i | yast2-theme-openSUSE         | YaST2 - Theme (openSUSE)                                                                  | package
i | yast2-theme-openSUSE-Oxygen  | YaST2 - Theme (openSUSE)                                                                  | package
i | yast2-trans-en_US            | YaST2 - American English Translations                                                     | package
i | yast2-trans-stats            | YaST2 - Translation Statistics                                                            | package
i | yast2-transfer               | YaST2 - Agent for Various Transfer Protocols                                              | package
i | yast2-tune                   | YaST2 - Hardware Tuning                                                                   | package
i | yast2-tv                     | YaST2 - TV Configuration                                                                  | package
i | yast2-update                 | YaST2 - Update                                                                            | package
i | yast2-users                  | YaST2 - User and Group Configuration                                                      | package
i | yast2-vm                     | YaST2 Virtual Machine Installer                                                           | package
i | yast2-x11                    | YaST2 - X Window System Configuration                                                     | package
i | yast2-xml                    | YaST2 - XML Agent                                                                         | package
i | yast2-ycp-ui-bindings        | YaST2 - YCP Bindings for the YaST2 User Interface Engine                                  | package
i | yast2_basis                  | YaST System Administration                                                                | pattern
i | yast2_install_wf             | YaST Installation Packages                                                                | pattern
Code:
rpm -qf /usr/share/YaST2/clients/sw_single.ycp
yast2-packager-2.16.53-3.1
 
Old 01-14-2009, 06:26 AM   #3
rajeshksv
LQ Newbie
 
Registered: Jan 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Tks jschiwal for your suggestion.Bt i dnt get u completely...Wt shd i do??shd i manuall search for all packages u referred in code1??
wt 2 do wid code2??
In code3 I got the same output as you mentioned

can u plz explain in detail??
thank you
 
Old 01-14-2009, 08:01 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I was showing you which packages I have installed related to yast2. I meant read through when I said "scan", not some computer process.
In the first list, the ones beginning with "i" are installed. In the second, I filtered only the installed packages.

The third one looks like the client mentioned.


Code:
jschiwal@hpmedia:~> file /usr/share/YaST2/clients/sw_single.ycp
/usr/share/YaST2/clients/sw_single.ycp: ASCII Java program text
You might try rebooting and running "sudo zypper refresh". Maybe there is a stale lock on a file. Also run "ldconfig" as root. This will add library paths from ld.so.conf. Sometimes this isn't done for some reason.

Since sw_single.ycp is a Java script, make sure your java installation is OK.

From the names of the files installed, it looks like the yast2-ncurses files are python libraries. Check your python installation. Did you install a newer version of Python that doesn't work with yast? My version of Python is 2.52.

You might try running "strace sudo /sbin/yast2 sw_single". This may tell you what the program was trying to do when the error failed.

I tried to compare lsof before and during running "sudo /sbin/yast2 sw_single" but nothing seemed to jump out at me.

Last edited by jschiwal; 01-15-2009 at 04:21 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cpan2tgz error on installing module: Failed to find module: build_requires pwc101 Slackware 6 01-08-2009 05:24 AM
How Can I Force Removal of a Kernel Module (ERROR: Module usb_storage is in use) klearview Linux - Software 2 10-10-2008 09:20 PM
Creating a simple file system module Raynus Linux - Kernel 2 10-07-2008 06:39 PM
error: -1 Invalid module format when using insmod with module cross-compiled for arm AndrewShanks Linux - Embedded & Single-board computer 4 10-15-2007 03:50 AM
insmod: error inserting 'module.o': -1 Invalid module format ksrinivas Linux - Newbie 5 10-11-2006 07:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration