Re: [gentoo-user] [OFF TOPIC] PGP Messages Email clients

2008-03-16 Thread Graham Murray
Gustavo Campos [EMAIL PROTECTED] writes:

 Anyone knows if gmail (and the other clients) can mask the PGP
 singnatures from mail? For me at least it's pretty much enough for it
 to just show me that the message is indeed signed, I don'n care about
 the public key stuff and all xD

gnus lets you hide the PGP information, it also lets you see it if you
want to. 


pgpiTdqYWptXc.pgp
Description: PGP signature


Re: [gentoo-user] portage problem

2008-03-16 Thread Neil Bothwick
On Sat, 15 Mar 2008 18:54:52 -0400, Chuck Robey wrote:

 I wasn't even aware of the ask option,

It is explained in the emerge man page.

 I think I realize now, that even thoughthe program name is emeerge, I
 didn't realize you folks call the job of installing a program, merging

As is this. You really need to read man emerge and man portage to
understand what you are doing.


-- 
Neil Bothwick

If a parsley farmer is sued, can they garnish his wages?


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: jffs2 on gentoo

2008-03-16 Thread Jan Seeger
On Sun, 16. Mar, Stroller spammed my inbox with 

 Well, I've heard otherwise. Use jffs2 or the CF card will wear out
 prematurely...

 I've heard lots about using flashdrives for filesystems, but I've never 
 read on a mailing list anything actually definitive on the subject. I find 
 many posts to be confused.

Yeah, it's the same here. I read an article in the german computer magazine c't,
and they said that they have tried to break USB sticks with repeated writes, but
have never succeeded (I think they ran 1 writes, but I could be wrong).

So why not just buy a cheap USB stick for 10 € (or whatever), mount it sync and
write a little script which writes to a file, deletes it and begins again. Have
it record the number of times the file was written and check the consistency
after every write (md5sum perhaps?). Leave it running for a (long?) time and
then you will probably encounter errors (if there are...).

Actually, this sounds interesting^^
Regards,
Jan


pgpEoKgGQZYYR.pgp
Description: PGP signature


[gentoo-user] wireless not working

2008-03-16 Thread Dani Crisan
Hello,

Here is the scenario:
-wireless card: Intel PRO/WIRELESS 3945ABG
-lsmod | grep 3945
iwl3945   144628  0
mac80211  108932  1 iwl3945
-iwlist
wlan0 Scan completed :
  Cell 01 - Address: 00:17:9A:F4:CE:B5
ESSID:a
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=33/100  Signal level=-89 dBm  Noise level=-127 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
  9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
  48 Mb/s; 54 Mb/s
Extra:tsf=0085815e4183
  Cell 02 - Address: 00:1D:7E:E3:8C:DD
ESSID:baladei-wifi
Mode:Master
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=97/100  Signal level=-28 dBm  Noise level=-127 dBm
Encryption key:on
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
  24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
  12 Mb/s; 48 Mb/s
Extra:tsf=000b865b4049

(I WANT TO CONNECT TO CELL2-baladei-wifi)


-cat  /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=0
fast_reauth=1

network={
ssid=baladei-wifi
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP
psk=my-password
priority=5
}

-cat /etc/conf.d/net
modules_wlan0=(dhcpcd iwconfig)
wpa_supplicant_wlan0=-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf
config_wlan0=(dhcp)
dhcpcd_wlan0=-t 5 -A

pre-up(){
ifconfig wlan0 up
}

-and the error:
 /etc/init.d/net.wlan0 start
 * Starting wlan0
 *   Configuring wireless network for wlan0
 *   WEP key is not set for baladei-wifi - not connecting
 *   WEP key is not set for linksys - not connecting
 *   Couldn't associate with any access points on wlan0
 *   Failed to configure wireless for wlan0   [ !! ]



I need to connect to my linksys WRT54GL which is set to wpa-personal / wpa 
algorithm: TKIP, no WEP.



Please advise since I'm getting very confused.


Thank you in advance.








  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Re: [gentoo-user] hugin error message

2008-03-16 Thread Alan McKinnon
On Saturday 15 March 2008, David Harel wrote:
 Don't you think the error message should have been more specific
 about which library causes the conflict? Is it hugin error message?

Yes, the message is not very illuminating. You'd think the app that 
emitted it would mention where it comes from and which libs it was 
referring it sigh

The revdep-rebuild and ldd output also doesn't say much other than mono 
is involved, which I don't know a whole lot about. My next tactic would 
be to run hugin under strace, and see which library calls came just 
before the error. This however can be a long and tedious process. 
Hopefully someone else more familiar with mono will come along soon


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: jffs2 on gentoo

2008-03-16 Thread Alan McKinnon
On Sunday 16 March 2008, Jan Seeger wrote:
 Yeah, it's the same here. I read an article in the german computer
 magazine c't, and they said that they have tried to break USB sticks
 with repeated writes, but have never succeeded (I think they ran
 1 writes, but I could be wrong).

That test is probably insufficient. Somebody actually did this test on 
lkml some time ago, and found that the better devices were rated to 
100,000 writes to the same cell and the el-cheapo jobs were somewhere 
around 10,000.

IOW, the manufacturer of a cheapie says it should cope with 10,000 
writes *at least*, so in practice you could expect more.

I'd start to believe a test that does 1,000,000 writes to the same cell 
before drawing any conclusions.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage problem

2008-03-16 Thread Alan McKinnon
On Saturday 15 March 2008, Neil Bothwick wrote:
 On Sat, 15 Mar 2008 12:13:05 -0400, Chuck Robey wrote:
  I haven't been able to find any syntax to actually use slots,

 In general, you don't. Slots are mainly used for libraries and
 similar programs that are used by other programs. One program needs
 libfoo 1.x,another needs libfoo 2.x. Slots enable you to have both
 installed and both programs are happy.

 There are a few slotted packages where a user decides which version
 they want, but this is done is the same way as specifying the version
 for non-slotted packages, by specifying the version in the emerge
 command.

Just to expand on that a little (the info IS all in the various man 
pages, but it's not really laid out in a tutorial style so that people 
seeing it for the first time can wrap their brains around it):

As Neil says, SLOTs let you have two or more versions of the same thing 
so they co-exist. Usually, SLOTS are named after the major version 
number of the package, but not always. Take these two examples, using 
eix (with extra stuff like dates and USE flags snipped out):

[I] x11-libs/qt
 Available versions:
(3) 3.3.4-r8 3.3.8-r4
(4) 4.3.2-r1 (~)4.3.3 (~)4.3.4 [M](~)4.4.0_beta1
 Installed versions:  3.3.8-r4(3)
  4.3.4(4)

This says in the Available section that there are two SLOTs for qt - 3 
and 4 - and there are several versions available in both branches. On 
my box, I have qt-3.3.8-r4 installed in the qt:3 SLOT and qt-4.3.2.-r1 
in the qt:4 SLOT. So far so good. Now look at kde:

* kde-base/kde-meta
 Available versions:
(3.5)   3.5.8 (~)3.5.9
(kde-4) {M}(~)4.0.1 {M}(~)4.0.2

This one is different, the SLOTs are called 3.5 and kde-4, and I 
don't have the full kde range installed for either. I find that eix's 
output is the easiest way to determine which SLOTs are defined, the 
colourized output lays it out quite nicely.

Portage handles SLOT updates by only considering the latest SLOT (unless 
you say otherwise). If I issue 'emerge kde-meta' on my box, portage 
wants to install kde-4.0.2 because that is the latest version (portage 
always wants to upgrade to the latest possible version even without 
SLOTs being involved). To update an earlier SLOT I have to use a minor 
syntax tweak:

emerge kde-meta:3.5

The : is the signal to look for a SLOT. Portage will update to the 
highest version in the 3.5 SLOT which happens to be 3.5.9 for me. 
(Aside: all we need do now is hope and pray that no package ever gets 
a : in it's name ... )

Quite obviously, in my case the following two commands are identical:

emerge kde-meta
emerge kde-meta:kde-4

In summary, the SLOT syntax is just a sensible extension of how portage 
deals with ranges of versions. Compare these and it all makes sense:

emerge foo
emerge foo-1.0.0
emerge =foo-2.3.4
emerge foo:1
emerge foo:2

Hope all this helps and it now makes a little more sense :-)


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage problem

2008-03-16 Thread Dale

Alan McKinnon wrote:

SNIP
Portage handles SLOT updates by only considering the latest SLOT (unless 
you say otherwise). If I issue 'emerge kde-meta' on my box, portage 
wants to install kde-4.0.2 because that is the latest version (portage 
always wants to upgrade to the latest possible version even without 
SLOTs being involved). To update an earlier SLOT I have to use a minor 
syntax tweak:


emerge kde-meta:3.5

The : is the signal to look for a SLOT. Portage will update to the 
highest version in the 3.5 SLOT which happens to be 3.5.9 for me. 
(Aside: all we need do now is hope and pray that no package ever gets 
a : in it's name ... )


Quite obviously, in my case the following two commands are identical:

emerge kde-meta
emerge kde-meta:kde-4

In summary, the SLOT syntax is just a sensible extension of how portage 
deals with ranges of versions. Compare these and it all makes sense:


emerge foo
emerge foo-1.0.0
emerge =foo-2.3.4
emerge foo:1
emerge foo:2

Hope all this helps and it now makes a little more sense :-)


  


I learned something today.  I didn't know about the *:* for slots.  
That's pretty cool.  ;-)


I hope I don't forget what I learned today.   :-(

Dale

:-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Skipping static libraries

2008-03-16 Thread Alan McKinnon
On Saturday 15 March 2008, Etaoin Shrdlu wrote:
 On Saturday 15 March 2008, Chris Brennan wrote:
  | Hmmm. There are many thousand ebuilds in the tree. Many more in
  | 3rd party overlays. Your idea fixes 1 problem in 1 ebuild.
 
  Just for the sake of amusment and to give a sense of perspective.
  By my count (ls -lshaR /usr/portage | grep ebuild | wc -l) I get
  24,708 ebuilds (and that's from a sync at -5)

 Cool. Since some packages have multiple ebuilds, to get an
 approximate number of unique packages in portage, I did something
 like this

 $ find /usr/portage | grep 'metadata\.xml' | wc -l
 12618

 Still an excellent number...and this is only for the official tree!

It's been a while since I ran that one myself.

12618 packages! Didnt realise it was so many. And just the sunrise 
overlay has 943.

That's probably more packages than even Debian has ...

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Skipping static libraries

2008-03-16 Thread Etaoin Shrdlu
On Sunday 16 March 2008, Alan McKinnon wrote:

 12618 packages! Didnt realise it was so many. And just the sunrise
 overlay has 943.

 That's probably more packages than even Debian has ...

Well, while I love Gentoo and would never change it with anything else, 
Debian is (still) the undiscussed champion in terms of number of 
available packages.

$ wget -nv http://packages.debian.org/stable/allpackages
12:32:32 URL:http://packages.debian.org/stable/allpackages 
[3585331/3585331] - allpackages [1]
$ grep '^dt' allpackages | wc -l
22753

For unstable, the number is even higher:

$ rm allpackages
$ wget -nv http://packages.debian.org/unstable/allpackages
12:34:12 URL:http://packages.debian.org/unstable/allpackages 
[4924226/4924226] - allpackages [1]
$ grep '^dt' allpackages | wc -l
27602


But we'll get there as well! :-)
-- 
gentoo-user@lists.gentoo.org mailing list



Fw: [gentoo-user] wireless not working

2008-03-16 Thread Dani Crisan
Update on this matter.

 -issued the command:
  
  wpa_supplicant -iwlan0 -Dwext -d -c 
/etc/wpa_supplicant/wpa_supplicant.conf   
 -then
  
  dhcpcd wlan0  
Then everything is ok and my wireless works.

My question is why when I issue /etc/init.d/net.wlan0 start it says about the 
WEP and doesn't connect?

Thank you.[/code]

- Forwarded Message 
From: Dani Crisan [EMAIL PROTECTED]
To: gentoo-user@lists.gentoo.org
Sent: Sunday, March 16, 2008 10:41:28 AM
Subject: [gentoo-user] wireless not working

Hello,

Here is the scenario:
-wireless card: Intel PRO/WIRELESS 3945ABG
-lsmod | grep 3945
iwl3945   144628  0
mac80211  108932  1
 iwl3945
-iwlist
wlan0 Scan completed :
  Cell 01 - Address: 00:17:9A:F4:CE:B5
ESSID:a
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=33/100  Signal level=-89 dBm  Noise level=-127 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
  9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
  48 Mb/s; 54 Mb/s
Extra:tsf=0085815e4183
  Cell 02 - Address: 00:1D:7E:E3:8C:DD
ESSID:baladei-wifi
Mode:Master
Channel:11
   
 Frequency:2.462 GHz (Channel 11)
Quality=97/100  Signal level=-28 dBm  Noise level=-127 dBm
Encryption key:on
IE: WPA Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
  24 Mb/s; 36
 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
  12 Mb/s; 48 Mb/s
Extra:tsf=000b865b4049

(I WANT TO CONNECT TO CELL2-baladei-wifi)


-cat  /etc/wpa_supplicant/wpa_supplicant.conf
   
 ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=0
fast_reauth=1

network={
ssid=baladei-wifi
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP
psk=my-password
priority=5
}

-cat /etc/conf.d/net
modules_wlan0=(dhcpcd iwconfig)
   
 wpa_supplicant_wlan0=-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf
config_wlan0=(dhcp)
dhcpcd_wlan0=-t 5 -A

pre-up(){
ifconfig wlan0 up
}

-and the error:
 /etc/init.d/net.wlan0 start
 * Starting
 wlan0
 *   Configuring wireless network for wlan0
 *   WEP key is not set for baladei-wifi - not connecting
 *   WEP key is not set for linksys - not connecting
 *   Couldn't associate with any access points on wlan0
 *   Failed to configure wireless for wlan0   [ !! ]



I need to connect to my linksys WRT54GL which is set to wpa-personal / wpa 
algorithm: TKIP, no WEP.



Please advise since I'm getting very confused.


Thank you in advance.







  Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try 
it now.





  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Re: [gentoo-user] Skipping static libraries

2008-03-16 Thread Emil Beinroth
On Sun, Mar 16, 2008 at 12:11:21PM +0100, Etaoin Shrdlu wrote:
 Well, while I love Gentoo and would never change it with anything else, 
 Debian is (still) the undiscussed champion in terms of number of 
 available packages.
 
 $ wget -nv http://packages.debian.org/stable/allpackages
 12:32:32 URL:http://packages.debian.org/stable/allpackages 
 [3585331/3585331] - allpackages [1]
 $ grep '^dt' allpackages | wc -l
 22753
 
 For unstable, the number is even higher:
 
 $ rm allpackages
 $ wget -nv http://packages.debian.org/unstable/allpackages
 12:34:12 URL:http://packages.debian.org/unstable/allpackages 
 [4924226/4924226] - allpackages [1]
 $ grep '^dt' allpackages | wc -l
 27602

That is not really fair, we do not have foo-qt3, foo-qt4,
foo-mysql, foo-psql .. We have foo with useflags.

So either remove the -dev, -qt3, -qt4, virtual packages, [..] from that
list, or calculate the number of use-flag permutations possible for our
packages.

I guess that gentoo beats debian :)

