Mailinglist Archive: opensuse-buildservice (142 mails)

< Previous Next >
Re: [opensuse-buildservice] Arch: repository-generation symlinks .db to .db.tar.gz
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/x86_64/home_scalaris_svn_ArchLinux.db
http://download.opensuse.org/repositories/home:/scalaris:/svn/ArchLinux/x86_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.

--
Michael Schroeder mls@xxxxxxx
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@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References