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

Re: Bug#35487: Apt mangling (some) downloaded file names



On Sat, 3 Apr 1999, Greg Schafer wrote:

> 	I've noticed that after doing a "apt-get -d dselect-upgrade" some
> of the file names in the /var/cache/archives directory are mangled:
> 
> 	eg. lpr_1%3a0.33-5_i386.deb
> 	    procps_1%3a2.0.0-2_i386.deb
> 
> 	Note the funny 1%3 characters in there. The correct names of
> those files are:

This is quite deliberate and is not a bug, 1%3a is an escaped form of 1:
which is the packages epoch. The new APT renames files so that it can keep
better track of them. You can strip it off by removing all characters from
the first _ to the end of %3a

> 	On a side note, the downloaded files all have  the "_i386" part
> appended to the file name now. I have to manually chop that off when
> transferring to my archive :-(

Some will have _all appended as well, this is necessary to support shared
download directories in a multi-arch situation.

Jason


Reply to: