[solved] a "permanent" home for srcdir, via makepkg

I use a very low-bandwidth connection at home... it is as good as dial-up. When updating packages from AUR, I see many of them get a lot of data via git and hg. Some remember to limit the data using --depth=1, and some don't -- but that's beside the point Currently, I see that it is all downloaded to a directory in /tmp, and deleted soon after the package is installed. Some other packages download the source tar, and build from it. If there is any error in building it, it deletes all that it has done, and I have to download it again to attempt to fix it.
3 questions:
1. In makepkg, if I set the srcdir to /usr/src, and remove the rm -rf $srcdir, are there any downsides to doing this? (... besides the fact that I would have to clean up /usr/src for old and/or deleted packages myself, and that an update to pacman will over-write my changes.)
2. Can the pacman source be changed to make this a configuration option? (... defaulting to srcdir in /tmp.)
3. Or even better... can yaourt be changed to have an --import option for updates?
I could have gone ahead and made the change (in 1) on my own system... but I am quite new to Arch, and am not aware of the various interdependencies. I did not want to risk running ahead with this and cluttering up (or nuking)  my system beyond repair.
Last edited by prash (2011-12-30 04:36:17)

It won't overwrite your changes because makepkg.conf is in the backup array ('Backup Files' at the bottom)
[karol@black ~]$ pacman -Qii pacman
Name : pacman
Version : 4.0.1-1
URL : http://www.archlinux.org/pacman/
Licenses : GPL
Groups : base
Provides : None
Depends On : bash glibc>=2.14 libarchive>=2.8.4 curl>=7.19.4 gpgme
pacman-mirrorlist
Optional Deps : fakeroot: for makepkg usage as normal user
Required By : expac-git nosr-git package-query-git packer pacman-contrib
pacmanxg-bin pkgstats yaourt-git
Conflicts With : None
Replaces : None
Installed Size : 3412,00 KiB
Packager : Dan McGee <[email protected]>
Architecture : i686
Build Date : pon, 21 lis 2011, 05:04:37
Install Date : pon, 21 lis 2011, 21:24:59
Install Reason : Explicitly installed
Install Script : Yes
Description : A library-based package manager with dependency support
Backup Files:
MODIFIED /etc/pacman.conf
MODIFIED /etc/makepkg.conf
so the new config will be created as makepkg.conf.pacnew - https://wiki.archlinux.org/index.php/Pa … save_Files
Yaourt has its own configs. You can tell yaourt to build somewhere else, use --tmp commandline switch or edit /etc/yaourtrc, uncomment and change
#TMPDIR="/tmp"
to somewhere else.

