Re: saving .debs to their original name
On Sun, Feb 08, 2004 at 09:36:50AM +0800, Dan Jacobson wrote:
> Say, apt-get dist-upgrade --print-uris makes lines with URL FILE SIZE MD5.
> What are the bad things that might happen if I just use wget to get
> the URLs, without using the FILEname? I intend to use
> dpkg-scanpackages later.
>
> Hopefully the URLs are OK on Windows and CDROMs too, which I might
> need to use for downloading (-- too little bandwidth at home.)
The only thing I've noticed is the colons (:) in epochs get changed to
%3a when the .deb ends up in /var/cache/apt/archives.
for x in *%*; do mv $x ${x/[0-9]\\%3a/}; done
Reply to: