Pacman ignores --root flag's input; chroot not in /opt/arch32

Due to lack of storage capacity on my root partition, I would like to install chroot in my home folder. Which does not work. If I change all the paths to the folder in my home folder nothing works.
pacman --root /home/svein/arch32 --cachedir /home/svein/arch32/var/cache/pacman/pkg --config /home/svein/arch32/pacman.conf -Sy
This would output;
error: config file /opt/arch32/mirrorlist could not be read.
I cannot see any /opt/ anywhere in the input. So what's wrong?

Does /home/svein/arch32/pacman.conf  contain "Include = /opt/arch32/mirrorlist"?

Similar Messages

  • Square root approximations and loops, output not as expected

    Hi guys,
    I'm trying to create a program that uses loops to guess the approximate value of a square root of an inputted value within an epsilon value. The program will guess with a value x, then use (x + (value/x))/2 to guess a closer value, where value = sqrt(input).
    Here is my solution class:
    public class RootApproximator
       public RootApproximator(double val, double eps)
              value = val;
              square = Math.sqrt(val);
              epsilon = eps;
              lower = square - epsilon;
       public double nextGuess()
              for (double i = 1; i < lower; i++)
                   i = (i + (value/i)) / 2;
                   guess = i;
              return guess;
       public boolean hasMoreGuesses()
              return (square - guess <= epsilon);
       private double square;
       private double value;
       private double epsilon;
       private double guess;
       private double lower;
    And here is my tester:
    public class RootApproximatorTester
       public static void main(String[] args)
          double a = 100;
          double epsilon = 1;
          RootApproximator approx = new RootApproximator(a, epsilon);
          System.out.println(approx.nextGuess());
          System.out.println("Expected: 1");
          System.out.println(approx.nextGuess());
          System.out.println("Expected: 50.5");
          while (approx.hasMoreGuesses())
             approx.nextGuess();
          System.out.println(Math.abs(approx.nextGuess() - 10) < epsilon);
          System.out.println("Expected: true");
    }Something is wrong with my loop, because the expected values are not appearing. Here is what the output looks like:
    50.5
    Expected: 1
    50.5
    Expected: 1
    ... // there should be more here, it should print:
    // true
    // Expected: true
    If anyone could please point out my errors so I can finish this program I would certainly appreciate it. Thank you all.

    I've modified your code a bit.
    class RootApproximator
         private double value;
         private double accuracy;
         private double firstGuess;
         public RootApproximator(double val)
              value = val;
              accuracy = 1;
         public double makeGuess()
              double guess = firstGuess;
              for (double i = 1; i <= accuracy; i++)
                   double temp = value / guess;
                   guess = (guess + temp) / 2.0;
                   System.out.println("Next Guess: "+guess);
              return guess;
         public void setFirstGuess(double num)
              firstGuess = num;
         //the higher the accuracy, the closer the square root will be
         public void setAccuracy(int num)
              accuracy = num;
    public class Test
         public static void main(String[] args)
              System.out.println("Number to take square root of:");
              java.util.Scanner input = new java.util.Scanner(System.in);
              double num = input.nextDouble();
              System.out.println("Number of times to iterate:");
              int acc = input.nextInt();
              System.out.println("First Guess:");
              double guess = input.nextDouble();
              RootApproximator approx = new RootApproximator(num);
              approx.setAccuracy(acc);
              approx.setFirstGuess(guess);
              double sqrt = approx.makeGuess();
              System.out.println("--------------------");
              System.out.println("Final Guess: "+sqrt);
              System.out.println("Actual Square Root: "+Math.sqrt(num));
    }

  • Why does loadXML over-write attributes in data DOM even if 'ignore root element' argument is true?

    I'm running Acrobat 9.4 if that makes any difference.  This question was spurred by another discussion on inserting an item into a list.  Basically loadXML is erasing the attributes on the reference node.  For example, if domNode is a node in the data DOM and newXML is a replica of domNode's XML with some child elements changed and newXML_str is the string representation of newXML, then the statement domNode.loadXML(newXML_str,true,true) eliminates the attributes in domNode.  A commenter in the above link states that it happens because the attribute is not stored in the data DOM as an attribute but rather as a child node with prefix '@' but if that were the case it would seem that saveXML should show it as a child element and not as an attribute.  However, saveXML (as shown below) correctly shows the attribute as an attribute.
    What I would like to happen is to have the child attribute node(s) preserved and the child element nodes replaced.  It seems to me that if the second argument is true (ignore root element in xmlArg) then the root element in the data DOM (including attributes) should be unchanged but that is not what happens.  
    Here is some sample XML:
    <docroot>
        <contact uid="29033737">
            <firstName>George</firstName>
            <lastName>Sinkenschneider</lastName>
        </contact>
    </docroot>
    Here's some JavaScript:
    var domNode = xfa.resolveNode("xfa.data.docroot.contact.(uid.value=='29033737')");
    var domNodeXML_str = domNode.saveXML();
    console.println("  contact data node saveXML (domNode) = ".concat(domNodeXML_str));
    console.println("  domNode.uid.value=".concat(domNode.uid.value));
    var newXML_str = domNodeXML_str.replace("George", "Johnny");
    console.println("  newXML_str = ".concat(newXML_str));
    domNode.loadXML(newXML_str, true, true);
    console.println("  DOM node after executing loadXML(newXML_str, true, true) = ".concat(domNode.saveXML()));
    xfa.form.remerge();
    Here's the console output from the script (including all the ugly line-feeds):
      contact data node saveXML (domNode) = <?xml version="1.0" encoding="UTF-8"?>
    <contact uid="29033737"
    ><firstName
    >George</firstName
    ><lastName
    >Sinkenschneider</lastName
    ></contact
    >
      domNode.uid.value=29033737
      newXML_str = <?xml version="1.0" encoding="UTF-8"?>
    <contact uid="29033737"
    ><firstName
    >Johnny</firstName
    ><lastName
    >Sinkenschneider</lastName
    ></contact
    >
      DOM node after executing loadXML(newXML_str, true, true) = <?xml version="1.0" encoding="UTF-8"?>
    <contact
    ><firstName
    >Johnny</firstName
    ><lastName
    >Sinkenschneider</lastName
    ></contact
    >
    Note that the uid attribute is missing from the final DOM node.

    Looks like you may have found a bug .....If I append the new xml I see that the uid attribute is maintained (oit is not touching the root attribute). If I replace it then it seems that the attribute is ignored when the node is re-written. We will need to open a bug with support ...do you want to do that?
    Paul

  • HDMI and PC inputs do not work on my 37AV502R LCD TV

    HDMI inputs and PC inputs do not work consistently
    my Apple TV (HDMI) and computers 2 on HDMI, 1 on PC, display just fine n the TV but after a while the TV goes blank,
    the time is not consistent sometime a few minutes, sometimes a few hours,
    but every time, after the TV goes blank there is nothing I can do, the TV just stays blank, if I unplug and turn back on the TV displays the image for a split second and goes bank again,
    I thought it might be an overheating thing, however sometimes the PC input will stop working but the HDMI input (either one) will work fine,
    has anyone else had this issue?
    Thanks
    A. 

    I'm having the same issue.  As soon as I connect it to VGA or HDMI, it goes into a cycle of flashing on-and-off.  A guy on youtube had the same problem (posted a video identical to my problem) and reportedly fixed it with a firmware update.  
    The problem: the US website doesn't have a firmware download.  The canadian website does, but the update is from 4/2009, and the manufactured date on the back of my TV is 5/2009.  (I also tried the update, but it didn't fix the problem).
    When I call Toshiba to ask about the firmware update, after they confirm I am out of warranty, their automated system keeps hanging up on me.  So frustrating. 

  • I have a 60 inch Sony XBR TV that has DVI input but not HDMI. I am using an adapter to get the video from my Apple TV, but the screen flashes a lot. Do I have any other choices other than buying a new TV?

    I have a 60 inch Sony XBR TV that has DVI input but not HDMI. I am using an adapter to get the video from my Apple TV to the Sony, but the screen flashes a lot. Do I have any other choices other than buying a new TV?

    Is this an iphone question?
    You have posted in the iphone forum.

  • How can I delete flagged emails that are not visible in my account boxes?

    Currently I show 43 flagged emails but not in any of my accounts is there a flag.  I am not sure if I deleted them early in learning to use my iphone 4s or what.  Certainly I had flagged email messages in the past.  Any suggestions?  I have tired going into my various email accounts on the iphone and checking all of the deleted emails for each account.  I only found seven flagged messages. 
    Much appreciation for any suggestions.
    Thanks!

    Hey OldCT!
    I have a link here for you that may help you find your flagged messages a little more easily:
    See important messages - iPhone
    http://help.apple.com/iphone/7/#/iph3caefa61
    Flag a message so you can find it later. Tap while reading the message. You can change the appearance of the flagged message indicator in Settings > Mail, Contacts, Calendars > Flag Style. To see the Flagged mailbox, tap Edit while viewing the Mailboxes list, then tap Flagged.
    Thanks for being a part of the Apple Support Communities!
    Cheers,
    Braden

  • Aperture 3.2.4 flagged pics in Project not showing in Flagged view

    I have used Aperture 3.2.4 flagging many times as a method to create batches of pics for emailing.  Tonight I have flagged 6 pics.  I can see the flag on each pic, deselect and reselect each flag, but in the "Flagged" view I am not seeing any pictures.  In browser, in the list view, the pictures are showing as flagged.
    Any ideas?  Thanks,  Bruce

    It is possible that you have a filter set on the flagged album. When the flagged album is selected with browser view on look in the upper right hand corner of the screen the window should say unrated or better.
    If that is not the case what happens when you hold the mouse over the flagged album in the Library pane of the Inspector. Does it report any versions in the album?
    Finally take a look at this User Tip Images not appearing in browser, search filter is cleared   The same problem this tip addresses with the Photos section of the Library also applies to the Flagged album. See if this doesn;t clear it up if the above fail.
    And of course the steps shown in Aperture 3: Troubleshooting Basics will also be helpful.
    Post back if you still have problems.

  • Input Textfields not working in fullscreen mode

    Input Textfields not working in fullscreen mode any one help me.

    Quotes from Adobe:
    "Users cannot enter text in text input fields while in full-screen mode. All keyboard input and key-related ActionScript is disabled while in full-screen mode, with the exception of the keyboard shortcuts that take the viewer out of full-screen mode."
    Check with this article to know more: http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html

  • Input textbox not working in Fullscreen view

    Hi,
    I've created one form application in flash, i have fillup the form(inputbox) in normal view, its working fine. but it's not work in fullscreen view,
    Please let me know how do enter the text in input textbox in fullscreen mode.
    Note: input textbox not work in fullscreen mode.
    Thanks
    Suresh

    Hello,
    I think your problem is very similiar to a problem that I had been suffering from a few days ago.
    I think that the below code should solve your problem:
    stage.scaleMode = StageScaleMode.NO_BORDER;
    Chinmaya

  • ORA-20103: Null input is not allowed

    Hi, Got a bit of a problem I'm struggling with. Hoping someone can help !
    I've got some PL/SQL code which performs some simple checks against XML to see if its Malformed.I can't cut and paste the real code due to security constraints but this should give you the gist :
    BEGIN
    p:=xmlparser.newParser;
    xmlparser.parseCLOB(p,c); -- where P is xmlparser.parser and c is a CLOB variable
    doc:= xmlparser.getDocument(p);
    --Check Elements
    --Attributes etc
    goes on through the elements etc checking for missing tags etc.
    This code worked a treat but then when once in production we started getting some Java out of memory errors so I've added a xmlparser.freeparser(p) and a freedocument once everything is completed (the parser is created and destroyed for each CLOB as part of a cursor loop) but now when I run it I get a ORA-20103: Null input is not allowed error. I've traced it through and it bombs out with this error at the point where it performs the xmlparser.parseCLOB(p,c) call. I've checkd and the Clob variable has a clob in it at the point where parseCLOB is called.
    What makes this really interesting is that the ORA-20103 error only occurs when you pass it a clob containing MALFORMED XML !! This didn't happen before I added the freeparser etc !!!
    I've compared code and its identical save for the freeparser and freedocument calls, which come well AFTER the parseCLOB command.
    Has anyone got any ideas as I'm out of them !!
    Thanks in advanced for any help received.
    Ta
    Si

    This should solve your problem
    IF (xmldom.isNull(nf) = TRUE) THEN
    dbms_output.put_line ('I am NULL');
    ELSIF (xmldom.isNull(nf) = FALSE) THEN
    dbms_output.put_line ('I am not NULL');
    IF xmldom.getNodeType(nf) = xmldom.TEXT_NODE THEN
    dbms_output.put_line (xmldom.getNodeValue(nf));
    END IF;
    END IF ;
    Thanks
    Devdatt

  • MSA copying activity: flag 'main team member' not set automatically

    Hello forum,
    when I copy an activity in msa,
    the responisble persons are copied too, but saving is not possible:
    error: flag main team member not set
    So i have to set this flag manually.
    Why does the system not copy this flag too ?
    Where can I change this bad behaviour ?
    Thanks
    Gerd

    Hello,
    did you already check the following:
    1) activities created in CRM have this main flag set properly for exactly one responsible employee defined for this function
    2) customizing is synchronized properly to CDB/Mobile:
    CRM_DNL_PAR_FCT
    CRM_DNL_PAR_PDD
    CRM_DNL_PAR_PDP
    CRM_DNL_PAR_UIS
    3) activities downloaded to mobile have this main flag set properly for exactly one responsible employee defined for this function
    4) it is possible to create the same activities in mobile as in CRM using the same functions (e.g. the customizing is proper on mobile)
    For my understanding I would rather suggest to change/correct the data in CRM instead of modifying the copy functionality for mobile.
    Regards,
    Wolfhard Bierlein

  • SelectTransport: creating directory failed: Win32Exception: root of directory to create not found: The system cannot find the path specified. [0x00000003]

    USMT is failing with error 71 for all users in a specific office when backing up to a specific share:
    COMPUTERNAME\Guest, administrator: No, interactive: Yes, logged on: No, has profile: No
    DOMAIN\USERNAME, administrator: Yes, interactive: Yes, logged on: Yes, has profile: Yes
    COMPUTERNAME\Administrator, administrator: Yes, interactive: Yes, logged on: No, has profile: Yes
    2014-10-31 12:52:37, Status [0x000000] Activity: 'MIGACTIVITY_TRANSPORT_SELECTION'
    2014-10-31 12:52:37, Info [0x000000] Processing the settings store
    2014-10-31 12:52:37, Error [0x000000] SelectTransport: creating directory \\san.f.q.d.n\share$\username\BACKUP\USERNAME\USMT failed: Win32Exception: root of directory to create not found: The system cannot find the path specified. [0x00000003] class UnBCL::DirectoryInfo *__cdecl UnBCL::Directory::CreateDir(const class UnBCL::String *)[gle=0x00000005]
    2014-10-31 12:52:37, Info [0x000000] Failed.[gle=0x00000091]
    2014-10-31 12:52:37, Info [0x000000] A Windows Win32 API error occurred
    Windows error 3 description: The system cannot find the path specified.[gle=0x00000091]
    2014-10-31 12:52:37, Info [0x000000] Windows Error 3 description: The system cannot find the path specified.
    2014-10-31 12:52:37, Info [0x000000] USMT Completed at 2014/10/31:12:52:37.861[gle=0x00000091]
    2014-10-31 12:52:37, Info [0x000000] Entering MigShutdown method
    2014-10-31 12:52:37, Info [0x080000] COutOfProcPluginFactory::FreeSurrogateHost: Shutdown in progress.
    2014-10-31 12:52:37, Info [0x0803e5] Not unmapping HKLM\ELAM; it is not mapped
    2014-10-31 12:52:37, Info [0x0803e6] Removing mapping for HKLM
    2014-10-31 12:52:37, Info [0x0803e7] Successfully unmapped HKLM
    2014-10-31 12:52:37, Info [0x0803e6] Removing mapping for HKU
    2014-10-31 12:52:37, Info [0x0803e7] Successfully unmapped HKU
    2014-10-31 12:52:37, Info [0x080487] Destroying OS analysis service
    2014-10-31 12:52:37, Info [0x080488] Destroyed OS analysis service
    2014-10-31 12:52:37, Info [0x000000] Leaving MigShutdown method
    2014-10-31 12:52:37, Info [0x000000] ----------------------------------- USMT ERROR SUMMARY -----------------------------------
    2014-10-31 12:52:37, Info [0x000000] * USMT error code 71:
    2014-10-31 12:52:37, Info [0x000000] +-----------------------------------------------------------------------------------------
    2014-10-31 12:52:37, Info [0x000000] | A Windows Win32 API error occurred
    2014-10-31 12:52:37, Info [0x000000] | Windows error 3 description: The system cannot find the path specified.
    2014-10-31 12:52:37, Info [0x000000] +-----------------------------------------------------------------------------------------
    As the user in question, when I browse \\san.f.q.d.n\share$\username, the BACKUP directory exists, but there are no sub directories.
    I manually created the sub directories, USERNAME\USMT - so the full path now exists: \\san.f.q.d.n\share$\username\BACKUP\USERNAME\USMT
    I re-ran USMT but the process returned the same error.
    If I specify other shares not on san.f.q.d.n but on san1.f.q.d.n or server.f.q.d.n or even workstation.f.q.d.n, it works fine.
    Can someone provide guidance on how to troubleshoot this further?

    In Windows, setting the Environmental Variable sometimes DOES NOT WORK.
    The -Djava.io.tmpdir=C:\temp setting must be made in the server properties of the oc4j in order for it to work.
    Jae

  • Rendering of Tax Registration Num text input is not work

    Hi All,
    We are use R12.0.6 instance. On Customer Screen Tax Registration Num and Credit text input are not appear. We checked the personalizations of Tax Registration Num; render is "Yes" but we could not entry the data.
    We bounced apache and cleared the cahce.
    Thanks,
    Okan

    In CQ you just need to include form component and inside the form add text component. When you double click text component it will provide you with the option to add styling and specify width. Which takes precendence.  Not sure why you building the entire html page.

  • "Cannot evaluate parameter 'NewName' because its argument input did not produce any output." error received

    I need to rename a set of files with a subset of the files' original name. I wrote this script:
    dir | rename-item -newname {if ($_.name -match '\d{4,5}\-\d{5}\s\-\s(.+)\s\-\s.+\s\-\s.+'){$name=$matches[1]; -replace '.+', "$name";}}
    This works in that the file and/or directory names are changed, but it also gives me the error:
    Rename-Item : Cannot evaluate parameter 'NewName' because its argument input did not produce any output.
    At C:\...\FileStrip.ps1:1 char:28
    + dir | rename-item -newname {if ($_.name -match '\d{4,5}\-\d{5}\s\-\s(.+)\s\-\s.+ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidArgument: (Vivek Shyam:PSObject) [Rename-Item], ParameterBindingException
        + FullyQualifiedErrorId : ScriptBlockArgumentNoOutput,Microsoft.PowerShell.Commands.RenameItemCommand
    I'm not sure how to fix this. Any assistance would be appreciated.

    ok, thanks.
    You've avoided the whole 'use the piped data implicitly' thing by the explicit ForEach. I'm ok with that, but I'm still curious how to get the non-ForEach version to not error.
    Anyway, what you provided almost worked. I modified to be this:
    dir -file |
       Where{$_.name -match '\d{4,5}\-\d{5}\s\-\s(.+)\s\-\s.+\s\-\s.+'} |
       ForEach-Object{
            $match=$matches[1]
            $newname=$_.Name -replace '.+', "$match"
            Rename-item $_ $newname
    to get it working properly.
    But it looks like the simplest form is:
    dir -file |
       Where{$_.name -match '\d{4,5}\-\d{5}\s\-\s(.+)\s\-\s.+\s\-\s.+'} |
       ForEach-Object{
            Rename-item $_ $matches[1]

  • How to define on cell-level: ready for input or not?

    Hello,
    we would like to define on each cell of a table if it's ready for input or not.
    Not only rows or columns should be marked as input-ready but single cells.
    E.g. The user should be able to say A2 is ready for input, B3 ist not.
    Thank you,
    Daniel

    Hi Daniel,
    I can not imagine such a function.
    What is possible, is that you define the data slices according to what you want to be able to enter. so if you include several char with certain values in your data slices, your mask in the end will have the look, that certail cells are not ready for input.
    Unfortunatly you can not set data slices on key figures, so maybe you need an account model.
    regards
    Cornelia

Maybe you are looking for

  • How to use IMAQ extract color panel in a LabView file?

    I want to change a color image into a greyscale image. Therefore I want to use the function IMAQ extract color panels but I don't know how to insert it in my LabView application. Please, can anyone give me some advice ?!!! Thx, Birgit

  • Value of new field in SAP internal table does not appear in HTML

    There is already an existing web application. (has both SAP and HTML programs) I only need to add one field in the SAP internal table and display the value in HTML. I activated and pushed the publish button in SAP. Still, it is not read successfully

  • Windows keeps corrupting WU stores

    I'm not sure if somebody else had this problem before, but for me this keeps happening every couple of weeks. It happened for the third time recently. Out of the blue on shutdown Windows says that it's installing updates with the typical counter of p

  • Password for wireless

    I can not remember my password at all and have no clue how to find it of be able to set up a new one. I just bought an ipod touch and cannot hook up to the wireless internet at my house because of the password? Any help? Thanks

  • Exchange Rate Differences for Alternative Currency

    F110 payment run for invoices posted in foreign currency creates automatic postings to exchange rate difference (realized gain or loss) accounts linked to KDW. What we are trying to do is to use another set of GL accounts to be posted automatically a