[Solved] Proper method to remove multilib repository?

I've looked at the sparse Multilib Wiki Page and I have googled to no avail for instructions to properly remove the multilib repository and installed packages from it on my system.
pacman -Qs lib32*
Gives me a list of 32 bit packages installed on my machine however I am not versed in how to use a wildcard (*) with pacman -R.
My general idea of how to go about this is a) remove all 32 bit packages, b) comment out the multilib repo in pacman.conf, c) pacman -Syy
Any advice?  If I get a working solution I'll edit it into the Wiki Multilib page.
Last edited by headkase (2013-09-19 10:45:15)

Ok,
I ran into troubles with gcc-libs.  The solution to that was to
# pacman -S gcc-libs base-devel
Once that was done then I ran your command substitution line and it removed all the 32 bit packages:
# pacman -R `LANG=C pacman -Sl multilib | grep installed | cut -d ' ' -f 2`
Then I commented out multilib in
/etc/pacman.conf
Then
# pacman -Syy
And then in
/var/lib/pacman/sync
I deleted multilib.db.
Then
# pacman -Sc
to remove packages that were no longer installed from the cache.
Thank you very much!
Last edited by headkase (2013-09-19 11:12:41)

Similar Messages

  • Multilib repository: Feedback & Notification Thread

    This thread is for request and feedback about my multilib repository. I am subscribed to it and I will get an email which I also check on a regular basis.
    Right now I can't do any updates because my 64bit hardware is not available. This will most likely change in about two weeks.
    If anyone wants to help me maintaining this, please step forward. I can also grant you access to the git repository with the PKGBUILD's that I used.
    [Edit]
    As there is a new project which obsoleted mine, I will shut down my mirror & git soon. The link above no longer points to my repository, so please direct requests now at the appropriate people.
        --Marenz
    Last edited by Marenz (2010-08-23 13:42:45)

    Marenz wrote:
    Okay, I'll take my repos & git offline then, if it is no longer needed? (as you apparently even try to hijack this thread )
        --Marenz
    I would be that hijacker! "wonder" (or any TU for that matter) had nothing to do with this. I thought based on this thread's topic, that this is for discussion regarding the "new" multilib repo. I thought you were one of those guys listed at https://wiki.archlinux.org/index.php/Multilib_Project . I edited that wiki page to link to this thread and modified http://wiki.archlinux.org/index.php/Arch64_FAQ to show the "new" temporary repo. Sorry for the mistake. If you want I will remove the link to this thread in the wiki page.
    By the way
    [keshav_pr@keshav-laptop Desktop]$ git clone git://supraverse.net/multilib.git multilib
    Cloning into multilib...
    fatal: The remote end hung up unexpectedly
    Last edited by skodabenz (2010-08-23 13:44:58)

  • I wanna get rid of [multilib] repository

    [rok@rok-laptop ~]$ sudo pacman -Rn lib32-mesa
    Password:
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: google-earth: requires lib32-mesa
    :: wine: requires lib32-mesa
    so, wine and google earth prevents me from doing so. Why? Both aplications are in fact 64 bit, why do they have 32 bit dependencies?
    And 64 bit wine is also capable of running 32 bit apps, but that doesn't mean it should require lib32-* packages.
    I would really like to get rid of this 2 gigs of data, so please help me Thanks.

    rvdli wrote:I don't know if wine and Google Earth can work without the lib32. The only way to test is removing their packages then trying to reinstall again, without the [multilib] repository activated.
    That is NOT the only way to test, please read man pacman
    % pacman -Qi wine | grep Depends
    Depends On : fontconfig lib32-fontconfig mesa lib32-mesa libxcursor lib32-libxcursor libxrandr lib32-libxrandr libxdamage lib32-libxdamage libxi lib32-libxi gettext lib32-gettext desktop-file-utils
    % pacman -Qi google-earth | grep Depends
    Depends On : desktop-file-utils hicolor-icon-theme ld-lsb lib32-fontconfig lib32-libxrender lib32-mesa shared-mime-info
    And to OP - if you want wine and google earth, you need lib32, no two ways about it. Buy a bigger hard disk drive or live with linux-only apps and maps.google.com.
    EDIT: stupid typos....
    Last edited by ngoonee (2012-07-11 01:37:39)

  • Counting Tags - Proper Method

    QUESTION: Am I using proper method in my development of
    automatically tallied footnotes?
    BACKGROUND
    While exploring on the W3 CSS 2.1 website I stumbled on the
    contents property of the :before and :after pseudo tags. This led
    me to the counter( ) function, the counter-reset property, and the
    counter-increment property that led in turn to my creation of
    automated footnotes for a single webpage (see Sample Page below).
    Although very pleased with what I developed, it is probably far
    from original, and I am hoping that someone with more extensive
    background in the use of counters could shed some light on how my
    future might look using the method I have employed for the creation
    of footnotes.
    Both the HTML and CSS code for my sample page validate using
    the FireFox validation tool. All of the CSS code has been placed in
    the document's <head> tag.
    THE FUTURE
    What I envision as my future in this regard is the use of my
    counter to tally footnotes across serially linked webpages. Once
    this is achieved, I am hoping to tally and label figures, graphs,
    tables, pages, section titles and other vital document information
    across the same set of serially linked webpages with a different
    set of similarly created counting tags.
    SAMPLE PAGE
    http://homepage.mac.com/moogoonghwa/practice/CSS/countingTags2.html
    In addition to commenting on the way I have created footnotes
    in the sample document, any online reading suggestions in regard to
    my envisioned future would also be greatly appreciated.
    Roddy

    Hello,
    Counter-reset, Counter-increment, :before and :after aren't
    supported by IE
    currently.
    However, they are listed as one of the CSS Compliance
    upgrades in IE8 Beta
    2.
    In browsers that support it, the method is fine.
    Take care,
    Tim
    "kiusau" <[email protected]> wrote in
    message
    news:gpkd10$36b$[email protected]..
    >
    QUESTION: Am I using proper method in my development of
    > automatically
    > tallied footnotes?
    >
    >
    BACKGROUND
    > While exploring on the W3 CSS 2.1 website I stumbled on
    the contents
    > property
    > of the :before and :after pseudo tags. This led me to
    the counter( )
    > function,
    > the counter-reset property, and the counter-increment
    property that led in
    > turn
    > to my creation of automated footnotes for a single
    webpage (see Sample
    > Page
    > below). Although very pleased with what I developed, it
    is probably far
    > from
    > original, and I am hoping that someone with more
    extensive background in
    > the
    > use of counters could shed some light on how my future
    might look using
    > the
    > method I have employed for the creation of footnotes.
    >
    > Both the HTML and CSS code for my sample page validate
    using the FireFox
    > validation tool. All of the CSS code has been placed in
    the document's
    > <head>
    > tag.
    >
    >
    THE FUTURE
    > What I envision as my future in this regard is the use
    of my counter to
    > tally
    > footnotes across serially linked webpages. Once this is
    achieved, I am
    > hoping
    > to tally and label figures, graphs, tables, pages,
    section titles and
    > other
    > vital document information across the same set of
    serially linked webpages
    > with
    > a different set of similarly created counting tags.
    >
    >
    SAMPLE PAGE
    >
    http://homepage.mac.com/moogoonghwa/practice/CSS/countingTags2.html
    >
    > In addition to commenting on the way I have created
    footnotes in the
    > sample
    > document, any online reading suggestions in regard to my
    envisioned future
    > would also be greatly appreciated.
    >
    > Roddy
    >

  • Is there any Method to remove the request from STMS OR SE10 OR SE09

    HELLO ALL ABAP GURUS,
    Is there any Method to remove or delete the request from STMS OR SE10 OR SE09 ?
    Thanks,
    Sumit.

    Hi,
    Before deleting a transport request you need to unlock all the objects in a transport request. Please follow these steps.
    1. Go to SE03. Under Requests/Tasks folder in the left pane you can see Unlock Objects, double click on that.
    2. Enter your request number (sub task) there and click on execute button.
    3. SAP will prompt you with a message, click on Unlock button.
    4. Now go to SE09/SE10 and click on your request number (sub task) and click on delete button on the application toolbar.
    5. Now click on main task and click on delete button to completely remove the request number.
    Hope this will help you.
    Regards,
    Venkat

  • Purchasing new iMac (27 i5), what is best method to transfer programs/files/documents from 24" iMAC?  What is the best method to remove personal data from OS?

    Purchasing a new iMac (27 i5), what is the best method to transfer programs/files,documents from a 24" iMac?
    What is the best method to remove personal data from the 24" iMac?

    Use setup assistant which is offered when you setup your new Mac.  It will transfer information from a Time Machine backup, Clone or another Mac.
    It's best to do this during setup to avoid issues with duplicate IDs.
    Regards

  • Proper method for interactive video

    Hi.  It's been a while since I've used Flash/Actionscript, and I've been having trouble figuring out the proper way to do this.  I'm hoping someone here can outline the proper methods.
    Basically, I'm creating a Flash project where it will play a video, then at a certain point, stop and display some buttons, and then go to the appropriate video based on what button was pressed.  Sort of a choose your own adventure type of thing.
    Without knowing the current/ideal way of doing it, how I tried it was by having the first video (embedded into the project) on one layer, and at the end of that video, I have a stop()  on another (script) layer (on the last frame of the video in the timeline), and I had the buttons (which appear on top of the video) on another layer at that same frame.  So, in theory, it plays the video, hits the last frame, stops the timeline, and waits for one of the buttons to be clicked.  Each button triggers and gotoAndPlay(), which takes the timeline to one of the other two videos that are located one after the other, after the first video, on the same (video) layer.
    Problem is, I have a bit of a catch-22...  I was aware that there would be sync issues between the video and it's audio (addressed by doing the audio as Sync or something in the audio properties)... however, I was suprised to see that the video does not maintain sync with the other layers (script).   So, what happens is that it plays the video, but SEEMS to play it faster than the script layer, so it reaches the end of the video before reaching the (identical frame) location of the actionscript.  As a result, the video loops, and the stop() is hit sometime during the start of the second playing of the video.  The buttons act similar, appearing sometime AFTER the point in the video where they should.
    I had embedded the video with the assumption that this would give me hard sync between it and the timeline, since it's physically there in the timeline, and you can see the frame at which it ends... and I thought then putting a stop() on that frame (but on a different layer), would guarantee that the stop code gets hit at the same time the end of the video was.
    I've tried a number of things, like putting the actionscript code on the frame after the video on the same layer, figuring a single layer can't go out of sync with itself... but that didn't work either.
    Looking into it, I saw that one option was to not embed the video, but to have it reference an external file (which, supposedly, would result in no sync issues).  But, in doing that, I'm not aware of how the rest of the timeline would know when the video has reached certain spots of the video.
    I'm sure the proper method is entirely different from what I'm doing, but I'm not familiar with other methods.  I'm hoping someone can outline the proper procedures (in as much detail as possible, since I probably won't know about much of what you are explaining).
    Keep in mind, again that this is basically what I want to do:
    -Play video 1
    -Stop timeline, display buttons, wait for response
    -Based on which button is pressed, jump in the timeline to video 2 or 3 (...I'm assuming all the vids will be on one layer, one after the other, with a label at the start of each one)
    Hope you can help.  Thanks.

    Hi, kglad.  Conceptually, I understand, but I'm totally new to most of these things.  I've worked with actionscript and flash in general, but am still very green when it comes to things like event listeners and some of the more technical coding.
    I've been frustrated with the tutorial vids I've been finding, as they are often very generic (...5 minutes of video, only to show you how to load the component onto the stage, then point to a video).  But, I did finally find one that seemed to address more detail.  It's the ActionScript 3 Video Basics tutorial on gotoandlearn.com.  All very techy code, which goes right over my head, but at least it's seemingly usable and relevant.  I just don't like using coding/methods I don't fully understand, as then you are helpless if something goes wrong.
    In answer to your question, what I'm after (in more detail) is this:
    -A video plays (Intro video)
    -After that video, a looping video plays, with buttons (Scene selection thumbnails) on top of it (Selection menu with looping background)
    -Clicking on one of the scene thumbnails then goes to the scene player section
    -Scene plays, and when it reaches the end of the clip, two buttons appear, and it waits (parked on last frame of the video via a stop() command)
    -Pressing button A jumps the timeline ahead 2 frames to the A video (which is located right after the initial scene video, right after the stop()), and that video plays, and stops at the end (via another stop() command.
    -Pressing button B jumps the timeline ahead many frames (past that second A video, over to the B video, which is the third clip on the video timeline, consisting of the initial scene, the A clip, and now the B clip), plays that and stops.
    Now, I am 90% sure that the way I am currently doing this is inefficient, obsolete, and to anyone half-decent at Flash authoring, completely wrong... but it's the only way I currently know.
    I've done the above like this:
    Timeline has the first (Intro) video embedded, then the second (Scene Selection loop), with a label ('Loop') at the first frame, and a gotoAndPlay('Loop') on the last, with the graphics and code for the scene selection thumbnail buttons occupying the duration/span of that loop clip, on a different layer.
    I have a MovieScreen movieclip, which has a series of one frame movieclips within it.  Each of those movieclips is the full video of a scene.  Think of the MovieScreen mc as a sort of Jukebox, containing a series of 1 frame 'records' (those being a movieclip that contains the video of each scene).  Pressing one of the thumbnail Scene buttons in the Scene Selection simply moves the MovieScreen movieclip timeline to the appropriate 'record' (frame containing the appropriate movieclip that contains the scene you selected), and jumps the main timeline (via a gotoAndPlay()) out of that Scene Selection loop, to the next frame after it, which is a 'Selection made' clip (an exit animation), which plays, and then parks on the 'Play Scene' section.
    The Play Scene frame of the main timeline simplly contains the Moviescreen movieclip, which (at this point) has had its own timeline jumped to the appropriate 'record' (movieclip within it), and that movieclip plays.  This is my (probably laughably incorrect, yet functioning) method to have a global 'movie player' frame in the main timeline, but have it able to play any of the available videos, rather than having a moviescreen for each scene.
    Certainly, I'd assume there is a far better way to do this, most likely with pure actionscript, where the scenes are called up, and things are dynamically generated... but, again, I don't know how to do that sort of thing.
    My first attempt had me embedding the videos directly into the timeline, which had the benefit of having the clip literally there on the timelines, taking up the literal amount of frames, and being visible during the timeline editing.  Problem is, it wouldn't play in sync with the rest of the layers (which was a real surprise, as I assumed that the whole point of embedding it would be to lock it to the timeline).  So, my codes/graphics that were placed on other frames at the end of the video clip's timeline layer didn't trigger in sync with the end of the clip (...which still puzzles me).
    My second attempt had the videos being called on as external clips, but that also had its share of problems, plus without the clips physically on the timeline, I had no way to know when the clip ended (...assuming I was to have the actionscript/graphics on a particular frame in the timeline... which I suspect now is wrong thinking).
    My third attempt used the FLV component.  First of all, the videos where about half the size that they should have been, plus where positioned half off the screen.  Today, I managed to figure out how to remedy that, so that works.  However, I soon realized that when placed on the stage, the resulting element on the timeline was an infinite duration, and not representitive of the duration of the clip, like an embedded vid would be... So, again, I had the problem of how to know when the clip ended, and where to place the script/graphics in the timeline.
    Researching a bit more today, I see that you can read metadata from a clip, which may be relevant to triggering a stop() or a loop back or a gotoAndPlay()...although I'm not entirely sure how it would all work.  I couldn't see an obvious way to loop a clip (from the FLV Playback properties).  So, even though I suspect this is the proper way to be doing this, I'm completely lost on how to utilize it.
    As well, I've been reading that the current version of the FLV Playback component has an issue with seamless looping... in that it supposedly can't.  So, that's yet another problem.
    Sorry for the novel, but I wanted to give everyone the full info on what I'm doing and what troubles I'm facing here.  Sorry too for being green on this.  I'd be happy to watch/read some tutorials on this, but really haven't found anything that either addresses things more than just 'load it onto the stage and select the video location', or ones that are the opposite end of the spectrum, and are way over my head.

  • Proper Method for closing a VI?

    Hi there,
    I am a very inexperienced labview user, so this question may be a walk in the park for you pros. What is the proper method for closing a VI? I want a particular VI to close upon a certain occurence. When I use a property node to close the front panel, then an invoke node to abort the VI with a static reference. I sometimes get a message dialog in the upper left corner of the screen that says "Resetting VI: [Vi's name].vi" at which point labview freezes, and must be closed externally from the Windows task manager. I know that using the "abort" can leave certain references open, so I close these references upon completion of every cycle... What is the proper method of closing a VI?
    Thanks a bunch,
    Ryan

    Hi Ryan,
    The correct method for closing your VI is dependent on how you have chosen to
    open it.  Like Jhoskins, I think the LabVIEW community will better be able
    to assist you if you post what you've already tried.
    If you have tried to dynamically load your VI using a Call by Reference Node,
    you will need to use an Open VI Reference and a Close Reference.  Please
    take a look at the Dynamic Load Example from the NI Example Finder.  You
    can find this by searching for VI Server in the Example Finder. 
    I have attached a figure that shows this Open, Run, Close paradigm in the
    Dynamic Load Example.
    Message Edited by cphuong on 04-17-2007 10:43 AM
    Regards,
    Ching P.
    DAQ and Academic Hardware R&D
    National Instruments
    Attachments:
    Open_Run_Close.JPG ‏88 KB

  • [solved] Proper KDEmod3 repository

    What is the proper repository for kdemod3?
    The current wiki page (Feb 19, 2009) shows the following repository (No X-64 specific repository):
    # KDEmod 3
    [kdemod-legacy]
    Server = http://mirror.rit.edu/kdemod/legacy/i686
    Digging thru my notes, I found the following repository:
    #kdemod X86-64
    [kdemod-legacy]
    Server =  http://kdemod.ath.cx/repo/legacy/x86_64
    Without going into details, using the wiki repository, messed up both my main Arch64 partition and a fresh Arch64 backup sytem using ext4.  Chakra's web page only showed kdemod3 packages and not a repository for future updates. 
    After restoring a very recent image of my primary Arch partition, I was able to update it using the second repository without any problems.  I was also successful in installing kdemod3-base on the fresh Arch partition without any problems.
    I was just curious if the wiki is wrong (at least for X_64), or just left out the X_64 repository. or whether I'm missing something very obvious that will get me flamed as in RTFWiki more CAREFULLY!
    Last edited by ljshap (2009-03-05 15:41:05)

    byte wrote:I think it goes without saying that you're not supposed to use an i686 repo on an x86_64 machine
    It was understood, thats why my post asked if the x86_64 repository was just left out of the wiki.
    or more generally, that there are certain variable parts in a repo URL.
    I try to avoid assumptions, but replacing  the i686  with x86_64 in the wiki repository does seem to work.  I can't tell because the system was up to date.  I guess there are times when you have to make assumptions.

  • Proper Method for updating Virtualbox on linux-ck? [SOLVED]

    Running linux-ck on sandybridge, here are installed packages:
    linux-ck-sandybridge 3.19.1-1
    linux-ck-sandybridge-headers 3.19.1-1
    virtualbox 4.3.26-1
    virtualbox-ck-guest-modules-sandybridge 4.3.24-2
    virtualbox-ck-host-modules-sandybridge 4.3.24-2
    virtualbox-ext-oracle 4.3.26-1
    virtualbox-guest-iso 4.3.26-1
    virtualbox-host-dkms 4.3.26-1
    kernel information:
    3.19.1-1-ck #1 x86_64
    After updating Virtualbox, I am receiving this error:
    RTR3InitEx failed with rc=-1912 (rc=-1912)
    The VirtualBox kernel modules do not match this version of VirtualBox. Reload the modules or if you don't use our stock kernel execute
    'dkms autoinstall'
    Which of course would traditionally mean that I must re-compile virtualbox kernel modules. In the old Arch days, that was:
    /etc/rc.d/xbovdrv setup
    I'm a bit confused by both the Virtualbox wiki page as well as the linux-ck page; my understanding is that the linux-ck repo contains updates modules for virtualbox, and that these automatically update (thereby removing the need to use dkms). However, I am fully updated and I am still getting this error (after reloading kernel modules and rebooting).
    I've also tried running:
    dkms install vboxhost/4.3.26
    As root, but it only reports that, "Module vboxhost/4.3.26 already installed on kernel 3.19.1-1-ck/x86_64"
    I'm sure this is my bad, but I'm afraid after two hours of reading the wiki and this forum, I am still quite lost. I'd appreciate any help - let me know if there is anything else I can tell you all that will help!
    Thanks
    Last edited by yochaigal (2015-03-20 14:43:12)

    No idea why your system has /etc/rc.d/* ... if you're using [repo-ck] I have been be compiling 3.19.2 and just rebuilt the vbox packages updating them to 4.3.26.  There was a short delay since I had to rebuild against the new kernel.  Anyway, just:
    pacman -Syyu

  • Proper method for building kernel modules? [solved]

    I am attempting to build a custom kernel module for a PCI express interface to an FPGA.  However, I seem to be running into some issues with getting the standard kernel module makefile to work correctly.  Here is my makefile:
    # object files to build
    obj-m += nnic.o
    nic-objs += nnic_driver.o
    all:
    make -C /lib/modules/$(shell uname -r)/build M=$(pwd) modules
    clean:
    make -C /lib/modules/$(shell uname -r)/build M=$(pwd) clean
    However, the first time I ran 'make', I got this output:
    make -C /lib/modules/3.14.1-1-ARCH/build M= modules
    make[1]: Entering directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    Makefile:608: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
    scripts/kconfig/conf --silentoldconfig Kconfig
    *** Error during update of the configuration.
    /usr/lib/modules/3.14.1-1-ARCH/build/scripts/kconfig/Makefile:36: recipe for target 'silentoldconfig' failed
    make[3]: *** [silentoldconfig] Error 1
    /usr/lib/modules/3.14.1-1-ARCH/build/Makefile:512: recipe for target 'silentoldconfig' failed
    make[2]: *** [silentoldconfig] Error 2
    scripts/Makefile.build:44: /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile: No such file or directory
    make[2]: *** No rule to make target '/usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile'. Stop.
    /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/Makefile:183: recipe for target 'archheaders' failed
    make[1]: *** [archheaders] Error 2
    make[1]: Leaving directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    Makefile:7: recipe for target 'all' failed
    make: *** [all] Error 2
    After poking around online, I decided to try running make as root.  I got the following output:
    make -C /lib/modules/3.14.1-1-ARCH/build M= modules
    make[1]: Entering directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    scripts/kconfig/conf --silentoldconfig Kconfig
    scripts/Makefile.build:44: /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile: No such file or directory
    make[2]: *** No rule to make target '/usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile'. Stop.
    /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/Makefile:183: recipe for target 'archheaders' failed
    make[1]: *** [archheaders] Error 2
    make[1]: Leaving directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    Makefile:7: recipe for target 'all' failed
    make: *** [all] Error 2
    Now, when runing 'make' as a normal user, I get:
    make -C /lib/modules/3.14.1-1-ARCH/build M= modules
    make[1]: Entering directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    Makefile:608: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
    scripts/Makefile.build:44: /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile: No such file or directory
    make[2]: *** No rule to make target '/usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/syscalls/Makefile'. Stop.
    /usr/lib/modules/3.14.1-1-ARCH/build/arch/x86/Makefile:183: recipe for target 'archheaders' failed
    make[1]: *** [archheaders] Error 2
    make[1]: Leaving directory '/usr/lib/modules/3.14.1-1-ARCH/build'
    Makefile:7: recipe for target 'all' failed
    make: *** [all] Error 2
    I have the linux-headers package installed.  I do not need to build the whole kernel, only this small module.  What am I missing here?  What is the correct procedure for this?
    Last edited by alex.forencich (2014-04-25 08:16:31)

    Sigh, found the problem.  Should be $(PWD) and not $(pwd) in my makefile.

  • How to solve the "Method invocation failed" error in script?

    Hello,
    I'm trying to modify the script that enumerates all the txt (csv) files on folder and deletes empty columns, but with no luck. The script is working when I execute it on single csv file. But when I put script on loop, it generates errors:
    Method invocation failed because [System.Management.Automation.PSCustomObject] does not contain a method named 'split'.
    At C:\scripts\populate.ps1:25 char:1
    + $b = $line.split(",")
    + ~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (split:String) [], RuntimeException
        + FullyQualifiedErrorId : MethodNotFound
    The script looks the following:
    $files = Get-ChildItem C:\scripts\Results\csv\* -include *.txt
    #Process files by performing a search and replace
    foreach ($infile in $files)
    $infilen = 'C:\scripts\Results\csv\'+[io.path]::GetFileName($infile)
    $infile = import-csv $infilen
    ##remove blank coloumns##
    $cStore = @() # array to store used column numbers
    $rNumber = 0
    foreach ($line in $infile)
    if ($rNumber -eq 0)
    {# ignore header
    else
    $b = $line.split(",")
    $fieldNum = 0
    foreach ($field in $b)
    if ($field -ne '')
    if ($cStore -notcontains $fieldNum) {$cStore += $fieldNum}
    $fieldNum += 1
    $rNumber +=1
    # array $cStore now contains column numbers with values
    $cStore = $cStore | sort
    foreach ($line in $infile)
    $nLine = ""
    $c = $line.split(",")
    foreach ($ar in $cStore)
    $nLine += $c[$ar]+","
    # remove trailing ,
    $nLine = $nLine.Substring(0, $nLine.Length-1)
    $fnFriendly = [io.path]::GetFileNameWithoutExtension($infile)
    $result=$fnFriendly+'cl.txt'
    Write-Output $nLine >> $result
    Also I have found the explanation on this error on this
    link but it seems this is not the case.  Can you help to solve this?
    Thanks!

    You are importing a CSV file which implies that you are creating an object (pscustomobject) and each item in that object is represented by $line. The issue is that this $line has multiple properties (for each column of the CSV) that you need to decide
    on which one to split:
    $c = $line.propertyname.split(",")
    I'm not sure, but it seems that if you are trying to split by a comma, then maybe you are assuming that you did something similar to a
    get-content on the file in which the original approach that you have done would work.
    Boe Prox
    Blog |
    Twitter
    PoshWSUS |
    PoshPAIG | PoshChat |
    PoshEventUI
    PowerShell Deep Dives Book

  • What function is called when removing a repository instance

    Hi,
    I implemented a repository manager by extending
    com.sap.netweaver.bc.rf.mi.AbstractManager
    ,which provides functions like
    startUpImpl()
    and
    shutDownImpl()
    My question is, when I remove an instance of it in <i>System Admin</i> - <i>System Configuration</i> - <i>Knowledge Management</i> - <i>Content Management</i> in EP, what function in the Repository Manager is called?
    Function shutDownImpl() is not called when the instance is removed, but is called when EP is stopped.
    Thanks,
    Ray

    Hi,
    com.sap.netweaver.bc.rf.mi.AbstractManager
    has as well the method
    public final void stop()
    Description:
    This method is only called once during the life-time of a component. It is called by the CRT when the component was removed from the configuration or the system shuts down. A stopped component can not be (re)started. After a shutdown the component instance will be finalized by the Java VM as soon as no other components in the system holds a reference to it.
    Best Regards
    Frank

  • A function module or class/method to look up repository objects?

    Hi,
    Does anyone know of a class/method or a function module that returns back objects of a namespace in the integration repository.
    For example, I would like to be able to retrieve all the message interfaces of a particular namespace.
    Thanks in advance,
    Duke

    Hi Duke,
    I am not sure about the function module. But you can look up all the objects with their IDs using transaction sxi_cache.
    Regards,
    Ramesh P

  • [SOLVED]Gnome 3 / Nautilus removable devices doesn't automount anymore

    I use Gnome3 with gnome-shell and openbox. Recently on nautilus my other partitions and removable devices does not show up. I can see the partitions on the terminal and mount them manually but i need to fix this. Please help.
    Last edited by kanine5 (2011-07-29 09:18:38)

    kanine5 wrote:This issue was solved by https://bbs.archlinux.org/viewtopic.php … 78#p966878 , seems it was a polkit-gnome-authentication-agent-1 issue.
    if he is having this issue in Gnome-Shell specifically, then it's not the same issue. *Gnome-Shell uses it's own internal version of polkit's agent* ~ as discussed in that thread.. If he is using gnome-fallback (with openbox?), then that is where the polkit-authentification-agent-1 issue applies.
    I started the thread you are referring to above,
    cheerz
    Last edited by triplesquarednine (2011-07-29 16:47:46)

Maybe you are looking for

  • HP Recovery vs. Windows 7 image restore

    I just got my HP laptop and I'm learning about recovery and backup.  I understand that if the hard disk fails a set of HP Recovery DVD's will restore the laptop to the factory image once a new hard drive is installed.  I also understand you can use t

  • Finalization call too early in course

    The finilization call is being made to the LMS after the first interaction. There is an introductory slide and a button to begin the course and upon clicking the button, the finalization call is made to the LMS. I use Sum Total LMS. Any suggestions?

  • Columns used in packages

    Hi. Can I get the column names also that I use in packages from some metadata table?

  • TOP  command output

    Hi, Can anybody describe the following TOP Command output... ========================================== Tasks: 197 total, 1 running, 196 sleeping, 0 stopped, 0 zombie Cpu(s): 12.0% us, 0.7% sy, 0.0% ni, 71.8% id, 15.5% wa, 0.0% hi, 0.0% si Mem: 41477

  • How to set New Ipad CDMA

    I buy ipad verizon that can GSM and CDMA. how to use CDMA card can anyone help me. thank you