[zypp-devel] weired problems during commit
Hi, I dared to update to zypp:svn and then tried to zypper in and then I get a weired problem, it downloads media.1/media first and then again /inst-source/ and wonders that it can't write a dir as a file. Any idea? Greetings, Stephan Herunterladen von Paket yast2-users-2.16.8-9.x86_64, 0 B (0 B installiert) Lade herunter: media * Downloading [100%] Lade herunter: inst-source * Downloading [100%] Problem beim Laden von Daten von: Cannot write file /var/adm/mount/AP_0x00000005 and this how zypper log looks like: MediaHandler.cc(createAttachPoint):393 Trying to create attach point in /var/adm/mount PathInfo.cc(_Log_Result):295 mkdir /var/adm/mount/AP_0x00000005 00755 MediaHandler.cc(createAttachPoint):370 Created default attach point /var/adm/mount/AP_0x00000005 Sysconfig.cc(read):31 Load '/etc/sysconfig/proxy' Sysconfig.cc(read):71 done reading '/etc/sysconfig/proxy' MediaCurl.cc(attachTo):547 Proxy: -none- MediaHandler.cc(attach):653 Attached: http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/ attached; localRoot "/var/adm/mount/AP_0x00000005" MediaCurl.cc(doGetFileCopy):1024 /media.1/media MediaCurl.cc(doGetFileCopy):1058 URL: http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/media.1... MediaCurl.cc(doGetFileCopy):1119 dest: /var/adm/mount/AP_0x00000005/media.1/media MediaCurl.cc(doGetFileCopy):1120 temp: /var/adm/mount/AP_0x00000005/media.1/media.new.zypp.WJZjti MediaCurl.cc(doGetFileCopy):1303 HTTP response: 200 PathInfo.cc(_Log_Result):295 mkdir /var/adm/mount/AP_0x00000005/media.1 00755rename /var/adm/mount/AP_0x00000005/media.1/media.new.zypp.WJZjti -> /var/adm/mount/AP_0x00000005/media.1/media MediaCurl.cc(doGetFileCopy):1332 done: /var/adm/mount/AP_0x00000005/media.1/media{- 0644 0/0 size 42} MediaHandler.cc(provideFile):1010 provideFile(/media.1/media) MediaManager.cc(checkDesired):113 checkDesired(1): desired (report by N4zypp4repo17SUSEMediaVerifierE) MediaManager.cc(checkDesired):116 checkDesired(1): desired (cached) MediaCurl.cc(doGetFileCopy):1024 MediaCurl.cc(doGetFileCopy):1058 URL: http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/ MediaCurl.cc(doGetFileCopy):1119 dest: /var/adm/mount/AP_0x00000005 MediaCurl.cc(doGetFileCopy):1120 temp: /var/adm/mount/AP_0x00000005.new.zypp.GyKRq1 MediaCurl.cc(doGetFileCopy):1303 HTTP response: 200 PathInfo.cc(_Log_Result):295 rename /var/adm/mount/AP_0x00000005.new.zypp.GyKRq1 -> /var/adm/mount/AP_0x00000005 PathInfo.cc(_Log_Result):297 FAILED: errno 21 MediaCurl.cc(doGetFileCopy):1321 Rename failed -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Thu, Feb 14, Stephan Kulow wrote:
Hi,
I dared to update to zypp:svn and then tried to zypper in and then I get a weired problem, it downloads media.1/media first and then again /inst-source/ and wonders that it can't write a dir as a file.
Any idea?
MediaCurl.cc(doGetFileCopy):1058 URL: http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/
I'd say, there is an empty pathname (somewhere in the metadata?). I checks .../inst-source/media.1/media, then the package should be loaded from somwhere below DATADIR (.../inst-source/suse/...). But the path is empty. AND doGetFileCopy (or thre methods calling it) do not catch an empty path. The methods should throw then.
MediaCurl.cc(doGetFileCopy):1119 dest: /var/adm/mount/AP_0x00000005 MediaCurl.cc(doGetFileCopy):1120 temp: /var/adm/mount/AP_0x00000005.new.zypp.GyKRq1 MediaCurl.cc(doGetFileCopy):1303 HTTP response: 200
-- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Stephan Kulow wrote:
Hi,
I dared to update to zypp:svn and then tried to zypper in and then I get a weired problem, it downloads media.1/media first and then again /inst-source/ and wonders that it can't write a dir as a file.
Any idea?
Greetings, Stephan
Yes, I have got that error before, happens when location attribute is incorrect (empty) and the destination path is not correct then. A place for a more meaningful error text I guess. Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Hi, On Thu, 14 Feb 2008, Stephan Kulow wrote:
MediaCurl.cc(doGetFileCopy):1058 URL: http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/
The "mediafile" attribute was missing, as Klaus made susetags2solv write the attributes into the "test.attr" file by default. Fixed now. Ciao, Michael. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (4)
-
Duncan Mac-Vicar P.
-
Michael Andres
-
Michael Matz
-
Stephan Kulow