Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Blocks when portage attempts to shift to KDE 6
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ericrhenry
n00b
n00b


Joined: 02 Jul 2009
Posts: 39
Location: Bethesda, MD

PostPosted: Mon Sep 02, 2024 3:58 pm    Post subject: [SOLVED] Blocks when portage attempts to shift to KDE 6 Reply with quote

I'm a long-time fan and user of Gentoo, but have usually relied on the built-in intelligence of the portage system rather than micro-managing things myself. I've actually done nothing deliberate to bring about the transition to KDE 6. I realize that 5 has pretty much reached end-of-life. For years I've just dutifully (every week or two) done my 'emerge --update...world', resolving dependency issues as required to make things work, managing Python version transitions, etc. (I recently brought my desktop profile up to date.) The current update attempt is now, for the first time, trying to bring in KDE 6. There appear to be some differences in the process between a couple of my systems, but I will just focus on the one case, where it is actually uninstalling the KDE 5 version of an app before merging the KDE 6 version. This case cites a large number of blocks, ALMOST all of which are resolved. The exceptions are
Code:
blocks B      ] kde-plasma/plasma-workspace-wallpapers:5 ("kde-plasma/plasma-workspace-wallpapers:5" is soft blocking kde-plasma/plasma-workspace-wallpapers-6.1.4)
[blocks B      ] kde-frameworks/kf-env:5 ("kde-frameworks/kf-env:5" is soft blocking kde-frameworks/kf-env-6)
[blocks B      ] kde-frameworks/breeze-icons:5 ("kde-frameworks/breeze-icons:5" is soft blocking kde-frameworks/breeze-icons-6.5.0)


The attempt on another of my systems has similar results, except that the plasma-workspace-wallpapers unresolved block is not present. I'm a little leery of the usual strategies to resolve such blocks, such as installing/reinstalling certain things as appropriate. The recent news item seems to imply that the usual 'emerge ... @world' **should** pretty much 'just work', so I'm wondering what might be causing these blocks.
Thanks in advance...

My profile is
Code:
[48]  default/linux/amd64/23.0/split-usr/desktop/plasma (stable) *

My emerge --info output is (sorry for the length):
Code:
System uname: Linux-5.10.27-gentoo-x86_64-Intel-R-_Core-TM-_i7-10510U_CPU_@_1.80GHz-with-glibc2.39
KiB Mem:    49003404 total,   1849904 free
KiB Swap:   32766972 total,  20618748 free
Timestamp of repository gentoo: Mon, 02 Sep 2024 14:00:00 +0000
Head commit of repository gentoo: feac5e2ea036535483ebec78be3a89d8d3903fe1
Head commit of repository aclex-pytorch: 95be4e538bad5b68014436b21e5ad66d78435849

Timestamp of repository dlang: Fri, 30 Aug 2024 08:04:11 +0000
Head commit of repository dlang: e525687142ee05a8492a3f3789705abb5ba29e69

Timestamp of repository guru: Mon, 02 Sep 2024 13:35:59 +0000
Head commit of repository guru: 864c7753213056d64742bfe752c93771102618b4

Timestamp of repository science: Sun, 01 Sep 2024 11:19:05 +0000
Head commit of repository science: ea612961b7de4530ceb7600db8f7ea6bb79df968

Timestamp of repository stefantalpalaru: Sun, 21 Jul 2024 15:48:52 +0000
Head commit of repository stefantalpalaru: 264a6c277eb53610f500c185f9f5a581d3b2b32a

sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.69-r5::gentoo, 2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.1::gentoo
dev-java/java-config:      2.3.1-r1::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.9.17::gentoo, 3.10.13::gentoo, 3.11.9-r1::gentoo, 3.12.3-r1::gentoo
dev-lang/rust:             1.79.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo, 2.38-r2::gentoo, 2.39-r5::gentoo, 2.40-r9::gentoo, 2.41-r5::gentoo, 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo, 17.0.6::gentoo, 18.1.8::gentoo
sys-devel/gcc:             10.3.0-r2::gentoo, 11.3.1_p20221209::gentoo, 12.3.1_p20230526::gentoo, 13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             16.0.6::gentoo, 17.0.6::gentoo, 18.1.8::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.6::gentoo, 18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:

aclex-pytorch
    location: /var/db/repos/aclex-pytorch
    sync-type: git
    sync-uri: https://github.com/aclex/pytorch-ebuild
    masters: gentoo
    volatile: False

dlang
    location: /var/db/repos/dlang
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/dlang.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

