[opensuse-packaging] OBS corrupts tarballs on downloading
Hi! It seems that OBS corrupts .tar.gz and .tar.bz2 archives when downloading. I want to look inside the source of a package to make it build. Un\fortunately I deleted the localk copy. Now I press "download" button, the file is downloaded but cannot be opened with an archiver. This happens with nearly all my packages: all files are corrupted. Sonetimes I have to search a similar tarball elsewhere on the Internet. It there a way to download the uncorrupted files? (other than make the package build successfully and extract the ressulting src.rpm) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Thursday, 16. June 2011, 17:53:12 schrieb Ilya Chernykh:
Hi!
It seems that OBS corrupts .tar.gz and .tar.bz2 archives when downloading. I want to look inside the source of a package to make it build. Un\fortunately I deleted the localk copy. Now I press "download" button, the file is downloaded but cannot be opened with an archiver. This happens with nearly all my packages: all files are corrupted. Sonetimes I have to search a similar tarball elsewhere on the Internet.
It there a way to download the uncorrupted files? (other than make the package build successfully and extract the ressulting src.rpm)
no, we always implement perfect code, so it is always corrupted. Seriously, do you have any example somewhere ? -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thursday 16 June 2011 18:06:14 Adrian Schröter wrote:
It seems that OBS corrupts .tar.gz and .tar.bz2 archives when downloading. I want to look inside the source of a package to make it build. Un\fortunately I deleted the localk copy. Now I press "download" button, the file is downloaded but cannot be opened with an archiver. This happens with nearly all my packages: all files are corrupted. Sonetimes I have to search a similar tarball elsewhere on the Internet.
It there a way to download the uncorrupted files? (other than make the package build successfully and extract the ressulting src.rpm)
no, we always implement perfect code, so it is always corrupted.
Seriously, do you have any example somewhere ?
Download these files and try to extract them: https://api.opensuse.org/public/source/home:Ansus:KDE3/fusion-icon-qt3/fusio... https://api.opensuse.org/public/source/home:Ansus:KDE3/kad/kad-70e3acc.tar.g... https://api.opensuse.org/public/source/home:Ansus:KDE3/kwlaninfo/kwlaninfo-0... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Thursday, 16. June 2011, 18:47:41 schrieb Ilya Chernykh:
On Thursday 16 June 2011 18:06:14 Adrian Schröter wrote:
It seems that OBS corrupts .tar.gz and .tar.bz2 archives when downloading. I want to look inside the source of a package to make it build. Un\fortunately I deleted the localk copy. Now I press "download" button, the file is downloaded but cannot be opened with an archiver. This happens with nearly all my packages: all files are corrupted. Sonetimes I have to search a similar tarball elsewhere on the Internet.
It there a way to download the uncorrupted files? (other than make the package build successfully and extract the ressulting src.rpm)
no, we always implement perfect code, so it is always corrupted.
Seriously, do you have any example somewhere ?
Download these files and try to extract them:
https://api.opensuse.org/public/source/home:Ansus:KDE3/fusion-icon-qt3/fusio... https://api.opensuse.org/public/source/home:Ansus:KDE3/kad/kad-70e3acc.tar.g...
No problem with them. But that are also the uploaded files, not any server side generated ones. -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thursday 16 June 2011 18:49:51 you wrote:
Download these files and try to extract them:
https://api.opensuse.org/public/source/home:Ansus:KDE3/fusion-icon-qt3/fusio... https://api.opensuse.org/public/source/home:Ansus:KDE3/kad/kad-70e3acc.tar.g...
No problem with them.
But that are also the uploaded files, not any server side generated ones.
All of them open well before being uploaded to OBS. They also open well if to extract them from .src.rpm after the package is built. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thursday 16 June 2011 18:49:51 you wrote:
No problem with them.
This cannot be the case. I tried different browsers (Opera, Firefox) and different archivers (Ark, File Roller). They cannot be opened. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi, On Thu, 16 Jun 2011, Ilya Chernykh wrote:
Download these files and try to extract them:
https://api.opensuse.org/public/source/home:Ansus:KDE3/fusion-icon-qt3/fusio... https://api.opensuse.org/public/source/home:Ansus:KDE3/kad/kad-70e3acc.tar.g... https://api.opensuse.org/public/source/home:Ansus:KDE3/kwlaninfo/kwlaninfo-0...
Completely fine gzipped tarballs. They are served with application/octet-stream instead of application/x-tgz, so possibly your clients don't detect the filetype automatically. That doesn't mean the files are corrupt. Save them locally and you can unpack them. Ciao, Michael. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thursday 16 June 2011 18:57:04 Michael Matz wrote:
Download these files and try to extract them:
https://api.opensuse.org/public/source/home:Ansus:KDE3/fusion-icon-qt3/fusio... https://api.opensuse.org/public/source/home:Ansus:KDE3/kad/kad-70e3acc.tar.g... https://api.opensuse.org/public/source/home:Ansus:KDE3/kwlaninfo/kwlaninfo-0...
Completely fine gzipped tarballs. They are served with application/octet-stream instead of application/x-tgz, so possibly your clients don't detect the filetype automatically. That doesn't mean the files are corrupt. Save them locally and you can unpack them.
Download them, save locally and try to open. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Donnerstag, 16. Juni 2011, 16:58:52 schrieb Ilya Chernykh:
On Thursday 16 June 2011 18:57:04 Michael Matz wrote:
Download these files and try to extract them:
https://api.opensuse.org/public/source/home:Ansus:KDE3/fusion-icon-qt3/ fusion-icon-b91e1d8e852fe1fa8c4bb33505c305652caea7e5.tar.gz https://api.opensuse.org/public/source/home:Ansus:KDE3/kad/kad-70e3acc .tar.gz https://api.opensuse.org/public/source/home:Ansus:KDE3/kwlaninfo/kwlan info-0.9.5.tgz
Completely fine gzipped tarballs. They are served with application/octet-stream instead of application/x-tgz, so possibly your clients don't detect the filetype automatically. That doesn't mean the files are corrupt. Save them locally and you can unpack them.
Download them, save locally and try to open.
Just as Adrian and Michael, they work great for me. If you tried several ways to open them locally I would look sharply at your proxy. coolo@xanthippe#tmp>md5sum kwlaninfo-0.9.5.tgz b1d71f0a9ae2372ab5ff93e1f1116640 kwlaninfo-0.9.5.tgz coolo@xanthippe#tmp>osc api //source/home:Ansus:KDE3/kwlaninfo <directory name="kwlaninfo" rev="20" vrev="14" srcmd5="951fa32dda8c974df0ebf627505ec3c9"> <entry name="kwlaninfo-0.9.5.tgz" md5="b1d71f0a9ae2372ab5ff93e1f1116640" size="577558" mtime="1300030866" /> <entry name="kwlaninfo-rpmlintrc" md5="b46ed66f81681377c21ac88b6c01feb1" size="38" mtime="1300031824" /> <entry name="kwlaninfo.spec" md5="5c429c93e9349b3f858fc624f274775b" size="2012" mtime="1306787248" /> </directory> It's the very same MD5 then the server had. Greetings, Stephan -- Sent from openSUSE -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Thursday, 16. June 2011, 17:39:23 schrieb Stephan Kulow:
Am Donnerstag, 16. Juni 2011, 16:58:52 schrieb Ilya Chernykh:
On Thursday 16 June 2011 18:57:04 Michael Matz wrote:
Download these files and try to extract them:
https://api.opensuse.org/public/source/home:Ansus:KDE3/fusion-icon-qt3/ fusion-icon-b91e1d8e852fe1fa8c4bb33505c305652caea7e5.tar.gz https://api.opensuse.org/public/source/home:Ansus:KDE3/kad/kad-70e3acc .tar.gz https://api.opensuse.org/public/source/home:Ansus:KDE3/kwlaninfo/kwlan info-0.9.5.tgz
Completely fine gzipped tarballs. They are served with application/octet-stream instead of application/x-tgz, so possibly your clients don't detect the filetype automatically. That doesn't mean the files are corrupt. Save them locally and you can unpack them.
Download them, save locally and try to open.
Just as Adrian and Michael, they work great for me. If you tried several ways to open them locally I would look sharply at your proxy.
coolo@xanthippe#tmp>md5sum kwlaninfo-0.9.5.tgz b1d71f0a9ae2372ab5ff93e1f1116640 kwlaninfo-0.9.5.tgz
coolo@xanthippe#tmp>osc api //source/home:Ansus:KDE3/kwlaninfo <directory name="kwlaninfo" rev="20" vrev="14" srcmd5="951fa32dda8c974df0ebf627505ec3c9"> <entry name="kwlaninfo-0.9.5.tgz" md5="b1d71f0a9ae2372ab5ff93e1f1116640" size="577558" mtime="1300030866" /> <entry name="kwlaninfo-rpmlintrc" md5="b46ed66f81681377c21ac88b6c01feb1" size="38" mtime="1300031824" /> <entry name="kwlaninfo.spec" md5="5c429c93e9349b3f858fc624f274775b" size="2012" mtime="1306787248" /> </directory>
It's the very same MD5 then the server had.
Yes, but there is indeed a problem with web browsers which support compression. They store double compressed files, maybe due to invalid headers. curl and wget (with compression headers) worked fine so far for me though... /me need to leave now, but we need to check this later (and btw get rid of /public in webui :/). -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thursday 16 June 2011 19:39:23 Stephan Kulow wrote:
Am Donnerstag, 16. Juni 2011, 16:58:52 schrieb Ilya Chernykh:
On Thursday 16 June 2011 18:57:04 Michael Matz wrote:
Download these files and try to extract them:
https://api.opensuse.org/public/source/home:Ansus:KDE3/fusion-icon-qt3/ fusion-icon-b91e1d8e852fe1fa8c4bb33505c305652caea7e5.tar.gz https://api.opensuse.org/public/source/home:Ansus:KDE3/kad/kad-70e3acc .tar.gz https://api.opensuse.org/public/source/home:Ansus:KDE3/kwlaninfo/kwlan info-0.9.5.tgz
Completely fine gzipped tarballs. They are served with application/octet-stream instead of application/x-tgz, so possibly your clients don't detect the filetype automatically. That doesn't mean the files are corrupt. Save them locally and you can unpack them.
Download them, save locally and try to open.
Just as Adrian and Michael, they work great for me. If you tried several ways to open them locally I would look sharply at your proxy.
coolo@xanthippe#tmp>md5sum kwlaninfo-0.9.5.tgz b1d71f0a9ae2372ab5ff93e1f1116640 kwlaninfo-0.9.5.tgz
After downloading the tarball from OBS: anixx@anixx-desktop:~> md5sum '/home/anixx/Desktop/kwlaninfo-0.9.5.tgz' c3d188370579454bbe82ad13d70ee5a3 /home/anixx/Desktop/kwlaninfo-0.9.5.tgz original tarball before uploading: anixx@anixx-desktop:~> md5sum '/home/anixx/Desktop/kwlaninfo-0.9.5.tgz' b1d71f0a9ae2372ab5ff93e1f1116640 /home/anixx/Desktop/kwlaninfo-0.9.5.tgz -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hi, On Thu, 16 Jun 2011, Ilya Chernykh wrote:
On Thursday 16 June 2011 18:57:04 Michael Matz wrote:
Download these files and try to extract them:
https://api.opensuse.org/public/source/home:Ansus:KDE3/fusion-icon-qt3/fusio... https://api.opensuse.org/public/source/home:Ansus:KDE3/kad/kad-70e3acc.tar.g... https://api.opensuse.org/public/source/home:Ansus:KDE3/kwlaninfo/kwlaninfo-0...
Completely fine gzipped tarballs. They are served with application/octet-stream instead of application/x-tgz, so possibly your clients don't detect the filetype automatically. That doesn't mean the files are corrupt. Save them locally and you can unpack them.
Download them, save locally and try to open.
That's what I did. copy&pasted the above links into a browser, "save as ..", then: # tar -tvf ~/kwlaninfo-0.9.5.tgz drwxr-xr-x phess/phess 0 2007-05-07 08:06 kwlaninfo-0.9.5/ drwxr-xr-x phess/phess 0 2007-05-07 08:20 kwlaninfo-0.9.5/po/ drwxr-xr-x phess/phess 0 2005-01-13 09:59 kwlaninfo-0.9.5/po/da/ -rw-r--r-- phess/phess 2718 2005-01-13 09:59 kwlaninfo-0.9.5/po/da/messages.po -rw-r--r-- phess/phess 1681 2005-01-13 09:59 kwlaninfo-0.9.5/po/da/kwireless.mo -rw-r--r-- phess/phess 1681 2005-01-13 09:59 kwlaninfo-0.9.5/po/da/messages.gmo drwxr-xr-x phess/phess 0 2007-04-29 21:19 kwlaninfo-0.9.5/po/de/ -rw-r--r-- phess/phess 0 2007-04-29 21:19 kwlaninfo-0.9.5/po/de/Makefile -rw-r--r-- phess/phess 2640 2005-01-13 09:59 kwlaninfo-0.9.5/po/de/messages.po -rw-r--r-- phess/phess 3968 2005-01-13 09:59 kwlaninfo-0.9.5/po/de/test.po ... # file ~/kwlaninfo-0.9.5.tgz /suse/matz/kwlaninfo-0.9.5.tgz: gzip compressed data, from Unix, last modified: Mon May 7 08:21:24 2007 Ciao, Michael. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, Jun 16, 2011 at 9:53 AM, Ilya Chernykh
Hi!
It seems that OBS corrupts .tar.gz and .tar.bz2 archives when downloading. I want to look inside the source of a package to make it build. Un\fortunately I deleted the localk copy. Now I press "download" button, the file is downloaded but cannot be opened with an archiver. This happens with nearly all my packages: all files are corrupted. Sonetimes I have to search a similar tarball elsewhere on the Internet.
It there a way to download the uncorrupted files? (other than make the package build successfully and extract the ressulting src.rpm)
Ilya, Have you worked with osc instead of the WebUI. I think it is what most of the serious devs use. ie. cd ~ mkdir obs (or whatever) cd obs osc co home:Ansus:KDE3 cd home:Ansuse:KDE cd <package-in-question> osc build (optional at this point to see if you have good file) edit files / update tar.gz file / etc osc build repeat until happy osc commit Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (5)
-
Adrian Schröter
-
Greg Freemyer
-
Ilya Chernykh
-
Michael Matz
-
Stephan Kulow