Weird Scenes inside the Tarball, Midnight Commander woes
I was transferring an apt repository to a remote site using the tarbal I created locally. When the first machines tried to do an apt-get update from that repository they failed to getthe package list.
Jun 24 11:01:28 10.99.2.253 root: Failed to fetch <a href="http://10.99.0.1/repo/ntc/i386/base/pkglist.CentOsDistro" title="http://10.99.0.1/repo/ntc/i386/base/pkglist.CentOsDistro">http://10.99.0.1/repo/ntc/i386/base/pkglist.CentOsDistro</a> 404 Not Found Jun 24 11:09:29 10.99.2.253 root: Err <a href="http://10.99.0.1" title="http://10.99.0.1">http://10.99.0.1</a> i386/CentOsDistro pkglist
However at first sight the appropriate files were in place
base.old]# ls -al total 700 drwxr-xr-x 2 root root 4096 Jun 23 10:09 . drwxr-xr-x 11 root root 4096 Jun 24 13:01 .. -rw-r--r-- 1 root root 372662 Jun 23 10:07 pkglist.CentOsBase -rw-r--r-- 1 root root 59804 Jun 23 10:07 pkglist.CentOsBase.bz2 -rw-r--r-- 1 root root 54788 Jun 23 10:07 pkglist.CentOsBaseUpdates -rw-r--r-- 1 root root 9908 Jun 23 10:07 pkglist.CentOsBaseUpdates.bz2 -rw-r--r-- 1 root root 35685 Jun 23 10:07 pkglist.CentOsCustom -rw-r--r-- 1 root root 8231 Jun 23 10:07 pkglist.CentOsCustom.bz -rw-r--r-- 1 root root 34663 Jun 23 10:07 pkglist.CentOsDistro -rw-r--r-- 1 root root 8901 Jun 23 10:07 pkglist.CentOsDistro.bz -rw-r--r-- 1 root root 23432 Jun 23 10:07 pkglist.CentOsExtrapackages -rw-r--r-- 1 root root 5931 Jun 23 10:07 pkglist.CentOsExtrapackages.bz2 -rw-r--r-- 1 root root 11144 Jun 23 10:07 pkglist.Externals -rw-r--r-- 1 root root 3607 Jun 23 10:07 pkglist.Externals.bz2 -rw-r--r-- 1 root root 1650 Jun 23 10:09 release -rw-r--r-- 1 root root 129 Jun 23 10:07 release.CentOsBase -rw-r--r-- 1 root root 136 Jun 23 10:07 release.CentOsBaseUpdates -rw-r--r-- 1 root root 131 Jun 23 10:07 release.CentOsCustom -rw-r--r-- 1 root root 131 Jun 23 10:07 release.CentOsDistro -rw-r--r-- 1 root root 138 Jun 23 10:07 release.CentOsExtrapackages -rw-r--r-- 1 root root 128 Jun 23 10:07 release.Externals
Now if you take a closer look you'll notice 2 out of 6 .bz2 files ending with .bz rather than .bz2
On the server where I created the tarbal they had the correct .bz2 extension
When digging into the remote tarbal with mc (MidNight Commander) however the .bz extention was shown again.
Somehow while copying the directories out of the tarbal using mc the filenames got changed, as upon doing a regular untar from the command line the files once again had the correct .bz2 extention.
I`m not using mc again to get selected data out of a tarbal, I`ll stick to the old commandline for untarring :)
Weird stuff ...
Comments
#1 Paul Cobbaut : this is debian bug #315597
this is a known bug
http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg61916.html
#2 Zombie : A true open source hacker
A true open source hacker would have found the bug and submitted a patch. You poser. :-P
#3 Kris Buytaert : 28 hour patch
Ha Zombie,
Could the real open source hacker in you provide me with a patch to extend a regular day from 24 to 28 or more hours :)