Control: clone -1 -2 Control: reassign -2 apt Control: tags -2 - patch On Thu, May 26, 2016 at 04:50:20PM +0200, Hilko Bengen wrote: > A while back, I noticed that aptitude and apt could no longer be used > together on my system: If aptitude had been used to update Packages and > Sources lists too, apt would not see the lists. (And vice versa.) > > This happened because aptitude now formats port numbers in URLs with > thousands' grouping characters as defined by the locale (in this case > en_US.utf-8): > > ,---- > | $ sudo aptitude update > | Hit http://localhost:9,999/debian sid InRelease > | Get: 1 http://localhost:9,999/debian stretch InRelease [232 kB] > | [...] > | $ sudo LANG=C aptitude update > | Get: 1 http://localhost:9999/debian sid InRelease [205 kB] > | Get: 2 http://localhost:9999/debian stretch InRelease [232 kB] > | [...] > `---- > > The extra comma also ended up as part of the filenames in > /var/lib/apt/lists, which explains the described behavior.
That is a very good and equally strange find! It is libapt which deals with the download, URI creating and all that, so we should really make it so that it doesn't do funny things like local dependent formatting of port numbers ever. I will just clone this bug over to us (apt maintainers) as it seems easy to solve in aptitude with a revert without requiring it to depend on a (fixed) libapt version, but I haven't checked the implications, so if it turns out to be hard feel free to merge back. (Lets see how hard that is going to be in libapt…) Best regards David Kalnischkies
signature.asc
Description: PGP signature
_______________________________________________ Aptitude-devel mailing list Aptitude-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel