[gentoo-user] Sparse files and df

2009-05-23 Thread Mike Kazantsev
Hi,

Here's a bit of a puzzle for me...

I've got an 40G LVM partition with empty reiserfs on it.
Then I've started rtorrent using this fs as a storage and added two 50G
torrents to it.
Rtorrent had no problems with the fact that partition is smaller than
either of them and created all the downloaded files as sparse, so that
"du -s --apparent-size" showed 100G.
df reported that fs is still empty.

Few days passed and some data actually hit the file system.
Knowing that it can't handle that much of data I've downloaded files
selectively, pushing completed ones to another fs, leaving a symlink in
their place.

df now shows that only 5G is free but "du -s" says that files occupy
15G and apparent size is 65G.
I've moved 5G worth of them and du now reports 10G/60G, while df still
shows that only 5G left (and decreasing).

Now I know that df can actually show weird results sometimes but I
wonder why (re)moving files from a file system doesn't affect it's
output at all.
Do I really have 5G there which will be depleted soon and there's
nothing I can do to help it?
If not, how come anyone trusts df output at all when it can report
almost-empty fs to be almost-full?

Wonder if anyone can make things a bit more clear for me here.
Thanks.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


[gentoo-user] Re: x11-base/xorg-server-1.5.3-r5 with x11-drivers/ati-drivers-8.552-r2 -- file conflict

2009-05-23 Thread Nikos Chantziaras

Kevin O'Gorman wrote:

Getting desperate

Anyway, with no xorg.conf, I see
= screen stuff starts
treat ~ # startx
xauth:  creating new authority file /root/.serverauth.6892


New driver is "ati"


The driver from ati-drivers is "fglrx", not "ati".  "ati" doesn't even 
really exist anymore, it's a wrapper between "radeon" and the old 
"mach64" drivers for non-Radeon cards.


For Radeon cards, there are "fglrx" (in ati-drivers binary package), 
"radeon" (in xf86-video-radeon package) and "radeonhd" (in 
xf86-video-radeonhd package).


For "fglrx" to be loaded, you *really need* a section for it in 
xorg.conf. It will *never* get auto-loaded. Ever. Either you put that by 
hand in xorg.conf or automatically with aticonfig --initial. If you 
don't, that driver will *never* be loaded.





Re: [gentoo-user] Re: x11-base/xorg-server-1.5.3-r5 with x11-drivers/ati-drivers-8.552-r2 -- file conflict

2009-05-23 Thread Kevin O'Gorman
Summary: still hosed; newest drivers no help

On Sat, May 23, 2009 at 9:27 PM, William Kenworthy  wrote:
> I got caught by this upgrade (though I am not using ati-drivers) and had
> oops's that at first seemed to be xorgs fault.  While -hal helped a lot
> (what a fiasco!), there seems to be a bug in 2.6.29 and updates to
> reiserfs (yes, reiserfs is still maintained and being updated - look for
> slowpath bug in kernel) that only manifested itself to me after
> upgrading xorg-server.  Last message I saw was 2.6.30 will probably have
> a fix for it, but in the meantime, downgrade to 2.6.28 and see if that
> helps.
>
> The ati system is definitely affected by this (oops in reiserfs on
> screen), whilst an intel i915 laptop (also reiserfs) was also much more
> stable on 2.6.28 and upgraded xorg-server - however this one doesnt give
> any indication except for a hard hang with nothing logged (which implies
> its the filesystem so no log is written) when running on 2.6.29 for a
> few hours.
>
> BillK
>
>
> On Sat, 2009-05-23 at 16:35 -0700, Kevin O'Gorman wrote:
>> On Sat, May 23, 2009 at 3:23 PM, Mark Knecht  wrote:
>> > On Sat, May 23, 2009 at 3:22 PM, Nikos Chantziaras  wrote:
>> >> David Relson wrote:
>> >>>
>> >>> On Sat, 23 May 2009 14:57:32 -0700
>> >>> Kevin O'Gorman wrote:
>> >>>
>>  Summary: X is hosed.
>> 
>> >>>
>> >>> A couple of weeks back, I made the transition to the current versions
>> >>> of xorg-server and ati-drivers, i.e. the versions in the message
>> >>> subject.  I had to do a bit of work with xorg.conf before all was
>> >>> good.  If I recall details, keyboard and mouse weren't working and,
>> >>> after correcting that, fonts weren't being found.  All is now working
>> >>> fine.  Below is my xorg.conf.  Hope it helps.
>> >>>
>> >>> Regards,
>> >>>
>> >>> David
>> >>>
>> >>> ### Begin xorg.conf ###
>> >>>
>> i
>> >>> ### End xorg.conf ###
>> >>
>> >> This xorg.conf won't load ati-drivers at all.  If it works, it is probably
>> >> running with another driver (radeon or vesa perhaps).  You need to run
>> >> "aticonfig --initial" as root first.
>> >
>> > Or he might have it in autoload already and it gets loaded at boot time?
>> >
>> > - Mark
>>
>> When I tried aticonfig with my original xorg.conf, it got a seg fault.
>>  The same thing happens when I use David's.
>>
>> Things are not going well.
>>
>> ++ kevin
>>
>>
>>
> --
> William Kenworthy 
> Home in Perth!

I compiled ati-drivers-8.593 (after making required mods to kernel
configuration); no help.  There's even an additional error message.

>From the above conversation, however, it may be I don't need them.
I'm not aware of running OpenGL, so it could be complaining about some
other driver.

With the short xorg.conf, the error messages are different --
including one about the
mouse interface not loading.  With no xorg.conf, it seems to try more
variations, but
there's still no joy.

Getting desperate

Anyway, with no xorg.conf, I see
= screen stuff starts
treat ~ # startx
xauth:  creating new authority file /root/.serverauth.6892


X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.28-gentoo-r5-kosmanor i686
Current Operating System: Linux treat 2.6.28-gentoo-r5-kosmanor #6 SMP
PREEMPT Sat May 23 19:17:22 PDT 2009 i686
Build Date: 23 May 2009  03:19:26PM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat May 23 22:14:09 2009
(EE) Unable to locate/open config file
New driver is "ati"
(==) Using default built-in configuration (30 lines)
(EE) Failed to load module "ati" (module does not exist, 0)
(EE) module ABI major version (1) doesn't match the server's version (4)
(EE) Failed to load module "fbdev" (module requirement mismatch, 0)
(EE) module ABI major version (1) doesn't match the server's version (4)
(EE) Failed to load module "vesa" (module requirement mismatch, 0)
(EE) No drivers available.

Fatal server error:
no screens found
giving up.
xinit:  Connection refused (errno 111):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.
treat ~ #
end of run with no xorg.conf

If I use the simple one first given, I get

 start of screen stuff
treat X11 # startx
xauth:  creating new authority file /root/.serverauth.6933


X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.28-gentoo-r5-kosmanor i686
Current Operating System: Linux treat 2.6.28-gentoo-r5-kosmanor #6 SMP
PREEMPT Sat May 23 19:17:22 PDT 2009 i686
Build Date: 23 May 2009  03:19:26PM

Before reporting problems, check http://wiki.x.org

Re: [gentoo-user] Re: x11-base/xorg-server-1.5.3-r5 with x11-drivers/ati-drivers-8.552-r2 -- file conflict

2009-05-23 Thread William Kenworthy
I got caught by this upgrade (though I am not using ati-drivers) and had
oops's that at first seemed to be xorgs fault.  While -hal helped a lot
(what a fiasco!), there seems to be a bug in 2.6.29 and updates to
reiserfs (yes, reiserfs is still maintained and being updated - look for
slowpath bug in kernel) that only manifested itself to me after
upgrading xorg-server.  Last message I saw was 2.6.30 will probably have
a fix for it, but in the meantime, downgrade to 2.6.28 and see if that
helps.

The ati system is definitely affected by this (oops in reiserfs on
screen), whilst an intel i915 laptop (also reiserfs) was also much more
stable on 2.6.28 and upgraded xorg-server - however this one doesnt give
any indication except for a hard hang with nothing logged (which implies
its the filesystem so no log is written) when running on 2.6.29 for a
few hours.

BillK


On Sat, 2009-05-23 at 16:35 -0700, Kevin O'Gorman wrote:
> On Sat, May 23, 2009 at 3:23 PM, Mark Knecht  wrote:
> > On Sat, May 23, 2009 at 3:22 PM, Nikos Chantziaras  wrote:
> >> David Relson wrote:
> >>>
> >>> On Sat, 23 May 2009 14:57:32 -0700
> >>> Kevin O'Gorman wrote:
> >>>
>  Summary: X is hosed.
> 
> >>>
> >>> A couple of weeks back, I made the transition to the current versions
> >>> of xorg-server and ati-drivers, i.e. the versions in the message
> >>> subject.  I had to do a bit of work with xorg.conf before all was
> >>> good.  If I recall details, keyboard and mouse weren't working and,
> >>> after correcting that, fonts weren't being found.  All is now working
> >>> fine.  Below is my xorg.conf.  Hope it helps.
> >>>
> >>> Regards,
> >>>
> >>> David
> >>>
> >>> ### Begin xorg.conf ###
> >>>
> i
> >>> ### End xorg.conf ###
> >>
> >> This xorg.conf won't load ati-drivers at all.  If it works, it is probably
> >> running with another driver (radeon or vesa perhaps).  You need to run
> >> "aticonfig --initial" as root first.
> >
> > Or he might have it in autoload already and it gets loaded at boot time?
> >
> > - Mark
> 
> When I tried aticonfig with my original xorg.conf, it got a seg fault.
>  The same thing happens when I use David's.
> 
> Things are not going well.
> 
> ++ kevin
> 
> 
> 
-- 
William Kenworthy 
Home in Perth!




Re: [gentoo-user] Re: x11-base/xorg-server-1.5.3-r5 with x11-drivers/ati-drivers-8.552-r2 -- file conflict

2009-05-23 Thread Volker Armin Hemmann
On Sonntag 24 Mai 2009, David Relson wrote:
> On Sun, 24 May 2009 01:22:06 +0300
> Nikos Chantziaras wrote:
>
> ...[snip]...
>
> > > ### Begin xorg.conf ###
> > >
> > > Section "ServerFlags"
> > >Option  "AllowEmptyInput"   "false"
> > > EndSection
> > >
> > > Section "Files"
> > >   FontPath "/usr/share/fonts/util"
> > >   FontPath "/usr/share/fonts/encodings"
> > >   FontPath "/usr/share/fonts/misc"
> > >   FontPath "/usr/share/fonts/corefonts"
> > >   FontPath "/usr/local/share/fonts"
> > >   FontPath "/usr/share/fonts/default"
> > >   FontPath "/usr/share/fonts/Type1"
> > >   FontPath "/usr/share/fonts/100dpi"
> > >   FontPath "/usr/share/fonts/75dpi"
> > > EndSection
> > >
> > > ### End xorg.conf ###
> >
> > This xorg.conf won't load ati-drivers at all.  If it works, it is
> > probably running with another driver (radeon or vesa perhaps).  You
> > need to run "aticonfig --initial" as root first.
>
> Really?  My understanding had been that xorg-server-1.5.3 uses evdev and
> runs happily without an xorg.conf file.  Without an xorg.conf I had
> keyboard and font problems -- cured by the above configuration.
>
> As an experiment, I ran the suggested command ( "aticonfig
> --initial" ).  This added a lot to xorg.con and I then restarted X.
> My screen resolution dropped from 1280x1024 to 640x480 and the screen
> looked awful.
>
> I've returned to the short config shown above.
>
> To be honest, I don't know which display driver is in use and don't
> much care since the display is working fine AFAICT.
>
> David

Section "ServerLayout" 
Identifier "Layout0"   
Screen  0  "aticonfig-Screen[0]-0" 0 0
InputDevice"Keyboard0" "CoreKeyboard" 
InputDevice"Mouse0" "CorePointer" 
EndSection

Section "Files"
EndSection 

Section "Module"
Load  "evdev"
Load  "v4l"  
EndSection   

Section "ServerFlags"
 Option "DontZap" "no"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver  "evdev" 
Option  "CorePointer"
Option  "Name" "Logitech, Inc. MX610 Laser Cordless Mouse"
Option  "evBits" "+1-2"   
Option  "keyBits" "~272-287"  
Option  "relBits" "~0-2 ~6 ~8"
EndSection

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "evdev"
Option  "AutoRepeat" "500 30"
Option  "XkbRules" "xorg"
Option  "XkbModel" "evdev"
Option  "XkbLayout" "de"
Option  "Device" "/dev/input/event2"
EndSection

Section "Monitor"
Identifier   "aticonfig-Monitor[0]-0"
Option  "VendorName" "ATI Proprietary Driver"
Option  "ModelName" "Generic Autodetecting Monitor"
Option  "DPMS" "true"
EndSection

Section "Device"
Identifier  "aticonfig-Device[0]-0"
Driver  "fglrx"
BusID   "PCI:2:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor"aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport   0 0
Depth 24
EndSubSection
EndSection

works fine, 1680x1050 is the natural resolution of my display - automatically 
chosen by X on start. Thanks to no modes or modelines I have a bazillion of 
possible resolutions via randr available (either setting them with krandrtray 
or xrandr).




[gentoo-user] Re: x11-base/xorg-server-1.5.3-r5 with x11-drivers/ati-drivers-8.552-r2 -- file conflict

2009-05-23 Thread Nikos Chantziaras

David Relson wrote:

On Sun, 24 May 2009 01:22:06 +0300
Nikos Chantziaras wrote:

...[snip]...


### Begin xorg.conf ###

Section "ServerFlags"
   Option  "AllowEmptyInput"   "false"
EndSection

Section "Files"
FontPath "/usr/share/fonts/util"
FontPath "/usr/share/fonts/encodings"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts/default"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/75dpi"
EndSection

### End xorg.conf ###
This xorg.conf won't load ati-drivers at all.  If it works, it is 
probably running with another driver (radeon or vesa perhaps).  You

need to run "aticonfig --initial" as root first.



Really?  My understanding had been that xorg-server-1.5.3 uses evdev and
runs happily without an xorg.conf file.  Without an xorg.conf I had
keyboard and font problems -- cured by the above configuration.

As an experiment, I ran the suggested command ( "aticonfig
--initial" ).  This added a lot to xorg.con and I then restarted X.
My screen resolution dropped from 1280x1024 to 640x480 and the screen
looked awful.  


I've returned to the short config shown above.

To be honest, I don't know which display driver is in use and don't
much care since the display is working fine AFAICT.


The only reason to use ati-drivers is to have fast, accelerated OpenGL. 
 You're probably not using ati-drivers at all.  So you're a bit 
off-topic to this whole thread :P  fglrx ("ati-drivers") required an 
xorg.conf entry.  This is done with aticonfig --initial and after that 
you have to run the Catalyst Control Center ("amdcccle" in a terminal, 
you'll also find it in the start menu) and adjust your resolution and 
other settings (anti-aliasing, vsync, anisotropic filters, etc.) there.





Re: [gentoo-user] Re: x11-base/xorg-server-1.5.3-r5 with x11-drivers/ati-drivers-8.552-r2 -- file conflict

2009-05-23 Thread David Relson
On Sun, 24 May 2009 01:22:06 +0300
Nikos Chantziaras wrote:

...[snip]...

> > ### Begin xorg.conf ###
> > 
> > Section "ServerFlags"
> >Option  "AllowEmptyInput"   "false"
> > EndSection
> > 
> > Section "Files"
> > FontPath "/usr/share/fonts/util"
> > FontPath "/usr/share/fonts/encodings"
> > FontPath "/usr/share/fonts/misc"
> > FontPath "/usr/share/fonts/corefonts"
> > FontPath "/usr/local/share/fonts"
> > FontPath "/usr/share/fonts/default"
> > FontPath "/usr/share/fonts/Type1"
> > FontPath "/usr/share/fonts/100dpi"
> > FontPath "/usr/share/fonts/75dpi"
> > EndSection
> > 
> > ### End xorg.conf ###
> 
> This xorg.conf won't load ati-drivers at all.  If it works, it is 
> probably running with another driver (radeon or vesa perhaps).  You
> need to run "aticonfig --initial" as root first.


Really?  My understanding had been that xorg-server-1.5.3 uses evdev and
runs happily without an xorg.conf file.  Without an xorg.conf I had
keyboard and font problems -- cured by the above configuration.

As an experiment, I ran the suggested command ( "aticonfig
--initial" ).  This added a lot to xorg.con and I then restarted X.
My screen resolution dropped from 1280x1024 to 640x480 and the screen
looked awful.  

I've returned to the short config shown above.

To be honest, I don't know which display driver is in use and don't
much care since the display is working fine AFAICT.

David



[gentoo-user] cannot install emacs/emacs-cvs with X use

2009-05-23 Thread Kevin
Hello,
  after reinstall my system, I can emerge neither emacs nor emacs-cvs
successfully on my gentoo. when proceeded to the working fork check,
it stops and hangs over, never go ahead.

build.log:
http://dpaste.com/hold/47083/

and here it is emerge --info:
http://dpaste.com/hold/47084/

I can only USE="-X" emerge app-editors/emacs-cvs, but I don't know
why, other programs emerge well.

config.log is too large to send to dpaste.com, I've attached it, hope
someone can help me, thanks in advance.


config.log.tar.gz
Description: GNU Zip compressed data


[gentoo-user] Re: x11-base/xorg-server-1.5.3-r5 with x11-drivers/ati-drivers-8.552-r2 -- file conflict

2009-05-23 Thread Nikos Chantziaras

Kevin O'Gorman wrote:

On Sat, May 23, 2009 at 3:23 PM, Mark Knecht  wrote:

On Sat, May 23, 2009 at 3:22 PM, Nikos Chantziaras  wrote:

David Relson wrote:

On Sat, 23 May 2009 14:57:32 -0700
Kevin O'Gorman wrote:


Summary: X is hosed.


A couple of weeks back, I made the transition to the current versions
of xorg-server and ati-drivers, i.e. the versions in the message
subject.  I had to do a bit of work with xorg.conf before all was
good.  If I recall details, keyboard and mouse weren't working and,
after correcting that, fonts weren't being found.  All is now working
fine.  Below is my xorg.conf.  Hope it helps.

Regards,

David

### Begin xorg.conf ###


i

### End xorg.conf ###

This xorg.conf won't load ati-drivers at all.  If it works, it is probably
running with another driver (radeon or vesa perhaps).  You need to run
"aticonfig --initial" as root first.

Or he might have it in autoload already and it gets loaded at boot time?

- Mark


When I tried aticonfig with my original xorg.conf, it got a seg fault.
 The same thing happens when I use David's.

Things are not going well.


You should try the latest ati-drivers then.  8.552 is pretty old and 
very buggy.  The newer versions are also buggy, but less so then the old 
ones.





Re: [gentoo-user] Re: x11-base/xorg-server-1.5.3-r5 with x11-drivers/ati-drivers-8.552-r2 -- file conflict

2009-05-23 Thread Kevin O'Gorman
On Sat, May 23, 2009 at 3:23 PM, Mark Knecht  wrote:
> On Sat, May 23, 2009 at 3:22 PM, Nikos Chantziaras  wrote:
>> David Relson wrote:
>>>
>>> On Sat, 23 May 2009 14:57:32 -0700
>>> Kevin O'Gorman wrote:
>>>
 Summary: X is hosed.

>>>
>>> A couple of weeks back, I made the transition to the current versions
>>> of xorg-server and ati-drivers, i.e. the versions in the message
>>> subject.  I had to do a bit of work with xorg.conf before all was
>>> good.  If I recall details, keyboard and mouse weren't working and,
>>> after correcting that, fonts weren't being found.  All is now working
>>> fine.  Below is my xorg.conf.  Hope it helps.
>>>
>>> Regards,
>>>
>>> David
>>>
>>> ### Begin xorg.conf ###
>>>
i
>>> ### End xorg.conf ###
>>
>> This xorg.conf won't load ati-drivers at all.  If it works, it is probably
>> running with another driver (radeon or vesa perhaps).  You need to run
>> "aticonfig --initial" as root first.
>
> Or he might have it in autoload already and it gets loaded at boot time?
>
> - Mark

When I tried aticonfig with my original xorg.conf, it got a seg fault.
 The same thing happens when I use David's.

Things are not going well.

++ kevin



-- 
Kevin O'Gorman, PhD



Re: [gentoo-user] was paludis and make.conf - reply to DH

2009-05-23 Thread maxim wexler



--- On Wed, 5/20/09, maxim wexler  wrote:

> From: maxim wexler 
> Subject: [gentoo-user] paludis and make.conf
> To: gentoo-user@lists.gentoo.org
> Received: Wednesday, May 20, 2009, 1:57 PM
> 
> Hi group,
> 
> Now that I'm starting to use paludis in place of portage, I
> often see scoot by on my console something like:
> 
> CONFIG_PROTECT CONFIG_PROTECT_MASK updating caches.
> 
> Sure enough, under /var/db/pkg/.cache, appear the
> following:
> 
> all_CONFIG_PROTECT
> all_CONFIG_PROTECT_MASK
> 
> But how did paludis decide to use these variables?
> 
> They don't appear in make.conf, in any of the /etc/paludis
> conf files or /etc/env.d files.
> 
> Am I setting myself up for problems later? My world file
> has only 22 items in it so far.
> 
> Maxim
> 

You wrote:


Am Mittwoch, 20. Mai 2009 22:57:05 schrieb maxim wexler:

> Now that I'm starting to use paludis in place of portage

Congratulations :-)

> Sure enough, under /var/db/pkg/.cache, appear the following:

> all_CONFIG_PROTECT
> all_CONFIG_PROTECT_MASK

> But how did paludis decide to use these variables?

> They don't appear in make.conf, in any of the /etc/paludis conf files or
> /etc/env.d files.

Some of the values come from defaults, the others are from ebuilds, which put
them into their /etc/env.d files:

% pwd
/etc/env.d
% grep -R CONFIG_PROTECT *
00basic:CONFIG_PROTECT_MASK="/etc/gentoo-release"
09sandbox:CONFIG_PROTECT_MASK="/etc/sandbox.d"
20udev:CONFIG_PROTECT_MASK="/etc/udev/rules.d"
37fontconfig:CONFIG_PROTECT_MASK="/etc/fonts/fonts.conf"
43kdepaths:CONFIG_PROTECT="/usr/share/config"
50gconf:CONFIG_PROTECT_MASK="/etc/gconf"
50ncurses:CONFIG_PROTECT_MASK="/etc/terminfo"
50postgresql-eselect:CONFIG_PROTECT_MASK="/etc/eselect/postgresql"
98ca-certificates:CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"
98texlive:CONFIG_PROTECT_MASK="/etc/texmf/web2c /etc/texmf/language.dat.d
/etc/texmf/language.def.d /etc/texmf/updmap.d"

> Am I setting myself up for problems later?

No, why?

> My world file has only 22 items in it so far.

???

Bye...

Thanks, a lot of useful info without having to search the docs :) I found your 
reply searching for info on CONFIG_PROTECT. For some reason Yahoo! never posted 
it. (My isp doesn't sponser a mail service ;()

What I meant by "setting myself up" was that as I install more and more 
packages it would seem any mistake I make now will be magnified. 

For instance, it appears CONFIG_PROTECT kept some important files in /etc/ 
after my trying to uninstall cpufreqd and cpufrequtils. Does this mean I need 
to turn on and off CONFIG_PROCTECT on an adhoc basis? Or is there some option 
to send to paludis to remove everything when it comes time to uninstall? I 
don't see anything under $man paludis -> Uninstall options. It's not a 
dependancy thing is it? 

Anyways, my aim is to smooth the "way forward" before I get in too deep.


Maxim




> 
>      
> __
> Ask a question on any topic and get answers from real
> people. Go to Yahoo! Answers and share what you know at 
> http://ca.answers.yahoo.com
> 
> 


  __
The new Internet Explorer® 8 - Faster, safer, easier.  Optimized for Yahoo!  
Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/



Re: [gentoo-user] Re: x11-base/xorg-server-1.5.3-r5 with x11-drivers/ati-drivers-8.552-r2 -- file conflict

2009-05-23 Thread Mark Knecht
On Sat, May 23, 2009 at 3:22 PM, Nikos Chantziaras  wrote:
> David Relson wrote:
>>
>> On Sat, 23 May 2009 14:57:32 -0700
>> Kevin O'Gorman wrote:
>>
>>> Summary: X is hosed.
>>>
>>
>> A couple of weeks back, I made the transition to the current versions
>> of xorg-server and ati-drivers, i.e. the versions in the message
>> subject.  I had to do a bit of work with xorg.conf before all was
>> good.  If I recall details, keyboard and mouse weren't working and,
>> after correcting that, fonts weren't being found.  All is now working
>> fine.  Below is my xorg.conf.  Hope it helps.
>>
>> Regards,
>>
>> David
>>
>> ### Begin xorg.conf ###
>>
>> Section "ServerFlags"
>>       Option  "AllowEmptyInput"       "false"
>> EndSection
>>
>> Section "Files"
>>        FontPath     "/usr/share/fonts/util"
>>        FontPath     "/usr/share/fonts/encodings"
>>        FontPath     "/usr/share/fonts/misc"
>>        FontPath     "/usr/share/fonts/corefonts"
>>        FontPath     "/usr/local/share/fonts"
>>        FontPath     "/usr/share/fonts/default"
>>        FontPath     "/usr/share/fonts/Type1"
>>        FontPath     "/usr/share/fonts/100dpi"
>>        FontPath     "/usr/share/fonts/75dpi"
>> EndSection
>>
>> ### End xorg.conf ###
>
> This xorg.conf won't load ati-drivers at all.  If it works, it is probably
> running with another driver (radeon or vesa perhaps).  You need to run
> "aticonfig --initial" as root first.

Or he might have it in autoload already and it gets loaded at boot time?

- Mark



[gentoo-user] Re: x11-base/xorg-server-1.5.3-r5 with x11-drivers/ati-drivers-8.552-r2 -- file conflict

2009-05-23 Thread Nikos Chantziaras

David Relson wrote:

On Sat, 23 May 2009 14:57:32 -0700
Kevin O'Gorman wrote:


Summary: X is hosed.



A couple of weeks back, I made the transition to the current versions
of xorg-server and ati-drivers, i.e. the versions in the message
subject.  I had to do a bit of work with xorg.conf before all was
good.  If I recall details, keyboard and mouse weren't working and,
after correcting that, fonts weren't being found.  All is now working
fine.  Below is my xorg.conf.  Hope it helps.

Regards,

David

### Begin xorg.conf ###

Section "ServerFlags"
   Option  "AllowEmptyInput"   "false"
EndSection

Section "Files"
FontPath "/usr/share/fonts/util"
FontPath "/usr/share/fonts/encodings"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts/default"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/75dpi"
EndSection

### End xorg.conf ###


This xorg.conf won't load ati-drivers at all.  If it works, it is 
probably running with another driver (radeon or vesa perhaps).  You need 
to run "aticonfig --initial" as root first.





Re: [gentoo-user] x11-base/xorg-server-1.5.3-r5 with x11-drivers/ati-drivers-8.552-r2 -- file conflict

2009-05-23 Thread David Relson
On Sat, 23 May 2009 14:57:32 -0700
Kevin O'Gorman wrote:

> Summary: X is hosed.
> 

A couple of weeks back, I made the transition to the current versions
of xorg-server and ati-drivers, i.e. the versions in the message
subject.  I had to do a bit of work with xorg.conf before all was
good.  If I recall details, keyboard and mouse weren't working and,
after correcting that, fonts weren't being found.  All is now working
fine.  Below is my xorg.conf.  Hope it helps.

Regards,

David

### Begin xorg.conf ###

Section "ServerFlags"
   Option  "AllowEmptyInput"   "false"
EndSection

Section "Files"
FontPath "/usr/share/fonts/util"
FontPath "/usr/share/fonts/encodings"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts/default"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/75dpi"
EndSection

### End xorg.conf ###



Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Jorge Morais
On Sat, 23 May 2009 03:51:40 -0700 (PDT)
Jon Hardcastle  wrote:

> > 
> > And finally, couldn't he have gotten a binary package from
> > http://tinderbox.dev.gentoo.org/default-linux/x86/dev-lang/
> > ?
Have you not yet tried to get python from a binary package?
See http://forums.gentoo.org/viewtopic-p-4669397.html#4669397
That is both the easiest and cleanest solution I have found so far,
(not that I have researched much, I admit).
And maybe you don't even have to extract the tarball manually with
tar; maybe you can use qmerge from app-portage/portage-utils
(AFAIK it is written in C).

Now, I do have concerns about your system having remains of multiple
python installations.

Any person with python knowledge can give an opinion on whether this
is dangerous? And what is the easiest way to clean the mess?

One idea: you can can recompile python with a safe
prefix (such as a subdir of your home), issue make install (not as root,
for increased safety) and see where Python install its files relative to
the prefix, so you can delete them from your system
(to be more careful before deleting a file, you can issue
qfile  to see if it is owned by a portage-installed package.
And in the end you can emerge python properly, from the sources, so all
the ebuild logic (which is more than just ./configure, make and make install)
gets applied, and you get a Python installation that respects your USE flags,
CFLAGS and other system-specific settings (obviously you don't get such a
system-customized python when you use the binary package from tinderbox).




Re: [gentoo-user] Is paludis bad for SSDs?

2009-05-23 Thread maxim wexler

> > > Are you using baselayout1 or baselayout2/openrc?
> >
> > Hadn't thought about it. baselayout-1.12.11.1 appears
> under
> > /var/db/pkg/sys-apps/
> >
> > Do you recommend migrating to openrc as per
> 
> My point was not that you should migrate, but if you did or
> will do, you 
> should make sure no bl1 initscripts remain on the system,
> as they can cause 
> all kinds of strange things when used on a bl2/openrc
> system.
> 
> Bye...
> 
>     Dirk

Thanks for the tip. Is this the sort of thing that benefits from turning off 
CONFIG_PROTECT in one or more dirs?. That seems to be what happened when I 
thought I had uninstalled _all_ of cpufreqd and cpufrequtils: the init files 
and conf remained.

Maxim 


  __
Make your browsing faster, safer, and easier with the new Internet Explorer® 8. 
Optimized for Yahoo! Get it Now for Free! at 
http://downloads.yahoo.com/ca/internetexplorer/



Re: [gentoo-user] x11-base/xorg-server-1.5.3-r5 with x11-drivers/ati-drivers-8.552-r2 -- file conflict

2009-05-23 Thread Kevin O'Gorman
Summary: X is hosed.

On Fri, May 22, 2009 at 6:35 AM, Kevin O'Gorman  wrote:
> On Fri, May 22, 2009 at 2:40 AM, Alex Schuster  wrote:
>> Kevin O'Gorman writes:
>>
>>> On Thu, May 21, 2009 at 8:20 PM, Kevin O'Gorman 
>> wrote:
>>
>>> > I thank you for the expert advice.  I'm doing the emerge now, but even
>>> > if it succeeds, I'm worried that the xorg-server will still own this
>>> > file, since portageq seems to see that it does.  This seems inherently
>>> > wrong.
>>
>> Well, it is indeed.
>>
>>> > Sigh.  I'm too far along to flinch now, so if this emerges, I'll
>>> > probably restart X.
>>> >
>>> > Wish me luck.
>>
>> I do, but I do not believe bad things might happen.
>>
>>> Hmm.  Even with the FEATURES option from the suggestion, I get exactly
>>> the same error message.  I cut-and-pasted it, but I wonder if it's
>>> spelled right?
>>
>> It is. But I forgot about the protect-owned feature. I thought -collision-
>> protect would act stronger and imply it, but apparently it does not. So,
>> 'FEATURES=-protect-owned emerge ati-drivers' might have worked better. If
>> not, 'FEATURES="-collision-protect -protect-owned" emerge ati-drivers' would
>> have worked in any case.
>>
>>> I'm going to try just deleting (well, renaming) the file, hoping that
>>> this will work...
>>
>> Yes, that's okay. After all, the file is still there, it's just now being
>> generated by the ati-driver. I wouldn't worry too much.
>>
>>        Wonko
>
> well, it emerged this time.  I'm going to restart X over the weekend,
> when I'll have time to clean up the mess that I half expect.
>
> ++ kevin

As I suspected, X won't restart.

When I reboot, the scripts want to run "xdm", which is not loaded on
the system.  This started a while ago and is part of what made me give
up on keeping the new xorg masked.

"kdm" does nothing at all that I can see, but it was the way I was
getting X up before I re-emerged the ati drivers.

"startx" at least gives error messages and writes the log.  It didn't
like my xorg.conf, and had this to say about it:
=
treat X11 # startx
xauth:  creating new authority file /root/.serverauth.7467


X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.28-gentoo-r5-kosmanor i686
Current Operating System: Linux treat 2.6.28-gentoo-r5-kosmanor #5 SMP
PREEMPT Tue May 19 13:17:14 PDT 2009 i686
Build Date: 18 May 2009  09:25:28PM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat May 23 14:54:31 2009
(==) Using config file: "/etc/X11/xorg.conf"
(EE) Failed to load module "type1" (module does not exist, 0)
(EE) module ABI major version (1) doesn't match the server's version (4)
(EE) Failed to load module "ati" (module requirement mismatch, 0)
(EE) No drivers available.

Fatal server error:
no screens found
giving up.
xinit:  Connection refused (errno 111):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.
treat X11 #
=
If I remove the "xorg.conf" file, the message about type1 goes away,
but it still won't load the ati drivers.

I'm at a loss.  Where do I go to get my X back?  I mean where in the
documentation, of course, but I'm open to other suggestions.

++ kevin

-- 
Kevin O'Gorman, PhD



[gentoo-user] xorg-server-1.5.* and compiz-fusion on intel 945GM

2009-05-23 Thread AJ Spagnoletti
For the past month I have been trying to figure this issue out to no
avail. When the new xorg-server went stable a little over a month ago
there were several posts related to opengl performance on the intel
graphics cards none of which I was able to pull any information from.
Prior to the upgrade, while running xorg-server 1.3 and intel video
driver 2.1, I was able to run gnome with compiz-fusion (no flames on
gnome please) without issue, and glxgears (yes I know that its not a
benchmarking tool but it will illustrate the point just fine here) ran
at about 700 fps. After the upgrade which included:

xf86-video-intel-2.7.1
mesa-7.4.2
xorg-server-1.5.3-r6
libdrm-2.4.11

My performance has dropped to the point where compiz-fusion no longer
runs well on my computer. glxgears shows only 60 fps. Following some
suggestions from earlier posts to the list I have tried upgrading my
kernel and now run 2.6.28 with the i915 driver in the kernel selected.
glxinfo shows:

OpenGL renderer string: Mesa DRI Intel(R) 945GM GEM 20090114

Anyone have any ideas that may help improve the performance on this
card, FWIW the laptop is a Dell Inspiron E1405 with a GMA950 Intel
chipset.

Thanks,

AJ



Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Dale
Neil Bothwick wrote:
> On Sat, 23 May 2009 06:59:10 -0500, Dale wrote:
>
>   
>> Hmmm, I think someone needs to rethink the system set then.  After all,
>> portage does not work well without python.  It should keep a binary copy
>> but it should also warn you if you are typing without your thinking cap
>> on.
>> 
>
> Portage is not in system, only the virtual. That can be   satisfied
> by Paludis, which does not need Python.
>
>
>   

But if a person, me or the OP, is using portage then python needs to be
in there.  After all, isn't portage supported by Gentoo still?  Are we
all supposed to switch to Paludis so we will get a warning before
borking our system?

Dale

:-)  :-) 



Re: [gentoo-user] Is starting xdm enough to see something in X?

2009-05-23 Thread Mark Knecht
On Sat, May 23, 2009 at 1:06 PM, Neil Bothwick  wrote:
> On Fri, 22 May 2009 12:19:40 -0700, Mark Knecht wrote:
>
>> If there is absolutely no difference then I don't need to bother with
>> this. If there is then I do. The real issue here is that Myth doesn't
>> work. If I can be certain that displaying Myth apps on a remote
>> screen, such as mythtv-setup or mythfrontend, is really the same then
>> I'll just do that. However those apps are currently failing so I'm
>> trying to eliminate issues, and possibly creating one I don't care
>> about in doing that!
>
> My mythbackend box does not have xorg-server installed. I run
> mythtv-setup over SSH with no problems.
>
>
> --
> Neil Bothwick

Yes, I can on my existing backend server, but on the new one I'm
building it doesn't seem to work.  I attempted to follow the
instructions here:

http://www.mythtv.org/docs/mythtv-HOWTO-6.html

but for some reason it wouldn't work reliably. I think there may be 2 issues:

1) Somethign about my understanding of the mysql permissions
(privileges?) over the network not being right.

2) Something about having two backend servers on the network.

The frontend config files aren't very network aware as they hardwire
an IP address in them. Additionally there's something new with a
config.xml file which I just found out about and might be conflicting
with changes I made by hand to the mysql.txt file.

I've just in the last few minutes done a drop on the mythconverg
database and I'm starting over from scratch.

Thanks,
Mark



Re: [gentoo-user] paludis --uninstall leaves stuff behind

2009-05-23 Thread Neil Bothwick
On Fri, 22 May 2009 14:06:37 -0700 (PDT), maxim wexler wrote:

> And rebooted -- same message. So I deleted /etc/cpufreqd.conf(Why
> didn't paludis -u get rid of it?).

Probably for the same reason that portage wouldn't, files in /etc/are
CONFIG_PROTECTed, or the Paludis equivalent of that.


-- 
Neil Bothwick

This is the day for firm decisions! Or is it?


signature.asc
Description: PGP signature


Re: [gentoo-user] Is starting xdm enough to see something in X?

2009-05-23 Thread Neil Bothwick
On Fri, 22 May 2009 12:19:40 -0700, Mark Knecht wrote:

> If there is absolutely no difference then I don't need to bother with
> this. If there is then I do. The real issue here is that Myth doesn't
> work. If I can be certain that displaying Myth apps on a remote
> screen, such as mythtv-setup or mythfrontend, is really the same then
> I'll just do that. However those apps are currently failing so I'm
> trying to eliminate issues, and possibly creating one I don't care
> about in doing that!

My mythbackend box does not have xorg-server installed. I run
mythtv-setup over SSH with no problems.


-- 
Neil Bothwick

When you are out of whack, the best thing to do is to order more whack.


signature.asc
Description: PGP signature


Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Neil Bothwick
On Sat, 23 May 2009 06:59:10 -0500, Dale wrote:

> Hmmm, I think someone needs to rethink the system set then.  After all,
> portage does not work well without python.  It should keep a binary copy
> but it should also warn you if you are typing without your thinking cap
> on.

Portage is not in system, only the virtual. That can be satisfied
by Paludis, which does not need Python.


-- 
Neil Bothwick

Ask a silly person, get a silly answer


signature.asc
Description: PGP signature


Re: [gentoo-user] Is paludis bad for SSDs?

2009-05-23 Thread Dirk Heinrichs
Am Samstag, 23. Mai 2009 18:30:43 schrieb maxim wexler:
> > Are you using baselayout1 or baselayout2/openrc?
>
> Hadn't thought about it. baselayout-1.12.11.1 appears under
> /var/db/pkg/sys-apps/
>
> Do you recommend migrating to openrc as per

My point was not that you should migrate, but if you did or will do, you 
should make sure no bl1 initscripts remain on the system, as they can cause 
all kinds of strange things when used on a bl2/openrc system.

Bye...

Dirk


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Is paludis bad for SSDs?

2009-05-23 Thread maxim wexler

> Are you using baselayout1 or baselayout2/openrc? 

Hadn't thought about it. baselayout-1.12.11.1 appears under 
/var/db/pkg/sys-apps/

Do you recommend migrating to openrc as per

 http://www.gentoo.org/doc/en/openrc-migration.xml ?

Maxim


  __
The new Internet Explorer® 8 - Faster, safer, easier.  Optimized for Yahoo!  
Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/



Re: [gentoo-user] security

2009-05-23 Thread Volker Armin Hemmann
On Samstag 23 Mai 2009, Daniel Iliev wrote:
>   Hi,
>
>   Since I'm not familiar with Gentoo's practice in dealing with
>   security problems I got curious about the following case.
>   Yesterday a Secunia advisory [1] about pidgin was brought to my
>   attention. The solution offered by the up-streams is upgrading to
>   version 2.5.6, while the latest version in portage is "~2.5.5-r1".
>
>   As I see it, there are three possibilities:
>   1) even older, the version in Gentoo is not affected, because the
>   maintainers had taken care of it (too optimistic?)
>   2) Gentoo installations are still vulnerable to the bugs described in
>   the advisory and nobody knows about it (quite disturbing)
>   3) Gentoo maintainers are working on it, but still not ready
>
>   Which one is it?
>
>
>   [1] [SA35194] http://secunia.com/advisories/35194/

subscribe to gentoo-announce
read changelogs
don't forget that it takes a while until all mirrors have that change.




Re: [gentoo-user] [solved] security

2009-05-23 Thread Daniel Iliev
On Sat, 23 May 2009 15:31:27 +0200
Justin  wrote:

> Daniel Iliev wrote:
> > 
> > 
> >   [1] [SA35194] http://secunia.com/advisories/35194/
> > 
> > 
> 
> https://bugs.gentoo.org/show_bug.cgi?id=270811
> 

Thanks.

-- 
Best regards,
Daniel



Re: [gentoo-user] security

2009-05-23 Thread Daniel Iliev
On Sat, 23 May 2009 09:37:05 -0400
Saphirus Sage  wrote:

> >> 
> >
> > I guess the mirror I'm using is not up-to-date and they will get a
> > report about it,
> >
> > Thanks!
> >
> >   
> I sync from rsync://rsync21.us.gentoo.org/gentoo-portage primarily due
> to the fact that it's an unlimited-sync server.
> 
> 

Re-syncing fixed it. I guess I've managed to hit the time just before
the mirror was updated.

-- 
Best regards,
Daniel



Re: [gentoo-user] firefox 3.0.10 crashes

2009-05-23 Thread Robin Atwood
On Saturday 23 May 2009, dhk wrote:
> Paul Hartman wrote:
> > On Wed, May 20, 2009 at 4:52 PM, dhk  wrote:
> >> Ever since I upgraded firefox to version 3 it crashes when certain pages
> >> are opened.  Currently I have version 3.0.10 and amd64.  I've been
> >> hoping the problem would get fixed, but it hasn't been yet.  For example
> >> I can not even go to ebay ( http://www.ebay.com ), the page flashes and
> >> then firefox crashes.  Does anyone know what's causing this and how it
> >> can be fixed?
> >
> > My guess would be flash... try uninstalling flash, java,
> > nspluginwrapper, disabling add-ons, etc one by one until you find the
> > cause.
>
> It was the adobe-flash.  I uninstalled it and all was fine.  The emerge
> -pv adobe-flash looks like the following:
> [ebuild  N] www-plugins/adobe-flash-10.0.22.87  USE="32bit (multilib)".
>
> I installed it again and Firefox crashes on certain sites.  So now it's
> uninstalled again.  At least Firefox is stable now.  Is there a flash
> that works?

If you are on amd64 you could specify the -32bit use flag. 

HTH
-Robin
-- 
--
Robin Atwood.

"Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst"
 from "Mandalay" by Rudyard Kipling
--












Re: [gentoo-user] security

2009-05-23 Thread Saphirus Sage
Daniel Iliev wrote:
> On Sat, 23 May 2009 09:23:27 -0400
> Saphirus Sage  wrote:
>
>   
>> Daniel Iliev wrote:
>> 
>>>   Hi,
>>>  
>>>   Since I'm not familiar with Gentoo's practice in dealing with
>>>   security problems I got curious about the following case.
>>>   Yesterday a Secunia advisory [1] about pidgin was brought to my
>>>   attention. The solution offered by the up-streams is upgrading to
>>>   version 2.5.6, while the latest version in portage is "~2.5.5-r1".
>>>
>>>   As I see it, there are three possibilities:
>>>   1) even older, the version in Gentoo is not affected, because the
>>>   maintainers had taken care of it (too optimistic?)
>>>   2) Gentoo installations are still vulnerable to the bugs
>>> described in the advisory and nobody knows about it (quite
>>> disturbing) 3) Gentoo maintainers are working on it, but still not
>>> ready
>>>
>>>   Which one is it?
>>>
>>>
>>>   [1] [SA35194] http://secunia.com/advisories/35194/
>>>
>>>
>>>   
>>>   
>> It's in portage, sync your tree and check again. I just installed
>> Pidgin 2.5.6 last night.
>>
>> 
>
> I guess the mirror I'm using is not up-to-date and they will get a
> report about it,
>
> Thanks!
>
>   
I sync from rsync://rsync21.us.gentoo.org/gentoo-portage primarily due
to the fact that it's an unlimited-sync server.



