Re: [gentoo-user] package.use update
On Sat, 30 Aug 2008 03:03:07 +0200, Matthias Bethke wrote: > > # etc-update > > [...] > > File: /etc/portage/._cfg_package.use > > [...] > > What is it about? > > No, I didn't see it, but it looks like some package moved to another > category or got renamed so portage patched package.use for you. That's exactly what happened. > Try > dispatch-config, preferably with vimdiff and perhaps RCS support, it > makes maintaining your config so much easier than etc-update. I used dispatch-config for years, but have now switched to conf-update after Alan recommended it. -- Neil Bothwick Three kinds of people: those who can count and those who can't. signature.asc Description: PGP signature
Re: [gentoo-user] package.use update
On Saturday 30 August 2008, Neil Bothwick wrote: > On Sat, 30 Aug 2008 03:03:07 +0200, Matthias Bethke wrote: > > > # etc-update > > > [...] > > > File: /etc/portage/._cfg_package.use > > > [...] > > > What is it about? > > > > No, I didn't see it, but it looks like some package moved to another > > category or got renamed so portage patched package.use for you. > > That's exactly what happened. > > > Try > > dispatch-config, preferably with vimdiff and perhaps RCS support, it > > makes maintaining your config so much easier than etc-update. > > I used dispatch-config for years, but have now switched to conf-update > after Alan recommended it. I also used dispatch-config when it first came out, but I think it was still in beta at the time. A couple of times it messed up my files when I tried to manually merge them. Eventually, I decided to go back to etc-update which would manually merge files without problem. I tried it again now and unlike etc-update it nicely shows the differences: === --- /etc/portage/package.use2008-08-22 07:57:52.0 +0100 +++ /etc/portage/._cfg_package.use 2008-08-28 06:06:29.0 +0100 @@ -12,7 +12,7 @@ media-gfx/splashutils fbcondecor net-im/pidgin sasl gtk net-dialup/ppp gtk -app-emulation/virtualbox additions +app-emulation/virtualbox-ose additions www-client/mozilla-firefox moznopango media-video/vlc cdda libnotify vlm wxwindows xosd net-www/mplayerplug-in gtk >> (1 of 1) -- /etc/portage/package.use >> q quit, h help, n next, e edit-new, z zap-new, u use-new m merge, t toggle-merge, l look-merge: === Thank you. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] RAID with mixed drive sizes
Matthias Bethke schrieb: Hi Florian, on Wed, Aug 27, 2008 at 10:29:07PM +0200, you wrote: Note1: NEVER EVER build some kind of RAID other than "Linear" (also called JBOD) over two IDE disks on the same cable. Performance will suffer greatly as will security because most simple onboard controllers can't handle a dying disk and that one might take the other one with it into death. Your suggestions sound reasonable (as reasonable as you get if one insists on going with the drives that are there instead of getting a third 500G drive that is :) [and for RAID5 I'd add a cheapish SATA controller as well]) but I wonder why the above should be better than a RAID0. The risk is the same---if either disk dies, the partition is fuct. And considering drive mechanics are still the slowest part of the system, even two EIDE disks that tend fight for the bus should be a tad faster when striped than any one alone, which is what you effectively get in a JBOD, right? cheers, Matthias Hmm, you might be right. Maybe someone should do a field test. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] package.use update
Mick wrote: On Saturday 30 August 2008, Neil Bothwick wrote: On Sat, 30 Aug 2008 03:03:07 +0200, Matthias Bethke wrote: # etc-update [...] File: /etc/portage/._cfg_package.use [...] What is it about? No, I didn't see it, but it looks like some package moved to another category or got renamed so portage patched package.use for you. That's exactly what happened. Try dispatch-config, preferably with vimdiff and perhaps RCS support, it makes maintaining your config so much easier than etc-update. I used dispatch-config for years, but have now switched to conf-update after Alan recommended it. I also used dispatch-config when it first came out, but I think it was still in beta at the time. A couple of times it messed up my files when I tried to manually merge them. Eventually, I decided to go back to etc-update which would manually merge files without problem. I tried it again now and unlike etc-update it nicely shows the differences: === --- /etc/portage/package.use2008-08-22 07:57:52.0 +0100 +++ /etc/portage/._cfg_package.use 2008-08-28 06:06:29.0 +0100 @@ -12,7 +12,7 @@ media-gfx/splashutils fbcondecor net-im/pidgin sasl gtk net-dialup/ppp gtk -app-emulation/virtualbox additions +app-emulation/virtualbox-ose additions www-client/mozilla-firefox moznopango media-video/vlc cdda libnotify vlm wxwindows xosd net-www/mplayerplug-in gtk (1 of 1) -- /etc/portage/package.use q quit, h help, n next, e edit-new, z zap-new, u use-new m merge, t toggle-merge, l look-merge: === Thank you. I still use etc-update too. I keep backups of my /etc just in case. I need to check into conf-update tho. May be interesting. Dale :-) :-)
Re: [gentoo-user] package.use update
Hi, why still using RCS for version control when there's git? :-) On Sat, Aug 30, 2008 at 12:56 PM, Dale <[EMAIL PROTECTED]> wrote: > Mick wrote: >> >> On Saturday 30 August 2008, Neil Bothwick wrote: >> >>> >>> On Sat, 30 Aug 2008 03:03:07 +0200, Matthias Bethke wrote: >>> > > # etc-update > [...] > File: /etc/portage/._cfg_package.use > [...] > What is it about? > No, I didn't see it, but it looks like some package moved to another category or got renamed so portage patched package.use for you. >>> >>> That's exactly what happened. >>> >>> Try dispatch-config, preferably with vimdiff and perhaps RCS support, it makes maintaining your config so much easier than etc-update. >>> >>> I used dispatch-config for years, but have now switched to conf-update >>> after Alan recommended it. >>> >> >> I also used dispatch-config when it first came out, but I think it was >> still in beta at the time. A couple of times it messed up my files when I >> tried to manually merge them. Eventually, I decided to go back to >> etc-update which would manually merge files without problem. I tried it >> again now and unlike etc-update it nicely shows the differences: >> === >> --- /etc/portage/package.use2008-08-22 07:57:52.0 +0100 >> +++ /etc/portage/._cfg_package.use 2008-08-28 06:06:29.0 >> +0100 >> @@ -12,7 +12,7 @@ >> media-gfx/splashutils fbcondecor >> net-im/pidgin sasl gtk >> net-dialup/ppp gtk >> -app-emulation/virtualbox additions >> +app-emulation/virtualbox-ose additions >> www-client/mozilla-firefox moznopango >> media-video/vlc cdda libnotify vlm wxwindows xosd >> net-www/mplayerplug-in gtk >> >> (1 of 1) -- /etc/portage/package.use q quit, h help, n next, e edit-new, z zap-new, u use-new >> >> m merge, t toggle-merge, l look-merge: >> === >> >> Thank you. >> > > I still use etc-update too. I keep backups of my /etc just in case. I need > to check into conf-update tho. May be interesting. > > Dale > > :-) :-) >
[gentoo-user]
Hello all, I have a router (asus wl500gp with openwrt kamikaze 7.09) with samba server version 2.0.10-4. I have used smbfs to mount this router on my gentoo-box (everything works fine), but since kernel version 2.6.27 smbfs will be removed I have to switch now to the cifs modul. The problem is that I am able to write but I cannot read (I'm always getting permission denied, when I'm trying to read, writing is working fine). I'm thinking that cifs cannot work with such a old samba version. If you have some experience with cifs and samba please verify my assumption. Here is some configuration files smb.cfg: [global] syslog = 0 syslog only = yes workgroup = lan server string = Samba Server security = share encrypt passwords = yes guest account = nobody local master = yes name resolve order = lmhosts hosts bcast [home] comment = /home path = /home browseable = yes public = yes guest ok = yes writeable = yes my /etc/fstab: //samba-srv/home /mnt/samba-srv cifs guest,rw,uid=1000,gid=100,user,defaults 0 0 Thanks && Best Regards Tomas -- tomas dot papan at gmail dot com
Re: [gentoo-user] CIFS ans SAMBA 2
On Saturday 30 August 2008 13:02:10 Tomas Papan wrote: > Hello all, > > I have a router (asus wl500gp with openwrt kamikaze 7.09) with samba server > version 2.0.10-4. I have used smbfs to mount this router on my gentoo-box > (everything works fine), but since kernel version 2.6.27 smbfs will be > removed I have to switch now to the cifs modul. The problem is that I am > able to write but I cannot read (I'm always getting permission denied, when > I'm trying to read, writing is working fine). I'm thinking that cifs cannot > work with such a old samba version. If you have some experience with cifs > and samba please verify my assumption. > > Here is some configuration files > > smb.cfg: > [global] > syslog = 0 > syslog only = yes > workgroup = lan > server string = Samba Server > security = share > encrypt passwords = yes > guest account = nobody > local master = yes > name resolve order = lmhosts hosts bcast > > [home] > comment = /home > path = /home > browseable = yes > public = yes > guest ok = yes > writeable = yes > my /etc/fstab: > //samba-srv/home /mnt/samba-srv cifs > guest,rw,uid=1000,gid=100,user,defaults 0 0 > > Thanks && Best Regards > Tomas > > -- > tomas dot papan at gmail dot com sorry I forgot to put a subject ;-)
Re: [gentoo-user] package.use update
on Saturday 08/30/2008 Neil Bothwick([EMAIL PROTECTED]) wrote > On Sat, 30 Aug 2008 03:03:07 +0200, Matthias Bethke wrote: > > > > # etc-update > > > [...] > > > File: /etc/portage/._cfg_package.use > > > [...] > > > What is it about? > > > > No, I didn't see it, but it looks like some package moved to another > > category or got renamed so portage patched package.use for you. > > That's exactly what happened. > > > Try > > dispatch-config, preferably with vimdiff and perhaps RCS support, it > > makes maintaining your config so much easier than etc-update. > > I used dispatch-config for years, but have now switched to conf-update > after Alan recommended it. What is the advantage of conf-update over cfg-update which I have been using for quite a while? -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED]
Re: [gentoo-user] emerge -1 `eix -Iu --only-names` & removing old version of Python
On Saturday 30 August 2008 06:10:27 Stroller wrote: > First question: is 'emerge -1 `eix -Iu --only-names`' a useful > command for updating packages not in the world file? Or is this usage > of mine to be avoided? It just seems more effective than `emerge -D > world` - that seems to miss many packages. The main reason these packages are behind at all is that they are usually build dependencies, not run dependencies. They will only be updated with emerge -uD when something that depends on them is rebuilt. To avoid this, use 'emerge --with-bdeps y' This has the side effect of knowing what to do with SLOTs In general I find that emerge is infinitely better at knowing how to get what I want than I am, so it's always best to let it do what it wants to do -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] emerge -1 `eix -Iu --only-names` & removing old version of Python
On 30 Aug 2008, at 13:56, Alan McKinnon wrote: The main reason these packages are behind at all is that they are usually build dependencies, not run dependencies. They will only be updated with emerge -uD when something that depends on them is rebuilt. To avoid this, use 'emerge --with-bdeps y' This has the side effect of knowing what to do with SLOTs So a periodic 'emerge --with-bdeps world' would be worthwhile? In general I find that emerge is infinitely better at knowing how to get what I want than I am, so it's always best to let it do what it wants to do I'd really debate this premise. Perhaps the problem is not with `emerge` itself, perhaps with the ebuilds or with simple versioning incompatibilities, but the number of cock-ups one sees with emerged packages... well, I think "infinitely" good is stretching it just a little. I'm not saying Portage is poor - other package managers have given me more headaches per usage. Maybe the problem is with build-time dependencies of the build-time dependencies, I don't know, but when I had the libexpat.so.0 error the only thing that worked (having followed a number of different advices posted here) was to rebuild EVERY outdated package on my system - a total numbering in the region of 250. I wouldn't have imagined I had so many packages installed, never mind those "missed" by my regular updates. Stroller.
Re: [gentoo-user] KDE 4.1...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 |> have fun |> Tom | Thanks for the update. Slightly OT and planning ahead slightly, any | ideas how easy it will be to upgrade from the kdesvn-portage overlay to | the official ebuilds? If everything goes as planned, as easy as emerge -u :) | | Cheers, | Dave. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAki5Y28ACgkQrpEWPKIUt7O2sQCgk5IMYgNB4lplfk45/JCw3Rvb o7cAoK+3yY+/qjIZx+uoq5mmVl6qukFQ =CHPQ -END PGP SIGNATURE-
Re: [gentoo-user] package.use update
Geralt wrote: Hi, why still using RCS for version control when there's git? :-) I dunno. I didn't know about the other until a bit ago. o_O Dale :-) :-)
Re: [gentoo-user] package.use update
On Sat, 30 Aug 2008 08:26:51 -0400, John covici wrote: > What is the advantage of conf-update over cfg-update which I have been > using for quite a while? I like it, try it you might like it. If you don't, you haven't lost anything :) Honestly, it's been so long since I tried cfg-update, I can't remember why I disliked it. -- Neil Bothwick If the pen is mightier than the sword, and a picture is worth a thousand words, how dangerous is a fax? signature.asc Description: PGP signature
Re: [gentoo-user] emerge -1 `eix -Iu --only-names` & removing old version of Python
On Sat, 30 Aug 2008 05:10:27 +0100, Stroller wrote: > It just seems more effective than `emerge -D > world` - that seems to miss many packages. The packages is misses are either build-time dependencies, so don't need updating, or are not dependencies of anything in world and would be removed by emerge --depclean. I'm with Alan on this, use with-bdep and trust portage, it knows far more about the inner workings of your package tree (which it created) than do you. -- Neil Bothwick WITLAG: The delay between delivery and comprehension of a joke. signature.asc Description: PGP signature
Re: [gentoo-user] emerge -1 `eix -Iu --only-names` & removing old version of Python
On Saturday 30 August 2008 16:59:02 Stroller wrote: > On 30 Aug 2008, at 13:56, Alan McKinnon wrote: > > The main reason these packages are behind at all is that they are > > usually > > build dependencies, not run dependencies. They will only be updated > > with > > emerge -uD when something that depends on them is rebuilt. > > > > To avoid this, use 'emerge --with-bdeps y' > > This has the side effect of knowing what to do with SLOTs > > So a periodic 'emerge --with-bdeps world' would be worthwhile? Or you could just leave it as is, these apps are only used when you build something, and if the ebuild requires them, they will be updated. You can set --with-bdeps to always be used in make.conf - I was sure it was a FEATURE as some point in the past but a quick check of the man page reveals nothing. There is an option though to always pass specific options to emerge > > In general I find that emerge is infinitely better at knowing how > > to get what > > I want than I am, so it's always best to let it do what it wants to do > > I'd really debate this premise. Perhaps the problem is not with > `emerge` itself, perhaps with the ebuilds or with simple versioning > incompatibilities, but the number of cock-ups one sees with emerged > packages... well, I think "infinitely" good is stretching it just a > little. > > I'm not saying Portage is poor - other package managers have given me > more headaches per usage. Maybe the problem is with build-time > dependencies of the build-time dependencies, I don't know, but when I > had the libexpat.so.0 error the only thing that worked (having > followed a number of different advices posted here) was to rebuild > EVERY outdated package on my system - a total numbering in the region > of 250. I wouldn't have imagined I had so many packages installed, > never mind those "missed" by my regular updates. Perhaps I should explain in context. Portage and emerge are not perfect, no software is, but I have found with experience that trying to be clever with emerges is usually not worth the effort. I'm not saying you are doing that, I'm more thinking of worrying about whether some obscure build tool really should be at the latest version or not. To my mind, that really is a "who cares?" type question. You should treat my remark for what it really is - a throw-away comment :-) Having said that, portage is very good at dealing with the data it is given. It can work out what to update and when some conflict arises, it does a fine job of telling the human running the show so that said human can make a sane decision. (There is nothing we can do about daft ebuilds though). Compare portage to rpm/yum/urpmi etc ... no, let's rather not go there! apt/dpkg is pretty good too, but can't deal with orphaned deps (the things that --depclean fixes), although aptitude deals with those just fine. I've had rpm break many a system, never seen apt or aptitude do it, and neither has portage. I on the other hand, have done a great many very stupid things over the years. Funny thing is, each time it involved me ignoring the friendly output emerge had just given me. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] emerge -1 `eix -Iu --only-names` & removing old version of Python
On Saturday 30 August 2008 16:59:02 Stroller wrote: > but when I > had the libexpat.so.0 error the only thing that worked (having > followed a number of different advices posted here) was to rebuild > EVERY outdated package on my system - a total numbering in the region > of 250. I wouldn't have imagined I had so many packages installed, > never mind those "missed" by my regular updates. Missed this bit in my earlier reply :-) That number of packages sounds about right, given the amount of time that has passed since the original expat update, and the amount of changes in the tree since. It was a huge disruption because so many apps use expat. Lucky for us, such things are actually quite rare. In retrospect, it would probably have been quicker if you went the long way round: emerge -e world -- alan dot mckinnon at gmail dot com
[gentoo-user] Default profile question
Hi all, I just did an emerge --sync and when I did 'emerge --pretend --update --deep world', I got told that my profile was deprecated. I was told to run the following steps: # cd /etc/ # rm make.profile # ln -s ../usr/portage/profiles/default/linux/x86/2008.0 make.profile I just want to make sure that if I do this, nothing will get broken or if there are any "gotchas". If anyone has some words of wisdom, I would appreciate it. Thanks in advance. Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org
Re: [gentoo-user] Default profile question
Hi, you can manage your /etc/make.profile symlink by eselect (emerge -av eselect) tool. "Eselect is a tool for administration and configuration on Gentoo systems. It provides consistent interface and tool names." eselect profile list - lists available profiles on your system eselect profile set - select a profile for portage to use CJoeB wrote / napísal(a): Hi all, I just did an emerge --sync and when I did 'emerge --pretend --update --deep world', I got told that my profile was deprecated. I was told to run the following steps: # cd /etc/ # rm make.profile # ln -s ../usr/portage/profiles/default/linux/x86/2008.0 make.profile I just want to make sure that if I do this, nothing will get broken or if there are any "gotchas". If anyone has some words of wisdom, I would appreciate it. Thanks in advance. Colleen
Re: [gentoo-user] Default profile question
Tomáš Krasničan wrote: Hi, you can manage your /etc/make.profile symlink by eselect (emerge -av eselect) tool. "Eselect is a tool for administration and configuration on Gentoo systems. It provides consistent interface and tool names." eselect profile list - lists available profiles on your system eselect profile set - select a profile for portage to use CJoeB wrote / napísal(a): Hi all, I just did an emerge --sync and when I did 'emerge --pretend --update --deep world', I got told that my profile was deprecated. I was told to run the following steps: # cd /etc/ # rm make.profile # ln -s ../usr/portage/profiles/default/linux/x86/2008.0 make.profile I just want to make sure that if I do this, nothing will get broken or if there are any "gotchas". If anyone has some words of wisdom, I would appreciate it. Thanks in advance. Colleen And I have been using the 2008 profile for a while with no issues. You can use a 2007 profile if they are not to old yet. Hope that helps. Dale :-) :-)
Re: [gentoo-user] emerge -1 `eix -Iu --only-names` & removing old version of Python
On 30 Aug 2008, at 21:19, Alan McKinnon wrote: ... In retrospect, it would probably have been quicker if you went the long way round: emerge -e world Tried it. Kept dying and leaving a number of packages that I just couldn't build. Stroller.