On Wed, 30 Aug 2006 08:56:02 +0200
"Julien L." <[EMAIL PROTECTED]> wrote:

> un fichier "fulldeps" erroné. La seule solution est de refaire le NBA "à la 
> main" (désarchivage du NBA, modification du fichier "fulldeps", réarchivage 
> du NBA). Cela peut être un test intéressant.

Test effectué :


_Suppression du nba précédemment installé_

$ ./Ncooker remove dillo-0.8.6              
Search packages matching "dillo-0.8.6" ...........................   [ OK ]
Remove "dillo-0.8.6-nga1-i686" package ...........................   [ OK ]



_Modification ligne fulldeps et reconstruction du nba_ 

+*rlib/ld-linux.so.2

$ tar cvf dillo-0.8.6-nga1-i686.nba nbatruc/*
nbatruc/basicdeps
nbatruc/build
nbatruc/builddeps
nbatruc/data.t7z
nbatruc/files
nbatruc/fulldeps
nbatruc/infos



_Tentative d'installation_

$ ./Ncooker install dillo-0.8.6-nga1-i686.nba
Retrieving "dillo-0.8.6-nga1-i686.nba" package ...................   [ OK ]
Checking "dillo-0.8.6-nga1-i686.nba" package validity ............   [ SKIP ]
Install "dillo-0.8.6-nga1-i686" package ..........................   [ FAILED ]
The package -0.8.6-nga1- is already installed.

***Une dernière ligne curieuse avec un nom tronqué de paquet "-0.8.6-nga1-"***



_Vérification_

$ ./Ncooker -v FULL remove dillo-0.8.6
Search packages matching "dillo-0.8.6" ...........................   [ FAILED ]
No packages found.



_Création nouveau nbuild à partir du répertoire d'origine_

$ ./Ncooker -v FULL build dillo-0.8.6-nga1.nbuild
...............
...............
Remove packaging environment ...
    Remove compilation directory .................................   [ OK ]
    Remove working directory .....................................   [ OK ]
    Unset building process variables .............................   [ OK ]



_Installation du nba avec fulldeps inchangé_

$ ./Ncooker -v FULL install dillo-0.8.6-nga1-i686.nba
Retrieving "dillo-0.8.6-nga1-i686.nba" package ...
    Check if package is in current directory .....................   [ OK ]
Checking "dillo-0.8.6-nga1-i686.nba" package validity ............   [ SKIP ]
Install "dillo-0.8.6-nga1-i686" package ...
    Check if package is not installed ............................   [ OK ]
    Check package files conflicts ................................   [ OK ]
    Store package infos to Ncooker database ......................   [ OK ]
    Extract datas to /home/franco/root/ ..........................   [ OK ]
    Extract a Nbuild from package ................................   [ OK ]



_Suppression du nba_

$ ./Ncooker -v FULL remove dillo-0.8.6
Search packages matching "dillo-0.8.6" ...........................   [ OK ]
Remove "dillo-0.8.6-nga1-i686" package ...
    Remove package files ...
...........
.............
 Remove stored nbuild .........................................   [ OK ]
    Remove package infos from database ...........................   [ OK ]



_Nouvelle installation pour vérifier_

$ ./Ncooker -v FULL install dillo-0.8.6-nga1-i686.nba
Retrieving "dillo-0.8.6-nga1-i686.nba" package ...
    Check if package is in current directory .....................   [ OK ]
Checking "dillo-0.8.6-nga1-i686.nba" package validity ............   [ SKIP ]
Install "dillo-0.8.6-nga1-i686" package ...
    Check if package is not installed ............................   [ OK ]
    Check package files conflicts ................................   [ OK ]
    Store package infos to Ncooker database ......................   [ OK ]
    Extract datas to /home/franco/root/ ..........................   [ OK ]
    Extract a Nbuild from package ................................   [ OK ]


+
fraazz

-- 
[0x366720B7]

_______________________________________________
Nasgaia-dev mailing list
[email protected]
https://mail.gna.org/listinfo/nasgaia-dev

Répondre à