Old packages cleaning utility.

Hi, all.
I wrote small program for cleaning local repository from old packages (usually I save cached packages). May be it will be useful.
Project page - http://code.google.com/p/repo-clean/
In AUR:
repo-clean - http://aur.archlinux.org/packages.php?ID=16692
repo-clean-svn - http://aur.archlinux.org/packages.php?ID=16670

Stefan Husmann wrote:
Hello,
thank you for your contribution. I think the makedependency to gcc is not needed, because gcc is in base-devel and everyone who uses AUR is adviced to have these packages installed. The dependency to pacman also is not needed - everyone who wants to use a package has to have pacman.
I also suggest to put || return 1 behind the scons line and the cp line.
Thanks for advice. I take notice to it.
Stefan Husmann wrote:
I have a problem: in my repo there are the following packages:
[haawda@bertrand repo-clean]$ ls /opt/repo/cow*
/opt/repo/cowbell-0.2.7.1-4-i686.pkg.tar.gz
/opt/repo/cowbell-svn-30-1-i686.pkg.tar.gz
/opt/repo/cowbell-svn-33-1-i686.pkg.tar.gz
[haawda@bertrand repo-clean]$
So I suppose repo-clean should delete /opt/repo/cowbell-svn-30-1-i686.pkg.tar.gz, since it is an older version of /opt/repo/cowbell-svn-33-1-i686.pkg.tar.gz. But it does not.
By default repo-clean run in dry-run mode - only show packages with more than one versions and mark newest. For  cleaning you must use -mc flag.

