Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[MySql Emerge] Problem : portage: CONTENTS line 1726 corrupt
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
be_io
n00b
n00b


Joined: 12 Jul 2005
Posts: 12

PostPosted: Mon Jun 11, 2007 11:41 am    Post subject: [MySql Emerge] Problem : portage: CONTENTS line 1726 corrupt Reply with quote

Hello,

I cannot update my MySql installation because of the following errror

I tried to purge caches (/var/tmp/portage, /usr/portage/distfiles), downgraded the portage application, but still fails


Code:
>>> Merging dev-db/mysql-5.0.42 to /
--- /etc/
--- /etc/mysql/
portage: CONTENTS line 1726 corrupt!
portage: CONTENTS line 1728 corrupt!
portage: CONTENTS line 1730 corrupt!
portage: CONTENTS line 1732 corrupt!
Traceback (most recent call last):
  File "/usr/bin/emerge", line 5530, in ?
    retval = emerge_main()
  File "/usr/bin/emerge", line 5525, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/bin/emerge", line 4992, in action_build
    retval = mergetask.merge(pkglist, favorites, mtimedb)
  File "/usr/bin/emerge", line 3156, in merge
    prev_mtimes=ldpath_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 3750, in doebuild
    vartree=vartree, prev_mtimes=prev_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 3958, in merge
    mydbapi=mydbapi, prev_mtimes=prev_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 7859, in merge
    cleanup=cleanup, mydbapi=mydbapi, prev_mtimes=prev_mtimes)
  File "/usr/lib/portage/pym/portage.py", line 7455, in treewalk
    if self.mergeme(srcroot,destroot,outfile,secondhand,"",cfgfiledict,mymtime):
  File "/usr/lib/portage/pym/portage.py", line 7731, in mergeme
    join(offset, x), cfgfiledict, thismtime):
  File "/usr/lib/portage/pym/portage.py", line 7731, in mergeme
    join(offset, x), cfgfiledict, thismtime):
  File "/usr/lib/portage/pym/portage.py", line 7752, in mergeme
    if self.isprotected(mydest):
  File "/usr/lib/portage/pym/portage.py", line 7201, in isprotected
    mydata = self._installed_instance.getcontents().get(filename, None)
AttributeError: 'NoneType' object has no attribute 'get'


Here is my emerge --info (with the "old" version):

Code:

Portage 2.1.2.2 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.5-r3, 2.6.20-gentoo-r8-nopatch-xxxx-ipv4-32 i686)
=================================================================
System uname: 2.6.20-gentoo-r8-nopatch-xxxx-ipv4-32 i686 Intel(R) Celeron(R) CPU 2.66GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 11 Jun 2007 02:00:09 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-ovh"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl bash-completion bitmap-fonts bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv innodb ipv6 isdnlog java jpeg libg++ logrotate midi mmx mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php png pppd python readline reflection session spl sse sse2 ssl truetype truetype-fonts type1-fonts unicode x86 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 mulaw multi null plug rate route share shm softvol"
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="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

_________________
(---be_io---)

1 x Gentoo x86 text-based on QuadCore (2Go, 1,5To, Lvm2, Raid)
1 x Gentoo powerpc on Mac G4 Cube (512Mo, 80Go, Lvm)





Gentoo
Back to top
View user's profile Send private message
be_io
n00b
n00b


Joined: 12 Jul 2005
Posts: 12

PostPosted: Tue Jun 12, 2007 10:04 am    Post subject: Reply with quote

up, thanks :?
_________________
(---be_io---)

1 x Gentoo x86 text-based on QuadCore (2Go, 1,5To, Lvm2, Raid)
1 x Gentoo powerpc on Mac G4 Cube (512Mo, 80Go, Lvm)





Gentoo
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Tue Jun 12, 2007 11:42 am    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=177802
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
be_io
n00b
n00b


Joined: 12 Jul 2005
Posts: 12

PostPosted: Tue Jun 12, 2007 12:16 pm    Post subject: Reply with quote

Sorry :oops: , thanks
_________________
(---be_io---)

1 x Gentoo x86 text-based on QuadCore (2Go, 1,5To, Lvm2, Raid)
1 x Gentoo powerpc on Mac G4 Cube (512Mo, 80Go, Lvm)





Gentoo
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Tue Jun 12, 2007 2:16 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads.

See https://forums.gentoo.org/viewtopic-t-559833.html
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
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