LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 498|回复: 6

(已解决)sys-fs/udev-171-r5 not found

[复制链接]
发表于 2012-1-27 16:29:24 | 显示全部楼层 |阅读模式
今天emerge xfce4-meta时遇到这个问题,改怎么解决?
  1. >>> Downloading 'http://61.135.158.199/distfiles/udev-171.tar.bz2'
  2. --2012-01-27 17:06:28--  http://61.135.158.199/distfiles/udev-171.tar.bz2
  3. Connecting to 61.135.158.199:80... connected.
  4. HTTP request sent, awaiting response... 404 Not Found
  5. 2012-01-27 17:06:29 ERROR 404: Not Found.

  6. >>> Downloading 'http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-171.tar.bz2'
  7. --2012-01-27 17:06:29--  http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-171.tar.bz2
  8. Resolving www.kernel.org... 149.20.4.69
  9. Connecting to www.kernel.org|149.20.4.69|:80... connected.
  10. HTTP request sent, awaiting response... 404 Not Found
  11. 2012-01-27 17:06:29 ERROR 404: Not Found.

  12. !!! Couldn't download 'udev-171.tar.bz2'. Aborting.
  13. [31;01m * [39;49;00mFetch failed for 'sys-fs/udev-171-r5', Log file:
  14. [31;01m * [39;49;00m '/var/tmp/portage/sys-fs/udev-171-r5/temp/build.log'
复制代码
发表于 2012-1-27 22:36:22 | 显示全部楼层
gentoo mirror设置不合适?
试试163的或者sohu的。应该会解决。

在/etc/make.conf中添加或修改为
GENTOO_MIRRORS="http://mirrors.sohu.com/gentoo http://mirrors.163.com/gentoo"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-1-28 14:35:06 | 显示全部楼层
  1. Ubuntu / # emerge sys-fs/udev-171-r5
  2. !!! 'sys-fs/udev-171-r5' is not a valid package atom.
  3. !!! Please check ebuild(5) for full details.
复制代码
  1. Ubuntu / # emerge -pv sys-fs/udev
  2. These are the packages that would be merged, in order:
  3. Calculating dependencies... done!
  4. [ebuild     U  ] sys-fs/udev-171-r5 [164-r2] USE="acl%* extras* gudev%* hwdb%* keymap%* rule_generator%* -action_modeswitch% -build -debug% -edd% -floppy% -introspection% (-selinux) -test" 584 kB
  5. Total: 1 package (1 upgrade), Size of downloads: 584 kB
  6. * IMPORTANT: 4 news items need reading for repository 'gentoo'.
  7. * Use eselect news to read news items.
复制代码

然后我在官方package仓库查到信息说171-r5 unstable for x86 这怎么办?
回复 支持 反对

使用道具 举报

发表于 2012-1-28 15:15:20 | 显示全部楼层
精确到版本号的话要加个等号:
  1. emerge -pv =sys-fs/udev-171-r5
复制代码

第二个问题:http://www.gentoo.org/doc/zh_cn/ ... l?part=3&chap=3
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-1-28 21:12:09 | 显示全部楼层
/etc/portage/package.mask
  1. >=sys-fs/udev-164-r2
复制代码
还是
  1. >sys-fs/udev-164-r2
复制代码
我想应该是前者吧,然后我emerge -pv xfce4-meta后又出现错误:
  1. Ubuntu / # emerge -pv xfce4-meta
  2. These are the packages that would be merged, in order:
  3. Calculating dependencies... done!
  4. [ebuild  N     ] app-text/docbook-dsssl-stylesheets-1.79  272 kB
  5. [ebuild  N     ] app-text/docbook-sgml-dtd-3.0-r3  43 kB
  6. [ebuild     U  ] sys-apps/util-linux-2.20.1-r1 [2.19.1-r1] USE="cramfs crypt ncurses nls unicode -ddate% -loop-aes -old-linux -perl (-selinux) -slang -static-libs% (-uclibc)" 4,507 kB
  7. [ebuild  NS    ] app-text/docbook-xml-dtd-4.3-r1 [4.1.2-r6, 4.4-r2] 82 kB
  8. [ebuild  N     ] app-text/opensp-1.5.2-r2  USE="nls -doc -static-libs -test" 1,486 kB
  9. [ebuild  N     ] app-text/openjade-1.3.2-r3  USE="-static-libs" 874 kB
  10. [ebuild  N     ] app-text/scrollkeeper-9999-r1  0 kB
  11. [ebuild  N     ] dev-util/gtk-doc-1.18  USE="vim -debug -doc -emacs -highlight -test" 0 kB
  12. [ebuild     U #] sys-fs/udev-9999 [164-r2] USE="acl%* gudev%* hwdb%* keymap%* rule_generator%* -build -debug% -doc% -edd% -floppy% -introspection% (-selinux) -test (-extras%)" 0 kB
  13. [ebuild  N     ] x11-libs/libxklavier-5.2  USE="introspection -doc" 0 kB
  14. [ebuild  N     ] net-libs/libproxy-0.4.7  USE="-gnome -kde -mono -networkmanager -perl -python -test" 0 kB
  15. [ebuild  N     ] x11-misc/xdg-utils-1.1.0_rc1_p20111003  USE="perl -doc" 0 kB
  16. [ebuild  N     ] x11-libs/gtk+-2.24.8-r1  USE="introspection (-aqua) -cups -debug -doc -examples -test -vim-syntax -xinerama" 0 kB
  17. [ebuild  N     ] dev-libs/libatasmart-0.18  USE="-static-libs" 0 kB
  18. [ebuild  N     ] net-libs/glib-networking-2.30.2  USE="libproxy ssl -gnome" 0 kB
  19. [ebuild  N     ] sys-fs/lvm2-2.02.88  USE="lvm1 readline static static-libs -clvm (-cman) (-selinux)" 0 kB
  20. [ebuild  N     ] x11-libs/gtk+-3.2.3  USE="introspection (-aqua) -colord -cups -debug -doc -examples -packagekit -test -vim-syntax -xinerama" 0 kB
  21. [ebuild  N     ] xfce-base/libxfce4ui-4.8.1  USE="startup-notification -debug -glade" 0 kB
  22. [ebuild  N     ] xfce-base/exo-0.6.2  USE="-debug -python" 0 kB
  23. [ebuild  N     ] x11-libs/libwnck-2.30.7  USE="introspection startup-notification -doc" 0 kB
  24. [ebuild  N     ] gnome-base/libglade-2.6.4  USE="-doc -static-libs -test" 0 kB
  25. [ebuild  N     ] gnome-base/librsvg-2.34.2  USE="gtk introspection -doc -gtk3 -tools" 0 kB
  26. [ebuild  N     ] x11-themes/gtk-engines-xfce-2.99.0-r200  USE="-debug" 0 kB
  27. [ebuild  N     ] net-libs/libsoup-2.36.1-r1  USE="introspection ssl -debug -doc -samba -test" 0 kB
  28. [ebuild  N     ] xfce-base/xfce4-panel-4.8.6  USE="-debug" 0 kB
  29. [ebuild  N     ] xfce-base/xfwm4-4.8.3  USE="startup-notification xcomposite -debug" 0 kB
  30. [ebuild  N     ] dev-libs/libunique-3.0.2  USE="introspection -debug -doc -test" 0 kB
  31. [ebuild  N     ] x11-misc/xscreensaver-5.15  USE="jpeg opengl pam perl -new-login -suid -xinerama" 0 kB
  32. [ebuild  N     ] xfce-base/xfce-utils-4.8.3  USE="dbus lock -debug" 0 kB
  33. [ebuild  N     ] sys-auth/polkit-0.104  USE="gtk introspection nls pam -debug -doc -examples -kde (-systemd)" 0 kB
  34. [ebuild  N     ] gnome-extra/polkit-gnome-0.105  0 kB
  35. [ebuild  N     ] sys-auth/consolekit-0.4.5-r2  USE="pam policykit -debug -doc -test" 0 kB
  36. [ebuild     U  ] sys-auth/pambase-20101024-r1 [20101024] USE="consolekit* cracklib sha512 -debug -gnome-keyring -minimal -mktemp -pam_krb5 -pam_ssh -passwdqc (-selinux)" 0 kB
  37. [ebuild  N     ] net-wireless/bluez-4.98-r1  USE="alsa consolekit usb -caps -cups -debug -gstreamer -pcmcia -test-programs" 0 kB
  38. [ebuild  N     ] sys-fs/udisks-1.0.4-r2  USE="nls -debug -doc -remote-access" 704 kB
  39. [ebuild  N     ] sys-power/upower-0.9.15  USE="introspection -debug -doc -ios" 395 kB
  40. [ebuild  N     ] gnome-base/gconf-3.2.3  USE="introspection ldap orbit policykit -debug -doc" 1,500 kB
  41. [ebuild  N     ] xfce-base/xfce4-session-4.8.2  USE="consolekit policykit udev -debug -gnome -gnome-keyring" XFCE_PLUGINS="logout" 1,571 kB
  42. [ebuild  N     ] dev-libs/openobex-1.5  USE="bluetooth usb -debug -irda -syslog" 392 kB
  43. [ebuild  N     ] media-libs/libcanberra-0.28-r5  USE="alsa gtk gtk3 sound udev -gnome -gstreamer -oss -pulseaudio -tdb" 476 kB
  44. [ebuild  N     ] app-mobilephone/obex-data-server-0.4.5  USE="gtk usb -debug -imagemagick" 188 kB
  45. [ebuild  N     ] x11-libs/libnotify-0.7.4-r1  USE="introspection (symlink) -doc -test" 267 kB
  46. [ebuild  N     ] x11-misc/notification-daemon-0.7.3  269 kB
  47. [ebuild  N     ] virtual/notification-daemon-0  USE="-gnome" 0 kB
  48. [ebuild  N     ] xfce-base/xfce4-settings-4.8.3  USE="libnotify xklavier -debug -libcanberra" 657 kB
  49. [ebuild  N     ] sys-apps/gnome-disk-utility-3.0.2-r300  USE="-avahi -doc -fat -gnome-keyring -nautilus -remote-access" 1,956 kB
  50. [ebuild  N     ] gnome-base/gnome-keyring-3.2.2  USE="caps pam -debug -doc -test" 1,543 kB
  51. [ebuild  N     ] gnome-base/libgnome-keyring-3.2.2  USE="-debug -doc -test" 351 kB
  52. [ebuild  N     ] net-libs/libsoup-gnome-2.36.1  USE="introspection -debug -doc" 0 kB
  53. [ebuild  N     ] gnome-base/gvfs-1.10.1  USE="bluetooth cdda gdu http udev -afp -archive -avahi -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba" 1,267 kB
  54. [ebuild  N     ] xfce-base/thunar-1.2.3  USE="dbus exif libnotify pcre startup-notification udev -debug -test" XFCE_PLUGINS="trash" 4,079 kB
  55. [ebuild  N     ] xfce-base/xfdesktop-4.8.3  USE="libnotify thunar -debug" 2,631 kB
  56. [ebuild  N     ] xfce-base/xfce4-meta-4.8  USE="session svg -minimal" 0 kB
  57. Total: 53 packages (3 upgrades, 49 new, 1 in new slot), Size of downloads: 25,500 kB
  58. !!! Multiple package instances within a single package slot have been pulled
  59. !!! into the dependency graph, resulting in a slot conflict:
  60. sys-apps/util-linux:0
  61.   (sys-apps/util-linux-2.19.1-r1::gentoo, installed) pulled in by
  62.     (no parents that aren't satisfied by other packages in this slot)
  63.   (sys-apps/util-linux-2.20.1-r1::gentoo, ebuild scheduled for merge) pulled in by
  64.     >=sys-apps/util-linux-2.20 required by (sys-fs/udev-9999::gentoo, ebuild scheduled for merge)
  65. It may be possible to solve this problem by using package.mask to
  66. prevent one of those packages from being selected. However, it is also
  67. possible that conflicting dependencies exist such that they are
  68. impossible to satisfy simultaneously.  If such a conflict exists in
  69. the dependencies of two different packages, then those packages can
  70. not be installed simultaneously. You may want to try a larger value of
  71. the --backtrack option, such as --backtrack=30, in order to see if
  72. that will solve this conflict automatically.
  73. For more information, see MASKED PACKAGES section in the emerge man
  74. page or refer to the Gentoo Handbook.
  75. The following keyword changes are necessary to proceed:
  76. #required by sys-power/upower-0.9.15, required by xfce-base/xfce4-session-4.8.2[udev], required by xfce-base/xfce4-meta-4.8[session], required by xfce4-meta (argument)
  77. =sys-fs/udev-9999 **
  78. The following mask changes are necessary to proceed:
  79. #required by sys-power/upower-0.9.15, required by xfce-base/xfce4-session-4.8.2[udev], required by xfce-base/xfce4-meta-4.8[session], required by xfce4-meta (argument)
  80. # /etc/portage/package.mask:
  81. =sys-fs/udev-9999
  82. NOTE: The --autounmask-keep-masks option will prevent emerge
  83.       from creating package.unmask or ** keyword changes.
  84. * IMPORTANT: 4 news items need reading for repository 'gentoo'.
  85. * Use eselect news to read news items.
复制代码
不知道提示的那个keyword changes和mask changes该怎么解决......

还有
  1. [ebuild     U #] sys-fs/udev-9999 [164-r2] USE="acl%* gudev%* hwdb%* keymap%* rule_generator%* -build -debug% -doc% -edd% -floppy% -introspection% (-selinux) -test (-extras%)" 0 kB
复制代码
U后那个#号代表什么意思?
回复 支持 反对

使用道具 举报

发表于 2012-1-28 21:55:39 | 显示全部楼层
#就是原本被mask掉的现在被你强制要求装了

其实你这问题换个源或者等两天同步一下源就好了,应该是镜像服务器同步的一个时间差问题。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2012-1-30 15:13:25 | 显示全部楼层
多谢大家指教
发现gentoo很好玩的说 有点想搭积木一样的
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表