science
    location: /var/db/repos/science
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/science.git
    masters: gentoo
    volatile: False

stefantalpalaru
    location: /var/db/repos/stefantalpalaru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/stefantalpalaru.git
    masters: gentoo guru
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/vmware-installer"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo/ http://gentoo.osuosl.org/ http://gentoo.ussg.indiana.edu/ http://mirror.lug.udel.edu/pub/gentoo/ rsync://rsync.gtlib.gatech.edu/gentoo http://gentoo.cs.utah.edu/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr elogind encode eselect-ldso exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kf6compat kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb v4l vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="intel i965 iris" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


[Moderator edit: added [code] tags to preserve output layout. -- pietinger]


Last edited by ericrhenry on Fri Sep 06, 2024 1:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9122

PostPosted: Mon Sep 02, 2024 4:07 pm    Post subject: Reply with quote

If you have these blocks, then you likely didn't read all of the news item.

We would need your complete Portage output though. Use a pastebin.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4855
Location: Bavaria

PostPosted: Mon Sep 02, 2024 4:10 pm    Post subject: Reply with quote

Moved from Desktop Environments to Portage & Programming.
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
ericrhenry
n00b
n00b


Joined: 02 Jul 2009
Posts: 39
Location: Bethesda, MD

PostPosted: Mon Sep 02, 2024 6:19 pm    Post subject: Reply with quote

Thanks @asturm for the quick reply. I did in fact read the entire news item (which you appear to have authored :) . The only instructions that I perhaps did not pay necessary attention to are

- Cleanup sets and @world from any SLOT or version pinning of KDE packages
- If possible, perform the upgrade not inside a running Plasma session

The first I did not quite understand, I guess. The second is feasible, by rebooting as single user, for example...

Not trying to be obtuse, I really do appreciate your input: I've never used pastebin, will of course do so if needed. I subscribe to the "teach a man to fish" ethic--in this case meaning that I'm not looking for somebody to solve my problem, but to perhaps give me the tools to solve the problem myself. In that spirit, could you perhaps give me some idea of what to look for in the massive output from the 'emerge -pv...@world' operation? In the conflicts are certainly listed 'required by' packages from outside the kde-frameworks,kde-apps/kde-plasma universe, including libreoffice, kio-fuse, kdevelop, phonon...

If that is hard to articulate, I willl of course go the pastebin route. Many thanks...
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22404

PostPosted: Mon Sep 02, 2024 6:28 pm    Post subject: Reply with quote

The shown hard blocks are, in my opinion, and indication that you have told Portage that it must have two mutually incompatible packages installed at once. This is impossible, so it reports the block and exits. The advice in the news is likely because performing that cleanup would normally result in Portage no longer being instructed to need the mutually incompatible packages. This could happen if you previously had KDE Foo installed, and Plasma 6 replaces KDE Foo with KDE Bar, and does so in a way that you must remove Foo before you can install Bar. If you have directly told Portage (via @world) that you want Foo, and the attempt to install Plasma 6 generally results in Portage trying to install KDE Bar (perhaps because most people want it), then you get a conflict.

As regards a pastebin, you may find app-text/wgetpaste helpful. I suggest you install that, use it to provide us the contents of @world, a list of any sets you have enabled, the contents of those sets, and the full output of your failed command. We can try to explain to you what in that output we use to solve your problem, but it will be easier to use that as a worked example than to give you general guidance that you then must apply on your own. If you want to try this on your own, then I suggest you review @world and your sets looking for any KDE-related packages, paying particular attention to those with version qualifiers. Remove those from @world / sets, so that Portage is permitted to unmerge them if it deems fit. Don't unmerge them yourself. You only need to give Portage permission that it can do so if that is required in order to solve your problem. Retry the command. If you're still stuck, share the output.
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3375
Location: Canada

PostPosted: Mon Sep 02, 2024 6:41 pm    Post subject: Reply with quote

ericrhenry wrote:
Thanks @asturm for the quick reply. I did in fact read the entire news item (which you appear to have authored :) . The only instructions that I perhaps did not pay necessary attention to are

- Cleanup sets and @world from any SLOT or version pinning of KDE packages
- If possible, perform the upgrade not inside a running Plasma session

The first I did not quite understand, I guess. The second is feasible, by rebooting as single user, for example...

