Can I remove kde5 things now?

After I updated to the latest plasma 6(testing branch), I noticed there are many orphans and foreign packages about kde5, can I remove them?

kunitconversion5 (5.115.0-1)
kemoticons (5.115.0-1)
kparts5 (5.115.0-1)
kdelibs4support (5.115.0-1)
khotkeys (5.27.11-1)
systemd-kcm (1.2.1-8)
plasma-simplemenu (1.0.12-1)
prison5 (5.115.0-1)
kpeople5 (5.115.0-1)
kpty5 (5.115.0-1)
kjs (5.115.0-1)
dnssec-anchors (20190629-3)
kcontacts5 (5.115.0-1)
kcolorpicker-qt5 (0.3.1-4)
poppler-qt5 (24.03.0-1)
threadweaver5 (5.115.0-1)
syntax-highlighting5 (5.115.0-2)
plasma-framework5 (5.115.0-3)
kirigami-addons5 (0.11.0-7)
grantlee (5.3.1-1)
ktexteditor5 (5.115.0-1)
libkdcraw5 (24.02.1-1)
t1lib (5.1.2-8)
db (6.2.32-1)
oxygen-sounds (6.0.2-3)
webrtc-audio-processing (0.3.1-4)
kimageannotator-qt5 (0.7.1-2)
kactivities-stats5 (5.115.0-1)
libkcddb5 (24.02.1-1)
networkmanager-qt5 (5.115.0-1)
kdesu5 (5.115.0-1)
kidletime5 (5.115.0-1)
libqaccessibilityclient-qt5 (0.6.0-1)
krunner5 (5.115.0-1)
ldns (1.8.3-2)
modemmanager-qt5 (5.115.0-1)
qqc2-desktop-style5 (5.115.0-1)
kfilemetadata5 (5.115.0-1)
kpeoplevcard (0.1-2)
purpose5 (5.115.0-3)
kquickcharts5 (5.115.0-1)
libxres (1.2.2-1)
khtml (5.115.0-1)
kdsoap-qt5 (2.2.0-1)
kholidays5 (1:5.115.0-1)
bluez-qt5 (5.115.0-1) 

Hi @right_0903, and welcome!

Generally it should be safe to remover orphan packages. But take note, I don’t think all *5 are orphans.

The safest way according to me, the way that I personally use:

  • To list all orphans:

    pamac list --orphans
    
  • To remove all orphans:

    pamac remove --orphans
    

Hope this helps!

3 Likes

Thx, I do not manage packages frequently, so I use pamac-manager then I choose orphans, I think what it actually does is same as you mean. I am uncertain if this really works, because not all of them have a relative kde6 package respectively, but they are flagged as orphans

And that is probably what got you into this mess.

Many of those packages should have been replaced (or removed completely) progressively via the usual sudo pacman -Syu update process. You will find references to some of the more troublesome instances listed in the Stable Update Announcements spanning several months.

1 Like

actually I almost use pacman all the time for a single installation/update/uninstall, but update is released by manjaro, so I posted it here.

history -n 100 | grep -i "pamac|pacman"
sudo pacman -Syyu
sudo pacman -U /tmp/linux-zen-6.6.6.zen1-1-x86_64.pkg.tar.zst /tmp/linux-zen-headers-6.6.6.zen1-1-x86_64.pkg.tar.zst 
sudo pacman -Sy linux61 linux61-headers
sudo pacman -Sy flex bison
sudo pacman -Rns linux61 linux61-headers
sudo pacman -U /home/yu/Templates/AUR/tuxedo-control-center-bin/tuxedo-control-center-bin-2.1.1-1-x86_64.pkg.tar.zst 
pacman -Sy xorg-xhost
sudo pacman -Sy xorg-xhost
sudo pacman -Sy nvidia-prime
sudo pacman -Rns nvidia-prime
sudo pacman -Fy prime-select
sudo pacman -Fy libcrypt.so.1
sudo pacman -F libcrypt.so.1
sudo pacman -F prime-run
sudo pacman -F prime-supported
pamac install code-features spotify v2raya-bin wemeet-bin
sudo pacman -Rdd tuxedo-keyboard-dkms
sudo pacman -Rns xorg-xhost
pacman-mirrors -h
pacman-mirrors
sudo pacman -Sy lshw
sudo pacman -Rns lshw
pacman -F gvim
sudo pacman -Sy
sudo pacman -U /tmp/linux-zen-6.6.9.zen1-1-x86_64.pkg.tar.zst /tmp/linux-zen-headers-6.6.9.zen1-1-x86_64.pkg.tar.zst 
sudo pacman -U /run/media/yu/548B-4466/docker-desktop-4.26.1-x86_64.pkg.tar.zst 
sudo pacman -Sy docker
pacman -F ping
sudo pacman -U /tmp/linux-zen-6.7.zen3-1-x86_64.pkg.tar.zst /tmp/linux-zen-headers-6.7.zen3-1-x86_64.pkg.tar.zst 
sudo pacman -S mtd-utils
pamac remove manjaro-hotfixes
sudo pacman -Syu desmume
sudo pacman -Sy desmume
sudo pacman -F nvme
sudo pacman -Sy nvme-cli
sudo pacman -Rns nvme-cli
sudo pacman -F bash_completion
sudo pacman -S bash-completion
sudo pacman -U /tmp/linux-zen-6.7.2.zen1-1-x86_64.pkg.tar.zst /tmp/linux-zen-headers-6.7.2.zen1-1-x86_64.pkg.tar.zst 
sudo pacman -Rns bash-completion
pamac update google-chrome spotify fcitx5-pinyin-custom-pinyin-dictionary cantata wemeet-bin
pacman -F fastfetch
pacman -Fy fastfetch
pacman -H
pacman -h
pacman -Fh
pacman -Rh
pacman -F doas
pacman -F ltrace
sudo pacman -U /etc/locale.gen
sudo pacman -U /tmp/linux-zen-6.7.8.zen1-1-x86_64.pkg.tar.zst /tmp/linux-zen-headers-6.7.8.zen1-1-x86_64.pkg.tar.zst 
sudo pacman -S plotutils
sudo pacman -R plotutils
pacman -F gsl_plot
sudo pacman -S gnuplot
pacman -F gnuplot_i.h
nano /etc/pacman.conf
kate /etc/pacman.conf
kate /etc/pacman.conf.pacnew
sudo mv /etc/pacman.conf.pacnew /etc/pacman.conf
git log pacman.conf
sudo git log pacman.conf
sudo git log -p pacman.conf
sudo pacman -S linux66 linux66-header
sudo pacman -S linux66lts linux66-header
sudo pacman -S linux66 linux66-headers
sudo nano /etc/pacman.conf
sudo pacman -Rns linux66 linux66-headers
sudo pacman -Rn linux66 linux66-headers
sudo pacman -Sc
pamac update
cd /var/tmp/pamac-build-pengyu/
cd /var/tmp/pamac-build-yu/v2raya-bin
sudo pacman -S libical fakeroot
sudo pacman -U ./*/*.pkg.tar.zst
sudo pacman -U *.pkg.tar.zst
sudo pacman -U /tmp/linux-zen-6.8.1.zen1-1-x86_64.pkg.tar.zst /tmp/linux-zen-headers-6.8.1.zen1-1-x86_64.pkg.tar.zst 
sudo pacman -Sy mysql=workbench
pamac
sudo pacman -Rns electron-25
sudo pacman -Rns electron25
pamac-manager
sudo pacman -S btrfs-assistant
sudo pacman -Scc
sudo pacman -Rdd v2ray
sudo pacman -U /tmp/linux-zen-6.8.2.zen2-1-x86_64.pkg.tar.zst /tmp/linux-zen-headers-6.8.2.zen2-1-x86_64.pkg.tar.zst 
sudo pacman -Sy mysql-workbench
sudo pacman -Syu
pamac list --orphans
history -n 100 | grep -Ei "pamac|pacman"

@soundofthunder

Copied for future reference. Thanks.

2 Likes

A few dubious commands in that output. :wink:
I’ll leave you now with this link which you may find useful.

Cheers.

1 Like

All of these are partial upgrades.
Do not do this.

Please commit a sync/upgrade;

sudo pacman -Syu
1 Like

thanks, but when it comes to coreutils, I would do syu, even if I don’t, I think I can handle it. Anyways, it is off topic. I just want to know if i can remove kde5 things now

I dont think you understand.

Theres virtually no situations (outside of an already broken system) where you should be using Sy.

Doing so causes partial upgrades. Which means broken.

1 Like

Oh man, I use btrfs there is a timeshift hook, and some other things, I never broken system. And I use sy for something lshw and mysql-workbench, becasue the coreutils are not too restrict for them.

Imagine that you want to update your browser for some reasons, but you have a metered network or slow band, then I just use sy for firefox, it is not a good habit(especially I don’t do a full update for a long time, but I do a full update once a week), but I think I can handle it. thanks for your emphasis.

I just did it the other way around and I did notice some packages listed that seemed a bit suspect, as in I’m not convinced they were really orphans. I guess I’ll see how I fare after the next reboot… :sweat_smile:

You’re a brave one! Godspeed!

Good news first, I survived. Managed to log back in fine and wayland session still works too. I did run an update through the GUI before I actually restarted tho, might have been what saved me.

Bad news, I don’t recall noticing steam in the list of orphan removals but it is gone now. It probably was in the list and I just didn’t notice tho…

1 Like

And not the end of the world.

2 Likes

I marked it as solved because everything below the second post is offtopic.
By my 2 offtopic eurocents: using testing, and bleeding edge plasma 6, and not regularly updating the system? Really? Not to mention the custom kernel.
So yes, you can expect all kinds of strange problems in the future on that totally unsupported system. It is a matter of time. Do not expect much help then.

2 Likes

whatever, you guys always just read pieces then make noisy. I mean I do not manage frequently, I mean do a clean, ok? I update once a week. and testing branch is from stable Arch linux, why can’t I use a custom kernel form arch linux repo like linux-zen?

goodbye manjaro

Nobody said you can’t, obviously you can. Even @linux-aarhus, one of our most trusted users, uses cusstom-just-about-everytings, if I have it correctly.

But, and this is the thing, If you do, then do not expect support, because it’s not official and you are on your own.

1 Like