Why cannot the alias be found ?
...means you have identified the problem as being associated with the mirror used, & now your alias is no longer questioned.
In the future, please take the time to fully explain whatever issues you may be encountering. All we have to go by are your descriptions, & taking such severe shortcuts in explaing the problem makes it difficult to impossible for your readers to understand what you are experiencing.
sorry for my poor English. But it is not the same question.
Here, if i run `alias pkg_list='lynx -dump $PKG_PATH/index.txt >$HOME/pkglist.txt' ` at command line, then i can run pkg_list. However, if i put it in /etc/profile, then there is no pkg_list available.
aliases belong in your ~/.kshrc or /etc/ksh.kshrc file. Only environmental variables go in /etc/profile.
This will make a new xterm shell read the ".profile" file and thus find the aliases you defined.