Is there something that auto reinstalls old packages from cache?

You pacman -Syu and something broke - you dont have time to figure out what. All you know is that 20 minutes ago your configuration worked and that you have not pacman -Sc yet. You can figure out later what went wrong, right now you just want a worked system.
Is there something that already that scans the cache and at least lists the packages that are in the cache that are not installed? So that you can quickly just pacman -S $(them) ???

one-liners ftw!
pacman -Q | while read name vers; do LC_ALL=C; find /var/cache/pacman/pkg -name $name* | grep -v $vers | sort -r | head -n1; done
lists highest version of all installed packages found in your cache not including the installed version.  good luck managing that output
/edit: the better approach would be to tail /var/log/pacman.log and reverse whatever the -Syu just did using the pacman -U command mentioned before.
/edit2: at eldragon below: useless use of cat is useless
Last edited by brisbin33 (2009-07-17 21:13:58)

Similar Messages

  • I have Firefox installed but I cannot run it. When I click on the icon nothing happens. I also have IE and it loads and runs fine. Is there something that could be stopping Firefox from running? Thanks.

    I am using XP Pro at the latest level. I did have a problem with the Op Sys that was released by Microsoft but I have fixed that. I now am not able to run Firefox as I once did. What can I check in system .

    Try the procedures in the [[Firefox will not start]] article.

  • Is there something that needs to be done in response to deadlock victims?

    So, Friday I got a report by one user about an unusual error seen. It appeared to be a one time error that went away when the page refreshed.
    I went to the logs, tried to find an associated message to see if there were actions to take.
    (Boy, I wish there were a series of books for SP admins that covered all the event and ULS log entries and what action to take to resolve them)
    When I got onto one of the farm servers to look at logs, the event log had a number of unusual warnings and errors.
    I am taking a look at some of these to see if there is something that needs to be done.
    One of the errors - which has occurred 3 times in December - is related to the search software. One says "Foundation Search" and the other two say "Server Search".
    So, are these the kinds of things that an admin should just ignore at this noise level (3 in 2 weeks) or is there something that should be done?
    The warning is 57 and says that a database error occurred - a transaction was deadlocked on lock resources with another process and was chosen as the deadlock victim.
    The first 2 times the application was Search_Service_Application, while the most recent occurrence was
    'Search_index_file_on_the_search_server'.

    Hi Iwvirden,
    Deadlocks on SharePoint databases may cause performance issues in SharePoint.
    So if the error occurs on SharePoint content databases and occurs many times, then you need to troubleshoot this issue in SQL:
    http://blogs.msdn.com/b/grahamk/archive/2009/06/15/troubleshooting-sql-server-deadlocks-and-performance-when-running-sharepoint.aspx
    http://blogs.technet.com/b/christwe/archive/2014/02/06/what-can-i-do-about-the-deadlocks.aspx
    If the deadlocks occur on Search databases, then you can ignore them if there are not too many errors.
    http://blogs.msdn.com/b/sharepoint_strategery/archive/2014/02/10/sharepoint-search-and-deadlocks-in-sql-server.aspx
    By the way, the errors about search displayed in the ULS log should be checked as these errors may influence your search function.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • I notice when I plug in my phone to my computer and look at what's "On this iPhone" it says that I have a book on there (one that was a free download from something), but I don't have iBooks installed on my phone. How do I remove the book?

    I notice when I plug in my phone to my computer and look at what's "On this iPhone" it says that I have a book on there (one that was a free download from something), but I don't have iBooks installed on my phone. How do I remove the book?

    Hi tinashah817,
    Was this book downloaded using iBooks, or from another application? If it was from iBooks you will need to install that application to delete it.
    See this article about managing your iBooks library on your iPhone -
    iBooks: Tips for managing your iBooks library and storage on iOS devices
    http://support.apple.com/kb/HT5544
    Once the book has been deleted from the iPhone you can uninstall the iBooks application if you so desire.
    How do I uninstall an app?: Apple Support Communities
    https://discussions.apple.com/thread/4392015
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • HI!  I have a new macbook air but having difficulty connecting to a router if I am about 10 meters away.  My iMac, iPad, iPhones and iPods can connect easily.  Is there something that I need to configure?  I have no issues if I am close to it.  Thank you!

    HI!  I have a new macbook air but having difficulty connecting to a router if I am about 10 meters away.  My iMac, iPad, iPhones and iPods can connect easily.  Is there something that I need to configure?  I have no issues if I am close to it.  Thank you!

    Hello, If you are dealing with one of the really thin iMac's that have no superdrive, then the superdrive icon should not appear on the desktop when you plug it in, but when you put in a disk (CD, DVD, etc.) that should appear. If you go into disk utility, and look at superdrive, that should be clickable and not grayed out when you have it plugged in. If this does not show up in disk utility, go to Apple, and ask to speak to their supervisor, speaking to a customer service agent is like talking to a potato, nothing gets done. Good Luck!

  • Looking for "manage my devices" on my account screen.  It is not there.  Trying to delete old device from account.

    Looking for "Manage My Devices" on "My Account" screen.  It is not there.  Trying to delete old device from account.

    It should be under Store > View My Account > iTunes In The Cloud > Manage Devices. That screen can't be used to deauthorise computers, only change the automatic download status.
    tt2

  • Is there a way to remove old responses from the Acrobat Tracker?

    Is there a way to remove old responses from the Tracker if I have deleted the original sources? In other words, Acrobat.com and my desktop are out of sync.How I can get rid of any of these files.

    nvm. I found it.

  • Is there a way to transfer old emails from apple mail to outlook for mac?

    Is there a way to transfer old emails from apple mail to into outlook for mac?

    Use the original install disks.

  • The FireFox Browser loads itself very slowly and makes me wonder if it is loading at all. Is there something that can be done to speed up the FF Browser loading?

    FF Browser 5 loads itself very slowly and takes so long with no sign that it is loading that many times I will click it again and later find that it has loaded itself twice.
    Is there anything that I can do to speed the start-up of this browser?
    It seems that if there is not a way to load this browser faster that FireFox would make an add on that would show us that the Browser is in process of loading at the very least. Thank you for your kindness in any way for help in this regard. Best Regards
    Sincerely Walt

    cmauze2 wrote:
    Ann154 wrote:
    What happened to your old SIM card?  You should have been able to move that card to the new replacement device.
    [quoted]:
    "Sales clerk asked me if I had a Sims card for it. I told him that there`s one in my old phone. He explained to me that it was not going to be working..."
    Or were you referring to the one in the old temporary replacement device? Would that even be compatible with the newer phones?
    The one that wasn't working had a 4G LTE SIM card in it. It should have usable in the replacement Razr. It was only until I read the OP a third time this morning that there might be a third device involved. It would be nice if people would give more specifics on what devices are active at what time. Then the readers of this community can follow the progression of the events better.

  • When I rent a movie using Apple TV, it takes several hours to load and then I select watch later. When I go to my rented movies and try to watch it , it starts loading all over again. This can't be normal. Is there something that I am doing wrong?

    When I rent a movie using Apple TV,it takes several hours to load. At this point, I opt to watch later. When I try to watch the movie, it starts loading again and tells me that it will be ready to watch in one hour forty four minutes. This can't be normal. Is there something I am doing wrong? Any suggestions.

    If it's taking several hours then that is likely due to your internet connection. You can verify at speedtest.net
    6mbps required for instant 720P
    8mbps for 1080P
    You can switch to SD in the settings (which only requires 3mbps)
    You can also check istumbler or netstumbler for interference
    Make sure you are on your ISPs DNS
    The reloading is normal. There is no accessible storage on ATV. The small flash is used for caching streamed content, if you access other things or turn the device off it will be flushed.

  • TS3367 My problem is that the other person can hear me but I can't hear them. I have turned the volume up but that did not help.  Is there something that I need to do in the controls for us to hear each other.  Thank you for your input.

    My problem is that when using face time either I can hear the person and they cannot hear me or they can hear me and I cannot hear them.  Is there something I need to do in the controls to take care of this issue?  Thank you for your response.

    Diannie-
    Since you sometimes can hear, and sometimes can be heard, your iPad is probably working OK.
    But what about the other parties?  Is it always the same prson who can not hear you?  Is it always the same (but different) person you can not hear?  In other words, the problems could be at the other end.
    You and your friends might try the Skype App.  Once registered, you can access Skype's test server to check your audio.  It lets you speak for several seconds, and then plays it back.
    Fred

  • Is there something that i can download to get my videos to come up?

    My camcorder is not working and i was wondering if there was something that i can download to get them into imovie. I have a macbook and a DCR-DVD 180 Camcorder.

    My camcorder is not working and i was wondering if there was something that i can download to get them into imovie. I have a macbook and a DCR-DVD 180 Camcorder
    My personal choice would be to use MPEG Streamclip (free) with the QT MPEG-2 Playback component ($20) installed to manually convert your files. This does, however, assumed that you cane either download/copy your DVD content directly from the camcorder to your hard drive or can do so from the DVD when inserted into your computer. This, therefore, assumes that you have finalized the DVD (if required) and it is either inserted into the computer or the camcorder is properly connected, powered, and recognized as an external device. In most cases, users forget to "finalize" their DVD and most devices (other than the camcorder itself) will not recognize the content until the disc is properly closed.

  • Is there something that can connect multiple headphones?

    Is there something you can connect to your device that would allow you to connect multiple headphones to one device

    Something like this ?
    http://store.apple.com/us/product/HA828ZM/A/belkin-audio-splitter-35mm-m2x35mm-f

  • A simple script that removes older packages from cache dir

    Hello all,
    I wrote a small bash script that removes packages (from cachedir /var/cache/pacman/pkg), older than the ones available in repositories (eg. if the current version of pacman is 2.6.3, it will remove pacman-2.6.2 from cachedir). It implements the functionality of debian's 'apt-get autoclean'.
    Get it from http://www.kegep.tuc.gr/~manolis/archlinux/cleanold.sh.

    thanks a lot for sharing this 

  • Pacman. Cannot install previously uninstalled package from cache

    Hi all.
    I'm trying to install packages from shared cache to keep few machines in sync. I thought using "pacman -U --needed /path/to/cache/*" would solve it. However when I started testing I've noticed that when one package is removed I cannot install it  back that way. Pacman will just skip that package for some reason. If i use the same command but specify the the package /path/to/package/package_name or even first letter followed by * it will also install it. Why is that?

    Is it possible that the '*' is expanded in some unexpected way?
    I'm not using nfs, I tested it by uninstalling aurphan and running
    $ sudo pacman -U --needed /var/cache/pacman/pkg/*
    loading packages...
    warning: archlinux-keyring-20131027-1 is up to date -- skipping
    warning: aurora-27.0a2+20131114+gc6d8fa8-1 is up to date -- skipping
    warning: avahi-0.6.31-11 is up to date -- skipping
    warning: bison-3.0.1-1 is up to date -- skipping
    <snip>
    warning: xproto-7.0.25-1 is up to date -- skipping
    warning: xvidcore-1.3.2-3 is up to date -- skipping
    resolving dependencies...
    looking for inter-conflicts...
    Packages (1):
    Name New Version Net Change
    aurphan 20130912-1 0.03 MiB
    Total Installed Size: 0.03 MiB
    :: Proceed with installation? [Y/n]
    (1/1) checking keys in keyring [########################################################] 100%
    (1/1) checking package integrity [########################################################] 100%
    (1/1) loading package files [########################################################] 100%
    (1/1) checking for file conflicts [########################################################] 100%
    (1/1) checking available disk space [########################################################] 100%
    (1/1) installing aurphan [########################################################] 100%

Maybe you are looking for

  • MSS Webdynpro Applications

    Hello, I am on EP7.0 and want to know the technical names of the webdynpro applications for MSS relating to PCR Status Overview,Reporting, Employee General Information and Time Approval... Can any please help me with this.. Any help would be highly a

  • Why can't I end if in this AppleScript?

    Hello, Could you take a look at this script and explain why I can't end the if? I have tried compiling it with out the if and everything compiles so I know it is not a Syntax Error with the rest of it. But as soon as I enter and compile the end if po

  • PDF - Mail

    Hi friends, I have generated a sales executive performance report in ABAP and i have generated a PDF file in my local directory for each sales executive. Now, i need to send a mail with an attachment of this pdf file to teh respective sales executive

  • How to use the Itunes to transfer files to my device? by the way it is The worst., how to use the Itunes to transfer files to my device? by the way it is The worst.

    my Opinion is that the Itunes is unfriendly it is the worst program to deal with, why can't it be easy to transfer files to and from my device by drag and drop or by a simple way like copy to device. even a trained monky can do a better program to do

  • Reading material for SAP scripts

    Hi, please provide the reading material for the SAP scripts. I need the the materail for creating the scripts from scratch.