You are not logged in.
As a result, I had to edit the ignopkg section of “/etc/pacman.conf” file, then ignore the software packages. The configuration file is as follows:
[kindu@legion ~]$ cat /etc/pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg=pipewire pipewire-alsa python python-appdirs python-atspi python-attrs python-automat python-beaker python-cachecontrol python-cairo python-cffi python-chardet python-click python-colorama python-constantly python-contextlib2 python-cryptography python-daemon python-distlib python-distro python-dnspython python-docutils python-evdev python-geoip python-gobject python-html5lib python-hyperlink python-idna python-importlib-metadata python-incremental python-lockfile python-lxml python-magic python-mako python-markdown python-markupsafe python-more-itertools python-msgpack python-olefile python-ordered-set python-packaging python-pep517 python-pexpect python-pillow python-pip python-ply python-progress python-ptyprocess python-pyalsa python-pyasn1 python-pyasn1-modules python-pybluez python-pycparser python-pycryptodomex python-pynacl python-pyopenssl python-pyparsing python-pyqt5 python-pyqt5-sip python-pysocks python-pyxdg python-rencode python-requests python-resolvelib python-retrying python-service-identity python-setproctitle python-setuptools python-simplejson python-six python-stem python-toml python-tomli python-twisted python-typing_extensions python-urllib3 python-webencodings python-wheel python-yaml python-zipp python-zope-interface
#IgnoreGroup = python
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
#Color
#NoProgressBar
CheckSpace
#VerbosePkgLists
#ParallelDownloads = 5
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
Last edited by kindusmith (2021-12-13 23:14:47)
Offline
reboot after upgrading python 3.10.1, then black screen
There's no usable information here. Do you autorun a desktop environment upon boot with graphical login? If so, which one? If not, what normally occurs after booting?
Did you get any error messages? Did you try switching to a different TTY for a non-gui login? What do the logs say?
It seems that you're using a mirror that is not properly synced because all of the rebuilt python packages were released with the new version of Python. I don't even understand how ignoring them would solve anything after the upgrade. Did you downgrade all of those packages?
If you've upgraded everything except those packages then your system is in a partially upgraded state. We do not support that on these forums. You need to identify the actual error and try to fix it.
edit
If you have installed python packages from the AUR or elsewhere then you need to rebuild them against the new version of python.
Last edited by Xyne (2021-12-13 22:25:57)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I use xfce4.16+lightdm , the old version is python3.9, and the screen is black after upgrading to the new version. Have to use liveusb's archlinux backup to restore. Switching tty is still a black screen, aur is not used, it is always pacman
Offline
Any pacman packages built against python 3.9 installed:
pacman -Qo /usr/lib/python3.9/
Offline
[kindu@legion ~]$ sudo pacman -Qo /usr/lib/python3.9/
[sudo] kindu's password:
/usr/lib/python3.9/ is owned by optimus-manager 1.4-2
/usr/lib/python3.9/ is owned by pip-tools 6.4.0-2
/usr/lib/python3.9/ is owned by python 3.9.9-1
/usr/lib/python3.9/ is owned by python-appdirs 1.4.4-3
/usr/lib/python3.9/ is owned by python-atspi 2.38.1-1
/usr/lib/python3.9/ is owned by python-attrs 21.2.0-1
/usr/lib/python3.9/ is owned by python-automat 20.2.0-6
/usr/lib/python3.9/ is owned by python-beaker 1.11.0-6
/usr/lib/python3.9/ is owned by python-cachecontrol 1:0.12.6-1
/usr/lib/python3.9/ is owned by python-cairo 1.20.1-1
/usr/lib/python3.9/ is owned by python-cffi 1.15.0-1
/usr/lib/python3.9/ is owned by python-chardet 4.0.0-3
/usr/lib/python3.9/ is owned by python-click 8.0.3-1
/usr/lib/python3.9/ is owned by python-colorama 0.4.4-4
/usr/lib/python3.9/ is owned by python-constantly 15.1.0-9
/usr/lib/python3.9/ is owned by python-contextlib2 0.6.0.post1-3
/usr/lib/python3.9/ is owned by python-cryptography 35.0.0-1
/usr/lib/python3.9/ is owned by python-daemon 2.3.0-1
/usr/lib/python3.9/ is owned by python-distlib 0.3.3-2
/usr/lib/python3.9/ is owned by python-distro 1.6.0-2
/usr/lib/python3.9/ is owned by python-dnspython 1:2.1.0-1
/usr/lib/python3.9/ is owned by python-docutils 0.17.1-2
/usr/lib/python3.9/ is owned by python-evdev 1.4.0-1
/usr/lib/python3.9/ is owned by python-geoip 1.3.2-10
/usr/lib/python3.9/ is owned by python-gobject 3.42.0-1
/usr/lib/python3.9/ is owned by python-html5lib 1.1-9
/usr/lib/python3.9/ is owned by python-hyperlink 21.0.0-2
/usr/lib/python3.9/ is owned by python-idna 3.3-1
/usr/lib/python3.9/ is owned by python-importlib-metadata 4.8.1-1
/usr/lib/python3.9/ is owned by python-incremental 21.3.0-2
/usr/lib/python3.9/ is owned by python-lockfile 0.12.2-9
/usr/lib/python3.9/ is owned by python-lxml 4.6.4-1
/usr/lib/python3.9/ is owned by python-magic 5.40-1
/usr/lib/python3.9/ is owned by python-mako 1.1.6-1
/usr/lib/python3.9/ is owned by python-markdown 3.3.6-1
/usr/lib/python3.9/ is owned by python-markupsafe 2.0.1-1
/usr/lib/python3.9/ is owned by python-more-itertools 8.10.0-1
/usr/lib/python3.9/ is owned by python-msgpack 1.0.2-2
/usr/lib/python3.9/ is owned by python-olefile 0.46-4
/usr/lib/python3.9/ is owned by python-ordered-set 4.0.2-3
/usr/lib/python3.9/ is owned by python-packaging 20.9-2
/usr/lib/python3.9/ is owned by python-pep517 0.12.0-2
/usr/lib/python3.9/ is owned by python-pexpect 4.8.0-4
/usr/lib/python3.9/ is owned by python-pillow 8.4.0-1
/usr/lib/python3.9/ is owned by python-pip 20.3.4-2
/usr/lib/python3.9/ is owned by python-ply 3.11-8
/usr/lib/python3.9/ is owned by python-progress 1.6-2
/usr/lib/python3.9/ is owned by python-ptyprocess 0.7.0-2
/usr/lib/python3.9/ is owned by python-pyalsa 1.2.6-1
/usr/lib/python3.9/ is owned by python-pyasn1 0.4.8-5
/usr/lib/python3.9/ is owned by python-pyasn1-modules 0.2.8-4
/usr/lib/python3.9/ is owned by python-pybluez 0.23-2
/usr/lib/python3.9/ is owned by python-pycparser 2.21-1
/usr/lib/python3.9/ is owned by python-pycryptodomex 3.10.1-1
/usr/lib/python3.9/ is owned by python-pynacl 1.4.0-3
/usr/lib/python3.9/ is owned by python-pyopenssl 21.0.0-2
/usr/lib/python3.9/ is owned by python-pyparsing 2.4.7-3
/usr/lib/python3.9/ is owned by python-pyqt5 5.15.6-2
/usr/lib/python3.9/ is owned by python-pyqt5-sip 12.9.0-1
/usr/lib/python3.9/ is owned by python-pysocks 1.7.1-5
/usr/lib/python3.9/ is owned by python-pyxdg 0.27-2
/usr/lib/python3.9/ is owned by python-rencode 1.0.6-5
/usr/lib/python3.9/ is owned by python-requests 2.26.0-2
/usr/lib/python3.9/ is owned by python-resolvelib 0.5.5-2
/usr/lib/python3.9/ is owned by python-retrying 1.3.3-10
/usr/lib/python3.9/ is owned by python-service-identity 21.1.0-1
/usr/lib/python3.9/ is owned by python-setproctitle 1.2.2-1
/usr/lib/python3.9/ is owned by python-setuptools 1:57.4.0-2
/usr/lib/python3.9/ is owned by python-simplejson 3.17.6-1
/usr/lib/python3.9/ is owned by python-six 1.16.0-1
/usr/lib/python3.9/ is owned by python-stem 1.8.0-3
/usr/lib/python3.9/ is owned by python-toml 0.10.2-3
/usr/lib/python3.9/ is owned by python-tomli 1.2.2-2
/usr/lib/python3.9/ is owned by python-twisted 21.7.0-1
/usr/lib/python3.9/ is owned by python-typing_extensions 3.10.0.2-2
/usr/lib/python3.9/ is owned by python-urllib3 1.26.7-2
/usr/lib/python3.9/ is owned by python-webencodings 0.5.1-7
/usr/lib/python3.9/ is owned by python-wheel 0.37.0-2
/usr/lib/python3.9/ is owned by python-yaml 5.4.1.1-2
/usr/lib/python3.9/ is owned by python-zipp 3.6.0-1
/usr/lib/python3.9/ is owned by python-zope-interface 5.4.0-2
Offline
aur is not used, it is always pacman
Bullshit.
┌─[Centurion ~]
└─╼ pkgsearch optimus-manager
Not in repos, searching AUR...
• optimus-manager
Offline
/usr/lib/python3.9/ is owned by optimus-manager 1.4-2
Did you rebuild optimus-manager for python 3.10?
Offline
No, well I’ll try it, thank you
Offline