You are not logged in.
Hi,
I don't know how, but it seams I managed to broken my perl / git svn install while updating :
DeepThought% cpan
Attempt to reload Scalar/Util.pm aborted.
Compilation failed in require at /usr/share/perl5/core_perl/Safe.pm line 4.
BEGIN failed--compilation aborted at /usr/share/perl5/core_perl/Safe.pm line 4.
Compilation failed in require at /usr/share/perl5/site_perl/CPAN.pm line 56.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/CPAN.pm line 56.
Compilation failed in require at /usr/share/perl5/site_perl/App/Cpan.pm line 218.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/App/Cpan.pm line 218.
Compilation failed in require at /usr/bin/site_perl/cpan line 9.
BEGIN failed--compilation aborted at /usr/bin/site_perl/cpan line 9.
DeepThought% git svn
Attempt to reload Scalar/Util.pm aborted.
Compilation failed in require at /usr/lib/perl5/vendor_perl/SVN/Core.pm line 408.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/SVN/Core.pm line 408.
Compilation failed in require at /usr/share/perl5/site_perl/Git/SVN/Utils.pm line 6.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/Git/SVN/Utils.pm line 6.
Compilation failed in require at /usr/share/perl5/site_perl/Git/SVN.pm line 33.
BEGIN failed--compilation aborted at /usr/share/perl5/site_perl/Git/SVN.pm line 33.
Compilation failed in require at /usr/lib/git-core/git-svn line 25.
BEGIN failed--compilation aborted at /usr/lib/git-core/git-svn line 25.
I tried to reinstall the packages git, subversion, perl, and cpre, but it don't solve it.
I read it could be related to C implementation of some stuff used by perl script that needs to be recompiled, but I don't know which.
Any advice / explanation on what's happening?
Offline
Not a pacman issue, moving to Apps & DEs...
Offline
Thanks to users on #archlinux, I managed to solve this problem.
First, I removed[1] with
yaourt -Rdd package_name
all packages with perl-*, and perl / pcre. Then, I checkell all remaining packages that has stuff in /usr/lib/perl15 with
pacman -Qo /usr/lib/perl15
. Then, I uninstalled those packages with also -Rdd.
After that, I flashed the cache with
pacman -Scc
, and removed all remaining files in /usr/lib/perl15.
And to finished, I reinstalled all those packages with
yaourt -S
.
And it worked
[1] I had lots of stuff that depended on perl, like llvm, ghc, etc. I made custom install (compiled ghc by hand and installed it) and replaced some files from the ghc package, so I don't wanted to reinstall it. "dd" means do not check dependencies.
Offline