Ask Your Question
1

Find and review "unused" packages

asked 2018-12-02 13:52:42 -0600

Ildar gravatar image

How to remove packages you don't use - especially non-standard packages with rpmreaper? I need this to update the system. I'd like to have a back door.

I installed rpmreaper. Before that, I have fulfilled the 1st part of paragraph 3.https://fedoraproject.org/wiki/Upgrading_Fedora_using_package_manager

edit retag flag offensive close merge delete

Comments

1

That is not the est way to upgrade . See https://fedoraproject.org/wiki/DNF_sy... . What problem did you have that makes you feel you need to start removing packages? Error message ? Removing unknown packages is always risky

Panther gravatar imagePanther ( 2018-12-02 14:46:29 -0600 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2018-12-02 20:44:01 -0600

florian gravatar image

updated 2018-12-02 20:48:21 -0600

Use

dnf leaves

to

List installed packages not required by any other installed package.

See https://dnf-plugins-core.readthedocs....

edit flag offensive delete link more

Comments

You need to install python3-dnf-plugin-leaves to use dnf leaves.

villykruse gravatar imagevillykruse ( 2018-12-03 00:43:09 -0600 )edit
0

answered 2018-12-02 16:19:00 -0600

cim gravatar image

Have you tried dnf autoremove?

edit flag offensive delete link more

Comments

1

When using that command, be cautious as well!! Under certain circumstances dnf autoremove intends to remove essential packages, which renders your system damaged.

Start with adding —assumeno and examine the packages it wants to get rid of.

florian gravatar imageflorian ( 2018-12-02 20:42:17 -0600 )edit

Haven't had issues using autoremove.

cim gravatar imagecim ( 2018-12-02 21:00:29 -0600 )edit

Lucky you!

florian gravatar imageflorian ( 2018-12-03 00:10:51 -0600 )edit
1

Some people in the past got in to trouble using dnf autoremove.

villykruse gravatar imagevillykruse ( 2018-12-03 00:43:05 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-12-02 13:52:42 -0600

Seen: 125 times

Last updated: Dec 02 '18