[Aptitude-devel] Bug#825384: aptitude: thousands' grouping characters in port numbers

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Sun Jun 12 13:28:55 UTC 2016


Control: tags -1 - pending
Control: close -1


Hi,

2016-05-31 12:44 Manuel A. Fernandez Montecelo:
>2016-05-26 17:26 David Kalnischkies:
>>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.
>[...]
>
>Assuming that the new apt relase will happen in a reasonable time-frame,
>I guess that it's better just to wait for that.

A new release of apt fixing this issue has just been released, and the
files are now created with "plain numbers".

So I think that this is fixed, closing.


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list