banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Forum Index Thảo luận hệ điều hành *nix Lỗi emerge cài đặt gnome cho gentoo!  XML
  [Question]   Lỗi emerge cài đặt gnome cho gentoo! 10/09/2011 19:49:12 (+0700) | #1 | 246826
[Avatar]
vitcon01
Member

[Minus]    0    [Plus]
Joined: 29/04/2009 11:28:21
Messages: 306
Offline
[Profile] [PM]
Anh chị nào đang dùng và đã tưng dụng gentoo, xin giải đáp giúp em .

Em cài đặt gnome thông qua câu lệnh

Code:
emerge gnome


Kết quá:
Code:
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

 * Last emerge --sync was 61d 20h 28m 51s ago.
Calculating dependencies... done!


[nomerge       ] gnome-base/gnome-2.32.1  USE="cups -accessibility -cdr -dvdr -ldap -mono -policykit"
[nomerge       ]  gnome-base/gvfs-1.6.7-r1  USE="cdda gdu gnome http udev -archive -avahi -bash-completion -bluetooth -doc -fuse -gnome-keyring -gphoto2 -ios (-prefix) -samba"
[nomerge       ]   sys-apps/gnome-disk-utility-2.32.1-r1  USE="-avahi -doc -fat -gnome-keyring -nautilus -remote-access"
[nomerge       ]    x11-misc/xdg-utils-1.1.0_rc1_p20110519  USE="-doc"
[nomerge       ]     dev-perl/File-MimeInfo-0.15-r1  USE="-test"
[nomerge       ]      dev-perl/File-DesktopEntry-0.04  USE="-test"
[nomerge       ]       dev-perl/File-BaseDir-0.03  USE="-test"
[nomerge       ]        virtual/perl-Module-Build-0.380.0-r2
[nomerge       ]         perl-core/Module-Build-0.380.0
[nomerge       ]          virtual/perl-CPAN-Meta-2.110.930
[ebuild  N     ]           perl-core/CPAN-Meta-2.110.930  69 kB
[ebuild  N     ]            virtual/perl-ExtUtils-MakeMaker-6.580.0  0 kB
[ebuild  N     ]             perl-core/ExtUtils-MakeMaker-6.580.0  405 kB
[ebuild  N     ]         perl-core/Module-Build-0.380.0  299 kB
[ebuild  N     ]          virtual/perl-CPAN-Meta-2.110.930  0 kB
[ebuild  N     ] gnome-base/gnome-2.32.1  USE="cups -accessibility -cdr -dvdr -ldap -mono -policykit" 0 kB
[ebuild  N     ] sys-apps/gnome-disk-utility-2.32.1-r1  USE="-avahi -doc -fat -gnome-keyring -nautilus -remote-access" 2,165 kB
[nomerge       ] gnome-base/gnome-2.32.1  USE="cups -accessibility -cdr -dvdr -ldap -mono -policykit"
[ebuild  N     ]  gnome-base/gdm-2.20.11  USE="consolekit pam tcpd -accessibility -afs -branding -debug -dmx -gnome-keyring -ipv6 -remote (-selinux) -xinerama" 3,923 kB
[ebuild  N     ]   x11-misc/xdg-utils-1.1.0_rc1_p20110519  USE="-doc" 288 kB
[ebuild  N     ]    dev-perl/File-MimeInfo-0.15-r1  USE="-test" 29 kB
[ebuild  N     ]     dev-perl/File-DesktopEntry-0.04  USE="-test" 14 kB
[ebuild  N     ]      dev-perl/File-BaseDir-0.03  USE="-test" 6 kB
[ebuild  N     ]       virtual/perl-Module-Build-0.380.0-r2  0 kB
[ebuild  N     ]  media-sound/sound-juicer-2.32.0  USE="-debug -test" 2,127 kB
[ebuild  N     ]   gnome-base/gvfs-1.6.7-r1  USE="cdda gdu gnome http udev -archive -avahi -bash-completion -bluetooth -doc -fuse -gnome-keyring -gphoto2 -ios (-prefix) -samba" 1,372 kB

Total: 15 packages (15 new), Size of downloads: 10,693 kB

 * Error: circular dependencies:

(perl-core/CPAN-Meta-2.110.930::gentoo, ebuild scheduled for merge) depends on
 (virtual/perl-ExtUtils-MakeMaker-6.580.0::gentoo, ebuild scheduled for merge) (buildtime)
  (perl-core/ExtUtils-MakeMaker-6.580.0::gentoo, ebuild scheduled for merge) (runtime)
   (virtual/perl-CPAN-Meta-2.110.930::gentoo, ebuild scheduled for merge) (buildtime)
    (perl-core/CPAN-Meta-2.110.930::gentoo, ebuild scheduled for merge) (runtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-fs/udev:0

  (sys-fs/udev-171-r1::gentoo, installed) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (sys-fs/udev-171-r1::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-fs/udev-171[gudev] required by (gnome-base/gvfs-1.6.7-r1::gentoo, ebuild scheduled for merge)
    >=sys-fs/udev-171[gudev] required by (sys-power/upower-0.9.12::gentoo, ebuild scheduled for merge)
    >=sys-fs/udev-171[gudev] required by (sys-fs/udisks-1.0.3-r1::gentoo, ebuild scheduled for merge)
    >=sys-fs/udev-171[gudev] required by (media-video/cheese-2.32.0::gentoo, ebuild scheduled for merge)

dev-lang/python:3.2

  (dev-lang/python-3.2::gentoo, installed) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-lang/python-3.2::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-lang/python-2.5[sqlite] required by (gnome-extra/hamster-applet-2.32.1::gentoo, ebuild scheduled for merge)


!!! Enabling --newuse and --update might solve this conflict.
!!! If not, it might help emerge to give a more specific suggestion.


The following USE changes are necessary to proceed:
#required by media-video/cheese-2.32.0, required by gnome-base/gnome-2.32.1, required by gnome (argument)
>=sys-apps/dbus-1.4.12 X
#required by sys-auth/polkit-0.101-r1, required by sys-fs/udisks-1.0.3-r1, required by sys-apps/gnome-disk-utility-2.32.1-r1, required by gnome-base/gvfs-1.6.7-r1[gdu], required by gnome-base/libgnome-2.32.1, required by gnome-base/libgnomeui-2.24.5, required by dev-python/libgnome-python-2.28.1, required by gnome-extra/hamster-applet-2.32.1, required by gnome-base/gnome-2.32.1, required by gnome (argument)
>=sys-auth/consolekit-0.4.5-r1 policykit
#required by media-sound/sound-juicer-2.32.0, required by gnome-base/gnome-2.32.1, required by gnome (argument)
>=gnome-base/gvfs-1.6.7-r1 cdda gdu
#required by sys-fs/udisks-1.0.3-r1, required by sys-apps/gnome-disk-utility-2.32.1-r1, required by gnome-base/gvfs-1.6.7-r1[gdu], required by gnome-base/libgnome-2.32.1, required by gnome-base/libgnomeui-2.24.5, required by dev-python/libgnome-python-2.28.1, required by gnome-extra/hamster-applet-2.32.1, required by gnome-base/gnome-2.32.1, required by gnome (argument)
=sys-block/parted-2.4 device-mapper
#required by net-libs/xulrunner-2.0.1-r1, required by gnome-extra/yelp-2.30.2-r6, required by gnome-base/gnome-2.32.1, required by gnome (argument)
=media-libs/libpng-1.4.8-r1 apng
#required by x11-wm/metacity-2.30.3, required by gnome-base/gnome-control-center-2.32.1-r1, required by gnome-extra/hamster-applet-2.32.1, required by gnome-base/gnome-2.32.1, required by gnome (argument)
>=x11-libs/pango-1.28.4 X
#required by sys-fs/udisks-1.0.3-r1, required by sys-apps/gnome-disk-utility-2.32.1-r1, required by gnome-base/gvfs-1.6.7-r1[gdu], required by gnome-base/libgnome-2.32.1, required by gnome-base/libgnomeui-2.24.5, required by dev-python/libgnome-python-2.28.1, required by gnome-extra/hamster-applet-2.32.1, required by gnome-base/gnome-2.32.1, required by gnome (argument)
=sys-fs/udev-171-r1 gudev
#required by gnome-extra/hamster-applet-2.32.1, required by gnome-base/gnome-2.32.1, required by gnome (argument)
>=dev-lang/python-3.2 sqlite
#required by x11-libs/gtk+-3.0.11, required by media-libs/libcanberra-0.28-r2[gtk3], required by x11-wm/metacity-2.30.3, required by gnome-base/gnome-control-center-2.32.1-r1, required by gnome-extra/hamster-applet-2.32.1, required by gnome-base/gnome-2.32.1, required by gnome (argument)
=x11-libs/cairo-1.10.2-r1 X
#required by app-text/evince-2.32.0-r3, required by gnome-base/gnome-2.32.1, required by gnome (argument)
>=app-text/poppler-0.16.7 cairo

NOTE: This --autounmask behavior can be disabled by setting
      EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf.

Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


Đây là nội dung file nano -w /etc/make.conf của em
Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"

GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/ http://ftp.swin.edu.au/gentoo ftp://ftp.swin.edu.au/gen$

SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
MAKEOPTS="-j2"
USE="nptl nptlonly -ipv6 -fortran unicode svg hal jpeg dbus -kde -qt4 -arts -eds -esd gnome gstreamer gtk firefox"
ACCEPT_KEYWORDS="~x86"


Em cảm ơn!
JK - JH
()()()
LTKT - LTT
[Up] [Print Copy]
  [Question]   Lỗi emerge cài đặt gnome cho gentoo! 11/09/2011 14:52:50 (+0700) | #2 | 246852
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]
Xem em đang dùng profile nào:

Code:
$ eselect profile list
Available profile symlink targets:
  [1]   default/linux/x86/10.0
  [2]   default/linux/x86/10.0/desktop *
  [3]   default/linux/x86/10.0/desktop/gnome
  [4]   default/linux/x86/10.0/desktop/kde
  [5]   default/linux/x86/10.0/developer
  [6]   default/linux/x86/10.0/server
  [7]   hardened/linux/x86
  [8]   hardened/linux/x86/selinux
  [9]   selinux/2007.0/x86
  [10]  selinux/2007.0/x86/hardened
  [11]  selinux/v2refpolicy/x86
  [12]  selinux/v2refpolicy/x86/desktop
  [13]  selinux/v2refpolicy/x86/developer
  [14]  selinux/v2refpolicy/x86/hardened
  [15]  selinux/v2refpolicy/x86/server


Switch sang gnome với:
Code:
$ eselect profile set <n>


và update:
Code:
# emerge -vuaND world


rồi thử lại.
Let's build on a great foundation!
[Up] [Print Copy]
  [Question]   Lỗi emerge cài đặt gnome cho gentoo! 12/09/2011 07:37:25 (+0700) | #3 | 246885
[Avatar]
vitcon01
Member

[Minus]    0    [Plus]
Joined: 29/04/2009 11:28:21
Messages: 306
Offline
[Profile] [PM]
em đã chuyển sang profile:
Code:
[1]   default/linux/x86/10.0
  [2]   default/linux/x86/10.0/desktop *
  [3]   default/linux/x86/10.0/desktop/gnome
  [4]   default/linux/x86/10.0/desktop/kde
  [5]   default/linux/x86/10.0/developer
  [6]   default/linux/x86/10.0/server
  [7]   hardened/linux/x86
  [8]   hardened/linux/x86/selinux
  [9]   selinux/2007.0/x86
  [10]  selinux/2007.0/x86/hardened
  [11]  selinux/v2refpolicy/x86
  [12]  selinux/v2refpolicy/x86/desktop
  [13]  selinux/v2refpolicy/x86/developer
  [14]  selinux/v2refpolicy/x86/hardened
  [15]  selinux/v2refpolicy/x86/server

Và sau đó update:

Code:
emerge -vuaND world


Kết quả sau khi em gõ lệnh emerge gnome vẫn chưa chưa được anh à:

Code:
Total: 129 packages (129 new), Size of downloads: 376,396 kB

 * Error: circular dependencies:

(perl-core/CPAN-Meta-2.110.930::gentoo, ebuild scheduled for merge) depends on
 (virtual/perl-ExtUtils-MakeMaker-6.580.0::gentoo, ebuild scheduled for merge) (buildtime)
  (perl-core/ExtUtils-MakeMaker-6.580.0::gentoo, ebuild scheduled for merge) (runtime)
   (virtual/perl-CPAN-Meta-2.110.930::gentoo, ebuild scheduled for merge) (buildtime)
    (perl-core/CPAN-Meta-2.110.930::gentoo, ebuild scheduled for merge) (runtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-fs/udev:0

  (sys-fs/udev-171-r1::gentoo, installed) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (sys-fs/udev-171-r1::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-fs/udev-171[gudev] required by (gnome-base/gvfs-1.6.7-r1::gentoo, ebuild scheduled for merge)
    >=sys-fs/udev-171[gudev] required by (sys-power/upower-0.9.12::gentoo, ebuild scheduled for merge)
    >=sys-fs/udev-171[gudev] required by (sys-fs/udisks-1.0.3-r1::gentoo, ebuild scheduled for merge)
    >=sys-fs/udev-171[gudev] required by (media-video/cheese-2.32.0::gentoo, ebuild scheduled for merge)


!!! Enabling --newuse and --update might solve this conflict.
!!! If not, it might help emerge to give a more specific suggestion.


The following USE changes are necessary to proceed:
#required by gnome-extra/hamster-applet-2.32.1, required by gnome-base/gnome-2.32.1, required by gnome (argument)
>=dev-lang/python-3.2 sqlite
#required by net-libs/xulrunner-2.0.1-r1, required by gnome-extra/yelp-2.30.2-r6, required by gnome-base/gnome-2.32.1, required by gnome (argument)
=media-libs/libpng-1.4.8-r1 apng
#required by app-admin/sabayon-2.30.1, required by gnome-base/gnome-2.32.1[ldap], required by gnome (argument)
=x11-base/xorg-server-1.10.3 kdrive

NOTE: This --autounmask behavior can be disabled by setting
      EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf.

Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
JK - JH
()()()
LTKT - LTT
[Up] [Print Copy]
  [Question]   Lỗi emerge cài đặt gnome cho gentoo! 12/09/2011 16:51:15 (+0700) | #4 | 246937
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]
Anh đề nghị chuyển sang gnome profile (chứ không phải desktop). Những dòng cuối cùng khi em chạy `emerge -vuaND world` có nội dung thế nào?
Let's build on a great foundation!
[Up] [Print Copy]
  [Question]   Lỗi emerge cài đặt gnome cho gentoo! 13/09/2011 08:52:04 (+0700) | #5 | 246983
[Avatar]
vitcon01
Member

[Minus]    0    [Plus]
Joined: 29/04/2009 11:28:21
Messages: 306
Offline
[Profile] [PM]

quanta wrote:
Anh đề nghị chuyển sang gnome profile (chứ không phải desktop). Những dòng cuối cùng khi em chạy `emerge -vuaND world` có nội dung thế nào? 


Em đã chuyển sang profile gnome
Code:
localhost ~ # eselect profile list
Available profile symlink targets:
  [1]   default/linux/x86/10.0
  [2]   default/linux/x86/10.0/desktop
  [3]   default/linux/x86/10.0/desktop/gnome *
  [4]   default/linux/x86/10.0/desktop/kde
  [5]   default/linux/x86/10.0/developer
  [6]   default/linux/x86/10.0/server
  [7]   hardened/linux/x86
  [8]   hardened/linux/x86/selinux
  [9]   selinux/2007.0/x86
  [10]  selinux/2007.0/x86/hardened
  [11]  selinux/v2refpolicy/x86
  [12]  selinux/v2refpolicy/x86/desktop
  [13]  selinux/v2refpolicy/x86/developer
  [14]  selinux/v2refpolicy/x86/hardened
  [15]  selinux/v2refpolicy/x86/server


Các dòng cuối của lệnh emerge -vuaND world
Code:
Total: 25 packages (23 new, 2 reinstalls), Size of downloads: 51,916 kB

 * Error: circular dependencies:

(perl-core/CPAN-Meta-2.110.930::gentoo, ebuild scheduled for merge) depends on
 (virtual/perl-ExtUtils-MakeMaker-6.580.0::gentoo, ebuild scheduled for merge) (buildtime)
  (perl-core/ExtUtils-MakeMaker-6.580.0::gentoo, ebuild scheduled for merge) (runtime)
   (virtual/perl-CPAN-Meta-2.110.930::gentoo, ebuild scheduled for merge) (buildtime)
    (perl-core/CPAN-Meta-2.110.930::gentoo, ebuild scheduled for merge) (runtime)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.
JK - JH
()()()
LTKT - LTT
[Up] [Print Copy]
  [Question]   Lỗi emerge cài đặt gnome cho gentoo! 13/09/2011 13:59:50 (+0700) | #6 | 247013
[Avatar]
tanviet12
Member

[Minus]    0    [Plus]
Joined: 10/05/2010 12:15:15
Messages: 138
Location: TP - HCM
Offline
[Profile] [PM] [Email]
Cậu thử chạy lệnh:

Code:
emerge -vp gnome


Sau đó sẽ ra loạt các thông báo tương tự như

!!! Enabling --newuse and --update might solve this conflict.
!!! If not, it might help emerge to give a more specific suggestion.


The following USE changes are necessary to proceed:
#required by gnome-extra/hamster-applet-2.32.1, required by gnome-base/gnome-2.32.1, required by gnome (argument)
>=dev-lang/python-3.2 sqlite
#required by net-libs/xulrunner-2.0.1-r1, required by gnome-extra/yelp-2.30.2-r6, required by gnome-base/gnome-2.32.1, required by gnome (argument)
=media-libs/libpng-1.4.8-r1 apng
#required by app-admin/sabayon-2.30.1, required by gnome-base/gnome-2.32.1[ldap], required by gnome (argument)
=x11-base/xorg-server-1.10.3 kdrive 


Chú ý các từ màu đỏ
sau đó dùng lệnh

Code:
nano -w /etc/make.conf


Thêm các gói màu đỏ vào trong USE="......", lưu lại rồi emerge -vp gnome tiếp. Cứ chạy lệnh rồi thêm vào cho đến khi ok rồi mới thực hiện

Code:
emerge gnome



[Up] [Print Copy]
[digg] [delicious] [google] [yahoo] [technorati] [reddit] [stumbleupon]
Go to: 
 Users currently in here 
1 Anonymous

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|