lin -r

Couannette couannette at free.fr
Sat Sep 3 08:19:49 UTC 2005


Auke Kok a écrit :
> Couannette wrote:
> 
>>Couannette a écrit :
>>
>>
>>>Hi
>>>
>>>when I do lin -r I expect lin to reconfigure my module.
>>>I've done lin -r and said no to one optional dependency BUT lin didn't removed
>>>this dep from the cached list of depends... So I can't really reconfigure my module.
>>>
>>>Request for comment...
>>>
>>>Couannette
>>
>>
>>Following this:
>>
>>root at eana /var/lib/lunar/moonbase/zlocal/fortune # lin -r -c fortune
>>+ Reconfiguring "fortune"
>>+ removing all depends for and optional on "fortune"
>>fortune: Install the "offensive" cookies distributed with fortune? [n]
>>fortune: Install & use optional (not yet installed) module recode
>>          dependency - purpose: ?  [n]
>>+ adding "optional" depends for "fortune" on "recode" (off)
>>+ Spawning download manager
>>+ download queue: recode  fortune
>>+ starting lin "fortune"
>>Checking dependencies for fortune
>>WARNING: hd2u conflicts with module recode
>>recode: Do you want to remove module hd2u ?  [n]
>>ERROR: Cannot continue installing conflicting modules, exiting!
>>
>>Request for comment ;)....
> 
> 
> Couanette,
> 
> You're running with a developers moonbase: this requires the following 
> to get new dependencies working:
> 
> 1) the svn tree of moonbase is outside /var/lib/lunar/moonbase
> 2) after modification of a DEPENDS file you rebuild the depends.cache 
> manually, either by calling the `lsh create_depends_cache` file or 
> issuing a `lin moonbase` (should always work).
> 
> sofar

Still failing lin -r -c fortune with the same message :(.
Maybe should I dig in debug mode?
Can I awk why lin add depends to /var/state/lunar/depends and then
run_module_file(DEPENDS) ? Is this not the two same tasks done twice ?
I'd rather prefer to have a clean /var/state/lunar/depends file generated during
lunar update (the famous create_depends_cache function) and the let lin order
dependencies compilation in a deterministic list. Huh ? Do I'm clear ?

With best regards
Couannette


root at eana /var/lib/lunar/moonbase/zlocal # lin -d -r -c fortune
++ main (fortune)
++ temp_create (download-pids)
++ temp_create (prepared-depends)
++ build_depends (fortune)
++ module_held (fortune)
++ build_module_depends (fortune)
++ run_conflicts (fortune)
++ run_module_file (fortune CONFLICTS)
++ run_details (fortune)
++ find_section (fortune)
++ run_details (fortune)
++ find_section (fortune)
++ run_configure ()
+ Reconfiguring "fortune"
++ remove_depends (fortune)
++ lock_file (/var/state/lunar/depends.backup)
++ lock_file (/var/state/lunar/depends)
+ removing all depends for and optional on "fortune"
++ unlock_file (/var/state/lunar/depends)
++ unlock_file (/var/state/lunar/depends.backup)
++ prepare_module_config ()
++ plugin_call(BUILD_CONFIGURE fortune)
++ plugin_initd_configure (fortune)
++ plugin_xinetd_configure (fortune)
++ Finished running all plugins for type "BUILD_CONFIGURE"
++ run_module_file (fortune CONFIGURE)
++ query (Install the "offensive" cookies distributed with fortune? n)
fortune: Install the "offensive" cookies distributed with fortune? [n] y
++ run_depends ()
++ run_module_file (fortune DEPENDS)
++   optional_depends (recode   for f....g recode)
++ module_exiled (recode)
++ query (Install & use optional \e[31m\e[1m(not yet installed)
\e[36mmodule\e[33m\e[1m recode
          dependency - purpose: for f....g recode?  n)
fortune: Install & use optional (not yet installed) module recode
          dependency - purpose: for f....g recode?  [n] n
++ add_depends (fortune recode off optional  )
++ lock_file (/var/state/lunar/depends.backup)
++ lock_file (/var/state/lunar/depends)
+ adding "optional" depends for "fortune" on "recode" (off)
++ unlock_file (/var/state/lunar/depends)
++ unlock_file (/var/state/lunar/depends.backup)
+ Spawning download manager
++ find_depends (fortune)
++ temp_create (found.depends)
++ recode
++ temp_destroy (/tmp/lunar.lin.5750.fortune.dozBxx6025)
+ download queue: recode  fortune
++ temp_create (recode.download.log)
++ temp_create (fortune.download.log)
++ module_held (fortune)
++ module_exiled (fortune)
+ starting lin "fortune"
++ main (fortune)
++ run_details (fortune)
++ find_section (fortune)
++ run_depends (fortune)
Checking dependencies for fortune
++ run_module_file (fortune DEPENDS)
++   optional_depends (recode   for f....g recode)
++ satisfy_depends (fortune)
++ temp_create (fortune.satify-depends)
++ find_depends (fortune)
++ temp_create (found.depends)
++ recode
++ temp_destroy (/tmp/lunar.lin.5750.fortune.uGyCJK6118)
++ color (on)
++ sound (off)
++ color (on)
++ Registered plugin #1, BUILD_POST_BUILD -> plugin_pam_post_build()
++ Registered plugin #2, KERNEL_UPDATEBOOTLOADER ->
plugin_kernel_updatebootloader_grub()
++ Registered plugin #3, MODULE_CHECK -> plugin_module_check_find()
++ Registered plugin #4, MODULE_CHECK -> plugin_module_check_ldd()
++ Registered plugin #5, MODULE_CHECK -> plugin_module_check_md5sum()
++ Registered plugin #6, MODULE_CHECK -> plugin_module_check_symlinks()
++ Registered plugin #7, SOURCE_DOWNLOAD -> plugin_source_download_cvs()
++ Registered plugin #8, SOURCE_NEEDREFRESH -> plugin_source_needrefresh_cvs()
++ Registered plugin #9, SOURCE_DOWNLOAD -> plugin_source_download_file()
++ Registered plugin #10, SOURCE_DOWNLOAD -> plugin_source_download_generic()
++ Registered plugin #11, SOURCE_DOWNLOAD -> plugin_source_download_svn()
++ Registered plugin #12, SOURCE_NEEDREFRESH -> plugin_source_needrefresh_svn()
++ Registered plugin #13, BUILD_CONFIGURE -> plugin_initd_configure()
++ Registered plugin #14, BUILD_POST_BUILD -> plugin_initd_post_build()
++ Registered plugin #15, BUILD_PRE_REMOVE -> plugin_lids_pre_remove()
++ Registered plugin #16, BUILD_POST_INSTALL -> plugin_lids_post_install()
++ Registered plugin #17, MODULE_CHECK -> plugin_module_check_lids()
++ Registered plugin #18, BUILD_POST_BUILD -> plugin_bash_post_build()
++ Registered plugin #19, BUILD_POST_BUILD -> plugin_services_post_build()
++ Registered plugin #20, BUILD_POST_BUILD -> plugin_postbuild_gather_docs()
++ Registered plugin #21, BUILD_POST_BUILD -> plugin_archive_module()
++ Registered plugin #22, SOURCE_UNPACK -> plugin_unpack_generic()
++ Registered plugin #23, SOURCE_UNPACK -> plugin_unpack_rpm()
++ Registered plugin #24, SOURCE_UNPACK -> plugin_unpack_zip()
++ Registered plugin #25, SOURCE_VERIFY -> plugin_source_verify_gpg()
++ Registered plugin #26, SOURCE_VERIFY -> plugin_source_verify_md5()
++ Registered plugin #27, SOURCE_VERIFY -> plugin_source_verify_sha1()
++ Registered plugin #28, BUILD_CONFIGURE -> plugin_xinetd_configure()
++ Registered plugin #29, BUILD_POST_BUILD -> plugin_xinetd_post_build()
++ root_check ()
++ enviro_check ()
++ set_priority ()
++ main (recode)
++ run_details (recode)
++ find_section (recode)
++ run_depends (recode)
++ satisfy_depends (recode)
++ temp_create (recode.satify-depends)
++ find_depends (recode)
++ temp_create (found.depends)
++ temp_destroy (/tmp/lunar.lin.6142.recode.DGOqWk6299)
++ temp_destroy (/tmp/lunar.lin.6142.recode.CAZXhe6281)
++ module_held (recode)
++ lin_module (recode)
++ xterm_bar (compiling recode)
++ run_details (recode)
++ find_section (recode)
++ temp_create (recode.installwatch)
++ check_blacklist ()
++ run_conflicts ()
++ run_module_file (recode CONFLICTS)
++ conflicts (hd2u)
WARNING: hd2u conflicts with module recode
++ query (Do you want to remove module
\e[0m\e[37m\e[1m\e[40mhd2u\e[0m\e[33m\e[1m ?  n)
recode: Do you want to remove module hd2u ?  [n] n
ERROR: Cannot continue installing conflicting modules, exiting!
++ temp_destroy (/tmp/lunar.lin.5750..wdKpja5765)
++ temp_destroy (/tmp/lunar.lin.5750..tzYRgy5760)
++ temp_destroy (/tmp/lunar.lin.5750..wdKpja5765)
root at eana /var/lib/lunar/moonbase/zlocal #


More information about the Lunar mailing list