LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 02-21-2011, 05:25 AM   #16
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33

Can you please post here yours USE flag because every time i merged something i used to delete the old USE flag and write a new one with the USE flags that the new package needed.
 
Old 02-21-2011, 05:36 AM   #17
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
My USE flags will be irrelevant for you, I have many huge files in /etc/portage/package.use/ to define them per-package, and they have been very finely grained during almost a decade and are suited to my tastes.

All you need to do is to edit your /make.conf, look for a line starting with USE="....." and add "consolekit to the list of USE flags. If USE is not there then add it.

Also, please, read the handbook and use Gentoo in a smart way. You are doing something very wrong if you set and unset USE flags that way. That way, the USE settings are not stored, and the next time you do "emerge -auDvN world" everything related to USE flags will be lost. To live statically USE flags need to be stored either in your profile, or in your /etc/make.conf or /etc/portage/package.use/* files. Otherwise, functionalities will come and go and you will be wondering why feature X is working today, not tomorrow, and maybe the next years. Randomness like that is not funny.
 
Old 02-21-2011, 06:22 AM   #18
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
Here is the result

of ps command

Quote:
root 3763 0.0 0.1 17388 2848 ? Sl 09:10 0:00 /usr/sbin/console-kit-daemon --no-daemon
root 4050 0.0 0.0 1992 520 pts/0 S+ 09:34 0:00 grep --colour=auto -i console

Seems ok.. now im going to emerge -auDvN world
 
Old 02-21-2011, 06:39 AM   #19
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
An error returned here..


Quote:
These are the packages that would be merged, in order:

Calculating dependencies... done!


[nomerge ] gnome-base/gnome-2.30.2-r1 USE="cdr* cups policykit -accessibility -dvdr -ldap -mono"
[nomerge ] gnome-extra/gnome-games-2.28.2 USE="test* -artworkextra -guile -opengl -sdl"
[nomerge ] dev-python/pycairo-1.8.10 USE="doc* test* -examples -svg"
[nomerge ] dev-python/pytest-2.0.0
[ebuild N ] dev-python/py-1.4.0 USE="test" 218 kB
[ebuild N ] dev-python/pytest-2.0.0 240 kB
[nomerge ] gnome-base/gnome-2.30.2-r1 USE="cdr* cups policykit -accessibility -dvdr -ldap -mono"
[nomerge ] gnome-extra/hamster-applet-2.30.2-r1 USE="libnotify* -eds"
[nomerge ] dev-python/libwnck-python-2.30.2-r1 USE="-examples"
[nomerge ] dev-python/gnome-python-desktop-base-2.30.2
[nomerge ] dev-python/pygtk-2.17.0 USE="doc* test* -examples"
[nomerge ] dev-python/pycairo-1.8.10 USE="doc* test* -examples -svg"
[nomerge ] dev-python/sphinx-1.0.5 USE="doc test -latex"
[ebuild N ] dev-python/jinja-2.5.5 USE="doc -examples -i18n -vim-syntax" 429 kB
[ebuild N ] dev-python/sphinx-1.0.5 USE="doc test -latex" 2,359 kB
[ebuild R ] media-sound/rhythmbox-0.12.8-r1 USE="cdr* daap* debug* doc* gnome-keyring* hal ipod* libnotify* mtp* python test* udev* upnp* -lirc -musicbrainz -nsplugin -webkit" 0 kB
[ebuild N ] media-video/coherence-0.6.6.1 351 kB
[ebuild N ] dev-python/louie-1.1 USE="test" 22 kB
[nomerge ] media-video/vlc-1.1.7 USE="X a52 aac aalib* alsa atmo* avahi* bidi* cdda* cddb* dbus debug* dirac* directfb* dts dvb* dvd ffmpeg flac* fontconfig* gcrypt gnome libnotify* live mp3 mpeg mtp* ncurses ogg* opengl png* projectm* qt4 sdl skins sqlite truetype udev* upnp* vorbis win32codecs xcb xml* xv (-altivec) -dc1394 -fbcon -fluidsynth -ggi -gme -gnutls -httpd -id3tag -ieee1394 -jack -kate -kde -libass -libcaca -libproxy -libtiger -libv4l -libv4l2 -lirc -lua -matroska -mmx -modplug -musepack -nsplugin -optimisememory -oss -pulseaudio -pvr -remoteosd -rtsp -run-as-root -samba -schroedinger -sdl-image -shine -shout -speex -sse -stream -svg -svga -taglib -theora -twolame -v4l -v4l2 -vaapi -vcdx -vlm -wma-fixed -x264 -xosd -zvbi"
[nomerge ] net-dns/avahi-0.6.25-r1 USE="dbus doc gdbm gtk ipv6 mdnsresponder-compat python test -autoipd -bookmarks -howl-compat -mono -qt4"
[nomerge ] dev-python/pygtk-2.17.0 USE="doc* test* -examples"
[nomerge ] dev-python/numpy-1.5.1 USE="doc* test* -lapack"
[nomerge ] dev-python/nose-1.0.0 USE="doc test -examples"
[nomerge ] dev-python/sphinx-1.0.5 USE="doc test -latex"
[ebuild N ] dev-python/pygments-1.4 USE="doc test" 3,451 kB
[ebuild N ] dev-python/nose-1.0.0 USE="doc test -examples" 702 kB
[ebuild R ] dev-python/numpy-1.5.1 USE="doc* test* -lapack" 15,840 kB
[ebuild R ] dev-python/pycairo-1.8.10 USE="doc* test* -examples -svg" 0 kB

Total: 11 packages (8 new, 3 reinstalls), Size of downloads: 23,608 kB

* Error: circular dependencies:

(dev-python/sphinx-1.0.5, ebuild scheduled for merge) depends on
(dev-python/jinja-2.5.5, ebuild scheduled for merge) (buildtime)
(dev-python/sphinx-1.0.5, ebuild scheduled for merge) (buildtime)

It might be possible to break this cycle
by applying the following change:
- dev-python/jinja-2.5.5 (Change USE: -doc)

Note that this change can be reverted, once the package has been installed.

Note that the dependency graph contains a lot of cycles.
Several changes might be required to resolve all cycles.
Temporarily changing some use flag for all packages might be the better option.
I just add a "-" infront of doc and test. Run again the emerge -auDvN world and now it tells me
this "Total: 235 packages (57 new, 1 in new slot, 177 reinstalls), Size of downloads: 220,225 kB"

I will answer "yes"

Last edited by netpumber; 02-21-2011 at 06:56 AM.
 
Old 02-21-2011, 08:22 AM   #20
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
It seems your system is a bit outdated but there's nothing in there about consolekit. So, you should be fine in that regard.

However, now that you are at it, proceed with the updates. They won't do any harm.

In any case, since everything seems to be fine, can you -please- show us the output for this command?

Code:
ck-list-sessions
You should run that command from an xterm (or similar) once you have started the X session. Also, please, post the contents of /etc/fstab
 
1 members found this post helpful.
Old 02-21-2011, 08:54 AM   #21
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
Quote:
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs> <mountpoint> <type> <opts> <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1 /boot ext2 noauto 1 2
/dev/sda2 none swap sw 0 0
/dev/sda3 / ext4 noatime 0 1
/dev/sdb1 /mnt/disk ext3 auto,user 0 0

/dev/cdrom /mnt/cdrom auto noauto,user 0 0

proc /proc proc defaults 0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
The result of ck-list-sessions i ll post it when update end..cause im not now in X enviroment
 
Old 02-21-2011, 09:02 AM   #22
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Is /dev/sdb1 a real disk? Maybe that line is interfering somehow. You can try one thing: run "dmesg", look at the last few lines, then plug your pen drive into the usb bay and run "dmesg" again. There should be some more output, look at it and see which device node is the usb stick attached to. Then try to mount it manually as a regular user.

If in doubt, paste that new output from "dmesg" here as well.
 
Old 02-21-2011, 09:08 AM   #23
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
The /dev/sdb1 is real disk.. is my storage disk..
 
Old 02-21-2011, 11:45 AM   #24
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
Hmmm returned an error and stopped..

Quote:
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/gnome-base/libgtop-2.28.2/work/libgtop-2.28.2/config.log
* ERROR: gnome-base/libgtop-2.28.2 failed:
* econf failed
*
* Call stack:
* ebuild.sh, line 56: Called src_configure
* environment, line 1505: Called gnome2_src_configure
* environment, line 1248: Called econf '--disable-static' '--enable-debug=yes' '--disable-gtk-doc'
* ebuild.sh, line 552: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =gnome-base/libgtop-2.28.2',
* the complete build log and the output of 'emerge -pqv =gnome-base/libgtop-2.28.2'.
* The complete build log is located at '/var/tmp/portage/gnome-base/libgtop-2.28.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-base/libgtop-2.28.2/temp/environment'.
* S: '/var/tmp/portage/gnome-base/libgtop-2.28.2/work/libgtop-2.28.2'

>>> Failed to emerge gnome-base/libgtop-2.28.2, Log file:

>>> '/var/tmp/portage/gnome-base/libgtop-2.28.2/temp/build.log'

* Messages for package net-libs/libupnp-1.6.6:

* Please remember to run revdep-rebuild when upgrading
* from libupnp 1.4.x to libupnp 1.6.x , so packages
* gets linked with the new library.
*
* The revdep-rebuild script is part of the
* app-portage/gentoolkit package.

* Messages for package gnome-base/libgtop-2.28.2:

* ERROR: gnome-base/libgtop-2.28.2 failed:
* econf failed
*
* Call stack:
* ebuild.sh, line 56: Called src_configure
* environment, line 1505: Called gnome2_src_configure
* environment, line 1248: Called econf '--disable-static' '--enable-debug=yes' '--disable-gtk-doc'
* ebuild.sh, line 552: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =gnome-base/libgtop-2.28.2',
* the complete build log and the output of 'emerge -pqv =gnome-base/libgtop-2.28.2'.
* The complete build log is located at '/var/tmp/portage/gnome-base/libgtop-2.28.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-base/libgtop-2.28.2/temp/environment'.
* S: '/var/tmp/portage/gnome-base/libgtop-2.28.2/work/libgtop-2.28.2'

* GNU info directory index is up-to-date.

* IMPORTANT: 1 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.

Last edited by netpumber; 02-21-2011 at 11:52 AM.
 
Old 02-21-2011, 12:27 PM   #25
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
Sh***t now nothing works... i try to start the x and doesn't work.


Quote:
Current version of pixman: 0.20.0
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: Fri Feb 18 15:42:59 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
dlopen: libdrm_nouveau.so.1: cannot open shared object file: No such file or directory
(EE) Failed to load /usr/lib/xorg/modules/drivers/nouveau_drv.so
(EE) Failed to load module "nouveau" (loader failed, 7)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
also i can't edit any file . This
http://pastebin.com/pU3SB4bG
returns before i open nano editor.

Last edited by netpumber; 02-21-2011 at 12:30 PM.
 
Old 02-21-2011, 04:17 PM   #26
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by netpumber View Post
Hmmm returned an error and stopped..
Well, did you read the error and try to run revdep-rebuild as it suggested? Some packages might need to be recompiled.
 
Old 02-21-2011, 04:20 PM   #27
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by netpumber View Post
Sh***t now nothing works... i try to start the x and doesn't work.
Probably more of the same. When you recompile some critical X package, often, you also need to recompile all the X drivers so the ABIs match. Try recompiling x11-drivers/xf86-video-nouveau,

Code:
emerge -1 --nodeps x11-drivers/xf86-video-nouveau

Quote:
also i can't edit any file . This
http://pastebin.com/pU3SB4bG
returns before i open nano editor.
I never saw anything similar, but I noticed you didn't update your config files properly in your other post above. That's also a dangerous thing to ignore:

Code:
* IMPORTANT: 1 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
Try running etc-update and fixing your config files. Maybe that's the source of the problem. Otherwise, I can't be of much help on diagnosing nano problems.
 
Old 02-22-2011, 03:33 AM   #28
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
1st i ran revdep-rebuild

Here is the output:

http://pastebin.com/wcgC3tEZ

Then i run USE="video_cards_nouveau" revdep-rebuild (i can't edit my /etc/make.conf so i wrote it like this)
All went OK with x11-drivers/xf86-video-nouveau and now the revdep-rebuild returns this :

Quote:
* Configuring search environment for revdep-rebuild

* Checking reverse dependencies
* Packages containing binaries and libraries broken by a package update
* will be emerged.

* Collecting system binaries and libraries
* Generated new 1_files.rr
* Collecting complete LD_LIBRARY_PATH
* Generated new 2_ldpath.rr
* Checking dynamic linking consistency
[ 100% ]

* Dynamic linking on your system is consistent... All done.
After this i type etc-update but don't know what to choose

Quote:
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/pm/config.d/gentoo (1)
Please select a file to edit by entering the corresponding number.
(don't use -3, -5, -7 or -9 if you're unsure what to do)
(-1 to exit) (-3 to auto merge all remaining files)
(-5 to auto-merge AND not use 'mv -i')
(-7 to discard all updates)
(-9 to discard all updates AND not use 'rm -i'):
I want to make this (with the conf file) and then run again emerge -auDvN world and see what will happen..
 
Old 02-22-2011, 04:32 AM   #29
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by netpumber View Post
1st i ran revdep-rebuild

Here is the output:

http://pastebin.com/wcgC3tEZ

Then i run USE="video_cards_nouveau" revdep-rebuild (i can't edit my /etc/make.conf so i wrote it like this)
All went OK with x11-drivers/xf86-video-nouveau and now the revdep-rebuild returns this :
The var you are looking for is VIDEO_CARDS, not USE. They are -internally- USE flags, but they work this way:

Code:
VIDEO_CARDS="nouveau" emerge <foo>
Quote:
After this i type etc-update but don't know what to choose
If you didn't change the file it is referring to, then choose the option to replace the old file with the new one. I think it's "1", but just read yourself. I am not sure right now.
 
Old 02-22-2011, 04:52 AM   #30
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 423

Original Poster
Rep: Reputation: 33
Hmm nothing changed :S do far..
The same error is still here..
Quote:
>>> Failed to emerge gnome-base/libgtop-2.28.2, Log file:

>>> '/var/tmp/portage/gnome-base/libgtop-2.28.2/temp/build.log'

* Messages for package gnome-base/libgtop-2.28.2:

* ERROR: gnome-base/libgtop-2.28.2 failed:
* econf failed
*
* Call stack:
* ebuild.sh, line 56: Called src_configure
* environment, line 1508: Called gnome2_src_configure
* environment, line 1251: Called econf '--disable-static' '--enable-debug=yes' '--disable-gtk-doc'
* ebuild.sh, line 552: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =gnome-base/libgtop-2.28.2',
* the complete build log and the output of 'emerge -pqv =gnome-base/libgtop-2.28.2'.
* The complete build log is located at '/var/tmp/portage/gnome-base/libgtop-2.28.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-base/libgtop-2.28.2/temp/environment'.
* S: '/var/tmp/portage/gnome-base/libgtop-2.28.2/work/libgtop-2.28.2'
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem mounting flash drive john1234 Linux - Newbie 2 12-13-2008 01:44 PM
Problem while mounting the USB flash drive Nishant Desai Linux - Hardware 7 09-04-2006 11:31 PM
Problem In mounting flash drive RajendraKumar Linux - Newbie 4 07-23-2006 04:53 AM
Problem mounting usb flash drive with 2.6.12.2 kernel dcdbutler Slackware 16 09-12-2005 07:48 PM
USB flash drive mounting problem guillaume31 Linux - Hardware 4 05-23-2005 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration