Re: [gentoo-user] Semantics of emerge -u
* Oliver Lange [EMAIL PROTECTED] [2003-12-11 19:20]: You're right, one should expect that an upgrade option shouldn't install new packages from scratch emerge(1) says that -u is 'update' not 'upgrade' - it updates your system to have the latest version of a pkg, i.e. install pkg X version Y unless already installed. and i think it also shouldn't add the package to the world favorites file. The world file lists all pkgs _explicitly_ emerged unless told to leave off. I think it makes more sense to assume that if I do emerge [-u] X then I'm interested in X unless I say otherwise (--oneshot) rather than assuming that I'm not interested unless I say (?--addworld?). Maybe someone might fire up a feature request to the portage-ng developers ? I think a more useful request would be to have an option to update all installed packages (regardless of the world file) other than emerge --oneshot --update A B C D ... [list of installed pkgs] Cheers David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Back OT: Prince of Persia commercial
From: Spider [mailto:[EMAIL PROTECTED] Can anyone mention a clone, or an emulator/VM setup that can play said old game? * Van Eps, Nathan D. [EMAIL PROTECTED] [2003-12-02 09:19]: There is a DOS version of Prince of Persia you can download! There's also a Mac version on abandonware sites. You could try using Mac-on-Linux. (You didn't specify Linux/x86 so... :-) I tried running it last night with Linux/ppc - MOL - OSX - Classic Emulation, but it wouldn't start. I seem to remember the same problem intermittently in OSX so I think it's a problem with the Classic Emulation, rather than MOL. It should probably work with MOL and a real OS9 install, though I don't have one so I can't tell you. Cheers David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: Gentoo internal structure
* [EMAIL PROTECTED] [2003-11-21 05:40]: Well portage has that, but one doesn't need to add these 'free' licenses to it. And the automatic addition of accepted licenses doesn't work yet, but I think it's under way. This was developed, because some games need eula's accepted when installed. So if one adds license to the ACCEPT_LICENSES or something like that. Then these ebuild does not need ones acceptance before installing. I remember this being mentioned as in progress quite a while ago. I think it's a rather necessary part of a package management system, so I don't know why it's taking so long. You should be given the chance to `accept' the license before installing software. (Sure you can grep LICENSE foo.ebuild, but that's not the Gentoo way.) I know it's not a big deal most of the time, but it is important. I may not be a zealot of a particular philosophy (GNU, BSD, commercial, etc.) but I'm concerned enough to reject on principle something with the kind of licence that Borland put on Delphi a little while back [*]. Do I have anything like that on my Gentoo machines? I don't know because portage hasn't told me and I haven't bothered to check, but I do know that I don't on my NetBSD machines because pkgsrc only installs with the licences specified in ACCEPT_LICENSE in make.conf. Cheers David [*] something like you can install this software for free [as in beer], but if so we reserve the right to come to your home/work and inspect your computer to check that you're using the software appropriately. Sure, this is probably a hypothetical worry, but less so if more software used it. Come to think of it isn't this what M$ wants to use? (except s/free/a fee/g) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] system time/hw clock
* Thomas T. Veldhouse [EMAIL PROTECTED] [2003-11-19 09:39]: Marianne Taylor wrote: Does anyone know the answer to my original question. Up until about a month ago I was keeping good time both in windows and in gentoo with my hwclock set to local. Now for some reason everytime I boot gentoo it thinks that the hwclock is set to UTC and corrects for that ie) it sets the time 8 hrs earlier. So where do I look other than rc.conf to correct this?? If at some point in the past, you booted the system with UTC in /etc/rc.conf and then switched it to LOCAL and shut your system down. It saved the offset time as the local time. Essentially, your system clock was set back 8 hours. The only fix is to manually update the time yourself using 'date'. And then deleting /etc/adjusttime ? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Operating System not Found
* Collins Richey [EMAIL PROTECTED] [2003-11-04 07:49]: On Tue, 04 Nov 2003 22:09:56 +0800 William Kenworthy [EMAIL PROTECTED] wrote: After a few painful rescues, I now make /boot is unmounted when not needed. Security freaks will complain, but I have been with gentoo almost since the beginning, and I have never created a /boot partition. I never have to remember to mount /boot when needed. No problems ever. When I first installed the instructions (PPC install) said not to create a separate /boot partition. But I wasn't planning on it anyway. I've done the same with the x86 installs I've done since. I don't see any point for desktop. David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Fixed - Re: [gentoo-user] Getting KDM to read ~/.xsession
* Hall Stevenson [EMAIL PROTECTED] [2003-10-28 13:07]: - From the forums it looks like you have to edit /etc/X11/Sessions/ kde-3.1.4 and source the ~/.xsession. Rather irrating to have to do this yourself. % cat /etc/X11/Sessions/kde-3.1.4 #!/bin/sh if [ -r ~/.xsession ]; then . ~/.xsession fi /usr/kde/3.1/bin/startkde File a bug report against then. Not sure how often it would present a problem for people though... I don't understand why you'd want this. It's certainly not what you want to happen by default. My .xsession is a symbolic link to my .xinitrc, which runs a couple of programs (bbrun, bbpager, bbkeys) and then starts blackbox. If I chose to run kde from {g,k}dm then why would I want to run these before starting kde? (Actually, I tried to test this setup and kde didn't even start when I exited blackbox.) If you've got X settings in .xsession you want loaded in KDE (or something else) I would suggest adding them directly to the appropriate /etc/X11/Sessions/ file. Cheers David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Gentoo on Powerbooks
* Richard Revis [EMAIL PROTECTED] [2003-10-22 20:06]: I have been lusting after a G4 powerbook recently and since they are gentoo-ppc-user might get you some better results (CC'd) I have everything working fine on my iBook, but I have a feeling there may be one or two problems with the latest G4 powerbooks. They may have been fixed already or be close to but I haven't been paying attention. Your best bet for hardware advice is the debian-powerpc list. There's a lot of non-debian specific PPC Linux discussion there. Check the archives and ask if you don't find anything conclusive. How well does the PPC install of Gentoo work? Is it pretty slick? Um, well enough? :-) It worked fine for me. I think it's pretty similar to the x86 install, with only a few different nuances such as the different bootloader etc. How many of the Gentoo packages work well on PPC? Virtually all of those I've tried. There are a couple of things that don't work as well but the main thing is binary only pkgs (e.g. acrobat) where there's no PPC binary. Does the lack of a second and third mouse key make X You can configure keys to do that - I have F11 and F12. Others have them further down on the keyboard but I haven't found it a hassle. Why on earth doesn't it have a pgup/pgdown key? If it's the same as my iBook pgup/pgdown/home/end are fn-up/down/left/right. Answers on a postcard :o) OK - Gentoo PPC is as good as any other PPC distro, so if it's Linux-able then it's Gentoo-able. Check that the hardware is supported and if so go for it and don't look back. :-) Good luck David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Update question
* Hall Stevenson [EMAIL PROTECTED] [2003-10-21 13:18]: Someone commented about *not* replacing files like /etc/fstab or /etc/issue and the response was that we sometimes need to merge new information. I guess I have a different definition of merge... To me, merge would imply add to, not replace. I do see mention of an option CONFIG_PROTECT_MASK=enter files here... that you add to /etc/make.conf. Haha !! But /etc/make.conf is a file that frequently gets replaced !! No file gets replaced unless you replace it. Portage places new versions of files beside them and tells you to update/merge any new information. etc-update is a tool to help you do that. Sure, it could be a bit more user friendly and better documented but you can't really add anything more than that. True, replacing fstab will make your system unbootable, but it's fairly quick to boot from CD and edit the file correctly. But it would take me much longer to figure out all the custom options in my apache conf file if that got replaced with the default - can we have non-replace functionality for that too? What about ... [pick one from the infinite list of possibilities]. There isn't really anywhere to draw the line, so if you got involved in doing something like that it would become hugely complicated. And it would probably lose functionality. A more novice-friendly tool would probably benefit a lot of users. But it should be as an additional option for updating files as well as the current etc-update, not instead of it. Seeing as so many people are keen for such a tool it shouldn't be too long before someone writes one. Maybe the graphical program someone mentioned fits the bill already... Cheers David BTW it may be helpful to read the last couple of paragraphs from Heschi Kreinick's post in August for a brief overview of how the current `problem' came to be: http://article.gmane.org/gmane.linux.gentoo.user/42052/ -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] portage
* Andrei Ivanov [EMAIL PROTECTED] [2003-10-22 00:38]: Calculating world dependencies ...done! [ebuild N] sys-kernel/gentoo-sources-2.4.20-r8 Shouldn't the flag be U in the updates list ? There appears to have been a change it how portage reports updates in different slots. It seems that now U is only for updates in the same slot (where the old version will be removed). When the new version is in a different slot the old one will be kept, so it's ambiguous to call it an update. It is slightly confusing, but not as confusing as [ebuild U] sys-apps/application-2.7 [3.1] Oh no, am I going to lose my new version or not! :-) Cheers David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] why is tuxracer not racing?
* HvR [EMAIL PROTECTED] [2003-10-19 15:33]: yes i am using i810 which seems to load fine, i also have i8x0 in my USE, however i did not turn on 3dfx is that needed here? so why is XFree complaining it needs a newer version of i830.0 i have compiled the latest version? I think what you've done is compiled it in the kernel, but the kernel versions are for X 4.2 (?). emerge xfree-drm to get the 4.3 version. Hope this helps David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] why is tuxracer not racing?
* David Friggens [EMAIL PROTECTED] [2003-10-20 16:06]: I think what you've done is compiled it in the kernel, but the kernel versions are for X 4.2 (?). emerge xfree-drm to get the 4.3 version. Oh, and recompile your kernel without the old versions. (Assuming you didn't compile them as modules.) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Keeping packages up todate with a 56k modem
* David Gethings [EMAIL PROTECTED] [2003-10-16 12:29]: Secondly, downloading all the packages over a 56k modem is a non-starter. Espcially as I only have one phone line and a chatty wife. I'm in a similar situation to you. What I usually do is get it to download overnight. Something like % emerge -fUDv world kill `pidof wvdial` or % emerge -fuv `qpkg -I -nc` kill `pidof wvdial` or % emerge -fv pkg1 pkg2 pkg3 /etc/ppp/ppp-down just before going to bed. Cheers David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Running mulitiple Window Mangers/Desktops?
* Joshua Banks [EMAIL PROTECTED] [2003-10-13 03:26]: Does this mean that XFree is my window manger and KDE is an extension of XFree? What specifically is the difference between WindowMangers and Desktops? When I go here, Have a read of Section 16.1: What is X here: http://www.netbsd.org/guide/en/chap-x.html#id3025038 for a brief explanation of X server, window manager and desktop. have the abliity to choose which desktop that I use when I get my LOGIN promtp with KDM. Each installed window manager / desktop will install a file in /etc/X11/Sessions which is used by {x,g,k}dm etc. Cheers David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Dual boot question
* Barry Marler [EMAIL PROTECTED] [2003-10-12 11:44]: Also, you'd have to add a FreeBSD section. I seem to recall there are issues using grub to boot it. Better read up on that. I would recommend having a look at the grub info manual: % info grub There's a section on booting FreeBSD. I recently set up Grub to dual-boot Gentoo and NetBSD after installing the former on my small second hard-drive that used to house another O$. I'd recommend using Grub's tab completion to see your available options. If it only gives you one harddrive option then you know which to use. :-) Also, you may need to chainload FreeBSD, rather than booting directly. I'll send you my grub.conf when I get home. Good luck David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Dual boot question
* David Friggens [EMAIL PROTECTED] [2003-10-13 08:42]: I recently set up Grub to dual-boot Gentoo and NetBSD ... I'll send you my grub.conf when I get home. According to Linux, NetBSD is on hda and Gentoo boot/root are hdd1 and hdd3 respectively. The tab completion at the grub command line told me it thought they were hd0 and hd1, but it wouldn't boot unless I called them hd1 and hd0. Weird. Anyway my grub.conf has title=Gentoo root (hd0,0) kernel (hd0,0)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hdd3 initrd (hd0,0)/boot/kernel-2.4.20-gentoo-r7 title=NetBSD root (hd1,0,a) chainloader (hd1,0)+1 * Monah Baki [EMAIL PROTECTED] [2003-10-12 02:48]: Now my disk layout is: hdc1 Freebsd hdc2 Linux (boot) hdc3 Linux (swap) hdc4 Linux (root) So you probably want to do something like title=Gentoo root (hd0,1) kernel (hd0,1)/boot/kernel-2.4.20-gentoo-r7 root=/dev/hdc4 initrd (hd0,1)/boot/initrd-2.4.20-gentoo-r7 title=FreeBSD root (hd0,0,a) kernel /boot/loader or if that doesn't work title=FreeBSD root (hd0,0,a) chainloader (hd0,0)+1 Hope this helps David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] which /etc/*config files need updating?
* Ernie Schroder [EMAIL PROTECTED] [2003-10-11 16:41]: On Saturday 11 October 2003 18:15, you wrote: I get this message * IMPORTANT: 2 config files in /etc need updating. * Type emerge --help config to learn how to update config files. Do what it says: read `emerge --help config` which should explain the situation somewhat. RUN etc-update WITH CAUTION!!! Seconded. emerge leaves you to update config files and etc-update is a tool to help *you* update. This has happened to many of us and will continue, I suppose, but at least you've been warned. $ fortune UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn $ :-) One other hint about etc-update - in the interactive update it doesn't tell you your options so type ? to be given the list. The basic ones are l and r to accept the left or right alternatives but you can edit one or both before accepting. /etc/etc-update.conf may also be helpful reading. Cheers David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Suggestions on partitions sizes and what directories to mount?
* Gour [EMAIL PROTECTED] [2003-10-02 19:03]: I recently switched to Gentoo and put all my partitions on EVMS2 volumes (included root) and there is no more problem guessing correct sizes. On my iBook I have: # mac-fdisk /dev/hda #type name length base ( size ) system /dev/hda3 Apple_UNIX_SVR2 Swap1048576 @ 6291520 (512.0M) Linux swap /dev/hda4 Apple_UNIX_SVR2 Linux 25196448 @ 7340096 ( 12.0G) Linux native # df -h FilesystemSize Used Avail Use% Mounted on /dev/hda4 12G 9.6G 1.7G 86% / No problems guessing partition sizes there either :-) (except the original conundrum of how to share my 30GB between three OSs). I've read many discussions on this issue and have yet to be convinced there's any need for more partitions in my situation. Cheers David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] What creates System.map, config and vmlinuz?
I'm not too knowledgable in this area but I'm pretty sure the other two answers you've got so far are (in part) wrong. I did my first x86 install and kernel build the other day and found this info myself after trying to figure out why the x86 and ppc kernel procedures were different. (So I can confirm that all this is just a short google away. :-) * Mark Knecht [EMAIL PROTECTED] [2003-09-15 09:57]: I just did a kernel build of gentoo-sources-2.4.20-r7 by hand (make dep clean bzImage modules modules_install then copy bzImage to /boot by hand) and I do not get the System.map, config and vmlinuz files in /boot. However, QUESTION 1: What do these files do, and are they necessary? vmlinux is your kernel. Often necessary. System.map is the symbol map and is necessary. bzImage is a compressed file that contains both. (So you use it instead of the others.) QUESTION 2: What is the process to create these files if I want them? Do `make vmlinux` instead of `make bzImage` - they should be in the source root. (They may actually be there after doing make bzImage - have a look - but that's what you do if you don't want the compressed image.) QUESTION 3: What is the difference between booting from a vmlinuz file and a bzImage file? As far as your system once it's booted - nothing. But (this is an educated guess here, someone correct me if I'm wrong) you're more likely to run out of memory during boot without the compression due to the excellent design of the peecee architecture. :-) QUESTION 4: Does having these -r5 files impact running -r7 if the -r7 versions don't exist and the links point to the -r5 versions? No. Cheers David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] What creates System.map, config and vmlinuz?
* Lindsay Haisley [EMAIL PROTECTED] [2003-09-15 17:40]: Thus spake David Friggens on Mon, Sep 15, 2003 at 04:57:22PM CDT * Mark Knecht [EMAIL PROTECTED] [2003-09-15 09:57]: OK, I've got my wires crossed a bit. Mark - you can pretty much ignore what I said. :-) I started to do a bit more googling, but the firewall I'm currently behind has just died. No more web surfing for a while... and I do not get the System.map, config and vmlinuz files in /boot. However, vmlinux is your kernel. Often necessary. System.map is the symbol map and I hadn't come across vmlinuz, so I just assumed it was a typo for vmlinux. Before the firewall died I came across this: If you find a file name 'vmlinux' in the top directory of the source tree, just ignore it. This is an intermediate file and you can't boot from it. [ http://www.cs.helsinki.fi/linux/linux-kernel/2001-51/0088.html ] But you can on ppc and sparc... :-) bzImage doesn't contain the system symbol map, but the symbol map is I'm sure I read that it does. I'll assume I'm wrong as I wait to track down my source later on. /boot/vmlinuz (if it's the working kernel image) is _always_ required. Sorry, I meant to put a :-) after saying the kernel is often required. Cheers David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] What creates System.map, config and vmlinuz?
* David Friggens [EMAIL PROTECTED] [2003-09-16 11:16]: * Lindsay Haisley [EMAIL PROTECTED] [2003-09-15 17:40]: bzImage doesn't contain the system symbol map, but the symbol map is I'm sure I read that it does. I'll assume I'm wrong as I wait to track down my source later on. OK, firewall's back up and after some Googling it appears I that I'm not hallucinating about what I read. But... I couldn't find the original thing I read, but I came across some discussion on the the Linux Kernel Mailing List entitled Re: zImage now holds vmlinux, System.map and config in sections. (fwd). Starting here: http://www.ussg.iu.edu/hypermail/linux/kernel/0302.3/0203.html with threaded replies starting here: http://www.ussg.iu.edu/hypermail/linux/kernel/0302.3/0382.html The discussion wasn't complete, so I'm still a little confused but the following quote indicates that maybe it's not relevant to x86. Well, then it doesn't have sections. As far as I could see the original post only applied to architectures for which zImage is an ELF binary. Similarly, this will not exist on x86/x86-64 where the (b)zImage is mostly a binary blob. David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] What creates System.map, config and vmlinuz?
* Mark Knecht [EMAIL PROTECTED] [2003-09-15 18:31]: Does 'make vmlinuz' make an uncompressed kernel? No, 'make vmlinux' does, but you don't want that on x86. 'make vmlinuz' produces an error. The other 2/3's are where do the System.map and config files come from? I've just been reading Section 10 of the Kernel HOWTO, which explains in detail about System.map: http://www.tldp.org/HOWTO/Kernel-HOWTO/kernel_files_info.html Cheers David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] etc-update and fstab...
* Mark Knecht [EMAIL PROTECTED] [2003-08-02 15:39]: * On Sat, 2003-08-02 at 13:51, Kees Bergwerf wrote: * Op zaterdag 2 augustus 2003 22:23, schreef Stephane Brossier: I used the -5 option which automaticall merge the files, and it seems it deleted some of my config files such as /etc/fstab. A few points: (*) emerge says I didn't overwrite your config files in case it would change any important settings - I've left it so you can see whether the changes are good or not (*) you told etc-update just blindly overwrite the config files - I don't care (*) you complain that things don't work any more Think on that for a moment... This is IMO the most very frustrating part of the way Gentoo works. You mean that it doesn't tie your hands behind your back to stop you shooting yourself in the foot? I've always found it more than satisfactory. etc-update automatically merges any trivial changes and then I use the interactive merge option (3, I think) to make sure my settings don't get overridden. I could not find any merge option in env-update :-(. It would be nice if there is one, that merges the old config with the new one. Anybody? (*) Select the number of the file (*) Select 3) Interactively merge original with update (*) Update diff-by-diff how you like Admittedly this bit is the most unintuitive at first as it doesn't tell you what the options are. But if you type ? it gives you the list: ed: Edit then use both versions, each decorated with a header. eb: Edit then use both versions. el: Edit then use the left version. er: Edit then use the right version. e: Edit a new version. l: Use the left version. r: Use the right version. s: Silently include common lines. v: Verbosely include common lines. q: Quit. Usually a mix of r and l is all that's needed. (*) Select 1) Replace /etc/fstab with merged file Or you can start with the gentoo life cd, mount the partition and edit fstab. That's how I've got myself out of similar sticky situations. :-) David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] starting programs as su?
just tried to start krusader as su: I would say that your easiest option is to use kdesu: $ kdesu krusader David -- [EMAIL PROTECTED] mailing list