Pls I get this error anytime I run sudo apt-get upgrade and I dont know how to 
fix it;

Do you want to continue [Y/n]? y
dpkg: cannot scan updates directory `/var/lib/dpkg/updates/': No such file or 
directory
E: Sub-process /usr/bin/dpkg returned an error code (2)

I've been on it since this afternoon but have not gotten anywhere. I refuse to 
get frustrated by Ns2. 

can some1 help me plsssssss

--- On Thu, 22/7/10, Nourideen A <nouride...@gmail.com> wrote:

From: Nourideen A <nouride...@gmail.com>
Subject: [ns] DIM:GPSR errors
To: ns-users@ISI.EDU
Date: Thursday, 22 July, 2010, 18:09


Hi all,

Iam trying to implement GPSR using DIM from this website:
http://enl.usc.edu/projects/dim/ . I have copied all the files into the ns
directory, but I having trouble when I compile index.tcl ,using ns-2 2.29. I
think i have updated the makefile properly but I cant seem to find the
issue. I would appreciate any feedback in solving this issue. Thanks.  I get
the following errors:

 $ index.tcl
load_flatgrid 56 56
num_nodes is set 10

    (_o14 cmd line 1)
    invoked from within
"_o14 cmd addr"
    invoked from within
"catch "$self cmd $args" ret"
    invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
    (procedure "_o14" line 2)
    (SplitObject unknown line 2)
    invoked from within
"_o14 addr"
    ("eval" body line 1)
    invoked from within
"eval $node addr $args"
    ("default" arm line 2)
    invoked from within
"switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 "$node start-dsr"
}
AODV {
set ragent [$self cre..."
    (procedure "_o3" line 11)
    (Simulator create-wireless-node line 11)
    invoked from within
"_o3 create-wireless-node"
    ("eval" body line 1)
    invoked from within
"eval $self create-wireless-node $args"
    (procedure "_o3" line 23)
    (Simulator node line 23)
    invoked from within
"$ns node"
    ("for" body line 3)
    invoked from within
"for {set i 0} {$i < $opt(nn)} {incr i} {
        # debug 1
        set node($i) [$ns node]
  #$ldb register [$node($i) address?] $node($i)
  #[$node($i) set agents_..."
    (file "dim_original.tcl" line 98)

Regards,

Nourideen



      

Reply via email to