Sharing pacman cache in same machine between different Arch installs

How may I ask?

This is how I do that!
Download pacman packages into a cachedir located in a flash drive.  Package the individual packages with depends in the flash drive such that they will be installed fully.
The cache is then accessed with pacman to install the selected package.
The parameters are:
  pacman --cachedir /media/disk/upgrade -Sw (package name(s))
This places the .pkg.tar.gz into /media/disk/upgrade.  At this point, gather the elements of the depends and package into a folder with an ID such as open-office1.  Difficult to explain for all packages because some are not includiing depends!
   Then to install at your convenience,;
     pacman -Ud /media/disk/upgrade/open-office1/*.pkg.tar.gz.........
This will install the packages contained in open-office1 at 15-20MB/sec.
This can be portable via the flash device.
Hope it fills your needs.................
EDIT: Normal pacman downloads can still be handled via ...pacman -S package name because the cachedir is not imposed.
EDIT:  You could copy the entire /var/cache/pacman/pkg into the cachedir if desired altho the depends may not be available therein , so the method I described may be best.
Last edited by lilsirecho (2008-02-11 22:05:47)

Similar Messages

  • Sharing on the same machine between different user accounts

    I've always used a single user account and all for of us (2 kids, my wife and I) shared the same user account. The other day I upgraded to Tiger and decided to create user accounts for everyone in the family. I wanted everyone to see all the songs and all the playlists. So I placed my Music folder on one of my firewire drives and created aliases for each user pointing to that common Music folder (also opened up permissions, etc) and it appears to work.
    Problem: if one son has iTunes open in his account, and I switch to my account, I can't bring up iTunes "some kind of lock error". I can believe that.
    So, what is a better way to do this? I do want to share all the music, so if I rip a CD in my account, all the other users will see it. But I could live with each user having their own set of playlists. It would be nice if I could "import" playlists, so they could get all of their playlists to start with.
    Is there a better way to do this?
    Thanks,
    Alfredo

    I've always used a single user account and all for of us (2 kids, my wife and I) shared the same user account. The other day I upgraded to Tiger and decided to create user accounts for everyone in the family. I wanted everyone to see all the songs and all the playlists. So I placed my Music folder on one of my firewire drives and created aliases for each user pointing to that common Music folder (also opened up permissions, etc) and it appears to work.
    Problem: if one son has iTunes open in his account, and I switch to my account, I can't bring up iTunes "some kind of lock error". I can believe that.
    So, what is a better way to do this? I do want to share all the music, so if I rip a CD in my account, all the other users will see it. But I could live with each user having their own set of playlists. It would be nice if I could "import" playlists, so they could get all of their playlists to start with.
    Is there a better way to do this?
    Thanks,
    Alfredo

  • Sharing iphoto library on the same computer between different users

    Can anyone tell me how (without having to write my own code) I can share photos easily (so I can teach my parents, who know nothing about mac, how to do it) between different users on the SAME COMPUTER?
    I am so frustrated! You can share with anyone else in the world, but when it is on the same computer I can't figure out how to share!

    Hi Mereditty,
    Here are all the links I have for sharing a couple of different ways.
    SHARING IPHOTO LIBRARIES
    Sharing libraries between users on the same local network
    You can also share a library on the same machine between users the same way.
    Sharing libraries between users on the same machine...
    -both users must have sharing enabled in their iPhoto Preferences
    -both users must be logged in and have iPhoto running
    -Remember that you can only view the other library. You can't edit the photos or play the saved slideshows or view the made books or burn them to CD or DVD. The books and slideshows will show up as an album. You can play that album as an "on the fly" slideshow. You can drag images from the sharing library to your library in the source column to import them to your library. You can then edit, add to albums, books, slideshow, etc.
    Sharing links from Apple....
    Sharing your photos between computers
    About shared photos
    Turning off photo sharing
    Looking for shared photos
    SHARING ONE IPHOTO LIBRARY BETWEEN USERS ON SAME MACHINE
    You can try one of these three methods:
    1- Use iPhoto Library Manager-the paid version
    The documentation page will give instructions on how it is done.
    2- Sharing one iPhoto library between several users on one machine
    3- Share an iPhoto Library in tiger Using ACL's
    4- I have also read about ShareAlike
    There is no other info on the site about how it works.
    I strongly urge anyone wanting to try any of the methods for sharing one iPhoto Library folder among more than one user to backup all iPhoto Library folders before attemptin anything.
    Lori

  • Multiple Oracle Clients on Same Machine for different apps

    I was not able to find info that answered this so sorry if I missed something that explains this.
    At our site we have many applications some I know lots about some I'm not even aware of because we have mulitple sites. The application I develop uses an Oracle 8.1.7 database. In the next year we are going to be upgrading to a 9i database. The app I program for is written in VB and uses 0040 with the 7.3.4 version. We want to upgrade our client to the latest version to use all the features of the 9i database when that times comes. Can we have our 9i client on the same machine that may have other apps that require the 8i client or even the 7.3.4 client without breaking them? The other apps may or may not use 0040. Some of these apps are Oracle Forms applications and some can be anything under the sun.
    I still need to do testing to see what breaks but thought someone may already have the answers some of my ?'s Any tips or info you can provide would be great.
    Thanks

    Two possible answers
    1) Oracle added multi-home support to the Oracle client in 8i (may have been 8.0, I'm really not sure). This allows you to set up multiple 8i and above clients on a single machine in different Oracle Homes and should solve the majority of your problems. Having a 7.3.4 client installed wouldn't be supported, but 8i clients should have no difficulty connecting to a 7.3.4 database.
    When Oracle added multi-home support, not all the Oracle client products were made multi-home compatible. The ODBC driver, for example, wasn't multi-home compatible until significantly later patchsets. I belive that OO4O has been multi-home compatible since the client has been, though.
    2) From a technical standpoint, you should be able to have a 7.3.4 client alongside 8i and above clients. In my experience, this works, but isn't something that Oracle supports.
    Justin

  • Run a self-updating network shared pacman cache

    About a month ago I began working out how to share a pacman cache without the problems that the solutions proposed until now had.
    I wanted my cache to be:
    easily configurable
    in control of the packages in the cache
    capable of handling multiple clients simultaneously
    self-updating
    Especially the last point comes in handy if you frequently want to update your system without having to wait for a package download first.
    All you need for this to work is a device that is able to share files per SAMBA/NFS and that is online most of the time (preferably 24/7).
    If you're interested, head over to github and check it out.
    Last edited by n0stradamus (2012-05-28 13:36:28)

    Yep, well capable of doing that which is why I'm asking - I can't do that without having to have difficult conversations with the security team here. And, no, I don't need to be told about the lack of security implications in doing this
    As far as keys, I've just set the SigLevel to "Never" as I trust the packages on my workstation, but this all feels a little hinky.

  • Install Arch with nfs shared pacman cache

    Hello,
    I would like to make a post of some information that worked for me. I think it could find its way into the wiki, but I prefer not to be the one to do that. Two reasons for that:
    1. Just becuase it worked for me doesn't mean it is proper. If someone can confirm it is an acceptable method...
    2. I am a wiki reader, not a writer
    My situation is that I have a 3G internet conection. I like to only download the packages once... I run nfs4 exports from my desktop computer to share user data, pacman cache and sync folders See the Pacman tips I just did fresh installs of my systems. After the main system was running, I wanted to use the existing pacman cache to install the second system. I followed the Beginners guide and also used the Install from ssh article. I created my partitions with gparted on a live stick. Boot into the Arch install media, and follow the instructions for mounting the partitions. And here is where I make a brief detour to utilize my existing pacman cache.
    For reference, my nfs exports are on the desktop computer (hostname is nas) and the pkg cache is exported as:
    nas:/pkg
    Databases are exported as:
    nas:/sync
    mkdir -p /mnt/var/cache/pacman/pkg
    mkdir -p /mnt/var/lib/pacman/sync
    mount the nfs exports:
    mount -t nfs4 nas:/pkg /mnt/var/cache/pacman/pkg
    mount -t nfs4 nas:/sync /mnt/var/lib/pacman/sync
    Now I am back on track with the Beginners guide...
    pacstrap -i /mnt base base-devel
    While in the chroot, be sure to install nfs-utils (and openssh if you want to continue ssh after boot)
    When running the genfstab, it will create tons of options for the nfs4 mounts. I edited those in nano to look like other references on the site:
    nas:/pkg /var/cache/pacman/pkg nfs4 defaults,x-systemd.automount 0 0
    nas:/sync /var/lib/pacman/sync nfs4 defaults,x-systemd.automount 0 0
    And of course unmounting at the end of the Beginners guide requires unmounting these two directories too.

    Yep, well capable of doing that which is why I'm asking - I can't do that without having to have difficult conversations with the security team here. And, no, I don't need to be told about the lack of security implications in doing this
    As far as keys, I've just set the SigLevel to "Never" as I trust the packages on my workstation, but this all feels a little hinky.

  • IPhoto not properly sharing same library between different accounts

    I have my iPhoto library installed on a 4GB thunderbird external hard drive, brand LaCie in case that matters. I made sure to select the drive and adjust the permissions as recommended in the Apple tech support article - basically you have to select the option to "ignore ownership on this drive" which I did. I also made sure to indicate that both user accounts could read and write to this drive.
    Now, I'm trying to make it so that my wife and I, who each have our own accounts on the same iMac, can share the same iPhoto library and import to the same iPhoto library. The problems seem to be occurring mostly on my wife's side. These are as follows:
    1) Many times when she loads up iPhoto, it starts off with the default iPhoto library in her directory and we have to keep manually selecting the iPhoto library on the external hard drive.
    2) Some of the pictures in the library viewed through her account have wrong thumbnails - that is to say, pictures within a given event show one set of thumbnails but when clicking you get completely different pictures. The same problem is not seen with the same pictures viewed in my account.
    3) When syncing iOS devices through her account, iTunes sometimes fails to see the correct iPhoto library, requiring us to again go into iPhoto and select the correct library on the external hard drive.
    I would really appreciate some feedback as to how to fix these problems. I thought I did everything correctly but placing the library file on a shared external hard drive and fixing the permissions, but still this problem is ongoing. How can I get iPhoto to only use the library on the external HD as default in her account as well as mine? And how to fix the thumbnail problem?

    I would trash the cache and the plist files in the affected account.
    The cache file is here
    /Users/Your Name/Library/Containers/com.apple.iPhoto/Data/Library/Caches
    Try trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder.
    (On 10.7 or later: Hold the option (or alt) key while clicking on the Go menu in Finder to access the User Library)
    (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    What's the plist file?
    For new users: Every application on your Mac has an accompanying plist file. It records certain User choices. For instance, in your favourite Word Processor it remembers your choice of Default Font, on your Web Browser is remembers things like your choice of Home Page. It even recalls what windows you had open last if your app allows you to pick up from where you left off last. The iPhoto plist file remembers things like the location of the Library, your choice of background colour, whether you are running a Referenced or Managed Library, what preferences you have for autosplitting events and so on. Trashing the plist file forces the app to generate a new one on the next launch, and this restores things to the Factory Defaults. Hence, if you've changed any of these things you'll need to reset them. If you haven't, then no bother. Trashing the plist file is Mac troubleshooting 101.

  • Home Sharing of iTunes on the same machine between two accounts

    So, is it possible to share itunes purchases between seperate login accounts on the same computer?
    Would like my wife to be able to access music while she is logged in on her side.
    Any help would be appreciated.
    R/
    Wm

    Here's an Apple article that covers the subject:
    http://support.apple.com/kb/ht1203
    Regards,
    Captfred

  • Sharing music on the same pc with different accounts

    I am sharing music and movies on the same pc but managing it with different accounts.  Recently, when I add new content in the public folde, it only shows up in the one account that I adde it to and not the other accounts.

    If you want all users to be able to access the same music, but with different libraries, NikkiG's advice is spot on. However, I thought I'd throw in my 2¢ since I just set this up for a friend.
    If you want all your users to have exactly the same library, and not just access to a shared library, do the following:
    -move the entire "iTunes" folder (~/Music/iTunes) into the Shared folder or to separate drive.
    -in each user's account, remove the iTunes folders (or just move them to a new location until you're positive this method works for you)
    -pop open Terminal.app (/Applications/Utilities/Terminal.app) and here's where it gets a little dicey; type the following into the command line:
    ln -s /Users/Shared/iTunes/ ~/Music/iTunes/
    What this does is create a symbolic link (think alias, but more technical and powerful) between the iTunes folder in the Shared folder, and each user's iTunes folder. This way, each user is directly accessing the iTunes library, and not just through the shared area in iTunes itself. This allows them to add/remove music and playlists to the same library.
    HOWEVER, this method will mess up if you have multiple users logged in and using iTunes at the same time.

  • Sharing the exactly the same files between users.

    Hello everybody,
    Hi I'm a newb, first post and first Apple ever! I am loving the iMac. Anyways, I have had it for a few weeks and have learned a thing or two. Alright so I have 3 users on this computer (me, sister, & guest) and I am wanting to share music files between them all. Yes I know how to use the shared folder, but that would create triple the amount of songs and take up triple the amount of space, right? So what I am wondering is if there is a way to share just the music files with the three users? Not sure if that was to clear but any help would be great. Thanks.
    20" iMac Intel Core Duo   Mac OS X (10.4.6)   1.5G of Ram, ATI Radeon X1600/256MB VRAM, JBL Creature speakers, Wireless Mice & Keyboard.

    Actually, you only use the sharing preferences in iTunes if you want to share your music with multiple computers across a network---which is why it requires you to turn off your firewalls.
    If you want to share your music with multiple users of the same computer, the best is still to move the folder "iTunes Music" from your "iTunes" folder to your shared folder. Remember to just move the folder labelled "iTunes Music" and nothing else (specially not the "Library.xml" file).
    After moving the folder, you have to go to your iTunes preferences/Advanced and click on the General tab. From there you have to change your "iTunes Music folder location" to the location of the shared folder where you moved your music. Repeat this process for every user on their own iTunes preferences.
    And no, it does not create duplicate files of your library, so there is no additional hard disk space wasted. You will merely be "relocating" the music folder to the shared one.
    Hope this clears it up for you.

  • Can't connect local web app to local Coherence Cache on same machine

    I'm developing some changes to our cache and we have a sample app to show those changes. I can point to a remote box (like our QA box) with my local client and it works, but if I point to the Cache residing on my machine I get an error:
    could not establish a connection to one of the following addresses: [10.133.43.214:18047]; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor
    even though the Cache log has this in it:
    TcpAcceptor now listening for connections on 10.133.43.214:18047
    Any ideas why this would happen
    Web App is a simple spring mvc app running in WLS 12
    Coherence version 3.7.1
    Edited by: 1010066 on Jun 5, 2013 12:31 PM

    Hi,
    From the bit of information you have written, your client should connect as it has the same socket address as the proxy is listening on.
    Are there any other errors or warning messages in the logs of either the client or server? Do you have any type of security configured on the proxy server that is rejecting the connections?
    JK

  • [SOLVED] Network Shared Pacman Cache problems

    Hi all,
    I've got a couple of Arch servers and an Arch workstation that I'm working on; only the workstation has internet access and I need to keep the servers up to date and be able to install packages.
    At the moment, the servers have the workstation's pacman package and cache directories mounted via SSHFS, but I've got problems with keys (pacman not being able to look up keys) and system upgrades. Nothing that I can't work around, but I'm thinking there must be a more "professional" way to get this done.
    TL;DR - What's the best way to set up internetless Arch servers with a network pacman repo/cache?
    Last edited by syngin (2012-04-03 07:00:21)

    Yep, well capable of doing that which is why I'm asking - I can't do that without having to have difficult conversations with the security team here. And, no, I don't need to be told about the lack of security implications in doing this
    As far as keys, I've just set the SigLevel to "Never" as I trust the packages on my workstation, but this all feels a little hinky.

  • Sysprep /generalize resets windows update cache. (3 machines 3 different windows updates results)

    Hello,
    I have a process monthly that I run windows updates on all physical and virtual server templates.
    once this process is complete I sysprep all of the templates to create images.
    - upon bootup I am getting inconsistent results from all of the
    operating systems ( missing windows updates ) and the update history is reset every time.
    Some months the windows update history is correct and there are no updates missing, but other months there are tons of missing updates.
    For example I just did a test from the same template
    - first machine 60 missing updates
    - second machine 38 missing updates
    - third machine 45 missing updates.
    what I'm looking to do is save time by not having to re-run windows update every time for deployment.
    I know the templates are up to date I've even verified with the baseline security analyzer.

    Hi mobious,
    Could you try to use the SkipRearm option to sysprep the image again? As far as I know the sysprep operation won’t configure the update related options, Microsoft recommends
    that you use the SkipRearm setting if you plan on running Sysprep multiple times on a computer.
    More about the Sysprep works
    How Sysprep Works
    https://technet.microsoft.com/en-us/library/cc766514(v=ws.10).aspx
    I’m glad to be of help to you!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • On the same machine, Adobe Flash Player installs and operates satisfactorily in Internet Explorer but does not install at all in Firefox. What to do? I'd prefer using Firefox in lieu of Explorer.

    The machine is running Windows 7, 32 bit. Downloaded Firefox today (Jun 7, 2011) so it should be the latest version. Same with Flash Player.

    CJS23 wrote:
    Hi
    Javascript no longer works in Internet ExplorerJavascript has nothing to do with Java.
    The fact that I have no problems whatsoever in Firefox leads me to believe that the issue lies with IE.Sounds about right.
    When I go to check if I have Java at http://java.com/en/download/help/testvm.xml?ff3 I get a pop up log in box saying "the server java.com at SUN ONE web server requires a username and password" (when using IE - Firefox / Opera display the dancing duke symbol as they should)
    It sounds like you are now talking about having Applets run in your browser. Before you talk to IE customer support, you should nail down what your problem actually is, JavaScript or Java Applets, they are different technologies belonging to different people and implemented very differently.
    What's going on?You have a problem with Internet Explorer. Either ask their customer service or stop using it.

  • CUPS share between two arch installs

    Hi folks,
    This seems like it should be trivial, but I'm having trouble.
    I have a printer attached via ethernet cable to a router, a server computer also ethernet attached on the same network.  The printer is installed on the server computer, which was the cups systemd service started and enabled.  I can print directly from the server no problem.
    Now, my laptop has libcups installed, and I want to print from it.  So i enable printer sharing from the cups administration page, save changes, and nothing, bringing up the print menu on my laptop shows no options.
    My server computer is set at a static ip, say 1.1.1.1, so I modified the client /etc/cups/client.conf:
    ServerName 1.1.1.1:631
    Still nothing.
    In the CUPS wiki, Avahi is mentioned for discovering networked printers, but this seems unnecessary in such a simple use case.
    It would be great if someone could point me in the right direction.
    Thanks.

    ok, nfs-4 seems like a good choice, but i am having a hard time understanding the wiki.  from the wiki:
    Exporting directories outside your NFS root
    To do this, you'll need to use bind mounts. For example, to bind /home/john to /export/john:
    # mount --bind /home/john /export/john
    Then, /export/john needs to be added to /etc/exports:
    /export    192.168.0.12(rw,fsid=0,no_subtree_check,async,no_root_squash)
    /export/music 192.168.0.12(rw,no_subtree_check,async,no_root_squash)
    /export/john 192.168.12(rw,no_subtree_check,async,no_root_squash,nohide)
    The nohide option is required, because the kernel NFS server automatically hides mounted directories. To add the bind mount to /etc/fstab:
    i dont really know what to do, i'm not familiar with exports and i don't think my pc's have the same ip (192.168.1.???) everytime if i reconnect the router or something.  what does "nfs-root" mean?
    Really all i want to achieve is accessing the home directory of the other pc and vice versa, while limiting access strictly to my pc's.

Maybe you are looking for

  • Safari doesn't display jpg when accessing the image from the browser

    This is weird and very annoying. As soon as I click on an image to display it, Safari starts loading it and as soon as it's completely downloaded, it disappears. For instance, when I click this link (http://www.digitaltrends.com/wp-content/uploads/20

  • I need help in getting my Iphone 3gs unfrozen

    Need help in getting my Iphone 3gs unfrozen. The apple logo is shown yet it will not restart. Suggestions?

  • How singlethreaded model is working

    Can any one tell me how single threaded model working in Servlet. How it can assure me that no 2 thread working simultaneously in the shared resources.

  • Missing audiobook button??

    I downloaded the newest iOS5 to my iPad2 - I selected to sync my audio books, the sync completed but there is no button or link to audio books any more where it used to be under ipod!  Now a button for music, photos, books , videos etc but where the

  • Cannot get a DHCP address from my ISP

    I just got a WRT54G router, I managed to configured it all. I can ping any computers on the network. What I cannot do is get my DHCP address from my isp, meaning that I can't connect to internet. I am 100% sure that my ISP address was given by a DHCP