In short: the asterisk tells apt to select all packages that start with ros-. So it selects not a single package, but all packages installed that have a name starting with ros-.
In short: the asterisk tells apt to select all packages that start with ros-. So it selects not a single package, but all packages installed that have a name starting with ros-.