How to delete cpan module on cpan

Discussion in 'Programming' started by satimis, Nov 9, 2008.

  1. #1
    Hi folks,


    OS Debian Etch


    Background story;
    I'm building a mail server running postfix. The server is up with postfix started without warning, but not listening. It can't send and receive mails. No firewall is running.

    I made heavy googlging on Internet and found one thread mentioning it may be caused by more than one db running.


    cpan[11]> test BerkeleyDB
    
    ......
    .......
    Can't load
    '/root/.cpan/build/BerkeleyDB-0.36-pwxlCB/blib/arch/auto/BerkeleyDB/BerkeleyDB.so'
    for module BerkeleyDB:
    /root/.cpan/build/BerkeleyDB-0.36-pwxlCB/blib/arch/auto/BerkeleyDB/BerkeleyDB.so:
    undefined symbol: db_create at /usr/lib/perl/5.8/DynaLoader.pm line
    225.
     at t/unknown.t line 8
    Compilation failed in require at t/unknown.t line 8.
    BEGIN failed--compilation aborted at t/unknown.t line 8.
    Undefined subroutine &BerkeleyDB::Term::close_everything called at
    /root/.cpan/build/BerkeleyDB-0.36-pwxlCB/blib/lib/BerkeleyDB.pm line
    1764.
    END failed--call queue aborted at t/unknown.t line 8.
    t/unknown......dubious
            Test returned status 2 (wstat 512, 0x200)
    Failed Test   Stat Wstat Total Fail  Failed  List of Failed
    -------------------------------------------------------------------------------
    t/btree.t        2   512    ??   ??       %  ??
    t/cds.t          2   512    ??   ??       %  ??
    t/db-3.0.t       2   512    ??   ??       %  ??
    t/db-3.1.t       2   512    ??   ??       %  ??
    t/db-3.2.t       2   512    ??   ??       %  ??
    t/db-3.3.t       2   512    ??   ??       %  ??
    t/db-4.4.t       2   512    ??   ??       %  ??
    t/db-4.6.t       2   512    ??   ??       %  ??
    t/db-4.7.t       2   512    ??   ??       %  ??
    t/db-4.x.t       2   512    ??   ??       %  ??
    t/destroy.t      2   512    ??   ??       %  ??
    t/encrypt.t      2   512    ??   ??       %  ??
    t/env.t          2   512    ??   ??       %  ??
    t/examples.t     2   512    ??   ??       %  ??
    t/examples3.t    2   512    ??   ??       %  ??
    t/filter.t       2   512    ??   ??       %  ??
    t/hash.t         2   512    ??   ??       %  ??
    t/join.t         2   512    ??   ??       %  ??
    t/queue.t        2   512    ??   ??       %  ??
    t/recno.t        2   512    ??   ??       %  ??
    t/sequence.t   255 65280    ??   ??       %  ??
    t/strict.t       2   512    ??   ??       %  ??
    t/subdb.t        2   512    ??   ??       %  ??
    t/txn.t          2   512    ??   ??       %  ??
    t/unknown.t      2   512    ??   ??       %  ??
    1 test skipped.
    Failed 25/27 test scripts, 7.41% okay. 0/4 subtests failed, 100.00%
    okay.
    make: *** [test_dynamic] Error 2
      PMQS/BerkeleyDB-0.36.tar.gz
      /usr/bin/make test -- NOT OK
    //hint// to see the cpan-testers results for installing this module,
    try:
      reports PMQS/BerkeleyDB-0.36.tar.gz
    Failed during this command:
     PMQS/BerkeleyDB-0.36.tar.gz                  : make_test NO
    
    Code (markup):

    # nano /usr/lib/perl/5.8/DynaLoader.pm
    
    my $libref = dl_load_file($file, $module->dl_load_flags) or  (line 225)
        croak("Can't load '$file' for module $module: ".dl_error());
    
    Code (markup):

    # nano /root/.cpan/build/BerkeleyDB-0.36-pwxlCB/t/txn.t
    
    use lib 't' ;
    use BerkeleyDB;	(line 6)
    use util ;
    
    Code (markup):

    # nano /root/.cpan/build/BerkeleyDB-0.36-8xfeFJ/t/txn.t
    
    use lib 't' ;
    use BerkeleyDB;	(line 6)
    use util ;
    
    Code (markup):

    # nano
    /root/.cpan/build/BerkeleyDB-0.36-pwxlCB/blib/lib/BerkeleyDB.pm
    {
        close_everything() ;  (line 1764)
    }
    
    Code (markup):

    On running;
    # ls -l /root/.cpan/build/
    
    total 68
    drwx------ 7 root    root    4096 Nov  7 00:46 BerkeleyDB-0.36-8xfeFJ
    -rw-r--r-- 1 root    root    1028 Nov  7 00:46
    BerkeleyDB-0.36-8xfeFJ.yml
    drwx------ 7 root    root    4096 Nov  7 01:18 BerkeleyDB-0.36-pwxlCB
    -rw-r--r-- 1 root    root    1028 Nov  7 01:18
    BerkeleyDB-0.36-pwxlCB.yml
    drwxr-xr-x 8 satimis satimis 4096 Nov  2 08:43 CPAN-1.9301
    drwxr-xr-x 7 satimis satimis 4096 Nov  2 08:35 Digest-SHA-5.47
    drwxr-xr-x 7     501     501 4096 Nov  2 08:34 ExtUtils-MakeMaker-6.48
    drwxr-xr-x 6 mysql   mysql   4096 Nov  2 08:36 File-HomeDir-0.82
    drwxrwxrwx 5 root    root    4096 Nov  2 08:43 File-Which-0.05
    drwxr-xr-x 8     501     501 4096 Nov  2 08:34 Module-Build-0.30
    drwxr-xr-x 5 satimis satimis 4096 Nov  2 08:35 PathTools-3.29
    drwxr-xr-x 6     500     500 4096 Nov  2 08:35 Scalar-List-Utils-1.19
    drwxrwxrwx 4 root    root    4096 Nov  2 08:36
    Term-ReadLine-Perl-1.0302
    drwx------ 3     501     501 4096 Nov  2 08:36 TermReadKey-2.30
    drwxr-xr-x 5     501     501 4096 Nov  2 08:35 Test-Simple-0.84
    drwxrwxr-x 5 satimis satimis 4096 Nov  2 08:41 Text-Glob-0.08
    drwxr-xr-x 6     501     501 4096 Nov  2 08:41 YAML-0.66
    
    Code (markup):

    I found 2 db there. I'm prepared deleting the older one first. If problem remains then I will delete all of them and reinstall BerkeleyDB module.


    Please advise how can I delete it on CPAN. OR what will be the easy way to delete it. TIA


    B.R.
    satimis
     
    satimis, Nov 9, 2008 IP