Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395421 - can't update ca-certificates
Summary: can't update ca-certificates
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-20 22:30 UTC by pavel sanda
Modified: 2011-12-20 22:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pavel sanda 2011-12-20 22:30:39 UTC
when trying to update ca-certificates i get collisions:
>>> Installing (1 of 1) app-misc/ca-certificates-20111025
 * checking 500 files for package collisions
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). Once again, please do NOT file
 * a bug report unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 *      /usr/share/doc/ca-certificates-20111025/NEWS.Debian.bz2
 *      /usr/share/doc/ca-certificates-20111025/changelog.bz2
 *      /usr/share/doc/ca-certificates-20111025/copyright.bz2
 *      /usr/share/doc/ca-certificates-20111025/README.Debian.bz2
 *      /usr/share/ca-certificates/mozilla/NetLock_Arany_=Class_Gold=_FÄšÂtanÄĹsÄ­tvÄÄny.crt
 *      /usr/share/ca-certificates/mozilla/Certum_Trusted_Network_CA.crt
 *      /usr/share/ca-certificates/mozilla/Starfield_Root_Certificate_Authority_-_G2.crt
 *      /usr/share/ca-certificates/mozilla/Root_CA_Generalitat_Valenciana.crt
 *      /usr/share/ca-certificates/mozilla/AC_RaÄ­z_CerticÄÄmara_S.A..crt
 *      /usr/share/ca-certificates/mozilla/TÄÂBĂ°TAK_UEKAE_KÄĹk_Sertifika_Hizmet_SaĂÂlayĂÄcĂÄsĂÄ_-_SÄĹşrÄĹşm_3.crt
 *      /usr/share/ca-certificates/mozilla/AffirmTrust_Premium_ECC.crt
 *      /usr/share/ca-certificates/mozilla/Certinomis_-_AutoritÄĹ _Racine.crt
 *      /usr/share/ca-certificates/mozilla/A-Trust-nQual-03.crt
 *      /usr/share/ca-certificates/mozilla/Starfield_Services_Root_Certificate_Authority_-_G2.crt
 *      /usr/share/ca-certificates/mozilla/AffirmTrust_Networking.crt
 *      /usr/share/ca-certificates/mozilla/AffirmTrust_Premium.crt
 *      /usr/share/ca-certificates/mozilla/TWCA_Root_Certification_Authority.crt
 *      /usr/share/ca-certificates/mozilla/AffirmTrust_Commercial.crt
 *      /usr/share/ca-certificates/mozilla/Go_Daddy_Root_Certificate_Authority_-_G2.crt
 *      /usr/share/ca-certificates/mozilla/EBG_Elektronik_Sertifika_Hizmet_SaĂÂlayĂÄcĂÄsĂÄ.crt
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * None of the installed packages claim the file(s).
 * 
 * Package 'app-misc/ca-certificates-20111025' merged despite file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.


and emerge finally dies at:
Traceback (most recent call last):
  File "/usr/lib64/portage/pym/portage/dbapi/_MergeProcess.py", line 246, in _spawn
    prev_mtimes=self.prev_mtimes, counter=counter)
  File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 4261, in merge
    counter=counter)
  File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 3586, in treewalk
    rval = self._merge_contents(srcroot, destroot, cfgfiledict)
  File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 3870, in _merge_contents
    if self.mergeme(srcroot, destroot, outfile, secondhand, "", cfgfiledict, mymtime):
  File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 4140, in mergeme
    join(offset, x), cfgfiledict, thismtime):
  File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 4140, in mergeme
    join(offset, x), cfgfiledict, thismtime):
  File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 4140, in mergeme
    join(offset, x), cfgfiledict, thismtime):
  File "/usr/lib64/portage/pym/portage/dbapi/vartree.py", line 3988, in mergeme
    myabsto = abssymlink(mysrc)
  File "/usr/lib64/portage/pym/portage/__init__.py", line 385, in abssymlink
    mylink=os.readlink(symlink)
  File "/usr/lib64/portage/pym/portage/__init__.py", line 215, in __call__
    rval = self._func(*wrapped_args, **wrapped_kwargs)
OSError: [Errno 2] No such file or directory: '/var/tmp/portage/app-misc/ca-certificates-20111025/image/etc/ssl/certs/T\xc4\x82\xc2\x9cB\xc3\x84\xc2\xb0TAK_UEKAE_K\xc4\x82\xc5\x9bk_Sertifika_Hizmet_Sa\xc3\x84\xc2\x9flay\xc3\x84\xc4\x85c\xc3\x84\xc4\x85s\xc3\x84\xc4\x85_-_S\xc4\x82\xc5\xbar\xc4\x82\xc5\xbam_3.pem'


even if i ignore collisions by COLLISION_IGNORE="/usr/share" emerge --oneshot app-misc/ca-certificates, emerge still dies on the message above

Reproducible: Always
Comment 1 pavel sanda 2011-12-20 22:31:12 UTC
emerge --info:
Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 2.6.39-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-AMD_Athlon-tm-_II_X2_265_Processor-with-gentoo-2.0.3
Timestamp of tree: Tue, 20 Dec 2011 22:00:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo rebutia sunrise
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -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/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/"
LANG="cs_CZ"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/var/lib/layman/rebutia /var/lib/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X amd64 berkdb bzip2 cleartype cli cracklib crypt cups cxx djvu dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python qt readline session sse sse2 ssl sysfs tcpd tiff unicode xorg 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 pavel sanda 2011-12-20 22:34:33 UTC
updating portage helped.