Cheers, Emil

-- 
Emil Beinroth
83059 Kolbermoor | Germany
 
BUFFERS=20 FILES=15 2nd down, 4th quarter, 5 yards to go!


pgpjjaNhMQWUW.pgp
Description: PGP signature


Re: [gentoo-user] Skipping static libraries

2008-03-16 Thread Etaoin Shrdlu
On Sunday 16 March 2008, 13:22, Emil Beinroth wrote:

  27602

 That is not really fair, we do not have foo-qt3, foo-qt4,
 foo-mysql, foo-psql .. We have foo with useflags.

 So either remove the -dev, -qt3, -qt4, virtual packages, [..] from
 that list, or calculate the number of use-flag permutations possible
 for our packages.

You are damn right. I overlooked the fact that a single gentoo ebuild, 
depending on USE flags, can provide and install the equivalent of many 
debian packages.
So, calculating a number using automated tools becomes quite difficult, 
since each package needs to be examined and compared with the 
corresponding offering in the other distro.
A (very) rough estimate could be probably done by unifying each foo-* 
Debian packages into a single entry, which results in something like

$ grep '^dt' allpackages | \
sed 's/.*a href[^]*\([^]*\)\/a.*/\1/g' | \
cut -d '-' -f 1 | \
uniq | wc -l
12225

Comments (also about the methodology used to calculate this) are left as 
an exercise for the reader :-)

 I guess that gentoo beats debian :)

I hope so too!
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Skipping static libraries

2008-03-16 Thread Gustavo Campos
  $ grep '^dt' allpackages | \
  sed 's/.*a href[^]*\([^]*\)\/a.*/\1/g' | \
  cut -d '-' -f 1 | \
  uniq | wc -l
  12225

No matter how much I live and code, regular expressions always scare
me like hell



  Comments (also about the methodology used to calculate this) are left as
  an exercise for the reader :-)


   I guess that gentoo beats debian :)

  I hope so too!


 --
  gentoo-user@lists.gentoo.org mailing list





-- 
Gustavo Campos

Ciência da Computação / Computer Science - UFMG
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage problem

2008-03-16 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Neil Bothwick wrote:
 On Sat, 15 Mar 2008 18:54:52 -0400, Chuck Robey wrote:
 
 I wasn't even aware of the ask option,
 
 It is explained in the emerge man page.
 
 I think I realize now, that even thoughthe program name is emeerge, I
 didn't realize you folks call the job of installing a program, merging
 
 As is this. You really need to read man emerge and man portage to
 understand what you are doing.
 
 

I've read it 4 times already, I just donm['t have it memorized.  I did
check and prove that it doesn't even mention the word slot  I didn't
realize it would use the * key if you escaped it and fed it in.  I don't
think it says that.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH3VmNz62J6PPcoOkRAizcAJ0VB9rOVmZvBn9b4J+IH89klzg8QACePQlU
4xRWgoUgzTIEa87VN5og5L8=
=WyUG
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage problem

2008-03-16 Thread Neil Bothwick
On Sun, 16 Mar 2008 13:31:57 -0400, Chuck Robey wrote:

  As is this. You really need to read man emerge and man portage to
  understand what you are doing.

 I've read it 4 times already, I just donm['t have it memorized.  I did
 check and prove that it doesn't even mention the word slot 

% man emerge | grep -ic slot
5

You don't need to memorise it, just get into the habit of reading the man
pages whenever something doesn't make sense to you.


-- 
Neil Bothwick

I work with User-Surly Software.


signature.asc
Description: PGP signature


Re: [gentoo-user] portage problem

