[opensuse-buildservice] Arch: repository-generation symlinks .db to .db.tar.gz
the following links returns the "home_scalaris_0.6.x_ArchLinux.db.tar.gz" instead of the needed "home_scalaris_0.6.x_ArchLinux.db" http://download.opensuse.org/repositories/home:/scalaris:/0.6.x/ArchLinux/x8... same for the .files file: http://download.opensuse.org/repositories/home:/scalaris:/0.6.x/ArchLinux/x8... now when Arch tries to download the file, it uses the name supplied by the server and since it expected a .db file, it is not able to find it afterwards, resulting in the following: =====================
pacman -Sy --debug debug: url: http://download.opensuse.org/repositories/home:/scalaris:/0.6.x/ArchLinux/x8... debug: maxsize: 26214400 debug: opened tempfile for download: /var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux.db.part (wb) downloading home_scalaris_0.6.x_ArchLinux.db... debug: curl returned error 0 from transfer debug: response code: 200 debug: url: http://download.opensuse.org/repositories/home:/scalaris:/0.6.x/ArchLinux/x8... debug: maxsize: 16384 debug: opened tempfile for download: /var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux.db.sig.part (wb) downloading home_scalaris_0.6.x_ArchLinux.db.sig... debug: curl returned error 0 from transfer debug: response code: 200 debug: "/var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux.db" is not readable: No such file or directory debug: unregistering database 'local' debug: unregistering database 'core' debug: unregistering database 'extra' debug: unregistering database 'community' debug: unregistering database 'home_scalaris_0.6.x_ArchLinux' ls /var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux* /var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux.db.sig /var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux.db.tar.gz =====================
strangely though in another repo this does not happen: http://download.opensuse.org/repositories/home:/scalaris:/svn/ArchLinux/x86_... http://download.opensuse.org/repositories/home:/scalaris:/svn/ArchLinux/x86_... is there some (temporary) glitch in the repo creation for Arch?! Nico
On Wed, Aug 21, 2013 at 07:38:17PM +0200, Nico Kruber wrote:
the following links returns the "home_scalaris_0.6.x_ArchLinux.db.tar.gz" instead of the needed "home_scalaris_0.6.x_ArchLinux.db" http://download.opensuse.org/repositories/home:/scalaris:/0.6.x/ArchLinux/x8...
same for the .files file: http://download.opensuse.org/repositories/home:/scalaris:/0.6.x/ArchLinux/x8...
now when Arch tries to download the file, it uses the name supplied by the server and since it expected a .db file, it is not able to find it afterwards, resulting in the following: =====================
pacman -Sy --debug debug: url: http://download.opensuse.org/repositories/home:/scalaris:/0.6.x/ArchLinux/x8... debug: maxsize: 26214400 debug: opened tempfile for download: /var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux.db.part (wb) downloading home_scalaris_0.6.x_ArchLinux.db... debug: curl returned error 0 from transfer debug: response code: 200 debug: url: http://download.opensuse.org/repositories/home:/scalaris:/0.6.x/ArchLinux/x8... debug: maxsize: 16384 debug: opened tempfile for download: /var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux.db.sig.part (wb) downloading home_scalaris_0.6.x_ArchLinux.db.sig... debug: curl returned error 0 from transfer debug: response code: 200 debug: "/var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux.db" is not readable: No such file or directory debug: unregistering database 'local' debug: unregistering database 'core' debug: unregistering database 'extra' debug: unregistering database 'community' debug: unregistering database 'home_scalaris_0.6.x_ArchLinux' ls /var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux* /var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux.db.sig /var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux.db.tar.gz =====================
strangely though in another repo this does not happen: http://download.opensuse.org/repositories/home:/scalaris:/svn/ArchLinux/x86_... http://download.opensuse.org/repositories/home:/scalaris:/svn/ArchLinux/x86_...
is there some (temporary) glitch in the repo creation for Arch?!
The difference seems to be that the "home:/scalaris:/0.6.x" repo seems to be mirrored to ftp5.gwdg.de, but the "home:/scalaris:/svn" repo is not mirrored. The download redirector seems to follow the symlink for some reason. We should probably switch to using a hardlink instead of the symlink. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wednesday 21 Aug 2013 19:48:09 Michael Schroeder wrote:
On Wed, Aug 21, 2013 at 07:38:17PM +0200, Nico Kruber wrote:
the following links returns the "home_scalaris_0.6.x_ArchLinux.db.tar.gz" instead of the needed "home_scalaris_0.6.x_ArchLinux.db" http://download.opensuse.org/repositories/home:/scalaris:/0.6.x/ArchLinux/ x86_64/home_scalaris_0.6.x_ArchLinux.db
same for the .files file: http://download.opensuse.org/repositories/home:/scalaris:/0.6.x/ArchLinux/ x86_64/home_scalaris_0.6.x_ArchLinux.files
now when Arch tries to download the file, it uses the name supplied by the server and since it expected a .db file, it is not able to find it afterwards, resulting in the following: =====================
pacman -Sy --debug
debug: url: http://download.opensuse.org/repositories/home:/scalaris:/0.6.x/ArchLinux/ x86_64/home_scalaris_0.6.x_ArchLinux.db debug: maxsize: 26214400 debug: opened tempfile for download: /var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux.db.part (wb) downloading home_scalaris_0.6.x_ArchLinux.db... debug: curl returned error 0 from transfer debug: response code: 200 debug: url: http://download.opensuse.org/repositories/home:/scalaris:/0.6.x/ArchLinux/ x86_64/home_scalaris_0.6.x_ArchLinux.db.sig debug: maxsize: 16384 debug: opened tempfile for download: /var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux.db.sig.part (wb) downloading home_scalaris_0.6.x_ArchLinux.db.sig... debug: curl returned error 0 from transfer debug: response code: 200 debug: "/var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux.db" is not readable: No such file or directory debug: unregistering database 'local' debug: unregistering database 'core' debug: unregistering database 'extra' debug: unregistering database 'community' debug: unregistering database 'home_scalaris_0.6.x_ArchLinux'
ls /var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux*
/var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux.db.sig /var/lib/pacman/sync/home_scalaris_0.6.x_ArchLinux.db.tar.gz =====================
strangely though in another repo this does not happen: http://download.opensuse.org/repositories/home:/scalaris:/svn/ArchLinux/x8 6_64/home_scalaris_svn_ArchLinux.db http://download.opensuse.org/repositories/home:/scalaris:/svn/ArchLinux/x 86_64/home_scalaris_svn_ArchLinux.files
is there some (temporary) glitch in the repo creation for Arch?!
The difference seems to be that the "home:/scalaris:/0.6.x" repo seems to be mirrored to ftp5.gwdg.de, but the "home:/scalaris:/svn" repo is not mirrored. The download redirector seems to follow the symlink for some reason. We should probably switch to using a hardlink instead of the symlink.
Cheers, Michael.
thanks for the analysis So until this is changed/fixed, some Arch repos are broken. Luckily, our main repo home:/scalaris does not seem to be mirrored either so it works there, too Nico
On Thu, Aug 22, 2013 at 12:23:06PM +0200, Nico Kruber wrote:
thanks for the analysis
So until this is changed/fixed, some Arch repos are broken. Luckily, our main repo home:/scalaris does not seem to be mirrored either so it works there, too
It's now fixed. The next time the repo is published (i.e. some package is built) the symlinks will be hard links. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Michael Schroeder
-
Nico Kruber