|
From: John F. <J.P...@as...> - 2004-09-21 16:19:54
|
Rob Thank you for this very helpful posting. I have been able to build and run a Fedora Core 2 image using it. There are one or two comments I can make which may help others take less time than I have spent. I started from a clean copy of the fc1_2GB_root file. 1. I needed to edit the file /etc/sysconfig/network-scripts/ifcfg-eth0 to have GATEWAY=192.168.0.1 2. I also needed to change the numbers in /etc/resolv.conf to point to the correct local DNS server. This is enough for apt-get to start working. 3. I needed to find a mirror for the APT site as the main one was down. As it is the location where the mirrors are listed.... this took some time. 4. apt-get dist-upgrade worked as mentioned, except that there were more errors as some files it needed are missing from the mirror site I was using. (!) 5. I was able to sort out the duplicates making use of a few extra things. (a) the -V (verbose) option of apt-get spells out version numbers. (b) apt-get check does some useful checking. (c) rpm -q xyz can be use to find the versions of a package xyz. This will report BOTH when there is a duplicate. (d) rpm -e xyn.a.b-c can then be used to delete a particular version The duplicates I found were basesystem words libattr Thanks again John From: "Rob Irvin" <and...@ho...> To: col...@li... BCC to: Subject: [coLinux-users] Re: Fedora Core 2 Image Date sent: Tue, 21 Sep 2004 11:16:57 +0100 > In reply to John Fletcher's post about a Fedora Core 2 image, it is > possible to use the existing Fedora Core 1 image and update it. > > Extract a new copy of the filesystem and setup the necessary CoLinux > configuration. Once done, edit the file /etc/apt/sources.list (pretty > sure thats correct) and look for the uncommented line that details a > repository over at freshrpms.net. All you need to do in this file is > change the .../1/... to a 2. I left this line as it was, commented it > out and made a new section in the file for Fedora Core 2, so stay > inline with the existing contents. Save the changes then return to > the command line. > > By running "apt-get update", the information about the Fedora Core 2 > packages will be downloaded which allows you to run "apt-get > dist-upgrade" so downloaded all of the latest packages. The only > issue is that several of the files are protected and can not be > automatically removed, for example basesystem (or something similar). > As a result apt-get will compain about two copies of the system > existing. It will also mention running "rpm --rebuilddb". By running > apt-get a few more times it is possible to solve these last few > niggles. Use "apt-get dist-upgrade" to find which files have two > versions installed, and then use "apt-get remove packagename-version." > I found it easier if you load up the package list on the Fedora > website, under projects, to determine which is the latest version. If > you have a copy of the package listings for Fedora Core 1 it makes it > a lot easier. > > After several runs of this process, there will be no error messages > left. Now simply reboot the system, or run shutdown, and you will be > presented with Fedora Core 2. Quickest way to tell is the colour of > "Fedora" during start up and it should state Fedora Core 2 at the > login screen. > > Hope this helps. > > > Android808 > > _________________________________________________________________ Use > MSN Messenger to send music and pics to your friends > http://www.msn.co.uk/messenger > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement > on who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ coLinux-users mailing > list coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-users > ------------------------------------------------------------------- Dr John P. Fletcher Tel: (44) 121 359 3611 ext 4625 Chemical Engineering and Applied Chemistry (CEAC), School of Engineering and Applied Science (SEAS), Aston University, Fax: (44) 121 359 4094 Aston Triangle, Email: J.P...@as... BIRMINGHAM B4 7ET U.K. CEAC Web site http://www.ceac.aston.ac.uk/ |