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

Re: Debian-installer - tar: unrecognized file type



On Friday 05 March 2004 13:38, karl.kappel@segmueller.de wrote:
> In /target/var/cache/apt/archives I found packages with character sequence
> "1%3a" in its name.

This sequence is caused when you download packages. Colons (':') are changed 
to '%3a'.
Try the script below to rename files back to their original names.

#!/bin/bash
# Replace '%3a' in names of packages by ':'
echo "Renaming any packages containing %..."
for file in `find . -name *%3a*.deb`
do
	newfile=`echo $file | sed "s/%3a/:/g"`
	mv -v $file $newfile
done



Reply to: