[Solved]How to remove files from a failed install.

I attempted to install the caffeine package from the AUR using packer. After confirming y to proceed with installation pacman had to pull in quite a few more dependencies than I was expecting. The installation ended up failing because I have package signing set to required. This is all well and good because I don't really think caffeine is worth all the extra dependencies. However, on to my question, I see that these packages (the dependencies) have been downloaded to my system and are in the /var/cache/pacman/pkg directory, is there an easy way to tell pacman to remove just these packages other than going through and removing them one by one? Thanks for the help.
Last edited by Lexworth (2012-01-21 19:19:43)

Thanks to you all. I did read pacman manpage as well as the wiki entries for pacman and pacman Tips. I was just wondering if maybe someone more proficient with the command line knew a easier way to remove the files. I know I could use pacman -Sc or pacman -Scc for clean the entire cache but was hesitant to do so because of the warnings. I think I understand that sudo pacman -R $(pacman -Qtdq) will remove orphan packages however I get an error that no targets are specified. I believe this may be due to the fact that these packages were not installed, just the binaries downloaded. Thanks again for the help. I'll mark this as solved.

Similar Messages

  • How to remove files from my macbook with out paying to remove them

    how

    You don't have to pay to remove files. Just drag them to the Trash and Empty the Trash.

  • [solved] How to remove color from yaourt output?

    Hi everyone,
    I am having a problem with removing color output from yaourt.
    In order to get a list of installed packages in kdemod-core, I execute the following:
    yaourt -Qs ^kdemod | grep kdemod-core | awk '{print $1}' > kdefiles.txt
    Some time ago colored output was usually lost when piping commands. For some reason it is not removed anymore so that I get the following file content:
    [1;35mkdemod-core/[0m[0m[1mkdemod-kde-common
    [...] and so on
    Of course pacman doesn't understand this anymore:
    pacman -S `cat kdefiles.txt`
    Btw. The same options (-Qs ) with pacman search only locally installed packages.
    Any ideas?
    Thanks,
    David
    Last edited by dcrabs (2009-05-31 10:47:57)

    skottish wrote:
    dcrabs wrote:Btw. The same options (-Qs ) with pacman search only locally installed packages.
    Any ideas?
    pacman -Ss searches on-line.
    Thanks, but then I don't have the packages that are installed. It is of course much faster and without color but doesn't solve my problem.
    Then only thing I could find so far was a statement, that piping through less for example removes color for security reasons. That doesn't seem to be true any more.
    There is a col command which outputs plain text but there are still characters left.

  • HT201177 How Do I Remove Files From My Start-Up Disk?

    Can someone tell me how to remove files from my start up disk?

    Your startup volume is full. First, reboot. That will temporarily free up some space. According to Apple documentation, you need at least 9 GB free for normal operation. You also need enough space left over to allow for growth of your data.
    Use a tool such as OmniDiskSweeper to explore your volume and find out what's taking up the space.
    Proceed further only if the problem hasn't been solved.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To really see everything, you have to run it as root.
    First, back up all data if you haven't already done so. No matter what happens, you should be able to restore your system to the state it was in at the time of that backup.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.
    After installing ODS in the Applications folder, drag or copy — do not type — the following line into the Terminal window, then press return:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    I don't recommend that you make a habit of this. Don't delete anything while running ODS as root. When you're done with it, quit it and also quit Terminal.

  • How do you remove files from your start up disk without deleting any files?, How do you remove files from your start up disk without deleting any files?

    Hi,
    I was wondering if anyone knew how to remove files from the start up disk without deleting any files?
    I am unable to add any more photos and even download the latest updates because the start up disk is full....
    Is it possible to move the files off the start up disk without deleting them?
    I would appreciate feedback,
    Thanks
    Sammy

    Well you can move them to an external drive but this will delete them from the internal drive. Which is what you have to do to free up disk space.

  • How to remove Userscripts from Greasemonkey without enabling Greasemonkey? (I have deleted files from user/gm_scripts/ didn't help)

    I installed an addon named Chat Resizer, which is for Kongregate, restarted to finish the install and firefox would not open.
    Clicked it and clicked it nothing, Opened Task Manager, Ended the firefoxes and tried to open it again but nothing again.
    Started FF in safe mode, cannot remove chat resizer with greasemonkey disabled, trying to enable it to remove it firefox refuses to start.
    Uninstalled greasemonkey, FF works as normal, install it and it freezes once more.
    Removed files from user/appdata/roaming/mozilla/profile blah blah/gm_scripts which had files for all of my scripts in them,
    Firefox still won't start, uninstall greasemonkey, works again, install, doesnt work even with files for the scripts gone.
    Any more suggestions?

    Hello,
    I found this tutorial, i think must works:
    [http://ooiks.com/blog/mousehunt-autobot/install-uninstall-user-script-on-firefox How to Install and Unistall User Scripts Greasemonkey]

  • How can I remove files from the startup disk

    I am getting a screen when I am trying to quit saying   the "MAC OS X startup disk has no more space available for application memory"  by closing the windows and removing files from the startup disk will help.
    How do I do this?

    That error message is misleading. Your problem is excessive swapping of data between physical memory and virtual memory.
    That can happen for two reasons:
    You have a long-running process with a memory leak (i.e., a bug), or
    You don't have enough memory installed for your usage pattern.
    Tracking down a memory leak can be difficult, and it may come down to a process of elimination.
    In the Activity Monitor application, select All Processes from the menu in the toolbar, if not already selected. Click the heading of the  Real Mem column in the process table twice to sort the table with the highest value at the top. If you don't see that column, select
    View ▹ Columns ▹ Real Memory
    from the menu bar.
    If one process (excluding "kernel_task") is using much more memory than all the others, that could be an indication of a leak. A better indication would be a process that continually grabs more and more real memory over time without ever releasing it. Here is an example of how it's done.
    The process named "Safari Web Content" renders web pages for Safari and other applications. It uses a lot of memory and may leak if certain Safari extensions or third-party web plugins are installed. Consider it a prime suspect.
    If you don't have an obvious memory leak, your options are to install more memory (if possible) or to run fewer programs simultaneously.
    The next suggestion is only for users familiar with the shell. For a more precise, but potentially misleading, test, run the following command: 
    sudo leaks -nocontext -nostacks process | grep total
    where process is the name of a process you suspect of leaking memory. Almost every process will leak some memory; the question is how much, and especially how much the leak increases with time. I can’t be more specific. See the leaks(1) man page and the Apple developer documentation for details.

  • How to remove Unicode from XML file

    I get following error when unmarshal xml:
    [java] org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x15) was found in the element content of the document.
    Anyone know how to remove Unicode from xml file? Can I remove the unicode by rebuild the file?
    Thanks

    These sort of error usually occur when you're using a different character encoding to read the file than the one you wrote it with. Perhaps if you were to post the problem section of the file and/or the code that created it in the first place.

  • Unable to update software or upload pics from SD card-how do I remove files from startup disk? Please help!

    Unable to update software or upload pics from SD card-how do I remove files from startup disk? Please help!

    Hello Smile_333
    The article below will assist with finding things and help increase the hard drive space for your computer. The best way is to have an external hard drive to copy things to if you do not want to delete and loose things.
    OS X Mountain Lion: Increase disk space
    http://support.apple.com/kb/PH10677
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • How do i remove files from Icloud to free up space

    how do i remove files from my Icloud account - can I do this from my office PC if I log into my account?  Thanks

    Hi there 98park,
    You may find the information in the article below helpful.
    Managing your iCloud storage
    http://support.apple.com/kb/ht4847
    -Griff W. 

  • How do I remove files from my start up disc

    How can I remove files from my start up disk

    Move iTunes, iPhoto and iMovie media folders to an external drive.
    iTunes
    http://support.apple.com/en-us/HT201562
    iPhoto
    http://support.apple.com/kb/PH2506
    iMovie
    http://support.apple.com/kb/ph2289
    Backup your computer.
    Try OmniDiskSweeper. This will give the storage size details of the items.
       Select Macintosh HD and click  “Sweep Selected Drive” at the bottom.
       Delete the files yo don’t want to keep.
       Be careful. Delete only the files that should be deleted.
       https://www.omnigroup.com/more

  • HT201210 how do i remove files from my start up disk

    how do i remove files from my start up disk on a macbook air

    Freeing Up Space on The Hard Drive
      1. See Lion's Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.

  • HT1338 how do i remove files from my start up disk?

    How do i remove files from my start up disk?

    Freeing Up Space on The Hard Drive
    See Lion's Storage Display.
    You can remove data from your Home folder except for the /Home/Library/ folder.
    Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
    Also see Freeing space on your Mac OS X startup disk.

  • How do I removes files from my start up disk ?

    How do I removes files from my start up disk ?
    My Mac Book Pro seems to be out of space and say i need to remove files from start up disk..

     
    It is very difficult to offer troubleshooting suggestions when the "os version" you are using is unknown as each os has their own troubleshooting solutions. 

  • HT1338 how do I remove files from my start up disc ?

    My Force Quit window keeps opening and telling me "To avoid problems with your computer, quit all applications you are not using. Closing windows and removing files from your startup disc will also help".
    I can not get my finder help to even recognizw "stsrt up disc" to ask a question.
    I have only Safari, mail, word and finder open. I have 8 gb's of ram so I don't understand what's going on. Please help.

    The built-in Help is rarely very helpful, unfortunately, but you've come to the right place.
    First question: how much free space is there on your hard disk?
    You can find the answer by clicking the  in the top right of your screen, clicking 'About This Mac'  | More Info... and finally 'Storage'.

Maybe you are looking for

  • After Firefox crashes, how do I restore a Private Browsing Session, or the tabs?

    Windows XP, Ser. Pk. #3, FF Ver. 20.0.1, I think that's all of the information that would be needed . . . if not, just ask me for anything else that you need. I'm going to refrain from restarting FF, or shutting down my computer until someone replies

  • How do I call a function in java?

    I'm calling a function called lightParse() from the method. But, I'm getting an error: F:\Data>javac -classpath xerces.jar;xalan.jar;classpath%; Test.java Test.java:22: lightParse(java.lang.String) in Test cannot be applied to () lightParse(); ^ The

  • HDTV is getting bad resolution

    I have an imac, and a 32in DYNEX HDTV i have the hdmi cable conneted and the resolution is horrible! Can anybody help me! Its very frustrating!

  • Edit keywords whilst in full screen edit mode

    Hi all I want to edit the keywords assigned to an image in full screen edit mode. I have searched about a bit and have found links to Keyword Assistant which is all well and nice. It's not particularly quick to asign keywords though - my touch typing

  • Why does the cursor have a white square beside it?

    I use adobe professional to edit powerpoint slideshows that have been converted to pdfs. On certain slides some strange things happen. The cursor appears with a tiny white square to the right side of it, I cannot click on images, using the edit text