Sunteți pe pagina 1din 3

how to clean up left over obsolete packages no lo...

Home

Forums

Posting Rules

Linux Help

http://forums.fedoraforum.org/showthread.php?t...

Fedora Set-Up Guides

FedoraForum.org > Fedora 18/19/20 > Using Fedora

FedoraForum Search

how to clean up left over obsolete


packages no longer needed
Register

All Albums

Fedora Magazine

Fedora Project

User Name User Name

Go
FAQ

Ask Fedora

Remember Me?

Password

Log in

Forgot Password?

Join Us!

Today's Posts

Search

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Thread Tools

Search this Thread

Display Modes

14th February 2009, 12:32 PM

dj-toonz

Offline
Registered User

#1
Join Date: Aug 2008
Location: Manchester , United Kingdom
Age: 38
Posts: 36

how to clean up left over obsolete packages no longer needed


hi all, when you install a software package in FC10 say for example wine, it installs loads of other stuff with it. but when you goto do su -c 'yum remove wine' it only
removes the wine package, not the other stuff it installed with the package, how do you remove the other stuff. when i used to use Ubuntu. i could do sudo apt-get
autoremove & autoclean to remove all the left over rubbish,. what i'm asking is how do you clean up the obsolete packages no longer needed by any other package
installed on the system cheers

#2

14th February 2009, 12:51 PM

Hlingler Offline

Administrator

Join Date: Sep 2006


Location: Connellsville, PA, USA
Posts: 11,290

yum install yum-remove-with-leaves


Then:
yum --remove-with-leaves <insert-package-name(s)>
But it's seriously busted (was last time I checked - we had a thread and a bug report that's still open ?). Search the forums, you'll find it....
V

14th February 2009, 02:08 PM

dj-toonz

Offline
Registered User

#3
Join Date: Aug 2008
Location: Manchester , United Kingdom
Age: 38
Posts: 36

Thank you for the reply, work's like a charm. i tried it with yum --remove-with-leaves wine first but it came up with no --remove-with-leaves

then i tried yum remove

wine and it worked, said it needed to erase 13 files, 13 files what got installed when i installed wine :cool, so it works 100% on my system. cheers again for teaching me
something new that i didn't know about

14th February 2009, 02:12 PM

Hlingler Offline

Administrator

#4
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,290

I'm glad to hear it's working as expected - last time I tried it, it wanted to virtually erase my OS !!!
V

14th February 2009, 02:40 PM

bee

Offline
Banned

#5
Join Date: Jun 2008
Posts: 1,315

he'll change idea soon


I suggest to keep remove-with-leaves disabled by default, and manually enable that plugin only when you are going to uninstall something
To disable remove-with-leaves
Open this file:
/etc/yum/pluginconf.d/remove-with-leaves.conf
and set:
enabled = 0
Using remove-with-leaves
Open a new terminal and type:
Code:
yum --enableplugin=remove-with-leaves remove packageslist

1 of 3

01/04/2014 02:19 AM

how to clean up left over obsolete packages no lo...

http://forums.fedoraforum.org/showthread.php?t...

In that way, you could keep remove-with-leaves installed (and use it) without fearing to having your system wiped away at each update
bye!!!!!!

14th February 2009, 06:34 PM

#6
Join Date: Aug 2008
Location: Manchester , United Kingdom
Age: 38
Posts: 36

dj-toonz Offline

Registered User

Thx Bee, a very good tip, I never even know you could disable Plugins without removing them

& thanx for the advice, I've disabled it, I'll keep it on the machine just

in case i need to remove a big software package again tho, cheers for the heads up

14th February 2009, 07:16 PM

#7
Join Date: Jun 2008
Posts: 1,315

bee

Offline
Banned
you're welcome!!!!!!

very good!!!
bye!!!!!!

14th February 2009, 07:27 PM

#8
Join Date: Jul 2007
Location: Beijing, China
Posts: 1,307

aleph

Offline
Banned (for/from) behaving just like everybody else!

You can also install the "yum-utils" package. It includes many useful package management tools, among which is "package-cleanup" that can be used to identify the
no-longer-needed packages, among others.
__________________
I believe in nerditarianism. I read FedoraForum for the Fedora-related posts.

14th February 2009, 07:56 PM

#9
Join Date: Aug 2008
Location: Manchester , United Kingdom
Age: 38
Posts: 36

dj-toonz Offline

Registered User

this is what i've got enabled right now Loaded plugins: fastestmirror, refresh-packagekit. I have got yum-utils installed but how do you use them ? the leaves plugin has
been disabled

14th February 2009, 09:54 PM

#10
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,290

Hlingler Offline

Administrator

Read: man package-cleanup


Short story (run as root for best results):
> To find duplicate package: package-cleanup --dupes
> To find broken dependencies: package-cleanup --problems
> To find libraries not required by any other package(s): package-cleanup --leaves (CAUTION: just because a library is not REQUIRED does NOT mean it is useless - it
may provide useful functionality feature(s) for other package(s)).
> To find all packages not required by any other package: package-cleanup --leaves --all (see CAUTION above)
> To find packages not originating from enabled repositories: package-cleanup --orphans
V
Last edited by Hlingler; 14th February 2009 at 10:09 PM.

Tags
clean, left, longer, needed, obsolete, packages
Previous Thread | Next Thread
Posting Rules
You
You
You
You

may
may
may
may

not
not
not
not

post new threads


post replies
post attachments
edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Rules

2 of 3

Forum Jump
Using Fedora

Go

01/04/2014 02:19 AM

how to clean up left over obsolete packages no lo...

http://forums.fedoraforum.org/showthread.php?t...

Similar Threads
Thread

Thread Starter

Forum

Replies

Last Post

Packages needed for Unetbootin.

ashmew2

Using Fedora

21st September 2008 07:07


PM

Software Updater and Add/Remove Packages no longer runs

jbob286

Using Fedora

25th January 2007 11:44 PM

Needed Packages to compile

Rick069

Using Fedora

7th June 2006 05:31 AM

clean smb.conf from FC4- needed

alerav

EOL (End Of Life) Versions

17th March 2006 10:37 PM

Add/Remove Packages no longer recognizes the CDs

Erebus

Using Fedora

10th August 2004 06:51 PM

Current GMT-time: 18:52 (Friday, 03-01-2014)

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora
Project or Red Hat, Inc.
Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding
Members
Powered by vBulletin Copyright 2000 - 2012, vBulletin Solutions, Inc.

3 of 3

01/04/2014 02:19 AM

S-ar putea să vă placă și