On adding DVD as Repository error "E: Cannot find filename or size tag"

Bug #268673 reported by Bimal J Rekhadiya
6
Affects Status Importance Assigned to Milestone
APTonCD
New
Undecided
Unassigned

Bug Description

I am using Ubuntu 8.04.

I have created repository DVD via AptOnCD.
Now when I am going to add it as Repository, it gives error :
E: Cannot find filename or size tag

I don't know what's the problem.

description: updated
Revision history for this message
Bimal J Rekhadiya (bimaljr) wrote :

Hellow all,
I have solved this problem.
just rename all .DEB files and remove "1%3a", "2%3a", "3%3a", "4%3a" from filename.

STEP BY STEP:
1) First, just go to cache folder with this command :
"cd /var/cache/apt/"

2) Now CHMOD "archives" folder to make permission to rename files inside this folder.
"sudo chmod -R 777 archives/"

3) Now, do this commands one by one in terminal/konsole to rename all .DEB files :
"for FILE in $(find . -type f -name '*1%3a*'); do NEWNAME=$(echo $FILE|sed s/'1%3a'//); mv -v $FILE $NEWNAME; done"

"for FILE in $(find . -type f -name '*2%3a*'); do NEWNAME=$(echo $FILE|sed s/'2%3a'//); mv -v $FILE $NEWNAME; done"

"for FILE in $(find . -type f -name '*3%3a*'); do NEWNAME=$(echo $FILE|sed s/'3%3a'//); mv -v $FILE $NEWNAME; done"

"for FILE in $(find . -type f -name '*4%3a*'); do NEWNAME=$(echo $FILE|sed s/'4%3a'//); mv -v $FILE $NEWNAME; done"

"for FILE in $(find . -type f -name '*5%3a*'); do NEWNAME=$(echo $FILE|sed s/'5%3a'//); mv -v $FILE $NEWNAME; done"

"for FILE in $(find . -type f -name '*6%3a*'); do NEWNAME=$(echo $FILE|sed s/'6%3a'//); mv -v $FILE $NEWNAME; done"

"for FILE in $(find . -type f -name '*7%3a*'); do NEWNAME=$(echo $FILE|sed s/'7%3a'//); mv -v $FILE $NEWNAME; done"

"for FILE in $(find . -type f -name '*8%3a*'); do NEWNAME=$(echo $FILE|sed s/'8%3a'//); mv -v $FILE $NEWNAME; done"

"for FILE in $(find . -type f -name '*9%3a*'); do NEWNAME=$(echo $FILE|sed s/'9%3a'//); mv -v $FILE $NEWNAME; done"

(Help : This command will remove the "1%3a" with "2%3a" "3%3a" "4%3a"... till "9%3a" )

4) DONE...

and after doing this, create iso and see the error would gone.

Revision history for this message
gboots (bootsma) wrote :

I've tried the above solution and still have a problem. Suggestions?

Revision history for this message
Kjell Braden (afflux) wrote :

gboots, this bug is known and a duplicate of bug 159721. See there for a solution.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.