Re: [gentoo-user] security

2009-05-23 Thread Daniel Iliev
On Sat, 23 May 2009 09:23:27 -0400
Saphirus Sage  wrote:

> Daniel Iliev wrote:
> >   Hi,
> >  
> >   Since I'm not familiar with Gentoo's practice in dealing with
> >   security problems I got curious about the following case.
> >   Yesterday a Secunia advisory [1] about pidgin was brought to my
> >   attention. The solution offered by the up-streams is upgrading to
> >   version 2.5.6, while the latest version in portage is "~2.5.5-r1".
> >
> >   As I see it, there are three possibilities:
> >   1) even older, the version in Gentoo is not affected, because the
> >   maintainers had taken care of it (too optimistic?)
> >   2) Gentoo installations are still vulnerable to the bugs
> > described in the advisory and nobody knows about it (quite
> > disturbing) 3) Gentoo maintainers are working on it, but still not
> > ready
> >
> >   Which one is it?
> >
> >
> >   [1] [SA35194] http://secunia.com/advisories/35194/
> >
> >
> >   
> It's in portage, sync your tree and check again. I just installed
> Pidgin 2.5.6 last night.
> 

I guess the mirror I'm using is not up-to-date and they will get a
report about it,

Thanks!

-- 
Best regards,
Daniel



Re: [gentoo-user] security

2009-05-23 Thread Justin
Daniel Iliev wrote:
> 
>   Hi,
>  
>   Since I'm not familiar with Gentoo's practice in dealing with
>   security problems I got curious about the following case.
>   Yesterday a Secunia advisory [1] about pidgin was brought to my
>   attention. The solution offered by the up-streams is upgrading to
>   version 2.5.6, while the latest version in portage is "~2.5.5-r1".
> 
>   As I see it, there are three possibilities:
>   1) even older, the version in Gentoo is not affected, because the
>   maintainers had taken care of it (too optimistic?)
>   2) Gentoo installations are still vulnerable to the bugs described in
>   the advisory and nobody knows about it (quite disturbing)
>   3) Gentoo maintainers are working on it, but still not ready
> 
>   Which one is it?
> 
> 
>   [1] [SA35194] http://secunia.com/advisories/35194/
> 
> 

https://bugs.gentoo.org/show_bug.cgi?id=270811



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] security

2009-05-23 Thread Justin
Daniel Iliev wrote:
> 
>   Hi,
>  
>   Since I'm not familiar with Gentoo's practice in dealing with
>   security problems I got curious about the following case.
>   Yesterday a Secunia advisory [1] about pidgin was brought to my
>   attention. The solution offered by the up-streams is upgrading to
>   version 2.5.6, while the latest version in portage is "~2.5.5-r1".
> 
>   As I see it, there are three possibilities:
>   1) even older, the version in Gentoo is not affected, because the
>   maintainers had taken care of it (too optimistic?)
>   2) Gentoo installations are still vulnerable to the bugs described in
>   the advisory and nobody knows about it (quite disturbing)
>   3) Gentoo maintainers are working on it, but still not ready
> 
>   Which one is it?
> 
> 
>   [1] [SA35194] http://secunia.com/advisories/35194/
> 
> 
file a bug at b.g.o.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] security

2009-05-23 Thread Saphirus Sage
Daniel Iliev wrote:
>   Hi,
>  
>   Since I'm not familiar with Gentoo's practice in dealing with
>   security problems I got curious about the following case.
>   Yesterday a Secunia advisory [1] about pidgin was brought to my
>   attention. The solution offered by the up-streams is upgrading to
>   version 2.5.6, while the latest version in portage is "~2.5.5-r1".
>
>   As I see it, there are three possibilities:
>   1) even older, the version in Gentoo is not affected, because the
>   maintainers had taken care of it (too optimistic?)
>   2) Gentoo installations are still vulnerable to the bugs described in
>   the advisory and nobody knows about it (quite disturbing)
>   3) Gentoo maintainers are working on it, but still not ready
>
>   Which one is it?
>
>
>   [1] [SA35194] http://secunia.com/advisories/35194/
>
>
>   
It's in portage, sync your tree and check again. I just installed Pidgin
2.5.6 last night.



[gentoo-user] security