Not trying to be obtuse, I really do appreciate your input: I've never used pastebin, will of course do so if needed. I subscribe to the "teach a man to fish" ethic--in this case meaning that I'm not looking for somebody to solve my problem, but to perhaps give me the tools to solve the problem myself. In that spirit, could you perhaps give me some idea of what to look for in the massive output from the 'emerge -pv...@world' operation? In the conflicts are certainly listed 'required by' packages from outside the kde-frameworks,kde-apps/kde-plasma universe, including libreoffice, kio-fuse, kdevelop, phonon...

If that is hard to articulate, I willl of course go the pastebin route. Many thanks...



Second advice can be achievable by login out of KDE, switching to tty (ALT+CNTRL+F1), login in as root, and stopping displaymanager /etc/init.d/display-manager stop (for openrc)
Back to top
View user's profile Send private message
ericrhenry
n00b
n00b


Joined: 02 Jul 2009
Posts: 39
Location: Bethesda, MD

PostPosted: Mon Sep 02, 2024 10:54 pm    Post subject: Reply with quote

Sorry, naive question: Contents of @world may be found in /var/lib/portage/world? Or do I need a command sequence to extract it? Thanks
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3375
Location: Canada

PostPosted: Mon Sep 02, 2024 11:39 pm    Post subject: Reply with quote

ericrhenry wrote:
Sorry, naive question: Contents of @world may be found in /var/lib/portage/world? Or do I need a command sequence to extract it? Thanks


There is a command tool to interact with it, which a preferred method, but which I never remember. But it is an ordinary file. You can edit it with any editor. Except that any edits more sophisticated than line deletion can introduce errors, via errors in package names.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4855
Location: Bavaria

PostPosted: Tue Sep 03, 2024 1:22 am    Post subject: Reply with quote

Use these commands:
Code:
# eix -c --selected
# eix -c --system
# eix -c --world
# eix -c --installed-testing

/var/lib/portage/world == selected == (every appliation you have emerged; stable+unstable)
stage3 == system
world = selected + system
installed-testing shows all ~unstable installed

Usually it is adviced NOT to edit /var/lib/portage/world ... you can remove a package from this list with "emerge --deselect PACKAGENAME" (an "emerge -c" afterwards should deinstall it then).
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
ericrhenry
n00b
n00b


Joined: 02 Jul 2009
Posts: 39
Location: Bethesda, MD

PostPosted: Tue Sep 03, 2024 2:26 pm    Post subject: Reply with quote

I very much appreciate the helpful pointers. (eix is an old friend, but I've never used it in quite this way before.)

Output of various eix probes, as well as the output of the 'emerge -pv' attempt, are here

https://bpa.st/I5SOA

Many thanks again.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1865

PostPosted: Wed Sep 04, 2024 12:51 am    Post subject: Reply with quote

Quote:

(kde-frameworks/kf-env-5:5/5::gentoo, installed) pulled in by
kde-frameworks/kf-env:5 required by @selected


You appear to have this unnecessarily in your world file, which the news item points out is a problem.
Back to top
View user's profile Send private message
ericrhenry
n00b
n00b


Joined: 02 Jul 2009
Posts: 39
Location: Bethesda, MD

PostPosted: Wed Sep 04, 2024 12:22 pm    Post subject: Reply with quote

Thanks very much. That seems to have done it. Removing from @world the kf-env entry, along with the breeze-icons and one other entry caught in the soft blocks, allowed 'emerge -pv ...' to run without any unresolved blocks. I'm running the actual emerge now.

I'm not sure how those items ended up in @world. I confess that after many years of using Gentoo, I'm still not an expert on the various moving parts. I'm guessing that their being in @world meant that portage could not do the uninstall/reinstall sequence necessary to resolve the block. If true, that is a useful piece of information for addressing such unresolved blocks in the future.

Thanks again...
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4855
Location: Bavaria

PostPosted: Wed Sep 04, 2024 12:34 pm    Post subject: Reply with quote

ericrhenry wrote:
Thanks very much. [...]

You are very Welcome ! :D

ericrhenry wrote:
[...] I'm not sure how those items ended up in @world. [...]

You have probably run a targeted update on these packages without using the parameter “-1”. If you update a package that is slotted (e.g.: gentoo-sources) with “emerge -u gentoo-sources” then portage will make an additional entry in your /var/lib/portage/world. All packages that are slotted should - if updated individually - only be updated with “emerge -1u gentoo-sources” (only when updating to @world you not need this parameter “-1”).
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22404

PostPosted: Wed Sep 04, 2024 12:53 pm    Post subject: Reply with quote

ericrhenry wrote:
I'm guessing that their being in @world meant that portage could not do the uninstall/reinstall sequence necessary to resolve the block. If true, that is a useful piece of information for addressing such unresolved blocks in the future.
When an atom is in @world, Portage treats that as a declaration that you want this atom installed. That declaration causes it to disregard any solution that requires uninstalling the declared atom, even if that means disregarding all remaining solutions and reporting a failure to the user. The alternative would be for Portage to try to guess whether you place more value on keeping the declared atoms or on finding a solution forward, and from that guess, do something you did not request. Abandoning the process and telling you to make a decision is safer. Theoretically, you could have decided that you value kf-env:5 so highly that you would rather abandon installing Plasma 6 entirely than give up kf-env:5. Portage cannot know whether that is what you would do, so it aborts. Once you removed kf-env:5 from @world, Portage then decided that removing kf-env:5 was an acceptable side effect of installing Plasma 6, and was able to proceed.
Back to top
View user's profile Send private message
ericrhenry
n00b
n00b


Joined: 02 Jul 2009
Posts: 39
Location: Bethesda, MD

PostPosted: Wed Sep 04, 2024 2:08 pm    Post subject: Reply with quote

Thanks again to you all. I especially appreciate you taking the time to confirm my conjecture and elaborate on the reasoning. This is a very helpful enhancement to just saying "Take kf-env out of your world file" (although that initial suggestion provided the needed trigger), and goes a long way to avoiding future forum traffic (at least from me) :) . It also is motivation to pay closer attention to when to use '--oneshot', which I was broadly aware of. 'Nuff said...
Back to top
View user's profile Send private message
ericrhenry
n00b
n00b


