Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 850955

Summary: gnome-extra/chrome-gnome-shell-10-r5: Installation of a directory is blocked by a file
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: nE0sIghT <ykonotopov>
Status: RESOLVED OBSOLETE    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/26537
Whiteboard:
Package list:
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2022-06-10 07:55:42 UTC
I don't know why this happens, but I get this when updating my systems:
ERROR: preinst

Installation of a directory is blocked by a file:
  '/usr/lib/python3.9/site-packages/chrome_gnome_shell-0.0.0-py3.9.egg-info'
This file will be renamed to a different name:
  '/usr/lib/python3.9/site-packages/chrome_gnome_shell-0.0.0-py3.9.egg-info.backup.0000'

Thanks
Comment 1 nE0sIghT 2022-06-10 07:59:18 UTC
Is it output from chrome-gnome-shell emerge?
Is it upgrade or new install?

Installation fails? Could you please attach build.log?
Comment 2 Pacho Ramos gentoo-dev 2022-06-10 09:09:05 UTC
The problem is that I cannot retrieve the build.log from that systems as merge succeeded at the end after the renaming. 

Maybe the bug was long time ago due to python eclasses, as it seems old /usr/lib/python3.9/site-packages/chrome_gnome_shell-0.0.0-py3.9.egg-info.backup.0000 is a file containing:
Metadata-Version: 1.0
Name: chrome-gnome-shell
Version: 0.0.0
Summary: Provides integration with GNOME Shell extensions repository for Chrome browser
Home-page: https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome
Author: Yuri Konotopov
Author-email: UNKNOWN
License: UNKNOWN
Description: UNKNOWN
Platform: UNKNOWN

And now is a directory with:
# ls -l /usr/lib/python3.9/site-packages/chrome_gnome_shell-0.0.0-py3.9.egg-info
total 16
-rw-r--r-- 1 root root   1 jun 10 11:03 dependency_links.txt
-rw-r--r-- 1 root root 292 jun 10 11:03 PKG-INFO
-rw-r--r-- 1 root root 286 jun 10 11:03 SOURCES.txt
-rw-r--r-- 1 root root  11 jun 10 11:03 top_level.txt

But I am not sure... in that case we could probably close this as the bug shouldn't reappear :/
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-10 09:15:12 UTC
Could you run qfile -o /usr/lib/python3.*/site-packages/*egg* and backup then remove all the results?

Then let us know if it happens again? It's possible this is from some bad package in the past
Comment 4 Pacho Ramos gentoo-dev 2022-06-10 10:03:03 UTC
I get this:
# qfile -o /usr/lib/python3.*/site-packages/*egg* 
/usr/lib/python3.9/site-packages/chrome_gnome_shell-0.0.0-py3.9.egg-info.backup.0000


It was probably something that was wrong like 6 months ago in stable as I think all the systems updated from there showed this for chrome-gnome-shell ... in any case ,I think current package is installing the things properly... then probably is not going to happen again in the future
Comment 5 nE0sIghT 2022-07-23 09:46:44 UTC
Package build system was switched to meson in 42.0 so egg information will not be generated anymore.