2008-03-16 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alan McKinnon wrote:
 On Saturday 15 March 2008, Neil Bothwick wrote:
 On Sat, 15 Mar 2008 12:13:05 -0400, Chuck Robey wrote:
 I haven't been able to find any syntax to actually use slots,
 In general, you don't. Slots are mainly used for libraries and
 similar programs that are used by other programs. One program needs
 libfoo 1.x,another needs libfoo 2.x. Slots enable you to have both
 installed and both programs are happy.

 There are a few slotted packages where a user decides which version
 they want, but this is done is the same way as specifying the version
 for non-slotted packages, by specifying the version in the emerge
 command.
 
 Just to expand on that a little (the info IS all in the various man 
 pages, but it's not really laid out in a tutorial style so that people 
 seeing it for the first time can wrap their brains around it):
 
 As Neil says, SLOTs let you have two or more versions of the same thing 
 so they co-exist. Usually, SLOTS are named after the major version 
 number of the package, but not always. Take these two examples, using 
 eix (with extra stuff like dates and USE flags snipped out):
 
 [I] x11-libs/qt
  Available versions:
 (3) 3.3.4-r8 3.3.8-r4
 (4) 4.3.2-r1 (~)4.3.3 (~)4.3.4 [M](~)4.4.0_beta1
  Installed versions:  3.3.8-r4(3)
   4.3.4(4)
 
 This says in the Available section that there are two SLOTs for qt - 3 
 and 4 - and there are several versions available in both branches. On 
 my box, I have qt-3.3.8-r4 installed in the qt:3 SLOT and qt-4.3.2.-r1 
 in the qt:4 SLOT. So far so good. Now look at kde:
 
 * kde-base/kde-meta
  Available versions:
 (3.5)   3.5.8 (~)3.5.9
 (kde-4) {M}(~)4.0.1 {M}(~)4.0.2
 
 This one is different, the SLOTs are called 3.5 and kde-4, and I 
 don't have the full kde range installed for either. I find that eix's 
 output is the easiest way to determine which SLOTs are defined, the 
 colourized output lays it out quite nicely.
 
 Portage handles SLOT updates by only considering the latest SLOT (unless 
 you say otherwise). If I issue 'emerge kde-meta' on my box, portage 
 wants to install kde-4.0.2 because that is the latest version (portage 
 always wants to upgrade to the latest possible version even without 
 SLOTs being involved). To update an earlier SLOT I have to use a minor 
 syntax tweak:
 
 emerge kde-meta:3.5
 
 The : is the signal to look for a SLOT. Portage will update to the 
 highest version in the 3.5 SLOT which happens to be 3.5.9 for me. 
 (Aside: all we need do now is hope and pray that no package ever gets 
 a : in it's name ... )
 
 Quite obviously, in my case the following two commands are identical:
 
 emerge kde-meta
 emerge kde-meta:kde-4
 
 In summary, the SLOT syntax is just a sensible extension of how portage 
 deals with ranges of versions. Compare these and it all makes sense:
 
 emerge foo
 emerge foo-1.0.0
 emerge =foo-2.3.4
 emerge foo:1
 emerge foo:2
 
 Hope all this helps and it now makes a little more sense :-)
 
 

It certainly does!  AND I found that there IS one document that tells you
more than a fleeting hint about slots: the eix man page.  Someone else sort
of snidely said you should read the emerge man page after giving me (once
again) description of slots without giving me any way to USE them ... as if
I hadn't read that emerge man page again and again, and let me tell you, it
gives nothing whatever on slots.  Well, now, after reading this, AND the
eix man page, I think I will know enough to begin to be dangerous :-)

I was getting SO bored of getting descriptions of what a slot is, but never
being given any way to access that grand thing called a SLOT.  Now,
finally, someone has handed me a slotted screwdriver!
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH3Vw3z62J6PPcoOkRAkk6AJ4sXw6J/jcTcjuDSNd3t/LiyMT1bACcCRJ+
ZgmvarzVsh1rSnLrHwWn6aA=
=sYC4
-END PGP SIGNATURE-
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: jffs2 on gentoo

2008-03-16 Thread Jan Seeger
As a followup, I have actually written said script (in perl), and would welcome
any improvement comments. File size of the test file shouldn't matter, since
without wear leveling, the same cells should get written over and over again.

Only thing I need to do now is run it for a long time... Unfortunately, I need
linux for that since we need to mount the drive sync. And I have no live CD in
the house... Ts. What have I come to?

Anyway, here's the script: 


use strict;
use warnings; 

use Digest::MD5;
use Getopt::Std;
use File::Basename;
use File::Spec;
use File::Copy;

my %opts;
getopts(d:i:,\%opts);

if (! $opts{d} || ! $opts{i}) {
die EOF
-d: Mountpoint of drive to be tested. Should be mounted with sync mount 
option.
-i: Input file. Will be copied to mountpoint to test integrity.

Leave running for a long time to test your USB stick.
EOF
}

my $counter = 0;
my $originaldigest;
my $outfilename = File::Spec-catfile($opts{d},(fileparse($opts{i}))[0]);
my $digester = Digest::MD5-new();

open my $handle,$opts{i};
binmode($handle);

$digester-addfile($handle);
close($handle);

$originaldigest = $digester-digest();

while (1) {
print Running test $counter.\n;
copy($opts{i},$outfilename);
open my $outhandle,$outfilename;
binmode($outhandle);
$digester-addfile($outhandle);
if ($digester-digest() ne $originaldigest) {
die Failed write at read $counter.\n;
}
close($outhandle);
unlink($outfilename);
$counter++;
}


-- 
thenybble.de/blog/ -- four bits at a time


pgp69UGUg3nle.pgp
Description: PGP signature


Re: [gentoo-user] portage problem

2008-03-16 Thread Alan McKinnon
On Sunday 16 March 2008, Chuck Robey wrote:
 It certainly does!  AND I found that there IS one document that tells
 you more than a fleeting hint about slots: the eix man page.  Someone
 else sort of snidely said you should read the emerge man page after
 giving me (once again) description of slots without giving me any way
 to USE them ... as if I hadn't read that emerge man page again and
 again, and let me tell you, it gives nothing whatever on slots.
  Well, now, after reading this, AND the eix man page, I think I will
 know enough to begin to be dangerous :-)

I think it was me that gave you that snide comment blush. Oops...

I had a little think about this and what I've concluded is that those of 
us using gentoo for months/years without a break confront these things 
little by little as they get introduced. One new change a week is 
something we can easily absorb without thinking twice and eventually we 
amass this HUGE collection of facts and we are comfortable with it. So 
far so good.

Someone new to Gentoo comes along, or returns after a few years away. 
Lots has changed, and we all tell you to RTFM because the answer is so 
bloody obvious ... sheesh, get a clue dude or similar. What that 
reduces to though is that the oldies expect the newbies to absorb in a 
day what took the oldie a few months. 

Not only is it unfair, it's a totally unreasonable thing to expect. I 
shall make a mental note for myself for future use.

Meanwhile, something good you could do meanwhile is go over to 
bugs.gentoo.org and submit a new bug under the docs section. Briefly 
summarize what docs you read and what lack of data you found on SLOTs 
and ask the documentation maintainers to expand the description of 
SLOTs. Give it from the viewpoint of someone who doesn't know portage 
well so they can see where you reasonably went looking and what you 
expected to find but that was missing



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] kdm 4 won t start kde

2008-03-16 Thread Strong Cypher
hi, i have install kde 3 and 4. when i set kdm 4 to be defaut xdm to
launch,  they won t start nor kde 3 and 4 sessions. any idea where can
i find the log that describe the error? the xsession-error doesn t
show anything
thanks
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: jffs2 on gentoo

2008-03-16 Thread W.Kenworthy
I have been following this thread intermittantly and have not seen a
comment on the following:

I believe that writing a file to a single location is not the way to do
this: you need to write a byte to the usb key in the same location, but
need to ensure it continually changes: perhaps rotating 1's/0's.
Alternatively, the concern is that the FAT/inode table or the like is
where the most wear will occur - perhaps concentrate there? (i.e., do a
journelled FS like reiserfs with a fast update?

Do any USB keys do some kind of write minimisation in the controller? -
no change in the data/no write? - seems a logical way to extend the
life?

BillK


On Sun, 2008-03-16 at 19:03 +0100, Jan Seeger wrote:
 As a followup, I have actually written said script (in perl), and would 
 welcome
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: jffs2 on gentoo

2008-03-16 Thread Neil Bothwick
On Mon, 17 Mar 2008 06:43:28 +0900, W.Kenworthy wrote:

 I believe that writing a file to a single location is not the way to do
 this: you need to write a byte to the usb key in the same location, but
 need to ensure it continually changes: perhaps rotating 1's/0's.
 Alternatively, the concern is that the FAT/inode table or the like is
 where the most wear will occur - perhaps concentrate there? (i.e., do a
 journelled FS like reiserfs with a fast update?

It used to be that writing a large file to a USB key mounted with the
sync option would update the FAT for each block written, so writing a
large file several times would soon kill it. I destroyed a 1GB key like
this by continually writing modified KNOPPIX images to it. That was a
couple of years ago, I've no idea if the kernel still writes FAT like
this because I've mounted flash devices with nosync ever since.


-- 
Neil Bothwick

Madness takes its toll. Exact change, please.


signature.asc
Description: PGP signature


[gentoo-user] I've hosed portage

2008-03-16 Thread John J. Foster
I unmasked portage-2.2_pre4 to see if it would help with the extreme
slowness of portage updating of its cache during a sync. I had also
previously emerged cdb to try to help with that also. Anyway, I'm not
really sure what state my portage is in right now, except that now every
emerge command returns

[EMAIL PROTECTED] ~ $ emerge --info
Traceback (most recent call last):
  File /usr/bin/emerge, line 31, in ?
import emergehelp, xpak, commands, errno, re, socket, string, time, types
  File /usr/lib/portage/pym/emergehelp.py, line 7, in ?
from portage_const import PRIVATE_PATH,PRELINK_BINARY,HASHING_BLOCKSIZE
  File /usr/lib/portage/pym/portage_const.py, line 7, in ?
from portage_const import PRIVATE_PATH,PRELINK_BINARY,HASHING_BLOCKSIZE
ImportError: cannot import name PRIVATE_PATH

I already tried
http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml
but it didn't help. Me thinks I should have done a quickpkg!

Any help greatly appreciated.

Thanks,
festus


pgpNxTcJnQfWy.pgp
Description: PGP signature


Re: [gentoo-user] I've hosed portage

2008-03-16 Thread Chris Brennan

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

*if* you move /usr/portage to something like reisterfs, you will get
better performacem even on slower machines. my PIII/800 can update the
cache in ~ 3 minutes now  ext3 just doesn't cut it in a busy tree
like portage ... the filesystem just isn't quick enough  there are
some other things you can do like using xfs/jfs for
/usr/portage/distfiles and what not, but that' just a start. First thing
is first, fix portage, then if you like, contact me off list and I can
help you tweak emerge so it runs a little quicker and still be safe :D

John J. Foster wrote:
| I unmasked portage-2.2_pre4 to see if it would help with the extreme
| slowness of portage updating of its cache during a sync. I had also
| previously emerged cdb to try to help with that also. Anyway, I'm not
| really sure what state my portage is in right now, except that now every
| emerge command returns
|
| [EMAIL PROTECTED] ~ $ emerge --info
| Traceback (most recent call last):
|   File /usr/bin/emerge, line 31, in ?
| import emergehelp, xpak, commands, errno, re, socket, string,
time, types
|   File /usr/lib/portage/pym/emergehelp.py, line 7, in ?
| from portage_const import
PRIVATE_PATH,PRELINK_BINARY,HASHING_BLOCKSIZE
|   File /usr/lib/portage/pym/portage_const.py, line 7, in ?
| from portage_const import
PRIVATE_PATH,PRELINK_BINARY,HASHING_BLOCKSIZE
| ImportError: cannot import name PRIVATE_PATH
|
| I already tried
| http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml
| but it didn't help. Me thinks I should have done a quickpkg!
|
| Any help greatly appreciated.
|
| Thanks,
| festus
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH3dGY8hUIAnGfls4RApvUAJ9pK3wWqS5LpwvRtCOfzrItpxxtDgCgjdJm
mgZu5SRDPda51qAuZtX58RE=
=8DRz
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Received: from unknown

2008-03-16 Thread Jason Carson
Greetings,

When I send an email to myself, in the header information it says the
following...


Return-Path: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 5901 invoked from network); 16 Mar 2008 23:57:45 -

Received: from unknown (HELO jasoncarson.ca) (127.0.0.1)
 by penguin.jasoncarson.ca with SMTP; 16 Mar 2008 23:57:45 -

Received: from 192.168.0.75
 (SquirrelMail authenticated user jason)
 by jasoncarson.ca with HTTP;
 Sun, 16 Mar 2008 19:57:45 -0400 (EDT)
Message-ID: [EMAIL PROTECTED]
Date: Sun, 16 Mar 2008 19:57:45 -0400 (EDT)
Subject: Test
From: Jason Carson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
User-Agent: SquirrelMail/1.4.10a
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal


Where it says Received: from unknown (HELO jasoncarson.ca) (127.0.0.1)
What do I have to do so it doesn't say Received: from unknown but
instead displays the correct information and IP address instead of
127.0.0.1?

I am running qmail 1.03.

Thanks

-- 
gentoo-user@lists.gentoo.org mailing list