[erlang-questions] CEAN 1.3 is out

Bengt Kleberg <>
Thu Jul 5 13:39:26 CEST 2007


On 2007-07-05 13:09, Vesa Kaihlavirta wrote:
...deleted
> 
> The next weird thing concerns upgrades inside the shell. For example:
> :~/cean/R11B$ ./start.sh
> Erlang (BEAM) emulator version 5.5.4 [source] [64-bit] [async-threads:0] 
> [kernel-poll:false]
> 
> Eshell V5.5.4  (abort with ^G)
> 1> cean:upgrade(os_mon).
> + os_mon md5=<<23,146,73,183,178,80,252,187,133,113,44,5,178,69,231,100>>
> ok
> 2> cean:upgrade(os_mon).
> + os_mon md5=<<23,146,73,183,178,80,252,187,133,113,44,5,178,69,231,100>>
> ok
> 3> cean:upgrade(cean).
> cean: no newer package available
> ok
> 
> Am I reading this right? Shouldn't os_mon be properly upgraded after the 
> first command, and
> shouldn't therefore the second command output "os_mon: no newer package 
> available"? What does
> cean:upgrade/1 actually do, or should do?

cean:upgrade/1 should check if something newer exists, and if it does 
install it. it should not be possible to upgrade the same package twice 
like you managed.

this is my problem and i will check it after work today. please be patient.


bengt
-- 
Those were the days...
    EPO guidelines 1978: "If the contribution to the known art resides
    solely in a computer program then the subject matter is not
    patentable in whatever manner it may be presented in the claims."



More information about the erlang-questions mailing list