I'm adding a package repository in /etc/apt.sources.list.d/fffff.list. The next run of apt-get update picks it up. Afterwards, I'm renaming this file to ффффф.list, the cyrillic counterpart. Now apt-get doesn't pick it up anymore. The part before .list should be matched in a way that it extends to Unicode alphabet characters. I don't see any technical reasons to restrict this part of the filename to ASCII.
severity 558404 wishlist thanks ^[a-zA-Z0-9_.-]+$ The relevant parts are the lines 340-347 in apt-pkg/sourcelist.cc; removing them would make the algorithm accept all files ending in .list.
Hi, I got bit by this same issue 10 years later. The files in sources.list.d cannot have spaces in their names for this same underlying reason. This took a lot of time to figure out because this restriction doesn't appear to be mentioned in the doc. Regards, Andrew