Can't Delete User Account & Now Can't Update System

Need to delete a user account with it’s data, but ‘delete’ button grayed out.

Searched forum and see others did a system update and it fixed issue.

Tried to do system update in terminal and got errors:

Blockquote
looking for conflicting packages…
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: jdk-openjdkand jre-openjdk are in conflict

Do I have to do system update to be able to delete the user account?

Is there another way to delete user account?

And how I fix the openjdk conflict?

I’m running Manjaro Cinnamon.

6.2.16-2-MANJARO #1 SMP PREEMPT_DYNAMIC

Thank you!

Mark

You can only delete a user with root privileges.

Do you want to update the system with pacman or pamac ?

And kernel 6.2 is EOL. You need to install a recent kernel first.

Easy:

Login as root or an admin user, and then use userdel.

https://man.archlinux.org/man/userdel.8.en

@Keruskerfuerst THANK YOU for your help!
I can update either way…just need to know what to do to fix issue…

OK, will install a newer kernel…

You don’t tell us what you’re using to attempt to delete a user, but if the GUI for the desktop you’re using is anything like KDE’s systemsettings, your own user will have a greyed-out delete button.

I can’t imagine any scenario where you wouldn’t be able to delete an inactive user without an update.

THANK YOU for your help and info!

Oops, meant to say I opened ‘Users and Groups’ and the ‘Delete’ button was grayed out for the user I want to delete.

I was logged in as with an admin account.

There must be a reason for that, such as — for instance — that you would be trying to delete the user account that you are currently using, or a user account that is currently still logged in.

Either way, just because you cannot do it from a GUI doesn’t mean that you cannot try doing it from the command line… :point_down:

man userdel

That’s an old problem, which you wouldn’t have run into if you had kept your system up to date. Please remember that Manjaro is a (curated) rolling-release distribution and must be kept up to date, and must be maintained — you probably also have loads of unattended .pacnew files on your system.

Please take the time to read this short essay below — it’s not meant to berate you, but rather to bring your attention onto what Manjaro requires. :point_down:

Anyway, I don’t have any link handy with regard to the openjdk issue, but it was abundantly addressed on the forum already, as well as on the pertinent Announcements > Stable Updates thread when the change was introduced.

Yes, by way of userdel — see higher up.

THANK YOU for all your help and input.

I was logged in as another user (admin account).

System got out of date as I haven’t been using this particular laptop for about 9 months as I’ve using another laptop.

Understand about the nature of Manjaro…I briefly used Arch before I discovered Manjaro…and understand that it’s a rolling release, etc…so, I don’t get mad or upset if I run into a problem…I try to learn from it…I’m probably an ‘Advanced Beginner’ when it comes to linux… :slightly_smiling_face: