<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def package_name(self, PACKAGES_TXT):
 """Returns list with all the names of packages repository """

        packages = []
        for line in PACKAGES_TXT.splitlines():
            if line.startswith("PACKAGE NAME:"):
                packages.append(split_package(line[14:].strip())[0])
        return packages