I have exactly the same problem. The problem is that if you follow the documentation you'll configure yum to use stable packages. On the other hand, yume uses unstable packages which are obviously incompatible with the stable ones. I really don't understand the logic behind this and I stopped trying after sufficient hours lost on reading OSCAR Perl code.

Try changing yum config to use:
baseurl=http://bison.csm.ornl.gov/repos/unstable/rhel-5-x86_64
Do yum update and rerun build image step.

After the update perl modules will get the missing function:
# grep update_modprobe_config /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/ImageMgt.pm
            update_modprobe_config
sub update_modprobe_config ($) {

Cheers,
emir


JORGE 015 wrote:
Thanks for your help

I really need your help with this problem



=============================================================================
== [sync_file]
=============================================================================

[INFO] The following files do not exist, we cannot synchronize them, we will 
see later if we can use a distro template.
[ /etc/modprobe.conf ]
Array: 1 element(s)
[INFO] File /opt/sync_files/tmp/etc/modprobe.conf_debian already exists, exiting 
successfully.Undefined subroutine &OSCAR::ImageMgt::update_modprobe_config 
called at /var/lib/oscar/packages/sis/api-post-image line 209.
ERROR: /var/lib/oscar/packages/sis/api-post-image exitted badly (2) at 
/usr/bin/post_rpm_install line 119
ERROR: Couldn't run post_rpm_nochroot for sis at /usr/bin/post_rpm_install line 
120
Looking for /var/lib/oscar/packages/switcher/api-post-image...
Looking for /var/lib/oscar/packages/switcher/post_rpm_nochroot...
Looking for /var/lib/oscar/packages/sync-files/api-post-image...
Looking for /var/lib/oscar/packages/sync-files/post_rpm_nochroot...
--> About to run /var/lib/oscar/packages/sync-files/post_rpm_nochroot for 
sync-files
Created templates for image oscarimage in 
/opt/sync_files/templates/image/oscarimage
Make sure these files do not contain any user accounts.
Only system account IDs should be included!
ERROR: There were errors running post_rpm_install scripts.  Please check your 
logs. at /usr/bin/post_rpm_install line 126.
Looking for /var/lib/oscar/packages/yume/api-post-image...
Looking for /var/lib/oscar/packages/yume/post_rpm_nochroot...
ERROR: Impossible to execute /usr/bin/post_rpm_install oscarimage eth-1 
--verbose at /usr/lib/systeminstaller/SystemInstaller/Tk/Image.pm line 791
ERROR: Impossible to do post binary package install at 
/usr/lib/systeminstaller/SystemInstaller/Tk/Image.pm line 791
ERROR: Impossible to run postimagebuild at 
/usr/lib/systeminstaller/SystemInstaller/Tk/Image.pm line 791
ERROR: Impossible to create the image at /usr/lib/perl5/Tk.pm line 247
FATAL: Can't remove /var/lib/systemimager/overrides/oscarimage!
Image deletion failed for image oscarimage.
 at mksiimage line 366
DB_DEBUG>mksiimage:
====> in Database::do_update SQL : DELETE FROM Images WHERE 
Images.name='oscarimage'
DB_DEBUG>mksiimage:
====> in set_option_defaults setting host = localhost
DB_DEBUG>mksiimage:
====> in set_option_defaults setting port = 3306
DB_DEBUG>mksiimage:
====> in set_option_defaults setting database = oscar
DB_DEBUG>mksiimage:
====> in set_option_defaults setting type = mysql
DB_DEBUG>mksiimage:
====> in set_option_defaults setting user = oscar
DB_DEBUG>mksiimage:
====> in set_option_defaults setting password = DB_DEBUG>mksiimage:
====> in set_option_defaults setting password = oscar.061.065.236.504
DEBUG>mksiimage:
====>print_hash
-- in oda::oda_connect called from package=OSCAR::oda 
/usr/share/perl5/OSCAR/oda.pm:698 database_connected_flag=0 passed_options_ref= 
->
--     database => <oscar>
--     debug => <1>
--     host => <localhost>
--     password => <oscar.061.065.236.504>
--     port => <3306>
--     type => <mysql>
--     user => <oscar>
DEBUG>mksiimage:
====>print_hash
-- in oda::oda_connect options_ref= ->
--     database => <oscar>
--     debug => <1>
--     host => <localhost>
--     password => <oscar.061.065.236.504>
--     port => <3306>
--     type => <mysql>
--     user => <oscar>
DB_DEBUG>mksiimage:
====> in oda::oda_connect connnecting to database <oscar> as user <oscar>, password 
<oscar.061.065.236.504> using connect argument <DBI:mysql:oscar>
DB_DEBUG>mksiimage:
====> in oda::oda_connect connected to database <oscar>
DB_DEBUG>mksiimage:
====> in oda::database_server_version sql_command=<SELECT version();>
DB_DEBUG>mksiimage:
====> in oda::database_server_version fetchall_arrayref returned: (
DB_DEBUG>mksiimage:
====> in oda::database_server_version     (5.0.51a-3ubuntu5)
DB_DEBUG>mksiimage:
====> in oda::database_server_version returning saved <5.0.51a-3ubuntu5>
DB_DEBUG>mksiimage:
====> in oda::do_sql_command sql_command=<DELETE FROM Images WHERE 
Images.name='oscarimage'> caller=<UDATE Table Images> failure=<Failed to update Images 
table>
DB_DEBUG>mksiimage:
====> in oda::oda_disconnect called from package=OSCAR::oda 
/usr/share/perl5/OSCAR/oda.pm:730
DB_DEBUG>mksiimage:
====> in oda::oda_disconnect disconnnecting

r...@ligax-laptop:~#


_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE


------------------------------------------------------------------------

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july


------------------------------------------------------------------------

_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to