Open ruffsl opened 5 months ago
Oddly enough, it looks like function for colcon-cd are still in the right place for jazzy:
$ ls /usr/share/colcon_cd/function
colcon_cd-argcomplete.bash colcon_cd-argcomplete.zsh colcon_cd.sh
I independently confirm this observation
I also have this issue. Any idea on what's the cause and possible fixes?
This is still an issue right? Is there any way of installing colcon-argcomplete in Ubuntu Noble?
Debian/Ubuntu have decided to package colcon in their repositories. For better or worse, they made different decisions regarding where to place files on disk. Unfortunately, their deb packages sometimes take precedence over the deb packages we've produced on Package Cloud and distributed in the ROS repositories.
This is an artifact of those decisions. The installation and usage instructions reflect the packages we produced and have distributed, and unfortunately the "upstream" Debian/Ubuntu packages work differently.
$ apt list python3-colcon-argcomplete -a
Listing... Done
python3-colcon-argcomplete/noble,now 0.3.3+ds-2 all [installed,automatic]
python3-colcon-argcomplete/noble,noble 0.3.3-1 all
The first one is part of Ubuntu Noble, the second one has been in the colcon Package Cloud and ROS repositories for a long time. If you "downgrade" to our package, the file will appear as it always has in previous Ubuntu releases.
I see, my apologies, I failed searching the package correctly and that is why I thought it wasn't installed when in reality it was due to versions. Downgraded and indeed colcon_cd
is where expected.
If you "downgrade" to our package, the file will appear as it always has in previous Ubuntu releases.
@cottsay , Isn't there an apt config to prioritize apt installing from various repositories?
Should we update the ROS install instructions to bolster the default preference prototype for ROS's apt source list?
Looks like the hooks for colcon-argcomplete are missing with the debians that ship for Ubuntu Noble.
Expected:
Result
@cottsay @nuclearsandwich