F9beta update takes forever

John Summerfield debian at herakles.homelinux.org
Tue Apr 22 04:49:27 UTC 2008


seth vidal wrote:
> On Mon, 2008-04-21 at 20:27 +0800, John Summerfield wrote:
>> John Summerfield wrote:
>>> John Summerfield wrote:
>>>
>>>
>>>> There is no possibility of it completing, the source repo has been 
>>>> updated several times since it started.
>>> The strace interfered with it, and it's ended:
>>> ---> Package kdebase3-pim-ioslaves.x86_64 0:3.5.9-10.fc9 set to be updated
>>> ---> Package fedorawaves-kdm-theme.noarch 0:1.1-1.fc9 set to be updated
>>> file:///net/cdm/home/mirror/linux/fedora/x86_64/os/repodata/filelists.sqlite.bz2: 
>>> [Errno 5] OSError: [Errno 4] Interrupted system call: 
>>> '/net/cdm/home/mirror/linux/fedora/x86_64/os/repodata/filelists.sqlite.bz2'
>>> Trying other mirror.
>>> Traceback (most recent call last):
>>>   File "/usr/bin/yum", line 29, in <module>
>>>     yummain.user_main(sys.argv[1:], exit_code=True)
>>>   File "/usr/share/yum-cli/yummain.py", line 236, in user_main
>>>     errcode = main(args)
>>>   File "/usr/share/yum-cli/yummain.py", line 152, in main
>>>     (result, resultmsgs) = base.buildTransaction()
>>>   File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 624, in 
>>> buildTransaction
>>>     (rescode, restring) = self.resolveDeps()
>>>   File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 657, in 
>>> resolveDeps
>>>     for po, dep in self._checkFileRequires():
>>>   File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 862, in 
>>> _checkFileRequires
>>>     if not self.tsInfo.getOldProvides(filename) and not 
>>> self.tsInfo.getNewProvides(filename):
>>>   File "/usr/lib/python2.5/site-packages/yum/transactioninfo.py", line 
>>> 411, in getNewProvides
>>>     for pkg, hits in self.pkgSack.getProvides(name, flag, 
>>> version).iteritems():
>>>   File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line 295, 
>>> in getProvides
>>>     return self._computeAggregateDictResult("getProvides", name, flags, 
>>> version)
>>>   File "/usr/lib/python2.5/site-packages/yum/packageSack.py", line 447, 
>>> in _computeAggregateDictResult
>>>     sackResult = apply(method, args)
>>>   File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 721, 
>>> in getProvides
>>>     return self._search("provides", name, flags, version)
>>>   File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 39, in 
>>> newFunc
>>>     return func(*args, **kwargs)
>>>   File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 700, 
>>> in _search
>>>     for pkg in self.searchFiles(name, strict=True):
>>>   File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 39, in 
>>> newFunc
>>>     return func(*args, **kwargs)
>>>   File "/usr/lib/python2.5/site-packages/yum/sqlitesack.py", line 450, 
>>> in searchFiles
>>>     cur = cache.cursor()
>>> AttributeError: 'NoneType' object has no attribute 'cursor'
>>>
>>> real    3595m13.383s
>>> user    0m31.697s
>>> sys     0m6.462s
>>> [root at potoroo ~]#
>>> [summer at potoroo ~]$
>>>
>>>
>> After that marathon, it seemed likely to do it again, so I tried to 
>> trace it again. Following some output from "ps xf" is the entire trace:
>>
>> 13465 ?        Ss     0:00  \_ sshd: root at pts/4
>> 13470 pts/4    Ss     0:01      \_ -bash
>> 13673 pts/4    S+     0:00          \_ screen -L
>> 13674 ?        Ss     0:00              \_ SCREEN -L
>> 13675 pts/7    Ss+    0:01                  \_ /bin/bash
>> 13706 pts/10   Rs     0:01                  \_ /bin/bash
>> 17920 pts/10   R+     0:00                  |   \_ ps xf
>> 13874 pts/12   Ss     0:01                  \_ /bin/bash
>> 13907 pts/12   S+     0:01                      \_ /usr/bin/python 
>> /usr/bin/yum --disablerepo=rawhide* -y upgrade
>>   2258 ?        Ss     0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
>>   2281 ?        Ss     0:00 rpc.rquotad
>>   2320 ?        Ss     0:00 rpc.mountd
>>   2351 ?        Ss     0:32 sendmail: accepting connections
>>   2375 ?        Ss     0:03 crond
>>   2381 ?        Ss     0:00 /usr/sbin/atd
>>   2441 ?        S      0:00 /usr/sbin/dnsmasq --keep-in-foreground 
>> --strict-order --bind-interfaces --pid-file  --conf-file 
>> --listen-address 192.168.122.1 --except-interface lo -
>>   2443 ?        S      0:00 libvirtd --daemon
>>   2460 ?        Ss     0:14 cupsd
>>   2478 ?        Ssl    0:02 /usr/sbin/console-kit-daemon
>>   2603 tty4     Ss+    0:00 /sbin/mingetty tty4
>>   2604 tty5     Ss+    0:00 /sbin/mingetty tty5
>>   2605 ?        Ss     0:00 login -- root
>>   2783 tty2     Ss+    0:06  \_ -bash
>>   2606 ?        Ss     0:00 login -- summer
>>   2607 ?        Ss     0:00 login -- summer
>>   2609 tty6     Ss+    0:00 /sbin/mingetty tty6
>> 19889 ?        Ss     0:02 gpm -m /dev/input/mice -t exps2
>> 19979 ?        Ss     0:00 kdm -nodaemon
>> 19982 tty7     Rs+  416:24  \_ /usr/bin/X -br -nolisten tcp :0 vt7 -auth 
>> /var/run/xauth/A:0-lQgwzs
>> 21879 ?        S      0:00  \_ -:0
>> 22006 ?        Sl   173:01      \_ /usr/libexec/kde4/kdm_greet
>> 22029 ?        S      0:00 dbus-launch --autolaunch 
>> 1fbf779aa8e6990011358700471be2ed --binary-syntax --close-stderr
>> 22035 ?        Ss     0:00 /bin/dbus-daemon --fork --print-pid 7 
>> --print-address 9 --session
>> [root at potoroo ~]# strace -p 13907
>> Process 13907 attached - interrupt to quit
>> write(2, "file:///net/cdm/home/mirror/linu"..., 192) = 192
>> write(2, "Trying other mirror.\n", 21)  = 21
>> write(2, "Error: Cannot retrieve repositor"..., 129) = 129
>> unlink("///var/run/yum.pid")            = 0
>> close(4)                                = 0
>> munmap(0x2aaaaf4ce000, 4096)            = 0
>> close(3)                                = 0
>> rt_sigaction(SIGINT, {SIG_DFL}, {0x30692ea800, [], SA_RESTORER, 
>> 0x319c00f110}, 8) = 0
>> rt_sigaction(SIGQUIT, {SIG_DFL}, {0x30692ea800, [], SA_RESTORER, 
>> 0x319c00f110}, 8) = 0
>> rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
>> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
>> exit_group(1)                           = ?
>> Process 13907 detached
>> [root at potoroo ~]#
>>
>> And the entire output:
>> [root at potoroo ~]# time yum  --disablerepo=rawhide* -y upgrade
>> Loaded plugins: refresh-packagekit, refresh-updatesd
>> Config time: 0.778
>> repo time: 0.003
>> Yum Version: 3.2.14
>> COMMAND: yum --disablerepo=rawhide* -y upgrade
>> Installroot: /
>> Reading Local RPMDB
>> rpmdb time: 0.001
>> Setting up Package Sacks
>> file:///net/cdm/home/mirror/linux/fedora/x86_64/os/repodata/repomd.xml: 
>> [Errno 5] OSError: [Errno 4] Interrupted system call: 
>> '/net/cdm/home/mirror/linux/fedora/x86_64/os/repodata/repomd.xml'
>> Trying other mirror.
>> Error: Cannot retrieve repository metadata (repomd.xml) for repository: 
>> development.Mirror. Please verify its path and try again
>>
>> real    921m51.582s
>> user    0m1.246s
>> sys     0m0.480s
>> [root at potoroo ~]#
>>
>>
>> I'm reluctant to try to repair this, if someone wants the info.
> 
> Is your /var/cache/yum directory mounted on a non-local or extremely
> slow disk?
No.
> 
> and what is this mirror of:
> ///net/cdm/home/mirror/...