Similar Messages

  • A cleaning utility deleted my browsing history! My fault! I want to re-open the old pages and tabs. The info may be in an old "sessionstore.js" or "places.sqlite" file but these are huge and some URLS are written backwards. Where do I start please?

    I have copied "places.sqlite" and given it a .txt extension, then opened in Wordpad - but it's huge - I don't know what order it's in and many of the URLS are written backwards - like "moc.smooretal.www" instead of "www.laterooms.com."
    Similarly there are several numbered versions of sessionstore.js in the profile and these can be opened with a text editor too. But if I simply substitute the current sessionstore.js file with an older (numbered) one in the profile, Firefox seems to ignore it.
    So:
    1. Is there a method of re-installing the "history" sites list or "previously opened pages and tabs" from the 'places.sqlite' file, or from a previous sessionstore.js file (and if so how do I go about it ?)
    2. If not, is there an alternative source of browsing history back-up which I can use or
    3. If not that either, is there at least a way of reversing the backwards text so I can read the URLs and copy/paste them?
    All knowledgeable help much appreciated.
    Thank you in advance,
    Peter

    Firefox has other backups it makes automatically, unfortunately your cleaning utility may have wiped them.
    #First step backup manually whatever you have
    #*''' edit''' <s>[[backing up and restoring backups]]</s><br/> [[backing up and restoring bookmarks]]
    #Second step find and copy all of your profile folder and all the sub files and sub folders
    ## easiest method of finding it is <br> Help -> Troubleshooting Information -> Profile [Open containing folder] <br/>The places.sqlite is a database that contains all your bookmarks and history, if this exists and is not corrupt then your bookmarks library should work and allow you to create backups.
    ##*see [[backing up your information]]
    ## put it somewhere safe your Windows desktop will do
    .JSON files are the backup files, either created manually or by firefox
    sessionstore.js files probably are of little use to you, containing only the tabs & windows from recent close downs, not the full history and bookarks.
    Now that any existing files are safe try to see if any backups exist that firefox created automatically
    * these would be in a folder within the profile
    * they can most easily be used by opening the bookmarks library, as explained in the article linked above.
    You may be interested in
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox {Locked or damaged places.sqlite]
    There are sqlite editors available, including some as add-ons for firefox.

  • Old packages repo

    i remember reading a topic about a repo containing old packages, for downgrading after broken updates. after the latest wine upgrade the fonts are so messed up i can't read anything (very very small). the old one was working fine though so i want to downgrade, but a few days ago i cleaned up the package cache and i cant find the link to this repo.
    please give me the link of this legacy repo.
    thanks a lot!

    fortunately the wiki has it:
    http://phraktured.net/archmirror/
    Solved.

  • Good all around cleaning utility

    I have been searching for a good (preferably free) cleaning utility, to keep my computer running like new. I have used Onyx and tried mac janitor, which each o their seperate thigs. Recently I found a whole bunch of oibsolete files in my library from old programs and whatnot and deleted them manually. Is there one program that will do what all the different cleaning programs do? Is there one that makes it easy? something all inclusive?

    each o their seperate thigs. Recently I found a whole
    bunch of oibsolete files in my library from old
    programs and whatnot and deleted them manually. Is
    there one program that will do what all the
    different cleaning programs do? Is there one that
    makes it easy? something all inclusive?
    There isn't a program to delete those files, but I would suggest using AppDelete to delete applications. It will remove all the files associated with the application.
    There really isn't that much maintenance needed. OnyX will cover most everything you need. Remember, if it ain't broke, don't break it!
    -Bmer
    Mac Owners Support Group
    Join Us @ MacOSG.com
    iTunes: MacOSG Podcast
     An Apple User Group 

  • Hi, i have tryed to install os x leopard, (its a old imac) , disk utility is greyed out , my install dvd cant find any hdd to install on , my only way to format and configure is through terminal but dont know what commands to execute

    hi, i have tryed to install os x leopard, (its a old imac) , disk utility is greyed out , my install dvd cant find any hdd to install on , my only way to format and configure is through terminal but dont know what commands to execute...
    i tryed diffrent commands such as diskutil eraseDisk JHFS+ Disk1
    diskutil list , wont show up my harddrive , i now its functionally cause it shows up in disk utility with name and i can get info about it , but everything is greyed out can only switch between "erase , partition , recover , Raid ,....
    when i click the apple in the top left corner the whole menu is greyed out... what to do ?  help me please
    Sincerly AppleNoob92
    p.s i have no experience in apple imac's at all never used before, but im kinda windows nerd so computers i understand but this imac make my insane, cant seem to find any solutions anywhere on the WWW....

    Your HD may be crashed, so you probably should use the oringinal install discs to run Apple Hardware Test in extended mode. If error codes appear this confirms a hardware failure. In addition you cannnot repair the HD using Disk Utility from the startup disk, you have to use the origninal Install discs that shipped with the computer or the most up-to-date version of OS X on a disc that you have.

  • I purchased lightroom and photoshop a week ago and installed it successfully on my new iMac.  the open box iMac ended up being a lemon so i had to exchange it for a new one.  best buy wiped the old computer clean.  now id like to reinstall the lightroom a

    I purchased lightroom and photoshop a week ago and installed it successfully on my new iMac.  the open box iMac ended up being a lemon so i had to exchange it for a new one.  best buy wiped the old computer clean.  now id like to reinstall the lightroom and photoshop to my new computer but i don't know how. help!

    Download and install the trial version from http://www.adobe.com/downloads.html and activate it with your serial number or Adobe ID.

  • Import the classes in the package java.util

    I haven't taken a class in two years so I have ideas but am unsure of myself, and I most likely am way off base, but is this how you import the classes in the package java.util
    import java.util.*;
    I would appreciate anyone's help. I have a lot of questions.
    Thanks,
    rp

    My assignment is below so that you will know exactly what I am asking. I am being asked to create an instance of LinkedList. I know that this is a part of the java.util. So when you create an instance of LinkedList would that be similar to instance variables? or am I misunderstanding something. I have several ideas, so I will start with the first one.
    LinkList();
    I really appreciate your taking the time to answer my questions to help me to rebuild my confidence in doing this.
    Thanks,
    // 2. import the classes in the package java.util
    public class MyProgram
         public static void main(String [] args)
              // 3. Create an instance of LinkedList
              // 4. add 5 entries to the list so that it contains
              //     Ann, Bart, Carl, Dirk, Zak
              // 5. display the list on one line using a loop and ADT list methods
              System.out.println("\n\n3. ");
              // 6. display the list using one println
              System.out.println("\n\n4. ");
              // 7. create a ListIterator object for the list
              // 8. display the list on one line using the iterator
              System.out.println("\n\n6. ");
              // 9. restore the iterator to the first item in the list
              // 10. retrieve and display the first item in the iteration,
              //      then advance the iterator to the next item
              System.out.println("\n\n8. ");
              // 11. advance the iterator to the end of the list without displaying anything;
              //      do not use the length of the list
              // 12. display the last item in the list
              System.out.println("\n\n10. ");
              // 13. move back to the beginning of the list without displaying anything;
              //      do not use the length of the list
              // 14. display the first item in the list
              System.out.println("\n\n12. ");
              // 15. advance the iterator to the end of the list without displaying anything;
              // 16. advance the iterator - what happens?
              System.out.println("\n\n14. ");
              // 17. advance the iterator within a try block; catch the exception, display a message,,
              //      and set the iterator back to the beginning of the list.
              System.out.println("\n\n15. ");
              // 18. what does nextIndex and previousIndex return?
              System.out.println("\n\n16. ");
              // 19. move the iterator to the third item in the list; if you were to
              //      execute next(), the third item would be returned and the iterator
              //      would advance to the 4th item.
              System.out.println("\n\n17. ");
              // 20. add the string "New" to the list; where is it inserted relative to
              //      the current item in the iteration?
              System.out.println("\n\n18. ");
              // 21. remove the current item; what happens?
              System.out.println("\n\n19. ");
              // 22. display the current item in the list without advancing the iteration
              //      in 2 ways, as follows:
              // 22A - using only iterator methods
              System.out.println("\n\n20A. ");
              // 22B using an iterator method and list methods
              System.out.println("\n\n20B. ");
              // 23. advance the iterator and remove the current item; which one is removed?
              System.out.println("\n\n21. ");
              // 24. move the iterator back and remove the current item; which one is removed?
              System.out.println("\n\n22. ");
              // 25. move the iterator to the first item in the list and change it to "First"
              System.out.println("\n\n23. ");
         } // end main
    } // end MyProgram

  • UP DATE ASKING REMOVE OLD PACKAGE INTELL PROSET WIRELESS WIFI WINDOW 7 .

    .Can not uninstall intell proset wireless give code ERROR 1721BTHEREIS A PROBLEM WITH THIS WINDOWS INSTALLER PACKAGE . A PROGRAM REQUIRED FOR THIS INSTALL TO COMPLETE COULD NOT BE RUN. CONTACT YOUR SUPPORT PESONNEL OR PACKAGE VENDOR. ACTION: UNINSTALL BTH MANAGER SERVICE.93C36222_AF02_47D,,, HP PAVILION DV7 ENTERTAINMENT PC WINDOWS 7 HOME PRE, CORE I5. HP UP DATE NEED TO UNINSTALL OLD PACKAGE BEFOR NEW INSTALL. PLEASE HELP WAS WORKING FINE UNTILL UP DATE FROM HP........

    Hello 73fixit,
    I would like to assist you with resolving this error. I recommend downloading and saving Microsoft Fix it onto your Desktop (If it doesn't give you the option, then it should be in your downloads folder.  Once it is saved then follow these steps:
    Click on the executable file that was saved from before.
    Accept the terms.
    Select "Detect problems and apply the fixes for me (Recommended)."
    Select "Uninstalling"
    Select the "Intel(R) PROSet/Wireless WiFi Software"
    Select "Next"
    Select "Yes, try uninstall"
    Select "Next"
    Select "I don't know if the printer has been fixed"
    Select "Next"
    Select "Cancel"
    Restart the computer.
    Check to see if this resolved the issue.
    Thank you,
    I worked on behalf of HP.

  • PACKAGE BASICS.UTIL..REGEX

    I have problem with my perogram!
    is package basic util.regex need to be download or it's already built in java!for information i use j2sdk 1.4.1!
    thanks a lot

    you're probably thinking of java.util.regex, which is part of jdk 1.4 and above.

  • Where to find old packages?

    I recently upgraded my xine to the latest one, xine-ui-0.99 and it eats up all my PC resources, and I wasn't able to play any movies at all. I was wondering where I could find the previous version, 0.98, because I had no problem with it.
    i tried ftp.archlinux.org, but i can't find the old packages there anymore.
    please assist, thanks

    if it is not cached in your /var/cache/pacman/pkg then you will have to download the old PKGBUILD from the web CVS and build the package yourself. read the wiki on how to build packages.

  • Where are the standard java packages io,util etc found in JRE

    hello,
    can u guys tell me where the standard java packages io,util found in the JRE.
    is it the rt.jar file??
    as i need to set the path in my applicaion to it coz, my application after running generates a .java file and then compiles it and creates a .class file on the local machine every time it is run.

    You want the <JRE Home>\bin directory as your path if you use the JRE to run the class. Eyeball the SDK bin directory, find the same directory in the JRE structure, and set your PATH to it.

  • Flash CS6 and the old Packager for iPhone?

    Hi,
    I was wondering: now that it's possible to select an Air SDK version in Flash CS6, would it also be possible to use Flash CS6 with the old 'packager for iPhone' that came with Flash CS5?
    I know, I know, I should get rid of that old thing, but reality is that I used packager for iPhone to create one of my first apps and now I can't update to a newer version of Air. Apple doesn't allow that, because existing users wouldn't be able to update anymore.
    It would be great if CS6 can work with the old Packager for iPhone.
    Does anyone know the answer to this?

    Too bad... I was hoping to kick my old CS5 installation out of the window...

  • Finding PKGBUILD for an old Package!

    Hi Guys!
    After running into so many several problems about running Apache/resin
    I would like to get a grib on the old apache 2.0.5.5 PKGBUILD file.
    Can someone please help me findig this - where should i look to find this?
    More the problems must be around som configurations - That I can't get the meaning of and keeps running into error. The old package worked just fine UNTIL I updated! I' have now with a fresh install tryed to redo my old setup - but apache 2.0.5.5 have somewhere changed since!
    While compiling Resin = ./configure --with-apxs    that worked severel times???
    I now get an error about a bad apxs - so now i would like to build my own package to see if thats help - ext step is to change to another distro to make this work?? 
    Sorry and sadly to say that - but that could be the end of it!!!!
    Peque!

    Well - if I want to stick with arch - (and i will )
    I'll have to use tomcat instead of using Resin!
    But if i have severel sites at ??/ www  in dfferent maps here
    how do I make these avaible to Tomcat - each libary have a WEB-INF and thats where tomcat is comming ind ???
    Could somebody just tell me , caurse I don't get the point in the wikipage about that one ???
    Thanks!!!

  • Old packages available?

    Hi folks,
    I have a simple question. Are old packages available for download?
    The reason: i am trying to play some *.mp4 movies with 5.1 AAC sound. The current Video Lan Client doesn't play them correct. i had to downgrade to VLC 0.6.2  To avoid this i was wondering if there is link, where people can download old packages, in case they have problem with the current ones?
    VLC forum
    Shemeta

    well it's complicated to make VLC encode 5.1 AAC.
    Hans-Jueren:
    Normally yes, FAAD2 supports at least 7.1 playback of multichannel AAC/MP4 files. But the latest VLC test build also seems to generate an "unexpected channel configuration change" with stereo files. I don't know yet if they also used the latest source code or the release version 2.0 which does not include the Parametric Stereo decoding
    and also there are lots of people complaining about the latest VLC & .mp4 format. so the best thing was to downgrade to 0.6.2
    thankd for your help guys,

  • Setting up new Arch repo with old package backup?

    I love Arch and want to give something back. I can't program and don't have any luck finding questions on the forum that I know how to answer So I thought maybe I could set up an Arch repo. I looked around for a HOWTO on doing this but couldn't find anything. How do all the repo's get their packages from the main Arch repo?
    As of late I have been working with dav7 to set up an old package repo. More like a place to download old packages at http://schlunix.org/arch-linux/i686/ he supplied all the packages. There are a lot of them there but obviously it is only as complete as the packages he uses.
    So... 1, how would I got about setting up a repo? And 2, is there any kind of nifty script I could use to instead of deleting obsolete packages, just move them to an "old" folder so people could search it if they needed an old package?
    Thanks!
    Last edited by DeltaXFX (2008-06-26 22:45:36)

    Thats what I'm trying to do, make and keep a real backup mirror for the benefit of all Archers. My hosting account has 550GB space (grows 2GB/week) and 6TB monthly bandwidth (grows 40GB per week). I don't know if that will be enough... but I would imagine that would hold quite a few packages.
    I was checking out rsync, and when I do "rsync archlinux.org::" it does say that only authorized mirrors are allowed to access it. So right now I'm looking for another mirror that will let me use rsync. But in the meantime who would I talk to to find out if it would be possible/helpful to the community/worthwhile to become an official mirror vs just syncing off a mirror that syncs off of archlinux.org?
    Also, assuming I get this all working, how do I update the packages.txt file? Would I just use the one that I would get by rsync'ing off of whatever server I end up using? Trying to figure out what the easiest way to keep all the old packages would be. If I do what iphitus suggested and just not delete the old packages but leave them in the same directories as the current packages will that cause any problems (as far as people being able to do a "pacman -Syu" to my server)?

Maybe you are looking for

  • Making a self starting DVD with no menu

    Is there any way of creating a DVD with NO menu in iDVD? Dragging the video file to the top level drop box in map mode creates a self start but then a menu appears when playing finishes.

  • Clients are unable to get DHCP Addresses

    Hi, I have a setup where managment interface is in different vlan, ap-manager is in different vlan, APs are in different vlan and the clients are on their own vlans respectively. Everything works except for when I try to associate a client to an ap o

  • BADIs related to appointment calendar

    Hi friends, I want all the BADIs related to appointment calendar (Tcode - SSC1). I want to capture all the data when an appointment in the appointment calendar is created. There is one BADI  'APPOINTMENT', but i am not sure this BADI will work or not

  • Why Error Occuring While Joining Airport Network?

    I have an old iBook PowerPC 500MHz, running 10.3.9. A friend had been using it and I am trying to get it to see the Airport device. The icon along the menu bar is not highlighted. When I try to join my network and type in my password at first I got a

  • MSI 7900GT memory speed?

    Is the MSI 7900GT using the nVidia reference spec's. I'd like to confirm the memory speed because when I check the memory speeds on MSI's website, it says • 450MHz core clock speed  • 660MHz 256MB GDDR3 memory See this link. http://www.msicomputer.co