Re: A apt-0.5.15cnc6 problem in Fedora Core 2
Steven Shiau <[email protected]> Mon, 06 Dec 2004 21:18:28 +0800
| Newsgroups | gmane.linux.conectiva.apt-rpm |
|---|---|
| Message-ID | <[email protected]> |
Hi, Panu: I posted my situation in the fedora bugzilla long time ago: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=135200 Then I backed to use Fedora Core 1, so I almost forgot that... Sorry for not responsing. Now I am trying to install kernel 2.6.9 in Fedora Core 3, I encounterd the same problem. It took me more than 30 minutes to install the kernel into /tftpboot/node_root I run the following: apt-get -y --reinstall -o RPM::RootDir=/tftpboot/node_root/ -o RPM::Install-Options::=--force -o RPM::Install-Options::=--nodeps -o RPM::Install-Options::=--noscripts install kernel#2.6.9-1.681_FC3 The step I did is the same one I posted in that bugzilla id=135200. Any idea ? Thank you very much. Panu Matilainen wrote: > On Sat, 2004-10-09 at 12:15, Steven Shiau wrote: > >>Hi... >>I am trying to install a 2.6.8 kernel into atypical directory so that it >>can share to other diskless machine. Here it's my procedure: >>In Fedora Core 2 (i386), the apt comes from >>apt-0.5.15cnc6-0.1.fc1.fr.i386.rpm >> >>1. To avoid to re-install some base packages, I copy RPM DB to cheat the >>apt-get like this: >>rsync -a /var/lib/rpm /tftpboot/node_root/var/lib/ >>2. Then I run this: >>apt-get -y --reinstall -o RPM::RootDir=/tftpboot/node_root/ -o >>RPM::Install-Options::=--force -o RPM::Install-Options::=--nodeps -o >>RPM::Install-Options::=--noscripts install kernel#2.6.8-1.521 >> >>But it takes very long time to do that, in a P4 2.6 GHz machine, almost >>30 minutes... or more... >> >>However, if I run the followinig in the Fedora Core 1, it runs very >>quickly... >>rsync -a /var/lib/rpm /tftpboot/node_root/var/lib/ >>apt-get -y --reinstall -o RPM::RootDir=/tftpboot/node_root/ -o >>RPM::Install-Options::=--force -o RPM::Install-Options::=--nodeps -o >>RPM::Install-Options::=--noscripts install kernel#2.4.22-1.2199.nptl >> >>How can I solve it ? >>Thanks in advance. > > > Almost 30 minutes to install a package sounds really weird.. FC2 kernels > do take a very long time to install compared to FC1 because of running > hardlink in %post. Which shouldn't happen since you're using > --noscripts. > > I'd suggest stracing it with timestamping on to see where the time is > spent, then we have some sort of chance to figure out what's wrong. > Basically 'strace -o /tmp/apt.trace -f -t apt-get ....' and then look at > /tmp/apt.trace timestamps. > > - Panu - > > _______________________________________________ > apt-rpm mailing list > [email protected] > http://distro2.conectiva.com.br/mailman/listinfo/apt-rpm > -- Say YES to Openoffice.org (www.openoffice.org, openoffice.nchc.org.tw). Please AVOID distributing documents in WORD, EXCEL or POWERPOINT format. [Chinese Big5] 請避免散佈WORD, EXCEL 或是 POWERPOINT格式的檔案. See http://www.fsf.org/philosophy/no-word-attachments.html and http://www.cyut.edu.tw/~ckhung/a/c_91.shtml ----------------------------------------------------------------------------- Steven Shiau [Chinese Big5] 蕭志榥 NCHC [Chinese Big5] 國家高速網路與計算中心 E-mail: steven _at_ nchc org tw; steven _at_ stick idv tw