Author Topic: (solve) Dupeclean-gui - How does it work?  (Read 805 times)

Offline eddiemouse

  • Full Member
  • ***
  • Posts: 116
  • Hi
(solve) Dupeclean-gui - How does it work?
« on: February 05, 2011, 04:52:25 AM »
Good day

I have local repo on my computer, and now there is a lot of duplicate rpms on om harddrive.

I click on "dupeclean" (start -> Software Center -> dupeclean-gui) the apllication runs and report back "No duplicate/multiple versions of rpms found."

but if a look at my local repo folder, there a lot of duplicate rpms.

Is there a way that I can tell "dupeclean" to look at a a curtain folder where my local rpms is stored?

Help!

« Last Edit: February 06, 2011, 02:39:36 AM by eddiemouse »

Online pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2841
    • other projects...
Re: Dupeclean-gui - How does it work?
« Reply #1 on: February 05, 2011, 05:49:34 AM »
dupeclean will check for duplicates of installed rpms on your system but it is not designed for your case of searching a directory with rpm-files. To be precise you do not have duplicates but some of these files have the same applications name but a different version number. Since those files are alphabetically listed they should be easy to find and you can then simply delete the older versions.
hope this helps,
-p.

Offline eddiemouse

  • Full Member
  • ***
  • Posts: 116
  • Hi
Re: Dupeclean-gui - How does it work?
« Reply #2 on: February 06, 2011, 02:38:49 AM »
Thanks pinoc.

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2110
  • Rubenus Parvus MCMXCI
Re: (solve) Dupeclean-gui - How does it work?
« Reply #3 on: February 06, 2011, 12:45:31 PM »
If your local repository has duplicate rpms, that means you didn't add the '--delete' option to rsync....

My rule is as follows:
rsync -aP --no-motd --stats --delete distro.ibiblio.org::pclinuxos/pclinuxos/apt/pclinuxos/2010/ /mnt/repo/repoPCLinuxOS/

=> if you run it this way, it'll automatically delete ALL older rpms, and just have a copy of the current ones...  ;)