Announcement

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

  • adoupdate output

    Dear All.

    This is a minor issue, but it seems that the package numbers reported by adoupdate correspond to the full list of all packages installed on the user's machine, not the list of packages that is included into the adoupdate command:

    Click image for larger version

Name:	adoupdate.png
Views:	1
Size:	7.7 KB
ID:	1641069


    Expected to see 1 here instead of 4, because only one package was requested for updates check.

    Best, Sergiy Radyakin

  • #2
    I guess the number is fetched from stata.trk (more precisely, the first stata.trk found along the ado-path).

    Comment


    • #3
      Note that the number in square brackets is also reported by the
      Code:
      ado dir
      command, which prefaces each entry with a sequence number within square brackets, thus
      Code:
      . ado dir sumdist
      
      [14] package sumdist from http://fmwww.bc.edu/repec/bocode/s
            'SUMDIST': module to calculate summary statistics for income distributions
      So the interpretation in post #1 as a count of the number of packages to update is incorrect.

      The commands
      Code:
      ado dir
      ado describe
      ado uninstall
      take as an argument
      Code:
      pkgid
      where
      Code:
              pkgid   is   name of a package
                      or   a number in square brackets: [#]
      thus
      Code:
      . ado describe [14]
      
      ------------------------------------------------------------------------------------
      [14] package sumdist from http://fmwww.bc.edu/repec/bocode/s
      ------------------------------------------------------------------------------------
      ...

      Comment

      Working...
      X