Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error using adoupdate

    I am using Stata 16.1 on a Windows 10 machine,,

    I just got a new laptop and installed Stata on it.

    I moved ado files to the laptop by copying them from my deskstop.

    I suspect that I did something wrong with the copy or in setting up the sysdir but I would appreciate your help.

    I get the following error message when I try to check and update my ado files (note I include the results of the sysdir command, and my attempt to change the ado files and rerun the command -- as you see I get the same error..). I'm 95% sure this is something simple and my fault ... stay safe and wash your hands!

    . adoupdate, update
    (note: ado update updates community-contributed files; type -update- to
    check for updates to official Stata)
    (note: package ivreg2 was installed more than once; older copy removed)
    command ado is unrecognized
    stata(): 3598 Stata returned error
    netrm(): - function returned error
    rmdup(): - function returned error
    find_and_uninst_1dup_std(): - function returned error
    find_and_uninst_dups(): - function returned error
    pkg_chk_and_update(): - function returned error
    <istmt>: - function returned error
    r(3598);

    . ado update
    command ado is unrecognized
    r(199);

    . help adoupdate,

    . sysdir
    STATA: C:\Program Files\Stata16\
    BASE: C:\Program Files\Stata16\ado\base\
    SITE: C:\Program Files\Stata16\ado\site\
    PLUS: C:\Users\stoll\ado\plus\
    PERSONAL: C:\Users\stoll\ado\personal\
    OLDPLACE: c:\ado\

    . sysdir set PLUS "c:\ado\plus"

    . sysdir set PERSONAL "c:\ado\personal"

    . adoupdate, update
    (note: ado update updates community-contributed files; type -update- to
    check for updates to official Stata)

    Checking status of installed packages...

    [1] fre at http://fmwww.bc.edu/repec/bocode/f:
    package has been updated on server

    Packages to be updated are...

    [1] fre -- 'FRE': module to display one-way frequency table

    Installing updates...

    [1] fre

    Cleaning up...command ado is unrecognized
    stata(): 3598 Stata returned error
    netrm(): - function returned error
    rmdup(): - function returned error
    find_and_uninst_1dup_std(): - function returned error
    find_and_uninst_dups(): - function returned error
    pkg_chk_and_update(): - function returned error
    <istmt>: - function returned error






  • #2
    A follow-up problem was posted at

    https://www.statalist.org/forums/for...ting-ado-files

    where advice was given to seek the help of Stata Technical Services on it and on this problem.

    Comment

    Working...
    X