Hi everyone, I ran apt full-upgrade last month and accidentally deleted a couple packages that weren’t supposed to be removed, due to me not paying enough attention. I could recover most of the system just fine, since most of the missing features and related packages were obvious to me. However, I still couldn’t figure out why transparency is not working on KDE, both in Wayland and X. I suspected it could be a missing compositor, but libwayland and libqt6waylandcompositor6 (and related packages) are all installed (and that wouldn’t explain why it isn’t also working on X).

I have attached a screenshot to illustrate what I mean.

I would appreciate if anyone could help me figure out what package might be missing that is causing this issue. Thanks in advance!

EDIT: Thank you so much everyone! I finally solved my problem. I just had to replace libqt5quick5-gles by libqt5quick5 (non gles version).

Commandline: apt install libqt5quick5
Install: libqt5quick5:amd64 (5.15.10+dfsg-2+b2)
Remove: libqt5quick5-gles:amd64 (5.15.10+dfsg-2+b2)
31 points

if you don’t have any backups (like normal people do), check the logs of the package manager. for example /var/log/apt/history.log should have a neat list of operations with timestamps and packages.

permalink
report
reply
17 points

Most people don’t really get out their way to set up backup manually. Either system should try really hard to avoid corruption or implement a recovery system. Ideally both.

permalink
report
parent
reply
7 points

Well, the Linux world is moving towards btrfs and zero-setup automatic snapshots. Those would have made it trivial to rollback a broken update like that. Unfortunaly, it’s still going to take a few years before Debian makes the move…

permalink
report
parent
reply
-1 points

Unfortunaly, it’s still going to take a few years before Debian makes the move…

Debian is as traditional as it gets, change comes slooowly. I don’t see why it’s still so popular

permalink
report
parent
reply
1 point

You don’t need to get out of your way. You can, for example, just tar --one-file-system, clonezilla or rsync or maybe even drag and drop copy all your important file systems on a USB HD, USB stick or cloud storage that you then check and unplug/unmount.

This is very easy and can run in the background while you do some other stuff. Even if the backup isn’t good and for example doesn’t have proper permissions, because you drag and drop copied, it will have the info required to reinstall and restore the exact system you had at the time of the backup.

permalink
report
parent
reply
8 points

I do store regular backups of this machine, but not of /var. I can always reinstall Debian (or whatever other distro), while keeping other relevant configs intact (stored in the backups) and not lose any critical data.

I commented below that I did check /var/log/dpkg.log, but it didn’t help much due to the high number of packages removed that day.

At this point I am more curious to learn more about KDE and what is causing the problem, since other desktop environments (I installed mate) seem to work fine.

permalink
report
parent
reply
7 points
Deleted by creator
permalink
report
parent
reply
1 point

I tried reinstalling kde-full, but sadly nothing happened (all packages were already marked as installed).

permalink
report
parent
reply
-1 points

This one

permalink
report
parent
reply
21 points

Tell me your distro didn’t test dependencies properly without using those words.

permalink
report
reply
12 points

Its called sid for a reason

permalink
report
parent
reply
3 points

I audibly laughed at this. I actually knew I was entering treacherous waters by running apt full-upgrade in Sid, but still thought “well, we’ll see…”

permalink
report
parent
reply
18 points

Windows: NO! YOU CAN NOT UNINSTALL THE BROWSER!!! Linux: Sure, delete Sys32.

permalink
report
reply
3 points

The Gentoo sub had such a nice subtitle because it is indeed accurate! Definitely one of the things I like the most about “flexible” distros.

“Gentoo Linux: Because you like it when the power is in your hands”

permalink
report
parent
reply
13 points

Are you on BTRFS? If so maybe you could restore to a snapshot prior to the apt upgrade?

I’m not very familiar with Debian, but perhaps there are official “groups” of packages that comprise a set of softwares, like KDE. Perhaps you could re-install that group, if it exists?

You could also create a new user, log in as that user, and see if the issue persists. If so then you’ll know it’s a system wide issue. If not, then maybe you could migrate to the new user?

Good luck!

permalink
report
reply
12 points
*

Sadly I am not using BTRFS for my root directory on this specific system. If I end up deciding to reinstall, I will definitely go back to BTRFS to avoid such problems.

Debian actually has a KDE group named kde-full. I reinstalled it but the issue persists, which was honestly surprising to me.

~$ sudo apt install kde-full
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
kde-full is already the newest version (5:147).
0 upgraded, 0 newly installed, 0 to remove and 87 not upgraded.

The new user idea was really clever, thanks for the suggestion! I will try that now and see.

Edit: the new user also presents the same problem. Actually, it makes sense, since SDDM is affected as well (I should have mentioned that before).

permalink
report
parent
reply
5 points

Debian doesn’t have package groups in that sense. kde-full is just a package which depends on the other KDE packages.
So, if you tell it to install kde-full, it’ll just check that, yes, it does have the kde-full package installed, whether all the dependencies are fulfilled or not.

You can try doing apt --fix-broken install (without specifying a package), maybe that will pull in the missing dependency.
Or you can reinstall: apt reinstall kde-full

permalink
report
parent
reply
2 points

Thanks for the tip! However, I tried apt reinstall kde-full and apt --fix-broken install, but no packages were installed and (unsurprisingly) the problem still persists.

permalink
report
parent
reply
4 points

You will also need to use snapper before every apt-get upgrade to avoid these issues

permalink
report
parent
reply
2 points

Thanks for the recommendation! I will definitely do it when I eventually install some other distro in the future.

permalink
report
parent
reply
2 points

you installed it without uninstalling first? have you tried an apt purge to get rid of related conf files, then reinstall kde?

permalink
report
parent
reply
1 point

You are absolutely right. I just tried apt purge kde* plasma* libkf* and apt install kde-full followed by a reboot. But sadly, the problem persists.

permalink
report
parent
reply
10 points

How did you install KDE in the first place? If you uninstalled too many packages for the logs to be of use, just reinstall KDE however you installed it

permalink
report
reply
2 points

If I am not mistaken, I used a Debian KDE live image from the official repository then switched the mirrors from Bookworm to Sid. The system went months without a single issue, then this happen.

Your suggestion will actually be my solution of choice if everything else fails: reinstall / and import relevant files from a backup that I already have.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 7.7K

    Monthly active users

  • 6.5K

    Posts

  • 179K

    Comments