On Saturday 18 August 2007 11:28:45 pm Rajko M. wrote: > On Saturday 18 August 2007 08:37:18 pm Adam Jimerson wrote: > > On Friday 17 August 2007 09:34:05 pm Rajko M. wrote: > > > On Friday 17 August 2007 19:59, Rajko M. wrote: > > > ... > > > > > > > It would be good to see where YaST tried to mount repository. > > > > Look in /var/log/YaST2/y2log. > > > > > > ... > > > Just tried google for "Bad Media attach point" (with quotes) and guess > > > what: http://www.tiglo.co.uk/ > > > has a link to: > > > http://www.tiglo.co.uk/technology/linux/yastzypper-bad-media-attach-poi > > >nt .h tml > > > > > > Though it should be: > > > tail -f /var/log/YaST2/y2log > > > or better > > > tail -f /var/log/YaST2/y2log | grep attach > > > than run in another console > > > yast2 sw_single& > > > and watch in first what is going on. It will be a lot of text, but you > > > can scroll back and look for something like: > > > /var/adm/mount/AP_0x00000001. > > ... > > > Here is what I get wen I run > > tail -f /var/log/YaST2/y2log | grep attach > > > > 2007-08-17 10:19:29 <0> SE-02(11253) [media] MediaHandler.cc(release):704 > > Request to release media - not attached; eject 0 > > 2007-08-17 10:19:29 <1> SE-02(11253) [media] MediaAccess.cc(close):209 > > Close: http(http://download.opensuse.org/distribution/10.2/repo/oss/ not > > attached; localRoot "") (OK) > > 2007-08-17 10:19:29 <0> SE-02(11253) [media] MediaHandler.cc(release):704 > > Request to release media - not attached; eject 0 > > 2007-08-17 10:19:29 <0> SE-02(11253) [media] > > MediaHandler.cc(removeAttachPoint):177 MediaHandler - checking if to > > remove attach point > > 2007-08-17 10:19:29 <0> SE-02(11253) [media] MediaHandler.cc(release):704 > > Request to release media - not attached; eject 0 > > 2007-08-17 10:19:29 <1> SE-02(11253) [media] MediaAccess.cc(close):209 > > Close: cd(cd:///?devices=/dev/sr0,/dev/sr1 not attached; localRoot "") > > (OK) 2007-08-17 10:19:29 <0> SE-02(11253) [media] > > MediaHandler.cc(release):704 Request to release media - not attached; > > eject 0 > > 2007-08-17 10:19:29 <0> SE-02(11253) [media] > > MediaHandler.cc(removeAttachPoint):177 MediaHandler - checking if to > > remove attach point > > 2007-08-18 20:03:00 <1> SE-02(7042) [media] MediaAccess.cc(open):142 > > Opened: cd(cd:///?devices=/dev/sr0,/dev/sr1 not attached; localRoot "") > > 2007-08-18 20:04:45 <0> SE-02(7042) [media] MediaHandler.cc(release):704 > > Request to release media - not attached; eject 0 > > 2007-08-18 20:04:45 <1> SE-02(7042) [media] MediaAccess.cc(close):209 > > Close: cd(cd:///?devices=/dev/sr0,/dev/sr1 not attached; localRoot "") > > (OK) 2007-08-18 20:04:45 <0> SE-02(7042) [media] > > MediaHandler.cc(release):704 Request to release media - not attached; > > eject 0 > > 2007-08-18 20:04:45 <0> SE-02(7042) [media] > > MediaHandler.cc(removeAttachPoint):177 MediaHandler - checking if to > > remove attach point > > > > I see no meantion of anything that looks like > > /var/adm/mount/AP_0x00000001. > > After starting > tail -f /var/log/YaST2/y2log | grep attach > Than you have to start in another console > yast2 sw_single > that will log messages in /var/log/YaST2/y2log which you can see in first > console in real time, thanks to 'tail -f' command. > The pipe (vertical line) to > grep attach > is there only to isolate only lines that contain string 'attach' (it will > include for instance reattach, attached, attachment). > > You can try to isolate only lines that contain string '/var/adm/', or > 'AP_0' that would be > grep '/var/adm/' /var/log/YaST2/y2log > or > grep 'AP_0' /var/log/YaST2/y2log > > What article suggest is to look in /var/adm/mount and remove > subdirectories. They should not exist. If YaST ends without problems it > will remove subdirectories, if not they will hang in there. The rest is way > to search where yast is trying to mount external media. > > > -- > Regards, > Rajko. Thanks for the help Rajko, it seemed YaST made subdirectories left and right with in /var/adm/mount, after checking I saw that there was 999 different subdirectories. Now that I removed all of them YaST is accepting URLs again. Which means that fixed my zypper problem. Again thank you for all your help.
signature.asc
Description: This is a digitally signed message part.
