ошибка emerge
Aess 22 октября, 2009 - 16:33
www # emerge -pv apache2 These are the packages that would be merged, in order: Calculating dependencies * waiting for lock on /var/db/.pkg.portage_lockfile ... * [Errno 13] Permission denied [ !! ] Traceback (most recent call last): File "/usr/bin/emerge", line 40, in <module> retval = _emerge.emerge_main() File "/usr/lib/portage/pym/_emerge/__init__.py", line 15814, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/lib/portage/pym/_emerge/__init__.py", line 14706, in action_build mydepgraph = depgraph(settings, trees, myopts, myparams, spinner) File "/usr/lib/portage/pym/_emerge/__init__.py", line 4619, in __init__ pkg_cache=self._pkg_cache) File "/usr/lib/portage/pym/_emerge/__init__.py", line 1202, in __init__ vdb_lock = portage.locks.lockdir(vdb_path) File "/usr/lib/portage/pym/portage/locks.py", line 25, in lockdir return lockfile(mydir,wantnewlockfile=1) File "/usr/lib/portage/pym/portage/locks.py", line 122, in lockfile fcntl.lockf(myfd, fcntl.LOCK_EX) IOError: [Errno 13] Permission denied
# emerge --info Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r7 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r7-i686-Intel-R-_Celeron-R-_CPU_1.70GHz-with-gentoo-1.12.11.1 Timestamp of tree: Wed, 21 Oct 2009 10:15:01 +0000 app-shells/bash: 4.0_p28 dev-lang/python: 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/ http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl ftp://mirror.icis.pcz.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/ ftp://gentoo.po.opole.pl " LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl apache2 berkdb bind bzip2 cairo clamav clamd cli cracklib crypt cups dri exim exiscan exiscan-acl fortran gdbm gpm iconv isdnlog modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Что енто такое и как сним боротся?
кста файла /var/db/.pkg.portage_lockfile у меня вообще нету!
»
- Для комментирования войдите или зарегистрируйтесь
Вот в этом и проблема, что
Вот в этом и проблема, что emerge не может его создать.
Попробуйте создать его сами или "смягчить" права на /var/db/, какие права выставлены сейчас?