Similar Messages

  • I cant use my fire fox continuously ,after some time its automatiocally restarted i update also but the problem not solved,pls give solution for that issues?

    hi
    when i enter into fire fox for 15 min no problem i can use after that its restarted, i update also,but the problem occur again.......
    i cant solve this problem, i have added many password, i cant make re install,

    What issue occurs after about 15 minutes? Do websites stop loading? Does Firefox crash?
    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • Issue with Accessing Home Media DVR via web

    I recently had Fios installed (TV, Internet, Phone). Everything seems to be working fine so far. When I try to access my Home Media DVR via the web portal, I get time out messages, and errors saying that the DVR isn't responding. I get similiar errors when I try to access the DVR via the web browser on my phone as well.
    Also, when Verizon Central (or whatever the web portal is called) tries to gather the information from my set top boxes, it tells me that it can't get the information from my Home DVR box.
    Any issues/fixes on this?? Please help.
    Thank you,
    Sean

    Sean1999 wrote:
    I recently had Fios installed (TV, Internet, Phone). Everything seems to be working fine so far. When I try to access my Home Media DVR via the web portal, I get time out messages, and errors saying that the DVR isn't responding. I get similiar errors when I try to access the DVR via the web browser on my phone as well.
    Also, when Verizon Central (or whatever the web portal is called) tries to gather the information from my set top boxes, it tells me that it can't get the information from my Home DVR box.
    Any issues/fixes on this?? Please help.
    Thank you,
    Sean
    For this it seams like the boxes are able to be seen by verizon.com/fiostvcentral if that's the case you can try powercycling the router, and the cables boxes, and then trying it again. If that doesn't work you will have to call the vz tech support. 888-553-1555.

  • Anyone else getting a timed out error message when trying to check for updates via the app store software on a desktop?

    anyone else getting a timed out error message when trying to check for updates via the app store software on a desktop?

    Hi, couple of things to try...
    Anonymous
    Post subject: NSURLErrorDomain error -1100 in OS X 10.8
    If you check for software updates using the App Store in OS X 10.8 and get "NSURLErrorDomain error -1100" the problem may be with your Software Update preferences. This is particularly likely if you were using a custom Apple Software Update server. To solve the problem, quit the App Store, move the following two files (if present) to the trash, restart, and only then rerun App Store updates:
    /Library/Preferences/com.apple.SoftwareUpdate.plist
    /Library/Preferences/com.apple.SoftwareUpdate.plist.lockfile
    http://x704.net/bbs/viewtopic.php?f=12&t=6130
    I was recently trying to upgrade to mountain lion through the app store.  I have unreliable Internet from a cable company whom I will not name, but we all know who they are.  My Internet dropped while downloading the upgrade.  Once I went through the notorious unplug the modem/router and plugged it back in to gain Internet connectivity again, I could not resume. No matter what I did, the app store kept displaying "an error occurred." I am hoping that those with the same issue read this first to save them hours of skimming through the Internet to find a solution.  Here are the steps to take:
    1. Make sure you have reestablished Internet connection
    2. Chances are you got frustrated when you tried to resume/unpause the download and clicked the "X" to the left.  If so, select the "Store" drop-down menu from the App Store and select "View My Account." There should be an option to unhide your purchase.  You know what to do.
    3. There is also an option to  reset all warnings for buying and downloading under "View My Account." Do this, click "Done," sign out of the App Store and quit the App Store.
    4. Open the Preferences in safari and select Privacy.  Select "Remove All Website Data."  Just do it.
    5. Launch the app store and sign in.
    6. Now, if you "Check for Unfinished Downloads" everything works peachy.
    I hope this helps.  Not much I can do for your Internet connection though.
    JonEz15...
    https://discussions.apple.com/thread/4697970?tstart=120

  • Permanent fix for disabling safe sleep?

    I am frustrated with my MacBook Pro's safe sleep 'feature'. I found the standard way of de-activating it (with the pmset commands), and this works in the short term, but within a few days, either through changing the energy settings or other ways, it always reverts to the original setting of having safe sleep activated.
    I found SmartSleep, which allows one to turn off safe sleep without typing the pmset commands, but no luck - after a few days, it will revert to safe sleep.
    This is very frustrating, and I'm not sure how to permanently disable this. I have read people suggesting writing a startup script, but I hardly ever reboot my laptop (the only times I have are after typing the pmset commands!) so this wouldn't really solve the problem.
    Does anyone know of a permanent fix for this?
    Thanks!

    The terminal commands are the most permanent way you'll find.
    Here's the issue: If you launch Energy Saver and choose ANY of Apple's pre-defined settings like "longer battery life," safe sleep is automatically turned on. To avoid this, you must avoid selecting any of the default power configurations. You can still manually set the sleep and display timers, you just can't use Apple's predefined profiles.
    Make sure you delete the virtual memory space reserved for safe sleep after you disable it, too. Here's the link:
    http://www.macosxhints.com/article.php?story=20070302210328928

  • Coming home for two weeks with unlocked 3GS.  advice?

    i bought my 3GS in taiwan unlocked and i've been using it with my carrier over here. i'll be coming home for two weeks and i was wondering if anyone has any advice on how to get a pay as you go plan for when i'm at home. i'll be in portland. any advice would be appreciated.
    thanks a lot!

    Not sure if there is a local/regional GSM carrier in that area but if not, the only other GSM carrier in the U.S. that comes anywhere close to AT&T in terms of network coverage is T-Mobile, and I don't believe T-Mobile's 3G network in the U.S. is compatible with the 3G and 3GS, so it would EDGE or slower for data access with T-Mobile.
    You can get data access with a pay-as-you-go plan, but data access with AT&T's network via pay-as-you-go will be expensive. AT&T is the only official carrier for the iPhone in the U.S. at this time.

  • FC studio2 editing problems with western digital my book home for mac

    hi--bought a 1TB WD my book home for mac coupla years ago because it seemed like a good deal for so much space, and provided and eSATA hookup, too. Worked ok for a while. Now, with a growing Motion project that I bring into FC for overall color/levels/export adjustments, I'm getting a long-term beachball every time I try to do anything with it. Just did a complete reinstall of FC studio (after running Techtool pro 5 rebuild and optimizing files and volume), trashed the project and recreated it incase the file itself was corrupted, but the beachball keeps showing up once i try to get past a particular edit and play the file through -- something I haven't had problems with before. Have read this harddrive is a real POS/PIA for many because of its internal "sleep" setting and other weaknesses, and am thinking of cracking the drive out of its case and putting it into a plain eSATA/FireWire enclosure. Anybody else tried this or heard of it working? Money's a big issue right now (too many slow/no pay clients), so can't just run out and get a new drive and transfer w/out trying cheaper route first. Would appreciate feedback, cuz this is makin' me lose what little hair i got left!
    Message was edited by: jayvee56
    Message was edited by: jayvee56

    My question says: "Final Cut Studio 2 editing problems"; I formatted the drive for the mac when i bought it: journaled HFS+, Apple Partition Map; 2 partitions (and connected via eSATA); which has been working fine as is up till now. The sequence and settings are those in which I've worked on many projects for years with no problems up until now. I am also completely up-to-date with all my app and system updates. I did begin to wonder after posting if the reinstall might be the source of my problems, but it was the interminable beachball waits that prompted the reinstall in the first place.

  • Error while determining ref.mov.type for WM via Table 156S: 647/ / / /L/ /

    Guyz,
    Firstly despite the plant+storage location + warehouse no. assignments are done , my replenishment delivery (delivery for stock transport order between plants under same company code) is not picking up storage location and warehouse no and thus stopping me from doing picking and PGI (post goods issue).
    However in VL02N when i'm trying to change storage location for line item, i'm getting following weird error
    *Error while determining ref.mov.type for WM via Table 156S: 647/ / / /L/ /*
    I found a SAP Note(133223) regarding this error and VL02 transaction but that note was specific to older versions. I'm on ECC 6.0
    Any suggestions please ?
    Thanks

    Warehouse managment has its own movement types, most identical to inventory management movement types.
    These WM movement types are determined via reference movement types.
    the error you have just looks like your customizing is not complete.
    IMG > LE > WM > Interfaces > IM > define movement types.

  • In R12, can payroll user enter expense report for employees via web-based?

    Hi,
    In R12, can payroll user enter expense report for employees via web-based screen? Previously in 11i, it can be done via the Expense Report forms.
    Appreciate advise on this.
    Thanks in advance.
    Regards,
    Shiau Chin

    Hi Anne,
    Please see page 42 of the [url http://download.oracle.com/docs/cd/B34956_01/current/acrobat/120oieig.pdf]iExpenses Implementation and Admin Guide for R12 . If you are unable to enter the ID as per the guide, I would suggest raising an Service Request with Oracle Support.
    Cheers, Pete

  • TS3276 Web through this step-by-step, but alas it did not solve the problem. For some reason I can download mail on my Macbook Pro, but no my iMac. Connection Doctor shows all green lights.

    Went through this step-by-step, but alas it did not solve the problem. For some reason I can download mail on my Macbook Pro and iPhone, but no my iMac. Connection Doctor shows all green lights. This started today when I was prompted to re-enter incoming mail server passwords. I re-entered passowrds yet again to make sure they were correct. Rebuilt the inBox. Connection Doctor continues to show all green lights, but am still unable to download mail to the inbox. Has anyone else ever run into this problem?

    I have the exact same problem trying to use the Remote app on both my iPhone 3gs and iPad 2 with either my Mac or ATV2.  My Remote app used to work on my phone - I can't recall if I ever actually used it with my iPad, but when I tried today, I got all the same results as you did (on both iPad, and then iPhone).  I  was using my ATV2 to play music from iTunes on my Mac and wanted to use the Remote app, but it would not connect to either device no matter what I did. 

  • How do i get a wifi connection at home for my ipad from a imac

    how do i get a wifi connection at home for my ipad from a imac

    If you have a wired connection to the iMac and you are asking about using the iMac for the Internet connection for the iPad, you will need to use Internet Sharing on the Mac.
    No clue which OS version you run on the Mac, but here is a link to help with 10.6 and this will get you started. You can Google " Internet sharing with Mac OS ...." and come up with a number of support articles.
    http://docs.info.apple.com/article.html?path=Mac/10.6/en/8156.html

  • Error messag -'Error while determining ref.mov.type for WM via Table 156S:'

    Hi Guys,
    I am currently facing some issues with respect to the deliver creation.
    The scenario is somthing like this.
    I have assigned a FOC Item category to an Consignment Issue order type.
    The system is able to determine the Item category successfully.
    However when the delivery is created it throws an error message
    'Error while determining ref.mov.type for WM via Table 156S: 903/X/X/W/L/X/'
    Not sure why this occurs.
    All the settings seem to be set.
    If any one of you can help me out it would be great.
    Thanks.
    Regards,
    Pandi

    Dear Pandiraj
    The standard process is that consignment issue order should be created with reference to Proforma invoice.  Having said that I dont understand why you have assigned a FOC item category to issue order.  Not sure, whether this will work.  Also I feel that you should explain in detail the process for which you are configuring this.
    thanks
    G. Lakshmipathi

  • Error while determining ref.mov.type for WM via table 156S:601///

    Hi SAP gurus
    while doing delivery i am getting error like
    Error while determining ref.mov.type for WM via table 156S:601///
    please give me needful solution
    regards
    Sarvesh

    Chk via
    SPRO>LE>WM>Interfaces>IM>Define mvt>Assign MVt reference...and then LE-WM interface...
    maintina the correspoding entries..
    BR,
    Krishna

  • No accounting document for 561E via MB1C and MIGO

    Dear All
    We are in MTO Scenario.
    we are trying to post initial stock against sales order through MB1C VIA 561E movement.
    the material document is not having an accounting document.
    Please help out.
    I've checked all setting as follows:
    1.) [OMJJ]
    for  Account grouping-561E - val update-qty update-val string(WA01)-Cn(2)-GBB-BSA
           Account grouping-561E -val update-qty update-val string(WA01)-Cn(2)-PRD-PRA
    2.)[OMJJ]
    Update control / WM movement types
          val  qty
    561 -    -     E                    In.ent.st.bal:slsOrd
    561 -     -     E               E     In.ent.st.bal:slsOrd
    561 -    -/     E                    In.ent.st.bal:slsOrd
    561 -    -/     E               E     In.ent.st.bal:slsOrd
    561 -/    -/     E                    In.ent.st.bal:slsOrd
    561 -/    -/     E               E     In.ent.st.bal:slsOrd
    3.)Logistics - General>Material Master>Basic Settings>Material Types>Define Attributes of Material Types
                                             -->FERT     Finished Product
                                                                    -->Quantity/value updating
                                                                                    qty    val
                                                                                1001     FERT  -/       -/
    4.) [OME9] settings
       for account assign cat 'E'  account modifier  'VKA'
    5.) [OBYC]
        for GBB-BSA- chart of a/c-val class-G/L accounts
             PRD-PRA- chart of a/c-val class-G/L accounts
                   are done and OK.
    still we are not able to generate accounting document for initial posting via [MB1C]
    WE HAVE EVEN TRIED TO POST VIA [MIGO], there also no accounting.
    hence, we are also not able to get accounting doc for PGI via 601.
    Please suggest me a solution at the earlist, I will be glad for the same.
    N.B:- if posting through 561, it is ok.
    Regards
    Maheshoe

    Maybe your SO special stock is not valuated that's why you won't get the accounting document.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/4d/2b92b743ad11d189410000e829fbbd/frameset.htm
    You can manage valuated or non-valuated sales order stock.
    Edited by: Csaba Szommer on Mar 6, 2010 2:02 PM

  • Has anyone successfully used a "WD My Book for Mac" via NAS (plugged into USB port on router) as a Time Machine back-up drive?

    Has anyone successfully used a "WD My Book for Mac" via NAS (plugged into USB port on router) as a Time Machine back-up drive? Apple support tech tried to tell me it wasn't possible and that the only NAS Time Machine could back up to is the Time Capsule, but I'm not buying it. I know it's doable, but I'm having a hard time figuring out which External HDDs will work and which ones won't.  If not My Book for Mac, is there an External HDD that will work? (Running OS X 10.9.1 - Mavericks, btw...)

    Given the nature of backups, my recommendation has always been to use a strategy that is unequivocally supported by Apple. As you already determined Apple Support unequivocally informed you that your proposal will not work, unless your router is an Apple AirPort Extreme or Time Capsule.
    The exhaustive list of devices supported by Time Machine amounts to the following:
    AirPort Time Capsule's built-in hard disk (any model)
    External USB hard disk drive connected to a Time Capsule (any model)
    External USB hard disk drive connected to an AirPort Extreme (current model only)
    A hard disk drive directly connected to your Mac
    That is all.
    Use whatever backup device you want, but you should be aware that this site is full of reports of misery from hapless individuals who had been using NAS devices for Time Machine backups, only to find that they were incomplete, corrupted, or useless when they were required. Apple won't care if you lose your data while using a Time Machine configuration specifically excluded from their technical support documents.

Maybe you are looking for