View previous topic :: View next topic |
Author |
Message |
tankzx n00b
Joined: 08 Dec 2013 Posts: 4
|
Posted: Sun Dec 08, 2013 9:47 am Post subject: [SOLVED] revdep-rebuild problem, wants python 2.4 |
|
|
I have a problem running revdep-rebuild on an otherwise up to date AMD64 system. I have a number of versions of python installed but not 2.4 (and it's no longer available in portage). I have run emerge -e system and that completed successfully. I am also unable to run python-updater because of an error message about missing metadata in '/var/db/pkg/sys-kernel/livecd-kernel-1/environment.bz2' that file exists but is basically empty. Any thoughts?
Thanks,
Ken.
Quote: | tankgenquad ~ # revdep-rebuild
* 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
* Found existing 1_files.rr
* Collecting complete LD_LIBRARY_PATH
* Found existing 2_ldpath.rr.
* Checking dynamic linking consistency
* Found existing 3_broken.rr.
* Assigning files to packages
* Found existing 4_raw.rr
* Cleaning list of packages to rebuild
* Found existing 4_pkgs.rr
* Assigning packages to ebuilds
* Found existing 4_ebuilds.rr
* Evaluating package order
* Portage could not find any version of the following packages it could build:
* dev-lang/python:2.4
* (Perhaps they are masked, blocked, or removed from portage.)
* Try to emerge them manually.
* Warning: Portage cannot rebuild any of the necessary packages.
|
Quote: | tankgenquad ~ # eselect python list
Available Python interpreters:
[1] python2.6
[2] python2.7 *
[3] python3.1
[4] python3.2
[5] python3.3
|
Quote: | tankgenquad ~ # python-updater
* Starting Python Updater...
* Main active version of Python: 2.7
* Active version of Python 2: 2.7
* Active version of Python 3: 3.3
* Globally supported Python ABIs in installed repositories:
* gentoo: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
* tank_local_overlay: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
* Adding to list: media-tv/plex-media-server:0
* Missing metadata in '/var/db/pkg/sys-kernel/livecd-kernel-1/environment.bz2' file. Manually reinstall corresponding package.
|
Quote: | tankgenquad ~ # emerge -DNup world
These are the packages that would be merged, in order:
Calculating dependencies... done!
* IMPORTANT: 16 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
|
Quote: | tankgenquad ~ # emerge --info
Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.16.0, 3.8.13-gentoo x86_64)
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem: 16096212 total, 2449436 free
KiB Swap: 7999328 total, 7999328 free
Timestamp of tree: Thu, 05 Dec 2013 11:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash: 4.2_p45
dev-lang/python: 2.6.8-r3, 2.7.5-r3, 3.1.5-r1, 3.2.5-r3, 3.3.2-r2
dev-util/cmake: 2.8.11.2
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils: 2.23.1
sys-devel/gcc: 4.1.2, 4.3.6-r1, 4.4.7, 4.5.4, 4.6.3, 4.7.3-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc: 2.16.0
Repositories: gentoo tank_local_overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://tankhex/gentoo-portage"
USE="acl alaw amd64 apache2 berkdb bzip2 cgi cli client cracklib crypt cups curl cxx dbus dri extensions flac fontconfig fortran g722 gd gdbm iconv imap ipv6 jpeg milter mmx modules mp3 mudflap multilib mysql ncurses nls nptl openmp pam pcre pdo php png python readline samba sasl session sieve simplexml sse sse2 ssl tcpd tools unicode x264 xml xmlrpc xsl xslt zlib" ABI_X86="64" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python2_6" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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"
USE_PYTHON="2.7 2.6"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
Last edited by tankzx on Mon Dec 09, 2013 4:44 am; edited 1 time in total |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sun Dec 08, 2013 1:12 pm Post subject: |
|
|
First, try purging /var/cache/revdep-rebuild - just to make sure it's not simply a stale cache - and run revdep-rebuild again. |
|
Back to top |
|
|
tankzx n00b
Joined: 08 Dec 2013 Posts: 4
|
Posted: Sun Dec 08, 2013 3:09 pm Post subject: |
|
|
Thank you, that's done half the job, revdep-rebuild works now! Unfortunately pthon-updater still fails and complains about metadata in '/var/db/pkg/sys-kernel/livecd-kernel-1/environment.bz2', is it as simple as deleting this file or directory? The livecd kernel I used to build this system would be incredibly old now.
Quote: | tankgenquad portage # ls -al /var/cache/revdep-rebuild/
total 276
drwx------ 2 root root 4096 Dec 8 13:53 .
drwxr-xr-x 12 root root 4096 Sep 28 2009 ..
-rw-r--r-- 1 root root 0 Dec 8 13:53 .keep_app-portage_gentoolkit-0
-rw------- 1 root portage 898 Dec 8 19:12 0_env.rr
-rw------- 1 root portage 199109 Dec 8 12:48 1_files.rr
-rw------- 1 root portage 17046 Dec 8 12:48 2_ldpath.rr
-rw------- 1 root portage 45 Dec 8 12:48 3_broken.rr
-rw------- 1 root portage 20751 Dec 8 12:48 3_errors.rr
-rw------- 1 root portage 20 Dec 8 12:48 4_ebuilds.rr
-rw------- 1 root portage 66 Dec 8 12:48 4_owners.rr
-rw------- 1 root portage 22 Dec 8 12:48 4_pkgs.rr
-rw------- 1 root portage 22 Dec 8 12:48 4_raw.rr
tankgenquad portage # rm /var/cache/revdep-rebuild/*.rr
tankgenquad portage # ls -al /var/cache/revdep-rebuild/
total 8
drwx------ 2 root root 4096 Dec 9 00:58 .
drwxr-xr-x 12 root root 4096 Sep 28 2009 ..
-rw-r--r-- 1 root root 0 Dec 8 13:53 .keep_app-portage_gentoolkit-0
tankgenquad portage # revdep-rebuild
* 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.
tankgenquad portage # python-updater
* Starting Python Updater...
* Main active version of Python: 2.7
* Active version of Python 2: 2.7
* Active version of Python 3: 3.3
* Globally supported Python ABIs in installed repositories:
* gentoo: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
* tank_local_overlay: 2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
* Adding to list: media-tv/plex-media-server:0
* Missing metadata in '/var/db/pkg/sys-kernel/livecd-kernel-1/environment.bz2' file. Manually reinstall corresponding package.
|
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21607
|
Posted: Sun Dec 08, 2013 4:06 pm Post subject: |
|
|
How did you even get a /var/db/pkg/sys-kernel/livecd-kernel-1/? That is not a package that would normally be installed on anything other than the install media. |
|
Back to top |
|
|
tankzx n00b
Joined: 08 Dec 2013 Posts: 4
|
Posted: Mon Dec 09, 2013 1:53 am Post subject: |
|
|
Hu wrote: | How did you even get a /var/db/pkg/sys-kernel/livecd-kernel-1/? That is not a package that would normally be installed on anything other than the install media. |
I really don't know how it got there, I certainly didn't manually put it there. I can only assume it was there as part of there installation. When I run eclean-dist
it lists the livecd-kernel as an unavailable installed package. Does anyone know if would be a problem just deleting the directory /var/db/pkg/sys-kernel/livecd-kernel-1/ ?
Code: | tankgenquad ~ # eclean-dist -p
* Building file list for distfiles cleaning...
* Here are the distfiles that would be deleted:
[1623 files listed]
[ 4.4 G ] Total space from 1623 files would be freed in the distfiles directory
The following unavailable installed packages were found
app-admin/eselect-ctags-1.13
app-admin/gam-server-0.1.10
app-arch/rpm2targz-9.0.0.3g
app-text/aspell-0.60.6
dev-lang/python-3.1.5-r1
dev-lang/spidermonkey-1.8.5-r1
dev-libs/gmime-2.2.27-r1
dev-libs/tinyxml-2.6.2
dev-perl/Authen-SASL-2.15
dev-perl/Convert-ASN1-0.21
dev-perl/Crypt-SSLeay-0.57
dev-perl/HTML-Tree-3.23
dev-perl/IO-String-1.08
dev-perl/Net-SMTP-SSL-1.01
dev-perl/Sys-Hostname-Long-1.4
dev-perl/TermReadKey-2.30
dev-perl/Text-Iconv-1.7
dev-perl/XML-Filter-BufferText-1.01
dev-perl/XML-NamespaceSupport-1.11
dev-perl/XML-SAX-0.16
dev-perl/XML-SAX-Writer-0.53
dev-perl/YAML-Tiny-1.41
dev-perl/perl-ldap-0.400.100
dev-perl/yaml-0.71
dev-util/lafilefixer-0.5 ...distfile name(s) not known/saved
mail-client/squirrelmail-1.4.19
mail-client/squirrelmail-1.4.20
mail-client/squirrelmail-1.4.21
mail-filter/dkim-milter-2.8.3-r1
media-gfx/graphviz-2.26.3-r2
media-libs/audiofile-0.2.6-r4
media-libs/libmad-0.15.1b-r2
media-libs/libogg-1.1.4
media-libs/libsdl-1.2.13-r1
media-libs/libvorbis-1.2.3
media-sound/esound-0.2.41
media-sound/mpg123-1.13.2
media-sound/sox-14.3.2-r1
media-video/ffmpeg-0.10.3
net-analyzer/iptraf-3.0.0-r5
net-mail/dbmail-2.2.17
net-misc/ajaxterm-0.10
net-misc/whois-5.0.8
perl-core/CGI-3.510
sys-auth/consolekit-0.3.0-r2
sys-devel/automake-1.10.2
sys-devel/automake-1.7.9-r1
sys-devel/automake-1.9.6-r2
sys-kernel/gentoo-sources-2.6.28-r5
sys-kernel/gentoo-sources-2.6.30-r4
sys-kernel/gentoo-sources-2.6.30-r5
sys-kernel/gentoo-sources-2.6.31-r6
sys-kernel/gentoo-sources-2.6.32-r7
sys-kernel/gentoo-sources-2.6.34-r1
sys-kernel/gentoo-sources-2.6.34-r6
sys-kernel/gentoo-sources-2.6.35-r10
sys-kernel/gentoo-sources-2.6.36
sys-kernel/gentoo-sources-2.6.36-r5
sys-kernel/gentoo-sources-2.6.37
sys-kernel/gentoo-sources-2.6.37-r2
sys-kernel/gentoo-sources-2.6.38-r5
sys-kernel/gentoo-sources-3.0.3
sys-kernel/gentoo-sources-3.0.4
sys-kernel/gentoo-sources-3.1.0
sys-kernel/gentoo-sources-3.1.4
sys-kernel/gentoo-sources-3.1.5
sys-kernel/gentoo-sources-3.1.6
sys-kernel/gentoo-sources-3.2.12
sys-kernel/gentoo-sources-3.3.8
sys-kernel/gentoo-sources-3.4.9
sys-kernel/gentoo-sources-3.6.11
sys-kernel/gentoo-sources-3.7.10
sys-kernel/gentoo-sources-3.8.13
sys-kernel/livecd-kernel-1 ...distfile name(s) not known/saved
virtual/ghostscript-0 ...distfile name(s) not known/saved
virtual/httpd-php-5.2 ...distfile name(s) not known/saved
virtual/init-0 ...distfile name(s) not known/saved
virtual/perl-CGI-3.510 ...distfile name(s) not known/saved
virtual/poppler-utils-0.10.7 ...distfile name(s) not known/saved
www-apps/phpsysinfo-2.5.4
www-apps/phpsysinfo-2.5.4-r1
www-apps/rutorrent-3.2
x11-apps/xauth-1.0.2
x11-libs/libICE-1.0.4
x11-libs/libSM-1.0.3
x11-libs/libX11-1.2.2
x11-libs/libXau-1.0.5
x11-libs/libXdmcp-1.0.2
x11-libs/libXext-1.0.3
x11-libs/libXmu-1.0.3
x11-libs/libXt-1.0.5
x11-libs/libxcb-1.4-r1
x11-libs/xtrans-1.2.3
x11-misc/util-macros-1.3.0
x11-proto/bigreqsproto-1.0.2
x11-proto/inputproto-1.5.1
x11-proto/kbproto-1.0.3
x11-proto/xcb-proto-1.5
x11-proto/xcmiscproto-1.1.2
x11-proto/xextproto-7.0.5
x11-proto/xf86bigfontproto-1.1.2
x11-proto/xproto-7.0.15
|
|
|
Back to top |
|
|
tankzx n00b
Joined: 08 Dec 2013 Posts: 4
|
Posted: Mon Dec 09, 2013 4:43 am Post subject: [SOLVED] revdep-rebuild problem, wants python 2.4 |
|
|
So I deleted /var/db/pkg/sys-kernel/livecd-kernel-1/ and now python-updater finishes without error.
Thanks VoidMage for the tip about deleting the revdep-rebuild cache, which fixed the problem I had with revdep-rebuild.
Ken. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|