Everything is a Freaking DNS problem - gz http://127.0.0.1:8080/blog/taxonomy/term/1264/0 en Weird Scenes inside the Tarball, Midnight Commander woes http://127.0.0.1:8080/blog/weird-scenes-inside-tarball-midnight-commander-woes <p>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.</p> <p><div class="geshifilter"><pre class="text geshifilter-text" style="font-family:monospace;"><ol><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">Jun 24 11:01:28 10.99.2.253 root: Failed to fetch &lt;a href=&quot;http://10.99.0.1/repo/ntc/i386/base/pkglist.CentOsDistro&quot; title=&quot;http://10.99.0.1/repo/ntc/i386/base/pkglist.CentOsDistro&quot;&gt;http://10.99.0.1/repo/ntc/i386/base/pkglist.CentOsDistro&lt;/a&gt; 404 Not Found</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">Jun 24 11:09:29 10.99.2.253 root: Err &lt;a href=&quot;http://10.99.0.1&quot; title=&quot;http://10.99.0.1&quot;&gt;http://10.99.0.1&lt;/a&gt; i386/CentOsDistro pkglist</div></li></ol></pre></div></p> <p>However at first sight the appropriate files were in place</p> <p><div class="geshifilter"><pre class="text geshifilter-text" style="font-family:monospace;"><ol><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">base.old]# ls -al</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">total 700</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">drwxr-xr-x 2 root root 4096 Jun 23 10:09 .</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">drwxr-xr-x 11 root root 4096 Jun 24 13:01 ..</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 372662 Jun 23 10:07 pkglist.CentOsBase</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 59804 Jun 23 10:07 pkglist.CentOsBase.bz2</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 54788 Jun 23 10:07 pkglist.CentOsBaseUpdates</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 9908 Jun 23 10:07 pkglist.CentOsBaseUpdates.bz2</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 35685 Jun 23 10:07 pkglist.CentOsCustom</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 8231 Jun 23 10:07 pkglist.CentOsCustom.bz</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 34663 Jun 23 10:07 pkglist.CentOsDistro</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 8901 Jun 23 10:07 pkglist.CentOsDistro.bz</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 23432 Jun 23 10:07 pkglist.CentOsExtrapackages</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 5931 Jun 23 10:07 pkglist.CentOsExtrapackages.bz2</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 11144 Jun 23 10:07 pkglist.Externals</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 3607 Jun 23 10:07 pkglist.Externals.bz2</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 1650 Jun 23 10:09 release</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 129 Jun 23 10:07 release.CentOsBase</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 136 Jun 23 10:07 release.CentOsBaseUpdates</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 131 Jun 23 10:07 release.CentOsCustom</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 131 Jun 23 10:07 release.CentOsDistro</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 138 Jun 23 10:07 release.CentOsExtrapackages</div></li><li style="font-family: monospace; font-weight: normal;"><div style="font-family: monospace; font-weight: normal; font-style: normal">-rw-r--r-- 1 root root 128 Jun 23 10:07 release.Externals</div></li></ol></pre></div></p> <p>Now if you take a closer look you'll notice 2 out of 6 .bz2 files ending with .bz rather than .bz2<br /> On the server where I created the tarbal they had the correct .bz2 extension</p> <p>When digging into the remote tarbal with mc (MidNight Commander) however the .bz extention was shown again.</p> <p>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.</p> <p>I`m not using mc again to get selected data out of a tarbal, I`ll stick to the old commandline for untarring :)</p> <p>Weird stuff ... </p> http://127.0.0.1:8080/blog/weird-scenes-inside-tarball-midnight-commander-woes#comments bz2 gz mc midnight commander tar Wed, 24 Jun 2009 17:32:27 +0000 Kris Buytaert 920 at http://127.0.0.1:8080/blog