Does pacman have a verify mode or something similar?

I took my arch drive and an old pata drive to my dad's machine because my machine doesn't have any pata ports (just got a new one) and I needed to get stuff off the old drive. I unplugged my dad's hard drive and plugged my drives in, but did so without realising the machine was asleep and not actually off. So there goes windows trying to wake up. 2 seconds later it BSODs and writes a memory dump to the drive, which I think may have broken my system somehow because now after rebooting my dad's machine and copying over all the files I need (had to boot to arch on my flash drive) I brought my arch drive back to my machine and now /sbin/init won't start because it is "accessing a corrupted shared library" and that causes a kernel panic ("tried to kill init"). So I've now booted off my arch flash drive again and mounted my arch drive in the hopes of fixing it. So I need some way of getting pacman to reinstall everything somehow, and I was hoping there was a command line switch like other package managers have that will verify any packages installed on the system.
TL;DR I somehow broke some library on my machine and now I get a kernel panic on boot because init is accessing a corrupted shared library, and I need to use pacman to hopefully reinstall that library.
My plan was to just pacman --root /mnt -Syy && pacman --root /mnt -Syu but I don't think that's sufficient.
EDIT: I tried reinstalling glibc, that gave an error about libreadline being corrupt so I tried to reinstall that, that threw an error about libncursesw.so.5 being corrupt, so I reinstalled that. That finally ran fine, but now when trying to reinstall readline it upgrades according to pacman then says "command failed to execute correctly". I also just tried pacstrap /mnt base base-devel and my screen is now being spammed by some weird characters. Think it's a format and reinstall for me
Last edited by biltong (2012-09-08 14:43:25)

No, I have no idea what it was spamming (looked like %059 or something like that, or a slash with a bunch of numbers that just kept repeating) but no kernel panic. Loads of library errors though.
I've now got pacman --root /mnt -Syf base base-devel running which is redownloading all the packages just in case. If all these libraries are broken it probably means all the others are broken too, which means I'm pretty much reinstalling anyway. I only installed arch 2 days ago, lol.
EDIT: Still not working, loads of library errors and "cannot execute binary file" errors. All of these things should have been overwritten by pacman, so this is probably a disk error or something. I ran fsck before everything and that corrected some stuff but it's still broken somehow. I'll just have to format and reinstall I suppose.
Last edited by biltong (2012-09-08 16:16:40)

