Re: [gentoo-user] portage question
Thanks Holly. I understand it better now. On Wed, 2005-10-05 at 16:50 +0200, Holly Bostick wrote: Eric Crossman schreef: Ok, I'll be the first to admit that I don't know much about using portage beyond the most basic minimal commands. This seems to fall under the used to work category. In the past, I've used a emerge system and emerge world to update to newer versions of installed software. Usually also with a --pretend to see beforehand what it's going to do. Now if I run emerge --pretend system or emerge --pretend world it comes up with no updates to install. If I add an --update to the command, it finds the updates correctly. Is this a syntax change or just a matter of a deprecated command/default behavior? Eric From man emerge: --update (-u) Updates packages to the best version available, which may not always be the highest version number due to masking for testing and development. This will also update direct dependencies which may not be what you want. In general, use this option only in combination with the world or system target. You have not said what the actual packages are that come up with an -u but not without, but from this info, I would assume that they are direct dependencies of packages in your world file, and that the packages in your world file themselves are up-to-date. Dependencies are not listed in your world file, so they would not be updated with an emerge world. And indirect dependencies (dependencies of the direct dependencies of the packages in your world file) won't be updated with an emerge -u world, but only an emerge -uD (--deep) world (because the deep dependencies of the package in your world file are not direct dependencies of the package, so -u doesn't get them either) For example, let's take the case of Totem, which is in my world file: emerge -pv totem cfg-update 1.7.1 : Building checksum index... (takes a few seconds) done! These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/totem-1.0.4 +a52 -debug +dvd +flac +gnome -lirc +mad +mpeg +ogg -theora +vorbis +win32codecs +xine +xv 0 kB The direct dependencies of Totem are as follows (from http://www.gentoo-portage.com ): (Piped to prevent quoting) totem-1.0.4 | = dev-libs/glib - 2.6.3 = gnome-base/gnome-desktop - 2.2 = | gnome-base/gnome-vfs - 2.2 = gnome-base/libglade - 2 = | gnome-base/libgnomeui - 2.4 | ! gnome-base/nautilus - media | = gnome-extra/nautilus-cd-burner - 2.9 = | media-plugins/gst-plugins-ffmpeg - 0.8.3 = | media-plugins/gst-plugins-gnomevfs - 0.8.8 = | media-plugins/gst-plugins-mpeg2dec - 0.8.8 = | media-plugins/gst-plugins-pango - 0.8.8 = x11-libs/gtk+ - 2.6 | !xine = media-libs/gstreamer - 0.8.9-r3 | a52 = media-plugins/gst-plugins-a52dec - 0.8.8 | dvd = media-plugins/gst-plugins-a52dec - 0.8.8 | flac = media-plugins/gst-plugins-flac - 0.8.8 | gnome = gnome-base/nautilus - 2.10 | lirc app-misc/lirc | mad = media-plugins/gst-plugins-mad - 0.8.8 | mad = media-plugins/gst-plugins-mad - 0.8.8 | mpeg = media-plugins/gst-plugins-mpeg2dec - 0.8.8 | ogg = media-plugins/gst-plugins-ogg - 0.8.8 | theora = media-plugins/gst-plugins-ogg - 0.8.8 | vorbis = media-plugins/gst-plugins-ogg - 0.8.8 | win32codecs = media-plugins/gst-plugins-pitfdll - 0.8.1 | xine = media-libs/xine-lib - 1 | xv = media-plugins/gst-plugins-xvideo - 0.8.8 Taking one of the direct dependencies at random, nautilus-cd-burner itself has the following dependencies: | nautilus-cd-burner-2.10.2 | = dev-libs/glib - 2.4 = gnome-base/eel - 2 = gnome-base/gconf - 2 = | gnome-base/gnome-vfs - 2.1.3.1 = gnome-base/libglade - 2 = | gnome-base/libgnome - 2 = gnome-base/nautilus - 2.5.5 = x11-libs/gtk+ | - 2.5.4 | hal = sys-apps/hal - 0.4* | cdr virtual/cdrtools | dvdr app-cdr/dvd+rwtools So when I installed Totem, assuming that I had no GNOME subsystem installed, so none of these programs were direct dependencies of some other aspect of GNOME), nautilus-cd-burner would have been installed as a dependency of Totem, but eel would have been installed prior to that as a dependency of nautilus-cd-burner. Eel is therefore a deep dependency of Totem and a direct dependency of nautilus-cd-burner, which is itself a direct dependency of Totem, which is the only package that would have been added to my world file as a result of the 'emerge totem' operation. So if I emerge world, only Totem will be updated if an update is available. If I emerge -u world, only nautilus-cd-burner will be updated if an update is available (irrespective of whether or not an update
[gentoo-user] portage question
Ok, I'll be the first to admit that I don't know much about using portage beyond the most basic minimal commands. This seems to fall under the used to work category. In the past, I've used a emerge system and emerge world to update to newer versions of installed software. Usually also with a --pretend to see beforehand what it's going to do. Now if I run emerge --pretend system or emerge --pretend world it comes up with no updates to install. If I add an --update to the command, it finds the updates correctly. Is this a syntax change or just a matter of a deprecated command/default behavior? Eric -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Document management solution [possibly a bit off-topic...]
On Fri, 2005-09-30 at 10:36 +1200, Nick Rout wrote: On Thu, 29 Sep 2005 16:52:54 -0400 (EDT) A. Khattri wrote: On Thu, 29 Sep 2005, Steve [Gentoo] wrote: Alfresco is what I'd have called a content management system - as opposed to a document management system. I'm interested in managing archives of documents I have received from other people (in dead-tree format)... If there was something that scanned the document, performed OCR on it, checked the OCR output and then built an electronic repository for you I'd recommend it. Until then, Alfresco is the closest thing Ive seen that is open source. If you're willing to do your own scanning and OCR'ing then it will do the rest. BTW, I would call things like Mambo or Xaraya, content-management tools - Alfresco is a slightly different kettle of fish. Yes I know what Steve is after, and I'd love to find a way. I was put off by Alfresco being called Content Management because all of the content management systems I have seen end up bioding something that resembles [name your favourite news website] A closer look at alfresco reveals that it does look more like what Steve (and I ) are after. I am a lawyer and I handle hundreds of documents every week, from email through pdf (both made from an electronic source and therefore has all the text available, and scanned) openoffice (one enlightened client!), word, excel, html, faxes, letters (on paper, ya know!) you name it someone will send me something in it! It'd be great to have a metadata system where I could give everything some keywords: client name, file number, matter number, subjects, useful as a precedent, useful case etc etc etc so that in future I can : pull up every document on my computer, my secretary's computer, my mail server (including attachments), my file server, my palm pilot, relating to a particular client pull up every document about company debentures find the case i downloaded and stored somewhere about liability of guarantors in a consumer credit loan find the seminar book for the seminar i went to on asome new area of law. find a letter written by Joe Bloggs sometime in 2003. -- -- gentoo-user@gentoo.org mailing list -- Nick Rout [EMAIL PROTECTED] I'm not sure if what you're describing exists right now in the open source world, but I can tell you that it certainly does in the commercial world. I used to work in the metadata department for a startup here in upstate NY, USA that built a web based application targeting lawyers such as yourself. It was written in PHP/MySQL but the database was being migrated to Oracle due to the rapid growth in the database tables. Unfortunately though, in the migration to Oracle, they elected to create a dynamic scheme to support adding custom metadata fields as requested per client. It was great for flexibility but the performance was horrible even on quad 3 ghz xeon boxes with maxed out memory. For us programmers, it also made the easy queries difficult and the hard queries near impossible. Eric -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] LDAP authentification and management
On Thu, 2005-09-15 at 13:59 +0200, Matthias Bethke wrote: Uh...why was the management in the subject line? Because I forgot yet another question: What dou you guys use for LDAP data management? I've tried quite a few tools now. app-admin/diradm seems the only usable one so far. net-nds/directoryadministrator segfaults on startup; net-nds/gq works until you actually create a connection to the server, then segfaults; net-nds/luma hangs while receiving data. net-nds/led I haven't tried yet... TIA! Matthias When I first migrated to OpenLDAP in the 1.x days, I created a bunch of home grown perl utilities to make suitable replacements for things like useradd, groupadd, passwd, etc. For new accounts we had to use our own template so that an account would be valid for both unix and smb logins. For management of existing accounts, we tried gq but found it only to be stable for reading/browsing. We installed phpldapadmin on a web server and that has worked really nicely. I know the current sysadmin continues to use that on the OpenLDAP 2.x/Samba 3.0 combination. Eric -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: [OT] Finding other machines on the network
On Wed, 2005-08-31 at 14:50 +, James wrote: Holly Bostick motub at planet.nl writes: James schreef: Say 'Hello, to my little friend' arpscan http://ish.cx/~jason/arpscan/ Sure would be nice if is was ported to an ebuild.. Some reason you can't submit one to b.g.o (if that hasn't been done already)? Hello Holly, I'm not sure what 'b.g.o.' refers to, (sorry I don't get out much). If your saying that why don't I make a formal request, well, I figure I've already requested too much (jffnms, updated zoneminder, netenv) None of which is completed (unmasked). I figure I've worn out my welcome at gentoo.* I've been 'schooled' several times that I need to read up on creating ebuilds, and start contributing (actually I agree with this sort of public spanking...) Contributing ebuils is on my to_do list, but, I have yet to get a project completed. I'm a little 'gun_shy' as to receiving another disertation on my ineptness... So when I'm confident that I can contribute ebuilds, I'll let your and the 'greater gentoo' community know. Somebody else what looking for a solution to finding ethernet based hardware on a 802.3 wiring topology. As an espiring emebedded hack, I often get minimal stacks working with the mac address. So I have experience with ARP (much more than most are interested in). Arpscan can be useful. So my reply should have been truncated(again another scolding well deserved).. New Answer: arpscan http://ish.cx/~jason/arpscan/ sincerely, James b.g.o. = http://bugs.gentoo.org (Gentoo's bug tracking system) Eric -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Trouble with mysql
On Wed, 2005-08-31 at 15:52 -0500, Michael Sullivan wrote: I am having trouble with /etc/init.d/mysql. I rebooted my system, and when it finished rebooting I tried to connect to the mysql daemon and failed. I looked in /var/log/mysql: There was a file there called mysql.err. The contents were: 050831 15:47:29 mysqld started 050831 15:47:30 Can't start server: Bind on TCP/IP port: Address already in use 050831 15:47:30 Do you already have another mysqld server running on port: 3306 ? 050831 15:47:30 Aborting 050831 15:47:30 /usr/sbin/mysqld: Shutdown Complete 050831 15:47:30 mysqld ended I tried netstat | grep '3306': bullet mysql # netstat | grep '3306' bullet mysql # The output was blank, so I assume that port 3306 is NOT in use. Any ideas? Try netstat -an | grep 3306. The -n option forces netstat to show port numbers and not translate them to familiar names. The -p option is also useful to determine what program has opened the port. Eric -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How to work with etc-updates.
On Tue, 2005-08-30 at 16:46 +0200, Holly Bostick wrote: Jerry Turba schreef: As I understand the process etc-update lists new configuration files provided by the program authors. I have tried to define some rules for myself to determine how to handle these new files. 1. If I made a change to a file I will never allow the new config file to overwrite the old file. I disagree. Certainly there are some 'new' config files that you should never, ever allow etc-update to overwrite, such as /etc/fstab. However, if the format of the config file has been changed in the meantime, some of the settings in the old config file may be invalid, and new, valid default settings (for areas that you have not changed) will not be added. This is what the '3' option is for, after the changes have been displayed: 'Interactively merge update with original'. I use this in those cases to preserve those settings that I want to keep, while upgrading the config header, comments, and other settings to the new defaults. In those very rare cases where the line ordering has changed so much that the diff utility would overwrite one or more settings, I accept the new file, and immediately edit it with nano to change the (usually) one or two lines that were 'wrongly' diff-ed. 2. If the new config file is a new default file I will accept the new file. Agreed. 3. I will never change a file that is program code, (I am not a programmer). Agreed. I have tried dispatch-conf but I still have to make the same decisions. Am I missing something? Not really; that would be Gentoo. Decision is not meant to be taken out of your hands. But the power to choose how your system is configured carries the responsibility to pay attention to the offered changes and think about their effects (which means you have to know what their effects are going to be, which means you have to learn wtf is going on on your system in the first place). Holly While I agree that etc-update is a vast improvement over other package systems, it would be nice to have a CVS type merge where I only have to make choices when the system can't figure it out. It seems like etc-update (and friends) should be able to take advantage of mtime metadata and md5 checksums to determine if I've made any modifications to the default config file. That way an unmodified default config from version N can just safely be replaced with the new default for version N +1. Does this functionality already exist with the current etc-update? Eric C. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] iptables
Once you run the rules once and run save, they will then be reloaded from that location (/var/lib/iptables/rules-save) by /etc/init.d/iptables start. The init.d script uses iptables-restore and iptables-save underneath. Eric C On Thu, 2005-08-25 at 23:17 -0400, John Dangler wrote: I'm reading through the wiki doc on setting up iptables. There is a section there that sets up a file called firewall.sh i've emerged iptables, but I don't have a file by that name on the system, and it seems that running /etc/init.d/iptables save writes this file as /var/lib/iptables/rules-save. Is there a specific directory where this file should be written so that running /etc/init.d/iptables save can see it? Or can the rules-save file be edited and re-written? (It seems as though running /etc/init.d/iptables save would just over-write rules-save). Thanks for the input. John D -- gentoo-user@gentoo.org mailing list