2009-05-23 Thread Daniel Iliev


  Hi,
 
  Since I'm not familiar with Gentoo's practice in dealing with
  security problems I got curious about the following case.
  Yesterday a Secunia advisory [1] about pidgin was brought to my
  attention. The solution offered by the up-streams is upgrading to
  version 2.5.6, while the latest version in portage is "~2.5.5-r1".

  As I see it, there are three possibilities:
  1) even older, the version in Gentoo is not affected, because the
  maintainers had taken care of it (too optimistic?)
  2) Gentoo installations are still vulnerable to the bugs described in
  the advisory and nobody knows about it (quite disturbing)
  3) Gentoo maintainers are working on it, but still not ready

  Which one is it?


  [1] [SA35194] http://secunia.com/advisories/35194/


-- 
Best regards,
Daniel



Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Dale
Alan McKinnon wrote:
> On Saturday 23 May 2009 13:52:13 Arttu V. wrote:
>   
>> Note how binutils still is within the system set and gets the extra
>> warning, while python doesn't get the special system set warning with
>> the three exclamation marks? I.e., python *is no longer* in the system
>> set, probably removed by the very change I gave a link for in previous
>> email.
>>
>> AFAIK (haven't checked in portage code), buildsyspkg and such only
>> work with the packages explicitly mentioned in the system set, so
>> binutils is in, python is (nowadays) out -- and that probably explains
>> also what is happening on your smoker. :)
>>
>> Anyone finding flaws in my theories or facts or observations that
>> outright nullify them? :)
>> 
>
> No, I think you are right, and I think somebody cocked up badly.
>
> Examining the current profiles shows that portage and python were removed 
> from 
> base, and python was included back in releases/2008.0/packages (amongst 
> others):
>
> profiles # grep -r 'sys-apps/portage' * | grep packages:
> base/packages:#*>=sys-apps/portage-2.0.51.22
> default-linux/amd64/2007.0/packages:>=sys-apps/portage-2.1.2
> releases/2008.0/packages:>=sys-apps/portage-2.1.4.4
> selinux/packages:>=sys-apps/portage-2.0.49-r15
> selinux/2007.0/packages:>=sys-apps/portage-2.1.2
> profiles # grep -r 'dev-lang/python' * | grep packages:
> base/packages:#*dev-lang/python
>
> I haven't followed this entire thread, so correct me if I'm wrong, but a 
> reasonable explanation might be:
>
> A Gentoo system needs a package manager, but it's doesn't have to be portage. 
> Solution: remove the hardcoded portage and python from base, include them 
> elsewhere and created new profiles for paludis and pkg-merge users.
>
> Except, python got omitted and there's no paludis (yet)
>
> If so, this is a bug and should be reported
>
>
>   

You or the OP care to report it?  If you need info from me, just let me
know the commands.

Dale

:-)  :-) 



Re: [gentoo-user] md5sum mismatch, upgrade from torrent, fsck

2009-05-23 Thread Eric Martin
Thufir wrote:
> I suppose I'll have to re-download the iso if the md5sum doesn't match 
> (which it doesn't per  UbuntuHashes#9.04>)?  The problem is that the iso is corrupted?
>   
Do the md5sums match?  If they do you downloaded the cd fine.  If not,
redownload
> thu...@arrakis:~/Desktop$ 
> thu...@arrakis:~/Desktop$ 
> thu...@arrakis:~/Desktop$ sudo mount -o loop ~/Desktop/ubuntu-9.04-
> alternate-i386.iso /media/cdrom0
> mount: wrong fs type, bad option, bad superblock on /dev/loop0,
>missing codepage or helper program, or other error
>In some cases useful info is found in syslog - try
>dmesg | tail  or so
>
> thu...@arrakis:~/Desktop$  dmesg | tail
> [  461.450949] kjournald starting.  Commit interval 5 seconds
> [  461.451532] EXT3-fs warning: maximal mount count reached, running 
> e2fsck is recommended
> [  461.488324] EXT3 FS on sda1, internal journal
> [  461.488342] EXT3-fs: mounted filesystem with ordered data mode.
> [  616.822097] ISO 9660 Extensions: Microsoft Joliet Level 3
> [  616.993243] ISOFS: changing to secondary root
> [  617.046821] isofs_fill_super: root inode is not a directory. Corrupted 
> media?
> [  636.444512] ISO 9660 Extensions: Microsoft Joliet Level 3
> [  636.446011] ISOFS: changing to secondary root
> [  636.447168] isofs_fill_super: root inode is not a directory. Corrupted 
> media?
> thu...@arrakis:~/Desktop$ 
> thu...@arrakis:~/Desktop$ md5sum ubuntu-9.04-alternate-i386.iso 
> 1dd3245e86b89b38abb01814b05ae299  ubuntu-9.04-alternate-i386.iso
>   
You need to grab the md5sum file and run md5sum -c (md5sumfile)
> thu...@arrakis:~/Desktop$ 
> thu...@arrakis:~/Desktop$ sudo e2fsck -yv /dev/sda1
> [sudo] password for thufir: 
> e2fsck 1.41.3 (12-Oct-2008)
> /dev/sda1 is mounted.  
>   
What is /dev/sda1?  On most of my machines that's boot, although I won't
assume anything.  Also, I believe you can mount stuff read only via
mount -o ro,remount  and fsck will be *much* happier.
> WARNING!!!  Running e2fsck on a mounted filesystem may cause
> SEVERE filesystem damage.
>
> Do you really want to continue (y/n)? no
>
> check aborted.
> thu...@arrakis:~/Desktop$ 
>
>
> I wasn't quite sure how to run fsck without a live cd...
>
> out of curiosity, when I tried to download via the torrent the speed 
> seemed exactly the same as directly downloading the iso but the progress 
> was painfully slow versus directly downloading the CD (which I'll do 
> again).
>
>   
Torrents speeds are based on your peers and isps.  Downloads the
traditional ways are direct connections to one server.  Torrents should
be faster but ISPs throttle you quite frequently. I hope this answered
everything :)
> thanks,
>
> Thufir
>
>   
-- 
Eric




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Alan McKinnon
On Saturday 23 May 2009 13:52:13 Arttu V. wrote:
> Note how binutils still is within the system set and gets the extra
> warning, while python doesn't get the special system set warning with
> the three exclamation marks? I.e., python *is no longer* in the system
> set, probably removed by the very change I gave a link for in previous
> email.
>
> AFAIK (haven't checked in portage code), buildsyspkg and such only
> work with the packages explicitly mentioned in the system set, so
> binutils is in, python is (nowadays) out -- and that probably explains
> also what is happening on your smoker. :)
>
> Anyone finding flaws in my theories or facts or observations that
> outright nullify them? :)

No, I think you are right, and I think somebody cocked up badly.

Examining the current profiles shows that portage and python were removed from 
base, and python was included back in releases/2008.0/packages (amongst 
others):

profiles # grep -r 'sys-apps/portage' * | grep packages:
base/packages:#*>=sys-apps/portage-2.0.51.22
default-linux/amd64/2007.0/packages:>=sys-apps/portage-2.1.2
releases/2008.0/packages:>=sys-apps/portage-2.1.4.4
selinux/packages:>=sys-apps/portage-2.0.49-r15
selinux/2007.0/packages:>=sys-apps/portage-2.1.2
profiles # grep -r 'dev-lang/python' * | grep packages:
base/packages:#*dev-lang/python

I haven't followed this entire thread, so correct me if I'm wrong, but a 
reasonable explanation might be:

A Gentoo system needs a package manager, but it's doesn't have to be portage. 
Solution: remove the hardcoded portage and python from base, include them 
elsewhere and created new profiles for paludis and pkg-merge users.

Except, python got omitted and there's no paludis (yet)

If so, this is a bug and should be reported


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Dale
Arttu V. wrote:
> On 5/23/09, Dale  wrote:
>   
>> This is what I get with this command:
>>
>> r...@smoker / # emerge -ep system | grep python
>> [ebuild   R   ] app-admin/python-updater-0.5
>> [ebuild   R   ] dev-lang/python-2.5.4-r2
>> r...@smoker / #
>>
>> So python is there if you do it emptytree.
>> 
>
> emptytree pulls in *all* dependencies, regardless of whether they are
> in the system set or even if they are just regular dependencies
> (random packages) from an external overlay. So you're not comparing
> apples to apples there with -e, you're getting lot of false positives
> from outside the real system set.
>
> It is still a good question why one would have any system set packages
> having critical dependencies to non-system set packages, but reasoning
> for that has to be asked from the portage devs ...
>
> But backing up a little, try this instead for an amusement (remember
> to --pretend or --ask):
>
> ~ # emerge -pvC python
>
>   
 These are the packages that would be unmerged:
 
>
>  dev-lang/python
> selected: 2.5.4-r2
>protected: none
>  omitted: none
>
>   
 'Selected' packages are slated for removal.
 'Protected' and 'omitted' packages will not be removed.
 
>
> ~ # emerge -pvC binutils
>
>   
 These are the packages that would be unmerged:
 
>
>
> !!! 'sys-devel/binutils' is part of your system profile.
> !!! Unmerging it may be damaging to your system.
>
>
>  sys-devel/binutils
> selected: 2.18-r3
>protected: none
>  omitted: none
>
>   
 'Selected' packages are slated for removal.
 'Protected' and 'omitted' packages will not be removed.
 
>
> ~ #
>
>
> Note how binutils still is within the system set and gets the extra
> warning, while python doesn't get the special system set warning with
> the three exclamation marks? I.e., python *is no longer* in the system
> set, probably removed by the very change I gave a link for in previous
> email.
>
> AFAIK (haven't checked in portage code), buildsyspkg and such only
> work with the packages explicitly mentioned in the system set, so
> binutils is in, python is (nowadays) out -- and that probably explains
> also what is happening on your smoker. :)
>
> Anyone finding flaws in my theories or facts or observations that
> outright nullify them? :)
>
>   

Hmmm, I think someone needs to rethink the system set then.  After all,
portage does not work well without python.  It should keep a binary copy
but it should also warn you if you are typing without your thinking cap on.

Anyone else think this is a bug?  Or should be thought out again as to
being included is system set?

