[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#558404: apt: Fails to load additional package list from sources.list.d/name.list if name is not ASCII



severity 558404 wishlist
thanks


On Sat, Nov 28, 2009 at 06:04:08PM +0100, Josef Spillner wrote:
> Package: apt
> Version: 0.7.21
> Severity: normal
> 
> 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.

The behaviour comes from run-parts, files must match the following expression:
	^[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.


-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.



Reply to: