What did I install?

xfce Leap 15.5 on Lenovo ideapad for 4 years without any problem (started on 15.2).

In the last 2 weeks, I’ve had a bunch of random crashes. I ran the Lenovo diagnostics and no hardware problem.

Something must be wrong with … either driver or corrupted system files.

I want to reinstall a fresh Leap 15.5, the problem is:

How do I find what I’ve installed that is not part of system because rpm -qa returns 6544 lines/packages?

Thanks

You mean you did not takes any notes when you added something to the system?

Run zypper lr -d to get your repolist.
Run a search for installed packages for each repo via zypper se -ir <repo_name_or_number>
Compare the received lists with your initial created 6k package list. Can be done with any text editor or calc app (Libreoffice)…
But 6k packages sound like a messy system…

I understand from his post that that is his current list.

Thanks

Somewhat but:

tex: 4109 packages

and that’s the minimal usable portion of tex (for me) without the docs which would add another 1000 to 1500 packages.

Yep. And that is the base list where the TO needs to “subtract” the other lists from the active repos. The rest are packages from unknown sources where only the TO knows where he got them from…

Another way would be to use the --orphaned search function…

OK, it seems that we interpret

different :wink:

I thought that this is about packages installed beyond what is installed at system installation. Never thought that he would mean “from non standard repos”, because that is an easy one as you point out.

Ok. Didn’t read it that way.

But that could be impossible to achive when it is a grown system from Leap 15.2 → 15.5 as zypper history is not kept that long. There is the autorotation and cleanup algorithm to prevent overflow of logs…

That is why the good old way of making notes should be in the toolkit of a system manager. But it most probably is too late now.

In any case, by saving his list as it is now, he can at least compare after a new installation what is missing.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.