Dale

:-)  :-)



Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Arttu V.
On 5/23/09, Dale  wrote:
> This is what I get with this command:
>
> r...@smoker / # emerge -ep system | grep python
> [ebuild   R   ] app-admin/python-updater-0.5
> [ebuild   R   ] dev-lang/python-2.5.4-r2
> r...@smoker / #
>
> So python is there if you do it emptytree.

emptytree pulls in *all* dependencies, regardless of whether they are
in the system set or even if they are just regular dependencies
(random packages) from an external overlay. So you're not comparing
apples to apples there with -e, you're getting lot of false positives
from outside the real system set.

It is still a good question why one would have any system set packages
having critical dependencies to non-system set packages, but reasoning
for that has to be asked from the portage devs ...

But backing up a little, try this instead for an amusement (remember
to --pretend or --ask):

~ # emerge -pvC python

>>> These are the packages that would be unmerged:

 dev-lang/python
selected: 2.5.4-r2
   protected: none
 omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

~ # emerge -pvC binutils

>>> These are the packages that would be unmerged:


!!! 'sys-devel/binutils' is part of your system profile.
!!! Unmerging it may be damaging to your system.


 sys-devel/binutils
selected: 2.18-r3
   protected: none
 omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

~ #


Note how binutils still is within the system set and gets the extra
warning, while python doesn't get the special system set warning with
the three exclamation marks? I.e., python *is no longer* in the system
set, probably removed by the very change I gave a link for in previous
email.

AFAIK (haven't checked in portage code), buildsyspkg and such only
work with the packages explicitly mentioned in the system set, so
binutils is in, python is (nowadays) out -- and that probably explains
also what is happening on your smoker. :)

Anyone finding flaws in my theories or facts or observations that
outright nullify them? :)

-- 
Arttu V.



Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Dale
Arttu V. wrote:
> Dale wrote:
> > You may want to look into that setting for next time.  I did however
> > notice that although python is in the system set, it is not saving a
> > copy for some reason.  Anybody know why this setting is not working?
> >
> > FEATURES="--keep-going buildsyspkg sandbox fixpackages"
> >
> > Is the buildsyspkg option not valid anymore?
>
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/base/packages?r1=1.40&r2=1.41
>
>
> Python appears to be gone from the base system? Or maybe I'm looking
> at the wrong file? Anyway, 'emerge -pv @system | grep python' would
> seem to agree here.
>
> Now I don't have a PhD in Gentoo Package Manglement (barely passed the
> kindergarten level so far?), but that commit looks rather unsettling
> for other parts as well. Are the devs switching over to paludis in
> droves? Or why is sys-apps/portage commented out as well? Why is it
> replaced by the hard-coded ("old-style"?) virtual/portage?
>

This is what I get with this command:

r...@smoker / # emerge -ep system | grep python
[ebuild   R   ] app-admin/python-updater-0.5
[ebuild   R   ] dev-lang/python-2.5.4-r2
r...@smoker / #

So python is there if you do it emptytree.  I still don't have a binary
of this in packages/All tho.  Also, since portage has to have python,
why is it not saving this?  I put that line in make.conf just in case I
do something like the OP did by mistake.  It appears that this isn't
working.

Ideas?  This a bug?

Dale

:-)  :-) 

P. S.  No PhD here either.



Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Jon Hardcastle

--- On Sat, 23/5/09, Jorge Morais  wrote:

