Difference between revisions of "RT Maintenance"

From Pumping Station One
Jump to navigation Jump to search
Line 6: Line 6:
 
     rm -rf /usr/bin/site_perl
 
     rm -rf /usr/bin/site_perl
 
     rm -rf /usr/share/perl5/site_perl
 
     rm -rf /usr/share/perl5/site_perl
     /usr/bin/perl -MCPAN -e shell
+
     sudo /usr/bin/perl -MCPAN -e shell
    # choose sudo instead of local::lib when prompted
 
 
     cd /home/PS1/hef/rt-4.2.3
 
     cd /home/PS1/hef/rt-4.2.3
 
     sudo make fixdeps
 
     sudo make fixdeps
Line 14: Line 13:
 
== about perl libs ==
 
== about perl libs ==
  
Since rt is not installed via pacman or the aur, I find it's better to just use cpan to manage perl dependencies
+
Since rt is not installed via pacman or the aur, I find it's better to just use cpan to manage perl dependencies.
 +
 
 +
I found that running make fixdeps with cpan's sudo config cause way to many interuptions.  Eventually I got lazy and just run make fixdeps as sudo root.

Revision as of 05:49, 7 July 2014

rebuild perl

Sometimes perl gets broken on the rt system

   rm -rf /usr/bin/vendor_perl
   rm -rf /usr/bin/site_perl
   rm -rf /usr/share/perl5/site_perl
   sudo /usr/bin/perl -MCPAN -e shell
   cd /home/PS1/hef/rt-4.2.3
   sudo make fixdeps


about perl libs

Since rt is not installed via pacman or the aur, I find it's better to just use cpan to manage perl dependencies.

I found that running make fixdeps with cpan's sudo config cause way to many interuptions. Eventually I got lazy and just run make fixdeps as sudo root.