Local, the other side of my wireless link. If there's a problem there, I 
will notice, the machine "cdm" is my Internet gateway.

It's about this fast:
[root at potoroo ~]# ls -l 
/net/cdm/home/mirror/linux/fedora/x86_64/os/Packages/zhcon-0.2.6-8.fc9.x86_64.rpm 
-h
-rw-r--r-- 1 1004 1004 4.3M Mar 12 03:36 
/net/cdm/home/mirror/linux/fedora/x86_64/os/Packages/zhcon-0.2.6-8.fc9.x86_64.rpm
[root at potoroo ~]# time cp \ 
/net/cdm/home/mirror/linux/fedora/x86_64/os/Packages/zhcon-0.2.6-8.fc9.x86_64.rpm 
   \
  /tmp/

It's mirrored from a local mirror of 
rsync://mirror.3fl.net.au/fedora-linux-development/*6*:
12:48 [summer at numbat ~]$ rsync \ 
rsync://mirror.3fl.net.au/fedora-linux-development/*6*
Welcome to mirror.3fl.net rsync service
IP Address: 203.31.12.18
Connections: Max 20
Location: Perth, Australia
Admin: 3FL Mirror Team <mirror at 3fl.net>

drwxr-xr-x        4096 2008/04/16 14:14:26 i386
drwxr-xr-x        4096 2008/04/16 14:14:27 x86_64


real    0m2.483s
user    0m0.003s
sys     0m0.118s
[root at potoroo ~]#



-- 

Cheers
John

-- spambait
1aaaaaaa at coco.merseine.nu  Z1aaaaaaa at coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375

You cannot reply off-list:-)




More information about the fedora-test-list mailing list