Similar Messages

  • Does Pacman Have A Command To Check For Left Over Dependencies?

    Does pacman have a command to check for left over dependencies?
    I know that when you remove something it's checking for dependencies and I've seen it show these before, but I swear I removed something that had dependencies and it don't show any and just removed only the single program.
    So basically I wanted to know if there are any pacman cmds like this to check the system with and clean it up?
    THANKS
    P.S. I didn't notice anything like this in the Wiki, only for cleaning out the cache....

    jasonwryan wrote:
    DasFox wrote:One I was reading the Wiki and I overlooked the information.
    I saw no evidence of that: you might have mentioned it in your post...
    Also I'm not your noob or your boy, I'm a middle age man that's been using Linux 10 years, running a Slack box most packages and kernel all custom compiled only running OpenBox...
    So next time you want to start telling people to do the basic research before posting, stop and think that maybe they've done it already.
    Again, there was no evidence of you having done any research: without evidence there is no reason to assume what the observed behaviour contradicts...
    So I've RTFM, just be careful with your choice of words and attitude, being the MOD doesn't give you rights to SPIT on people!
    Your perception about being insulted is your own - my post contains nothing insulting or offensive, just a very clear answer to your question.
    P.S. And if you were being nice in your odd sort of way I also don't appreciate it, because when we gone out and done the research and overlooked something we have every right to come here and ask and not be told like you've done.
    You have every right to ask questions; we have every right to insist that you follow the Forum Etiquette when doing so: https://wiki.archlinux.org/index.php/Fo … ow_to_Post
    No you didn't reply which you could of simply done, or asked if I read the Wiki which would of been the proper thing, not telling me to RTFM!
    I'm like this at times because I've seen it all to often....
    Next time before telling someone, ask them, in case they forget to mention it to you...
    Anyhow let's move on....
    P.S. So I can remove those packages without a problem?
    Last edited by DasFox (2010-11-26 06:16:08)

  • Does T61 models have some keyboard backlight or something similar?

    Hi
    Thank you for reading my post.
    Does T61 models have some keyboard backlight or something with light the keyboard when we are working in the dark?
    Thanks 
    Solved!
    Go to Solution.

    Sorry, no ThinkPad has a keyboard backlight
    However, they do, with the exception of the tablets and SL series, have the famous ThinkLight  which you can turn on in the dark using the Fn + PgUp key combination.
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • My mac air won't start up.it is frozen right before the log on screen. It shut down fine the time before, what should I do? Does it have a safe mode like windows?

    My Mac book air wont start up.it is freezing up right before the log on screen. It shut down properly. I cant figure out what could of caused this. Any advice would be greatly appreciated.

    Hi Justin,
    Are you getting to the Login screen? Or is freezing up on a blue screen? Are you still at the gray screen? Run any updates recently?
    You can try Safe Boot/Mode and see if that does anything - http://support.apple.com/kb/ht1455
    The next step would be to try and verify/repair Disk Permissions, but you'll need access to another computer for DVD/CD sharing or an external DVD drive.

  • Acrobat X - Does it have a typewriter mode? How do you get at it?

    I would like to know if Acrobat X has a typewriter mode as does Acrobat 9 Pro. Can someone take me through the steps of using the typewriter mode if there is one. Thanks.

    In Acrobat X the old Typewriter tool is found at Tools - Content - Add or
    Edit Text Box (it still has the typewriter icon, but with a different name).

  • Does Maps have a 'demo' mode

    I get a route on the map; I'd like Siri to read out and zoom me through the directions in demo mode; without having to jump in my car a travel the route; is there no maps demo mode like in Navigon?

    No, it doesn't

  • Does java have default exception handler or something

    Hi,
    I am getting a lot of SQLExceptions in my project, and I am fed up with try/catches everywhere in my project. I am doing exactly the same in every catch.
    So I was wondering if there is any way of default error handling, so if noone catches this exception, this will catch it.
    I know it excists in VB.NET.
    thanx guys!
    Bart

    Look at Thread.UncaughtExceptionHandler

  • Does Firefox have a setting for retaining cookies similar to the 'Preserve Favorites website data' setting found in I.E. so you do not delete cookies from favorited websites when deleting your browsing history?

    In I.E. when you want to delete your browsing history, the Internet Options tab allows you to retain the cookies for the websites that are listed in your 'Favorites'. With this preference enabled, you can delete your browsing history regularly without having to maintenance your cookies that you need. My bank requires that I register my computer for security reasons. The registration process places a cookie on PC. My browsing history is set to delete upon logout and I'm concerned that I will have to re-register my PC every time I log in or I will have to maintenance my browsing history every time I clear it. Does Firefox provide a feature so I can retain certain cookies that I want to keep?

    If you use [[Clear Recent History]] or other means to clear (all) cookies then those specified cookies will be removed, even if there is an allow exception.
    You can let all cookies expire if you close Firefox and make an Allow exception for the ones that you want to keep.
    *Tools > Options > Privacy > Cookies: "Keep until": "I close Firefox"
    *Tools > Options > Privacy > Cookies: "Exceptions"
    Make sure that you do not use [[Clear Recent History]] to clear the "Cookies" and the "Site Preferences"
    See also [[Cookies]] and [[Enabling and disabling cookies]]

  • OT: Does Quark have a book feature?

    I have to export (or print?) close to a thousand Quark documents to PDF.
    It's about 30 books split to 20-30 documents. Does Quark have a book
    feature or something that would allow me to export whole books at once?

    Yes, I wouldn't suggest using GREP styles to set up huge kerning tables, but let me give you a couple of examples. The first isn't actually a pair, but my client likes to have some air around em-dashes. So, I have set up a character style named Tracking75 and a GREP style that does this:
    Apply Style: Tracking75
    To Text: .~_
    This actually applies +75 tracking to any character that is followed by an em-dash and the em-dash that follows it, thereby giving the em-dash some air.
    I also have a CustomKernPair'" character style that I use to add 50 units of tracking to the pair :
    ApplyStyle: CustomKernPair
    to Text: ~](?=~})
    In this case, the tracking is applied to just the single right quote when it is followed by a double right quote because of the use of the positive lookahead to locate the second character.
    This could be extended as far as you like, but it would quickly get unwieldy if you tried to apply it to more than a handful of pairs; there's also a potential performance issue if you go crazy. And there's no method (other than Based-on inheritance) to quickly get a bunch of these out of one style into another -- but a script could help with that.
    Dave

  • Forms Authentication Error: User '' does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed

    I created a custom security extension following the steps listed in the Readme_Security Extension Sample. It works fine if I login as the user that is specified AdminConfiguration section of the rsreportserver.config file but if I
    log in as another user, I get this error: User '' does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed.  I've added the user to both System Administrator
    and System User roles to try to get it to work but still no luck.
    Does anyone know how to fix this?
    Thanks.

    Hi MetronM,
    The issue is due to that user have no permission to access the report server. In report manager, Reporting Services includes predefined roles that we can assign to users and groups to provide immediate access to a report server. Each role defines a collection
    of related tasks.
    You can refer to the following steps to assign corresponding role to the user.
    Open report manager.
    Click “Folder Setting” button. 
    Click “New Role Assignment” icon.
    Type the user name and select the corresponding role.
    There is an article about Granting Permissions on a Native Mode Report Server, you can refer to it.
    http://technet.microsoft.com/en-us/library/ms156014.aspx
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • I have quicktime pro and it does NOT have the screen record mode that Quicktime is suppose to have.  Can I uninstall it and go back to an older version that would have screen recording?  If so, how?  Step by step needed.  Thank you for your time.

    I have quicktime pro and it does NOT have the screen record mode that Quicktime is suppose to have.  Can I uninstall it and go back to an older version that would have screen recording?  If so, how?  Step by step needed.  Thank you for your time.

    Did you remove Quicktime X?
    On a normal install Quicktime 7 is installed in the Utilities folder and Quicktime Pro in the main Applications folder.
    You will need to reinstall OS X to get Quicktime X back if you have deleted it.
    I notice yor profile says 10.5.8. Quicktime X is only available on 10.6 and above.

  • I have an ipod nano 7th generation and can not get it recognised by my Windows 8.1 laptop (it appears briefly on My computer, then disappears). This happened after I updated iTunes to the latest version. Does that have something to do with it?

    I have an ipod nano 7th generation and can not get it recognised by my Windows 8.1 laptop (it appears briefly on My computer, then disappears). This happened after I updated iTunes to the latest version. Does that have something to do with it?

    Hello there, kiwilucea.
    The following Knowledge Base article offers up some in-depth steps for troubleshooting your issue:
    iPod not recognized in My Computer and in iTunes for Windows
    http://support.apple.com/kb/ts1369
    Keep in mind if you get to Step 12 Reinstall iTunes, those steps need to be followed exactly as outlined for the reinstall to be effective.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • I have a gen 3 ipod and can't get it into disk mode.  In itunes it does not have the option and I cant figure out how to do it on the ipod touch itself.  Any ideas?

    I have a gen 3 ipod and can't get it into disk mode.  In itunes it does not have the option and I cant figure out how to do it on the ipod touch itself.  Any ideas?

    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • My computer has been acting weird lately.  Shuts itself off, the mouse goes off in all angles, does not go into sleep mode sometimes and instead shows on a gray screen definitions of words in 3" letters!  Do I have a virus?

    My computer has been acting weird lately. Shuts itself off, the mouse goes off in all directions, does not go into sleep mode sometimes, instead shows a gray screen with word definitions in large 3" letters that continuosly flows across the screen.  Do I have a virus?

    Doesn't really sound like a virus.
    See if the Disk is issuing any S.M.A.R.T errors in Disk Utility...
    http://support.apple.com/kb/PH7029
    How many of these you can answer...
    Open Activity Monitor in Applications>Utilities, select All Processes & sort on CPU%, any indications there?
    How much RAM & free space do you have also, click on the Memory & Disk Usage Tabs.
    Open Console in Utilities & see if there are any clues or repeating messages when this happens.
    In the Memory tab, are there a lot of Pageouts?

  • Hi, I loaded Windows 7 Pro w/XP mode and iMac USB show working properly in device manager, but i cannot see a USB flash drive, or my Mac Superdrive.  Does anyone have a suggestion?  Thanks!

    Hi, I loaded Windows 7 Pro w/XP mode and iMac USB show working properly in device manager, but i cannot see a USB flash drive, or my Mac Superdrive.  Does anyone have a suggestion?  Thanks!

    MacDrive to provide better HFS support.
    And to acces and write.

Maybe you are looking for

  • Condition in script logic.

    I need to copy the 'All Account'  % value in datasource 'A' to 'All Account' , All costcenters with in same data source. This I need to copy only for those cost centers, for  which transaction data exist in data source 'B' for this period How to achi

  • Exposing business rules as web services in 11g

    Hi all, I have deployed my business rules in Enterprise Manager, but the test button is disabled and I'm getting the next message: "In Enterprise Manager only can be tested composites that are exposed as web services". Does anybody knows how can I do

  • Time Machine and connecting an external HD

    Hi, Sorry if this topic was already posted. I searched for an anwer, but could find it. I have: Macbook Mobile External HD I bought a time capsule and am waiting till the postmans divers it! I use my External HD to store my iTunes music and library o

  • IPhoto books - number of pages?

    I am doing an iBook and need help as follows: 1.  how many pages can I have in a hard cover book? 2.  how much does it cost????  How much per added page? 3.  how can I add pictures from other albums?  I seem to nly have a very limited selection where

  • Dreamweaver CS4 in one Window (Application Frame)

    Hello, in the new Creative Suite every Programm has the new "Application Frame" Feature, so that the whole program is running in one Window. Only in Dreamweaver CS4 I can´t find an option to run the software in one Window (and not a lot of small wind