> From: Jorge Morais 
> Subject: Re: [gentoo-user] ARGH I uninstalled python
> To: gentoo-user@lists.gentoo.org
> Date: Saturday, 23 May, 2009, 8:55 AM
> > Thank you! Thank you! Thank
> you!
> > 
> > I followed this
> > 
> > http://blogs.pwmn.net/korkakak/2008/06/04/gentoo-i-unmerged-python-now-what
> > 
> > which worked - in the end. couple of caveats tho for
> anyone 'that follows' get python from their site as the ftp
> link in this article is out of date.
> > 
> > http://www.python.org/download/releases/
> > 
> > also I initially tried 3.01 and that didn't work so i
> installed 2.6.2 which worked 'out of the box' i then tested
> with 'emerge' and am now running 'emerge -va python' 
> > 
> > Cheers guys!
> > 
> > Thanks to Dale too!
> 
> Glad it worked.
> But, I don't know what will happen when the properly
> emerged python
> overwrites the manually installed Python.
> 
> Does anybody know if the manual python install is
> "slotted", in the sense
> that it installs files in /usr/lib/python2.6,
> /usr/include/python2.6, etc?
> If it isn't, and Portage installs a slotted Python, the old
> files wouldn't
> be overwritten.
> And even if it is, the differences between the
> differently-configured and
> super-patched new python and the vanilla old python could
> result in
> a different set of file names, so it is possible that the
> old python
> will not be totally overwritten by the portage-emerged
> python.
> 
> If I were you, I would at the very least read the log
> (specially its tail)
> of the python emerge (emerge logs normally go to
> /var/log/emerge).
> And you did log the files installed by the manual python
> install,
> didn't you?
> 
> And why did you try python 3.01 first? You should try a
> similar vesion to
> what you were previously running. And specifically python
> 3.01 is crazy,
> as it is widely known that it is *not* compatible with
> python 2.x software.
> And did you properly uninstall python 3.0.1?
> 
> Also, I didn't like the instructions in this blog very
> much.
> Wouldn't it be more appropriate to configure python like
> portage would?
> For example, in my system, where the last python install
> was
> dev-lang/python-2.5.4-r2  USE="ncurses readline ssl
> threads xml -berkdb -build -doc -examples -gdbm -ipv6
> -sqlite -tk -ucs2 -wininst"
> 
> the configure line was (from the log)
> ./configure --prefix=/usr --host=i686-pc-linux-gnu
> --mandir=/usr/share/man --infodir=/usr/share/info
> --datadir=/usr/share --sysconfdir=/etc
> --localstatedir=/var/lib --with-fpectl --enable-shared
> --disable-ipv6 --infodir=${prefix}/share/info
> --mandir=${prefix}/share/man --with-libc=
> --enable-unicode=ucs4 --with-threads
> --build=i686-pc-linux-gnu
> 
> Maybe it would  be nice to install python to 
> /usr/local (I'm not sure),
> but if you are going to install it in /usr (like portage),
> I think you
> might as well use the same configure line portage would.
> And if you wanted to be really clean, you could apply the
> patches that
> portage applies.
> 
> And most importantly,
> *was this necessary*?
> Couldn't he have emerged python by invoking
> ebuild
> /usr/port/usr/portage/dev-lang/python/python-2.6.2.ebuild
> merge
> ?
> This would do everyting correctly.
> And wouldn't it work without Python, since it is written in
> Bash?
> AFAIK, what needs Python is the high level interface to the
> portage
> system, while the low-level interface only needs Bash (but
> I'm
> totally not sure).
> 
> And finally, couldn't he have gotten a binary package from
> http://tinderbox.dev.gentoo.org/default-linux/x86/dev-lang/
> ?
> 
> 

Also that emerge borked ebuild too.

---
N: Jon Hardcastle
E: j...@ehardcastle.com
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'

Please sponsor me for the London to Brighton 2009.
Just Giving: http://www.justgiving.com/jonathanhardcastle
---






Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Jon Hardcastle

--- On Sat, 23/5/09, Jorge Morais  wrote:

> From: Jorge Morais 
> Subject: Re: [gentoo-user] ARGH I uninstalled python
> To: gentoo-user@lists.gentoo.org
> Date: Saturday, 23 May, 2009, 8:55 AM
> > Thank you! Thank you! Thank
> you!
> > 
> > I followed this
> > 
> > http://blogs.pwmn.net/korkakak/2008/06/04/gentoo-i-unmerged-python-now-what
> > 
> > which worked - in the end. couple of caveats tho for
> anyone 'that follows' get python from their site as the ftp
> link in this article is out of date.
> > 
> > http://www.python.org/download/releases/
> > 
> > also I initially tried 3.01 and that didn't work so i
> installed 2.6.2 which worked 'out of the box' i then tested
> with 'emerge' and am now running 'emerge -va python' 
> > 
> > Cheers guys!
> > 
> > Thanks to Dale too!
> 
> Glad it worked.
> But, I don't know what will happen when the properly
> emerged python
> overwrites the manually installed Python.
> 
> Does anybody know if the manual python install is
> "slotted", in the sense
> that it installs files in /usr/lib/python2.6,
> /usr/include/python2.6, etc?
> If it isn't, and Portage installs a slotted Python, the old
> files wouldn't
> be overwritten.
> And even if it is, the differences between the
> differently-configured and
> super-patched new python and the vanilla old python could
> result in
> a different set of file names, so it is possible that the
> old python
> will not be totally overwritten by the portage-emerged
> python.
> 
> If I were you, I would at the very least read the log
> (specially its tail)
> of the python emerge (emerge logs normally go to
> /var/log/emerge).
> And you did log the files installed by the manual python
> install,
> didn't you?
> 
> And why did you try python 3.01 first? You should try a
> similar vesion to
> what you were previously running. And specifically python
> 3.01 is crazy,
> as it is widely known that it is *not* compatible with
> python 2.x software.
> And did you properly uninstall python 3.0.1?
> 
> Also, I didn't like the instructions in this blog very
> much.
> Wouldn't it be more appropriate to configure python like
> portage would?
> For example, in my system, where the last python install
> was
> dev-lang/python-2.5.4-r2  USE="ncurses readline ssl
> threads xml -berkdb -build -doc -examples -gdbm -ipv6
> -sqlite -tk -ucs2 -wininst"
> 
> the configure line was (from the log)
> ./configure --prefix=/usr --host=i686-pc-linux-gnu
> --mandir=/usr/share/man --infodir=/usr/share/info
> --datadir=/usr/share --sysconfdir=/etc
> --localstatedir=/var/lib --with-fpectl --enable-shared
> --disable-ipv6 --infodir=${prefix}/share/info
> --mandir=${prefix}/share/man --with-libc=
> --enable-unicode=ucs4 --with-threads
> --build=i686-pc-linux-gnu
> 
> Maybe it would  be nice to install python to 
> /usr/local (I'm not sure),
> but if you are going to install it in /usr (like portage),
> I think you
> might as well use the same configure line portage would.
> And if you wanted to be really clean, you could apply the
> patches that
> portage applies.
> 
> And most importantly,
> *was this necessary*?
> Couldn't he have emerged python by invoking
> ebuild
> /usr/port/usr/portage/dev-lang/python/python-2.6.2.ebuild
> merge
> ?
> This would do everyting correctly.
> And wouldn't it work without Python, since it is written in
> Bash?
> AFAIK, what needs Python is the high level interface to the
> portage
> system, while the low-level interface only needs Bash (but
> I'm
> totally not sure).
> 
> And finally, couldn't he have gotten a binary package from
> http://tinderbox.dev.gentoo.org/default-linux/x86/dev-lang/
> ?
> 
> 

As it happens it didn't work after all. The emerge broke it again and i got an 
error from python.

All of your advise here is fantastic and i urge anyone that follows to do as 
you suggest - but i didn't fully uninstall either python install and i plan to 
just leave them minding their own business (hopefully) as i cant be bothered to 
track all the files down. 

Your final line suggestion to use ebuild worked - although i had to change the 
path. I am running emerge -va python a and it had the same effect as install 
from wget and then emerging it. I get

  File "/usr/bin/emerge", line 41
except PermissionDenied, e:
   ^
SyntaxError: invalid syntax

Any clues here?

---
N: Jon Hardcastle
E: j...@ehardcastle.com
'Do not worry about tomorrow, for tomorrow will bring worries of its own.'

Please sponsor me for the London to Brighton 2009.
Just Giving: http://www.justgiving.com/jonathanhardcastle
---






Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Jorge Morais
On Sat, 23 May 2009 04:55:04 -0300
Jorge Morais  wrote:

> Couldn't he have emerged python by invoking
> ebuild /usr/port/usr/portage/dev-lang/python/python-2.6.2.ebuild merge
> ?
> This would do everyting correctly.
> And wouldn't it work without Python, since it is written in Bash?
> AFAIK, what needs Python is the high level interface to the portage
> system, while the low-level interface only needs Bash (but I'm
> totally not sure).
Please forget this stupidity. The ebuild command is written in Python,
not Bash (should have written the email with less haste)
> 
> And finally, couldn't he have gotten a binary package from
> http://tinderbox.dev.gentoo.org/default-linux/x86/dev-lang/
> ?
But this point still stands.



Re: [gentoo-user] firefox 3.0.10 crashes

2009-05-23 Thread dhk

Paul Hartman wrote:

On Wed, May 20, 2009 at 4:52 PM, dhk  wrote:

Ever since I upgraded firefox to version 3 it crashes when certain pages are
opened.  Currently I have version 3.0.10 and amd64.  I've been hoping the
problem would get fixed, but it hasn't been yet.  For example I can not even
go to ebay ( http://www.ebay.com ), the page flashes and then firefox
crashes.  Does anyone know what's causing this and how it can be fixed?


My guess would be flash... try uninstalling flash, java,
nspluginwrapper, disabling add-ons, etc one by one until you find the
cause.




It was the adobe-flash.  I uninstalled it and all was fine.  The emerge 
-pv adobe-flash looks like the following:

[ebuild  N] www-plugins/adobe-flash-10.0.22.87  USE="32bit (multilib)".

I installed it again and Firefox crashes on certain sites.  So now it's 
uninstalled again.  At least Firefox is stable now.  Is there a flash 
that works?


Thanks,
dhk



[gentoo-user] gentoo-user+unsubscr...@lists.gentoo.org

2009-05-23 Thread wangbj








Re: [gentoo-user] Re: disable syanptics pad

2009-05-23 Thread Mick
On Friday 22 May 2009, james wrote:
> Paul Hartman  gmail.com> writes:
> > I think you need to set corepointer=0 in the FDI file or something
> > similar to that. Or if you're using xorg.conf point it to a specific
> > mouse instead of /dev/mice or whatever the catch-all mouse device is.
> > May be able to get rid of it "even more" with udev rules or something
> > to just make it go away. Sorry I don't have specific examples, I'm on
> > a windows machine right now.
>
> I'm sure your information is good. But, I need specifics

This is from my /etc/hal/fdi/policy/10-xinput-configuration.fdi:
=
 
   

   
synaptics 
true
true
true
1
1



=

Try modifying the above with something like:
0

You may want to try my fdi as is first.  It may just work without problems in 
your setup and the touchpad will become useful again.

Note: This is on a system which does not use xorg.conf anymore.  I am not sure 
how things get parsed by xorg when both an fdi and a xorg.conf are present.

HTH.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] ARGH I uninstalled python

2009-05-23 Thread Jorge Morais
> Thank you! Thank you! Thank you!
> 
> I followed this
> 
> http://blogs.pwmn.net/korkakak/2008/06/04/gentoo-i-unmerged-python-now-what
> 
> which worked - in the end. couple of caveats tho for anyone 'that follows' 
> get python from their site as the ftp link in this article is out of date.
> 
> http://www.python.org/download/releases/
> 
> also I initially tried 3.01 and that didn't work so i installed 2.6.2 which 
> worked 'out of the box' i then tested with 'emerge' and am now running 
> 'emerge -va python' 
> 
> Cheers guys!
> 
> Thanks to Dale too!

Glad it worked.
But, I don't know what will happen when the properly emerged python
overwrites the manually installed Python.

Does anybody know if the manual python install is "slotted", in the sense
that it installs files in /usr/lib/python2.6, /usr/include/python2.6, etc?
If it isn't, and Portage installs a slotted Python, the old files wouldn't
be overwritten.
And even if it is, the differences between the differently-configured and
super-patched new python and the vanilla old python could result in
a different set of file names, so it is possible that the old python
will not be totally overwritten by the portage-emerged python.

If I were you, I would at the very least read the log (specially its tail)
of the python emerge (emerge logs normally go to /var/log/emerge).
And you did log the files installed by the manual python install,
didn't you?

And why did you try python 3.01 first? You should try a similar vesion to
what you were previously running. And specifically python 3.01 is crazy,
as it is widely known that it is *not* compatible with python 2.x software.
And did you properly uninstall python 3.0.1?

Also, I didn't like the instructions in this blog very much.
Wouldn't it be more appropriate to configure python like
portage would?
For example, in my system, where the last python install was
dev-lang/python-2.5.4-r2  USE="ncurses readline ssl threads xml -berkdb -build 
-doc -examples -gdbm -ipv6 -sqlite -tk -ucs2 -wininst"

the configure line was (from the log)
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man 
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
--localstatedir=/var/lib --with-fpectl --enable-shared --disable-ipv6 
--infodir=${prefix}/share/info --mandir=${prefix}/share/man --with-libc= 
--enable-unicode=ucs4 --with-threads --build=i686-pc-linux-gnu

Maybe it would  be nice to install python to  /usr/local (I'm not sure),
but if you are going to install it in /usr (like portage), I think you
might as well use the same configure line portage would.
And if you wanted to be really clean, you could apply the patches that
portage applies.

And most importantly,
*was this necessary*?
Couldn't he have emerged python by invoking
ebuild /usr/port/usr/portage/dev-lang/python/python-2.6.2.ebuild merge
?
This would do everyting correctly.
And wouldn't it work without Python, since it is written in Bash?
AFAIK, what needs Python is the high level interface to the portage
system, while the low-level interface only needs Bash (but I'm
totally not sure).

And finally, couldn't he have gotten a binary package from
http://tinderbox.dev.gentoo.org/default-linux/x86/dev-lang/
?



[gentoo-user] md5sum mismatch, upgrade from torrent, fsck

2009-05-23 Thread Thufir
I suppose I'll have to re-download the iso if the md5sum doesn't match 
(which it doesn't per )?  The problem is that the iso is corrupted?

thu...@arrakis:~/Desktop$ 
thu...@arrakis:~/Desktop$ 
thu...@arrakis:~/Desktop$ sudo mount -o loop ~/Desktop/ubuntu-9.04-
alternate-i386.iso /media/cdrom0
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
   missing codepage or helper program, or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

thu...@arrakis:~/Desktop$  dmesg | tail
[  461.450949] kjournald starting.  Commit interval 5 seconds
[  461.451532] EXT3-fs warning: maximal mount count reached, running 
e2fsck is recommended
[  461.488324] EXT3 FS on sda1, internal journal
[  461.488342] EXT3-fs: mounted filesystem with ordered data mode.
[  616.822097] ISO 9660 Extensions: Microsoft Joliet Level 3
[  616.993243] ISOFS: changing to secondary root
[  617.046821] isofs_fill_super: root inode is not a directory. Corrupted 
media?
[  636.444512] ISO 9660 Extensions: Microsoft Joliet Level 3
[  636.446011] ISOFS: changing to secondary root
[  636.447168] isofs_fill_super: root inode is not a directory. Corrupted 
media?
thu...@arrakis:~/Desktop$ 
thu...@arrakis:~/Desktop$ md5sum ubuntu-9.04-alternate-i386.iso 
1dd3245e86b89b38abb01814b05ae299  ubuntu-9.04-alternate-i386.iso
thu...@arrakis:~/Desktop$ 
thu...@arrakis:~/Desktop$ sudo e2fsck -yv /dev/sda1
[sudo] password for thufir: 
e2fsck 1.41.3 (12-Oct-2008)
/dev/sda1 is mounted.  

WARNING!!!  Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.

Do you really want to continue (y/n)? no

check aborted.
thu...@arrakis:~/Desktop$ 


I wasn't quite sure how to run fsck without a live cd...

out of curiosity, when I tried to download via the torrent the speed 
seemed exactly the same as directly downloading the iso but the progress 
was painfully slow versus directly downloading the CD (which I'll do 
again).


thanks,

Thufir