Eugene V. Lyubimkin wrote: > They are important. Unless .deb have a "canonical" name, I cannot use packed > .debs as cached archives to install with cupt/apt.
apt web-escapes various characters, including the : in an epoch, so you would have to modify filenames even if the epoch was included. (Anyway, I was referring to the bug report priority, which does not meet policy's definition of important.) > > This is done by dpkg-deb when building any package with an epoch in any > > way. Epochs are not intended to be user-visible. > > > This is news for me. Where can I find the source of this statement? dpkg 1.2.0: * Epochs in version numbers implemented, using the syntax <epoch>:<version>-<revision>. (Epoch not usually displayed.) Although they eventually changed this policy, see #107449. So perhaps they'd be willing to change dpkg-deb to include epochs now if asked. > Anyway, I need the way the rename the target file to the name I want to have. > As I understand, the best I can do is guess the target .deb name by package > name, right? I.e. no option where I can specify the target name myself? apt determines the filenames for its cache using the package name and version, AFAIK. -- see shy jo
signature.asc
Description: Digital signature