Joined: 02 Jul 2009
Posts: 39
Location: Bethesda, MD

PostPosted: Thu Sep 05, 2024 1:17 pm    Post subject: Reply with quote

Sorry, I've run into a serious snag. I was able to run through the entire emerge update operation without errors, after all your kind help, so I presumably had Plasma 6 properly installed. When I attempt to restart the system, I am left with the usual greeter login prompt. After entering my credentials, it goes away for a bit and just comes back to the login prompt.

This suggests to me that one of the processes involved in bringing up the UI has encountered some kind of error. However, I've been unable to locate any kind of log which indicates an error. When I Ctrl-Alt to a shell session, I can see that sddm processes are still there, but /var/log/messages doesn't show anything, and I didn't see any sort of complaints in logging in my home directory. (Is sddm a potential problem with Plasma 6?)

I would appreciate any help in tracking down the cause of this, because the computer(s) involved are for many purposes bricked at the moment. I am posting this from a Windows computer (no UI on Linux machines) so don't have ready access to some of the usual things like emerge --info. That is one reason I am posting here, because at least that information was posted earlier in this thread. The news item did not list any potential configuration gotchas when doing the switch, at least that I could see, so I assumed that bringing things up would not be a problem.

Don't want to assume a desperate tone here, as I assume there is probably a simple solution, but OUCH.

