You are not logged in.

#1 2021-06-22 20:57:16

smitropoulos
Member
Registered: 2020-04-14
Posts: 27

Trying to install polybar, multiple python errors

Hello there,

I had polybar-git  installed and tried to yay -Syu. When it came to polybar-git, I got multiple errors from python-pytz. I uninstalled it and tried to install it again. Now I get this:

❯ yay -S polybar
:: There are 3 providers available for polybar:
:: Repository AUR
    1) polybar 2) polybar-dwm-module 3) polybar-git 

Enter a number (default=1): 3
:: Checking for conflicts...
:: Checking for inner conflicts...
[Repo Make:13]  python-pytz-2021.1-1  python-babel-2.9.1-1  python-docutils-0.17-1  python-imagesize-1.2.0-4  python-snowballstemmer-2.1.0-1  python-sphinx-alabaster-theme-0.7.12-6  python-sphinxcontrib-applehelp-1.0.2-6  python-sphinxcontrib-devhelp-1.0.2-6  python-sphinxcontrib-htmlhelp-2.0.0-1  python-sphinxcontrib-jsmath-1.0.1-9  python-sphinxcontrib-qthelp-1.0.3-6  python-sphinxcontrib-serializinghtml-1.1.5-1  python-sphinx-4.0.2-1
[Aur:1]  polybar-git-3.5.6-1

==> Remove make dependencies after install? [y/N] y
  1 polybar-git                      (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: PKGBUILD up to date, Skipping (1/1): polybar-git
  1 polybar-git                      (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
:: (1/1) Parsing SRCINFO: polybar-git
resolving dependencies...
looking for conflicting packages...

Package (13)                                    New Version  Net Change

community/python-babel                          2.9.1-1       27.10 MiB
community/python-docutils                       0.17-1         4.37 MiB
community/python-imagesize                      1.2.0-4        0.03 MiB
community/python-pytz                           2021.1-1       0.14 MiB
community/python-snowballstemmer                2.1.0-1        1.66 MiB
community/python-sphinx                         4.0.2-1       14.27 MiB
community/python-sphinx-alabaster-theme         0.7.12-6       0.04 MiB
community/python-sphinxcontrib-applehelp        1.0.2-6        0.24 MiB
community/python-sphinxcontrib-devhelp          1.0.2-6        0.12 MiB
community/python-sphinxcontrib-htmlhelp         2.0.0-1        0.15 MiB
community/python-sphinxcontrib-jsmath           1.0.1-9        0.01 MiB
community/python-sphinxcontrib-qthelp           1.0.3-6        0.15 MiB
community/python-sphinxcontrib-serializinghtml  1.1.5-1        0.12 MiB

Total Installed Size:  48.41 MiB

:: Proceed with installation? [Y/n] y
(13/13) checking keys in keyring                                                              [#######################################################] 100%
(13/13) checking package integrity                                                            [#######################################################] 100%
(13/13) loading package files                                                                 [#######################################################] 100%
(13/13) checking for file conflicts                                                           [#######################################################] 100%
error: failed to commit transaction (conflicting files)
python-pytz: /usr/lib/python3.9/site-packages/pytz/__init__.py exists in filesystem
python-pytz: /usr/lib/python3.9/site-packages/pytz/__pycache__/__init__.cpython-39.pyc exists in filesystem
python-pytz: /usr/lib/python3.9/site-packages/pytz/__pycache__/exceptions.cpython-39.pyc exists in filesystem
python-pytz: /usr/lib/python3.9/site-packages/pytz/__pycache__/lazy.cpython-39.pyc exists in filesystem
python-pytz: /usr/lib/python3.9/site-packages/pytz/__pycache__/reference.cpython-39.pyc exists in filesystem
python-pytz: /usr/lib/python3.9/site-packages/pytz/__pycache__/tzfile.cpython-39.pyc exists in filesystem
python-pytz: /usr/lib/python3.9/site-packages/pytz/__pycache__/tzinfo.cpython-39.pyc exists in filesystem
python-pytz: /usr/lib/python3.9/site-packages/pytz/exceptions.py exists in filesystem
python-pytz: /usr/lib/python3.9/site-packages/pytz/lazy.py exists in filesystem
python-pytz: /usr/lib/python3.9/site-packages/pytz/reference.py exists in filesystem
python-pytz: /usr/lib/python3.9/site-packages/pytz/tzfile.py exists in filesystem
python-pytz: /usr/lib/python3.9/site-packages/pytz/tzinfo.py exists in filesystem
Errors occurred, no packages were upgraded.
error: target not found: python-pytz
error: target not found: python-babel
error: target not found: python-docutils
error: target not found: python-imagesize
error: target not found: python-snowballstemmer
error: target not found: python-sphinx-alabaster-theme
error: target not found: python-sphinxcontrib-applehelp
error: target not found: python-sphinxcontrib-devhelp
error: target not found: python-sphinxcontrib-htmlhelp
error: target not found: python-sphinxcontrib-jsmath
error: target not found: python-sphinxcontrib-qthelp
error: target not found: python-sphinxcontrib-serializinghtml
error: target not found: python-sphinx

Anyone knows what is going on? It seems completely new to me, never seen this kind of errors again

Offline

#2 2021-06-22 21:15:48

patrickziegler
Member
From: ::1
Registered: 2018-11-02
Posts: 29
Website

Re: Trying to install polybar, multiple python errors

Seems like you have files in your file system at the same location as pacman wants to install something. Likely because you manually installed something at some point.

The wiki has a section about this: https://wiki.archlinux.org/title/Pacman … )%22_error

Offline

#3 2021-06-22 21:17:03

smitropoulos
Member
Registered: 2020-04-14
Posts: 27

Re: Trying to install polybar, multiple python errors

patrickziegler wrote:

Seems like you have files in your file system at the same location as pacman wants to install something. Likely because you manually installed something at some point.

The wiki has a section about this: https://wiki.archlinux.org/title/Pacman … )%22_error


Seems like I did do it.. I did sudo pip install stuff! I am manually deleting now...

Offline

#4 2021-06-22 21:18:42

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Trying to install polybar, multiple python errors

smitropoulos wrote:

I did sudo pip install stuff!

Never, ever do that again. It's a sure fire way to break your system.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB