Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
Traceback (most recent call last): File "/usr/bin/emerge", line 43, in <module> retval = emerge_main() File "/usr/lib64/portage/pym/_emerge/main.py", line 1678, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/lib64/portage/pym/_emerge/actions.py", line 286, in action_build settings, trees, myopts, myparams, myaction, myfiles, spinner) File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 5947, in backtrack_depgraph myaction, myfiles, spinner) File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 5966, in _backtrack_depgraph success, favorites = mydepgraph.select_files(myfiles) File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 1426, in select_files self._load_vdb() File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 320, in _load_vdb fake_vartree.sync() File "/usr/lib64/portage/pym/_emerge/FakeVartree.py", line 119, in sync self._sync() File "/usr/lib64/portage/pym/_emerge/FakeVartree.py", line 171, in _sync pkg = self._pkg(cpv) File "/usr/lib64/portage/pym/_emerge/FakeVartree.py", line 195, in _pkg type_name="installed") File "/usr/lib64/portage/pym/_emerge/Package.py", line 63, in __init__ self._validate_deps() File "/usr/lib64/portage/pym/_emerge/Package.py", line 92, in _validate_deps self._metadata_exception(k, e) File "/usr/lib64/portage/pym/_emerge/Package.py", line 241, in _metadata_exception "%s: %s in '%s'" % (k, e, path)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc8 in position 22: ordinal not in range(128) |
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »Windhund« (09.09.2010, 17:32)
Quellcode |
|
1 2 3 4 |
eselect python list Available Python interpreters: [1] python2.6 * [2] python3.1 |
Quellcode |
|
1 |
eselect python set 1 |
Quellcode |
|
1 |
python-updater |
Zitat
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc8 in position 22: ordinal not in range(12
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Windhund« (08.09.2010, 10:05)
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
emerge -pv --depclean python Calculating dependencies... done! dev-lang/python-2.6.5-r3 pulled in by: app-admin/system-config-printer-common-1.2.3 app-portage/layman-1.4.1 app-portage/porthole-0.6.1-r2 dev-lang/python-3.1.2-r3 dev-libs/libgamin-0.1.10-r2 dev-libs/libxml2-2.7.7 dev-python/dbus-python-0.83.1 dev-python/notify-python-0.1.1-r1 dev-python/numpy-1.5.0 dev-python/pycairo-1.8.10 dev-python/pygtk-2.17.0 dev-python/pyopenssl-0.10-r1 dev-python/twisted-10.1.0 dev-vcs/subversion-1.6.12 kde-base/krosspython-4.5.0 kde-base/marble-4.5.0 kde-base/plasma-workspace-4.5.0 kde-base/printer-applet-4.5.0 kde-base/superkaramba-4.5.0 kde-base/system-config-printer-kde-4.5.0 media-gfx/exiv2-0.20 media-libs/alsa-lib-1.0.23 net-libs/xulrunner-1.9.2.8-r1 net-print/hplip-3.10.6 sys-apps/file-5.04 sys-libs/cracklib-2.8.16 sys-libs/libieee1284-0.2.11-r1 www-client/firefox-3.6.8-r1 x11-libs/libxcb-1.7 x11-proto/xcb-proto-1.6 dev-lang/python-3.1.2-r3 pulled in by: app-admin/python-updater-0.8 app-portage/gentoolkit-0.3.0_rc10-r1 app-portage/layman-1.4.1 dev-java/java-config-2.1.11 dev-libs/boost-1.42.0-r2 dev-libs/libxslt-1.1.26 dev-python/pycups-1.9.51 dev-python/pygobject-2.20.0 dev-python/setuptools-0.6.14 dev-python/sip-4.11 dev-util/boost-build-1.42.0 gnome-base/libglade-2.6.4 kde-base/pykde4-4.5.0 media-libs/pdflib-7.0.4_p4-r1 net-print/cups-1.4.4 net-zope/zope-fixers-1.0 net-zope/zope-interface-3.6.1 sys-apps/portage-2.1.9.1 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
emerge --info Portage 2.1.9.1 (default/linux/amd64/10.0/desktop/kde, gcc-4.3.4, glibc-2.12.1-r1, 2.6.35-gentoo x86_64) ================================================================= System uname: Linux-2.6.35-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-gentoo-2.0.1 Timestamp of tree: Wed, 08 Sep 2010 07:15:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r3 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/portage /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://de-mirror.org/distro/gentoo/ " LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de" MAKEOPTS="-j3" 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="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm hal iconv ipv6 jpeg kde lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 cgi cgid 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" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
Jo sorry, hast schon recht, es sollte nichts mit perl zu tun haben.sry wenn ich bis jetzt nicht verstanden hab was perl mit python oder portage zu tun hat
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
emerge portage Calculating dependencies... done! Traceback (most recent call last): File "/usr/bin/emerge", line 43, in <module> retval = emerge_main() File "/usr/lib64/portage/pym/_emerge/main.py", line 1678, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/lib64/portage/pym/_emerge/actions.py", line 286, in action_build settings, trees, myopts, myparams, myaction, myfiles, spinner) File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 5947, in backtrack_depgraph myaction, myfiles, spinner) File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 5966, in _backtrack_depgraph success, favorites = mydepgraph.select_files(myfiles) File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 1426, in select_files self._load_vdb() File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 320, in _load_vdb fake_vartree.sync() File "/usr/lib64/portage/pym/_emerge/FakeVartree.py", line 119, in sync self._sync() File "/usr/lib64/portage/pym/_emerge/FakeVartree.py", line 171, in _sync pkg = self._pkg(cpv) File "/usr/lib64/portage/pym/_emerge/FakeVartree.py", line 195, in _pkg type_name="installed") File "/usr/lib64/portage/pym/_emerge/Package.py", line 63, in __init__ self._validate_deps() File "/usr/lib64/portage/pym/_emerge/Package.py", line 92, in _validate_deps self._metadata_exception(k, e) File "/usr/lib64/portage/pym/_emerge/Package.py", line 241, in _metadata_exception "%s: %s in '%s'" % (k, e, path)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc8 in position 22: ordinal not in range(128) |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Windhund« (08.09.2010, 11:10)
Quellcode |
|
1 |
emerge =dev-lang/python-2.6.5-r3 -1 |
Quellcode |
|
1 |
emerge -1 portage |
Quellcode
1 UnicodeDecodeError: 'ascii' codec can't decode byte 0xc8 in position 22: ordinal not in range(128)
Zitat
It is recommended to use a UTF-8 locale to avoid potential problems. Especially
C and POSIX locales are discouraged. If locale has not been explicitly set,
then POSIX locale is used, so you should ensure that locale has been set.
Problems occurring only with non-UTF-8 locales should be reported directly
to upstream developers of given packages.
See http://www.gentoo.org/doc/en/utf-8.xml for more information about UTF-8.
Quellcode |
|
1 2 3 |
$ su -l Passwort: # locale |
Nein, das sollte nicht nötig sein!Zitat von »"Windhund"«
Neuinstallation
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »josef.95« (08.09.2010, 11:56)
Quellcode |
|
1 2 3 |
eselect python set python3.1 USE=-python3 emerge -v1 --nodeps sys-apps/portage eselect python set python2.6 |
Zitat
Neuinstallation !!!!??
Nein, das sollte nicht nötig sein!
Versuche eher den Fehler zu finden und zu beseitigen
Nein, nicht das ich wüsste! Es wurde in den News ja auch ausdrücklich davor gewarnt die main active Version schon auf 3.1 zu setzen...Scheinbar haben dev's bei gentoo python3 als standart in profile drin gehabt oder noch drin.
Wer weiß warum. (ist ja inkompatibel mit dozen py software da drausen)
Zitat von »News Python 3.1«
2010-03-25-python-3.1
Title Python 3.1
Author Arfrever Frehtes Taifersar Arahesis <Arfrever@gentoo.org>
Posted 2010-03-25
Revision 1
Python 3 is a new major version of Python and is intentionally incompatible
with Python 2. Many external modules have not been ported yet to Python 3,
so Python 2 still needs to be installed. You can benefit from having Python 3
installed without setting Python 3.1 as main active version of Python.
Currently you should not set Python 3.1 as main active version of Python.
When setting it becomes recommended, a separate news item will be created
to notify users.
Although Python 3.1 should not be set as main active version of Python,
you should run python-updater after installation of Python 3.1. By default,
modules that support both Python 2 and Python 3 are installed for both
the active version of Python 2 and the active version of Python 3 when both
Python 2 and Python 3 are installed.
It is recommended to use a UTF-8 locale to avoid potential problems. Especially
C and POSIX locales are discouraged. If locale has not been explicitly set,
then POSIX locale is used, so you should ensure that locale has been set.
Problems occurring only with non-UTF-8 locales should be reported directly
to upstream developers of given packages.
See http://www.gentoo.org/doc/en/utf-8.xml for more information about UTF-8.
Quellcode |
|
1 |
find . -type f -exec grep -aH -A2 "python3" {} \; |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
locale LANG=de_DE.UTF-8 LC_CTYPE="de_DE.UTF-8" LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_COLLATE="de_DE.UTF-8" LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL= |
Und noch einmal: wenn ich den Vorschlag umsetze:
erst python3.1
dann emerge portage ohne python3.1
dann wieder python2.6
geht emerge nicht mehr.
Quellcode |
|
1 |
tar -xpvJf portage.tar.bz2 -C / |
Quellcode |
|
1 |
FEATURES=unmerge-orphans USE=-python3 emerge -v1 --nodeps portage |