Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 850955 - gnome-extra/chrome-gnome-shell-10-r5: Installation of a directory is blocked by a file
Summary: gnome-extra/chrome-gnome-shell-10-r5: Installation of a directory is blocked ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: nE0sIghT
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-10 07:55 UTC by Pacho Ramos
Modified: 2022-07-23 09:46 UTC (History)
1 user (show)

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 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.