Try this suggestion:Paapaa wrote:I got this when updating gentoo-syntax on amd64 setup:
How to fix this?Code: Select all
Cleaning stale versions after installing app-vim/gentoo-syntax-20070506::gentoo * app-vim/gentoo-syntax-20051221-r1::installed (2 of 2) Cleaning app-vim/gentoo-syntax-20051221-r1::installed >>> Running ebuild phases prerm saveenv as root:root... bunzip2 < /var/db/pkg/app-vim/gentoo-syntax-20051221-r1/environment.bz2 > /var/tmp/paludis/environment-ap p-vim-gentoo-syntax-20051221-r1-8001 ebuild_scrub_environment /var/tmp/paludis/environment-app-vim-gentoo-syntax-20051221-r1-8001 /var/tmp/paludis/environment-app-vim-gentoo-syntax-20051221-r1-8001: line 283: syntax error near unexpect ed token `(' /var/tmp/paludis/environment-app-vim-gentoo-syntax-20051221-r1-8001: line 283: ` done <<(get_m ounts);' !!! ERROR in app-vim/gentoo-syntax-20051221-r1: !!! In ebuild_load_environment at line 237 !!! Can't load saved environment for cleaning !!! Call stack: !!! * ebuild_load_environment (/usr/libexec/paludis/ebuild.bash:237) !!! * ebuild_main (/usr/libexec/paludis/ebuild.bash:356) !!! * main (/usr/libexec/paludis/ebuild.bash:381) !!! Could not extract the saved environment file. This is usually !!! caused by a broken environment.bz2 that was generated by an old !!! Portage version. The file that needs repairing is: !!! /var/db/pkg/app-vim/gentoo-syntax-20051221-r1/environment.bz2 !!! Try copying this file, bunzip2ing it and sourcing it using a new !!! bash shell (do not continue to use said shell afterwards). You !!! should get an error that give you a rough idea of where the !!! problem lies. die trap: exiting with error. Unhandled exception: * In program paludis -i world: * When performing install action from command line: * When executing install task: * When uninstalling 'app-vim/gentoo-syntax-20051221-r1' from 'installed': * Uninstall error: Uninstall failed for 'app-vim/gentoo-syntax-20051221-r1::installed' (paludis::PackageUninstallActionError)
http://forums.gentoo.org/viewtopic-p-37 ... ml#3799470