PS. I just did some quick checks using qlist. qlist -IS kde-plasma/* shows mostly :6 entries, but there are instances of the same app present in both :6 and :5 versions. (Probably imperfect cleanup of @world on my part.) There is a lot more of the same in qlist -IS kde-frameworks/*. Is there possibly a version skew somewhere in the startup process that is stopping things?

I've put the current contents of sddm.log, which starts from my first attempt, here:

https://bpa.st/3YEM4

Huge thanks in advance.
Back to top
View user's profile Send private message
eschwartz
Developer
Developer


Joined: 29 Oct 2023
Posts: 145

PostPosted: Thu Sep 05, 2024 1:50 pm    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/KDE#Starting_Plasma

You can try starting plasma *without* a greeter login such as sddm, by logging in to the tty and then running the console command to start plasma. This probably won't solve the issue, but it does mean you can see if startplasma is logging some kind of weird error to stderr that might clue you in to what happened. Unclear whether that log file actually contains output from startplasma or if there's a second logfile somewhere for that or what.
Back to top
View user's profile Send private message
ericrhenry
n00b
n00b


Joined: 02 Jul 2009
Posts: 39
Location: Bethesda, MD

PostPosted: Thu Sep 05, 2024 2:31 pm    Post subject: Reply with quote

Quick follow-up: When I try

dbus-launch --exit-with-session startplasma-wayland

as described in the Wiki, I get the gear very briefly, and then a full-screen backdrop, probably a default, with a tree on a hillside. I have a mouse pointer, but the system is otherwise apparently frozen. I then can Ctrl-Alt-F1 to a login prompt.

Not sure of how things are sequenced, but when I boot into the stuck sddm, and Ctrl-Alt out, I seem to have 'X' running, but after using the above command I now see both 'X' and 'Xwayland' in the 'ps' output. The sddm log seems to suggest wayland all the way, but I'm not adept at interpreting this.


Last edited by ericrhenry on Thu Sep 05, 2024 2:36 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9122

PostPosted: Thu Sep 05, 2024 2:36 pm    Post subject: Reply with quote

Code:
dbus-launch --exit-with-session startplasma-wayland


What about -x11 then?


Last edited by asturm on Thu Sep 05, 2024 2:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
ericrhenry
n00b
n00b


Joined: 02 Jul 2009
Posts: 39
Location: Bethesda, MD

PostPosted: Thu Sep 05, 2024 2:38 pm    Post subject: Reply with quote

I'm sorry, could you elaborate? Do you mean using dbus-launch with -x11 as argument?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9122

PostPosted: Thu Sep 05, 2024 2:39 pm    Post subject: Reply with quote

ericrhenry wrote:
I'm sorry, could you elaborate? Do you mean using dbus-launch with -x11 as argument?

startplasma-x11, it is directly above in the same wiki page.

Are you sure the upgrade of kde-plasma/plasma-meta actually finished completely? Tried to delete ~/.cache? Is it the same with a clean user profile (just test with a newly created user)?

Quote:
The news item did not list any potential configuration gotchas when doing the switch, at least that I could see, so I assumed that bringing things up would not be a problem.

It did have some recommendations listed; read/applied those?
Back to top
View user's profile Send private message
ericrhenry
n00b
n00b


Joined: 02 Jul 2009
Posts: 39
Location: Bethesda, MD

PostPosted: Thu Sep 05, 2024 2:44 pm    Post subject: Reply with quote

Thanks. First complains about DISPLAY not being set. When I set to ':0', it then comes back with

Authorization required, but no authorization protocol specified. (repeated once)

Then

$DISPLAY is not set or cannot cnnect to the X server.

(This is after I killed Xwayland, but kept X.)
Back to top
View user's profile Send private message
ericrhenry
n00b
n00b


Joined: 02 Jul 2009
Posts: 39
Location: Bethesda, MD

PostPosted: Thu Sep 05, 2024 2:56 pm    Post subject: Reply with quote

I've been through the news item pretty carefully. One thing that strike me is the paragraph starting with 'Plasma Wayland support has come a long way...', indicating that wayland has somehow become the default. If this is the problem, what exactly is involved in selecting X11 in the "display manager of choice"? I go many years between having to edit DM configurations, so I just need to know what to edit.
Back to top
View user's profile Send private message
ericrhenry
n00b
n00b


Joined: 02 Jul 2009
Posts: 39
Location: Bethesda, MD

PostPosted: Thu Sep 05, 2024 3:39 pm    Post subject: Reply with quote

I think I was able to change the display server successfully, by editing a file in sddm.conf to set DisplayServer=x11. This resulted in a lot less chatter in the sddm.log file, with no error indications of any kind, but with the same result.

I then created a dummy user (no .cache), restarted the display-manager and attempted to login again. Same relatively sparse output in sddm.log (i.e. no wayland mentions), no errors of any kind. When I Ctrl-Alt out of the hung login process, X is still running, as well as the sddm* processes. The Xorg.0.log file looks pretty nominal, with the only 'EE' indications being some missing modules (which I believe has always been the case). Obviously nothing fatal, because the log continues for a while after these, and leaves the process running. PAM authentication appears to be fine in all cases (passwords are correct).

I'm mainly at a loss for trying to find what in the chain of events is breaking...
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3375
Location: Canada

PostPosted: Thu Sep 05, 2024 3:41 pm    Post subject: Reply with quote

ericrhenry wrote:
I've been through the news item pretty carefully. One thing that strike me is the paragraph starting with 'Plasma Wayland support has come a long way...', indicating that wayland has somehow become the default. If this is the problem, what exactly is involved in selecting X11 in the "display manager of choice"? I go many years between having to edit DM configurations, so I just need to know what to edit.



It is a good question. Following this statement, I put DisplayServer=x11 in the [General] section of sddm.conf (more exactly, I created /etc/sddm.conf.d/02X11.conf file for that), however sddm prompt still had KDE(wayland) as default choice. So I manually chose KDE(X11),
and after logout it remembered that. I then tried to see what sddm conf setting does if anything. Seems nothing, sddm with or without this settings launches X before KDE takes over.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum