Re: Bug#35033: apt: Strange symbols in filenames in /var/cache/apt/archives/
On Thu, 25 Mar 1999, Alexander Stavitsky wrote:
> The files in apt cache not only have arch inserted in their names
> but also the epoch seems to be prepended to the version name.
> There is "%3a" between the epoch and the version number.
> Apt itself does not seem to have any problems with this but
> it looks rather odd. I just want to make sure this is intended.
Yes, this is intentional, 0x3a is hex for a ':' character, which is unsafe
in filenames. The change was made to allow APT to determine the file
versions after a .deb has been written as well as to allow a cache
directory to be shared between arches
You can probably strip the added stuff off using some perl..
Jason
Reply to: