[SOLVED] Copy packages from current Arch install to new Arch install

Hello!
I'm new to Arch, so that's why I'm posting in the newbie corner. I've been looking everywhere for an answer to this: I want to do a fresh install of my system, but my internet connection is sort of messed up right now (unusually slow). I noticed that every package I have installed on my current Arch are saved in /var/cache/pacman/pkg. Could I make a backup of that directory onto another partition on my hard drive, reinstall Arch, and restore the backup to that same directory in the new install? Would pacman "think" it's already downloaded and skip the download step alltogether?
Thanks.
Last edited by magyckleo (2011-01-31 21:28:44)

karol wrote:
From the repo-add manpage: 'repo-add [-q] <path-to-db> <package1> [<package2>...]'
This should create the dbs you need.
Honestly, *I* think, that the manpage is enough and you don't need the wiki (in this case at least).
You know what, do a test, pick a couple packages, copy them somewhere and create a tiny local repo.
Awesome! I managed to make pacman read the package db I created using add-repo.
I added the repo to the pacman.conf. Had to do a little trial & error to figure out I had to put it like this:
[name of db file]
Server = file:///path/to/folder_of_db partition
I was trying to put the file.db.tar.gz complete rute. Of course, pacman let me know with an error that wasn't right.
I tried installing something simple, like wine. First, I did a sudo pacman -Scc to clear the cache. Then I did sudo pacman -S wine. It installed successfully! I'm gonna try with a fresh install this afternoon. I'll let you know of the result.
Thanks everyone!
Last edited by magyckleo (2010-09-27 15:46:05)

Similar Messages

  • I need to copy audio files and projects from logic to an external hard as my MBPis nearly full and my external hard drive has packed up with all my files on it, any suggestions on how do I copy 200GB from my MBP to a new external HD

    I Use logic and back my audio file and projects on an external HD ,this has now packed up . I have all the files in the MBP , but need to copy them to a new external HD, I have only 10GB left on my machine , how do I copy 200GB from my machine to a new External HD.
    any helpful full advice would be appreciated.
    angus

    Yes, just drag and drop them into the drive..
    How long will it take? Hard to say without knowing the type and speed of the drives in question.. and even then it's hard to estimate... but does time really matter?
    The fact you only have 10 Gigs left will/may slow the process down but it wont/shouldn't stop it...
    If needed.. just drag and drop some of the files at a time.. not all of them.
    Remember that copying files doesn't delete them from the original drive... You will still need to delete them yourself after they are copied over and empty the trash....
    However....
    When you saved these projects in Logic (Pro X?) did you save them using the include audio files option?
    If not, then when you move the audio files used in these projects... Logic will not know where they are to reload them........ and that will cause you issues.
    So.. if you didn't...
    I would use this method instead...
    Logic Pro X: Move, copy, and convert audio files

  • How can I copy song from Ipod to computer or new itune library?...

    How can I copy song from ipod to computer or new itune libray and restore songs that I confuse to delete from ipod?
    I confuse ease all songs from ipod when I changed the setting from maually to sync. I know that when I change this setting, all songs on ipod will arase if there are no the same songs in a itune library.

    Copying from iPod to Computer threads...
    http://discussions.apple.com/thread.jspa?threadID=776996&tstart=0
    http://discussions.apple.com/thread.jspa?threadID=805256&tstart=0
    http://discussions.apple.com/thread.jspa?messageID=797432&#797432
    http://discussions.apple.com/thread.jspa?threadID=809624&tstart=0
    Also these useful internet articles...
    http://www.engadget.com/2004/11/02/how-to-get-music-off-your-ipod/
    http://playlistmag.com/help/2005/01/2waystreet/
    iPod: Frequently Asked Questions
    http://docs.info.apple.com/article.html?artnum=60920
    Patrick

  • I have sync'ed a folder of photos from my other laptop to my iphone 4, i couldnt copy it from the iphone to my new laptop, even when i go through as normal internal storage the folder doesnt appears

    i have sync'ed a folder of photos from my other laptop to my iphone 4, i couldnt copy it from the iphone to my new laptop, even when i go through as normal internal storage the folder doesnt appears

    Correct. The iphone is not a storage/backup device.  The photo sync is one way -  computer to iphone.
    You need to copy everything from your old computer, or your backup copy of your old computer, to your new one.

  • [solved] remove packages from a txt file list

    as the subject header says, I want to run "pacman -R" and have it read a list of packages from a text file.
    Is this possible????
    text file is formatted as such....
    file1
    file2
    file3
    Last edited by orphius (2013-07-09 08:11:53)

    Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.

  • Robocopy - Wildcard to copy everything from current source directory

    I'd like to use Robocopy (I'm using Xcopy now) to copy everything from the 'current' folder. It appears that Robocopy absolutely has to have a path of some sort to correctly work. In Xcopy, we were able to run
    Xcopy *.* C:\somedirectory\
    If I try the same in Robocopy I get a an error
    "No Destination Directory Specified"Orange County District Attorney

    Sandy,
    That's all good.. for what you describe robocopy would have no problem handling that task. There are a number of great uses for robocopy and hobocopy in terms of backup.. one type of use (for example) is when used backup a user's documents folder:
    robocopy "%USERPROFILE%\Documents" "H:\localfiles\Documents" /E /PURGE /V /NP /XF *.mp3 *.m4a *.pst *.tmp *.avi *.wav /R:10 /W:30
    or with hobocopy backing up data (in an accounting directory) to an external drive:
    HoboCopy /statefile=z:\backup\accounting\directcopy\hbstate /incremental /skipdenied /y /r d:\accounting\ z:\backup\accounting\directcopy\ > z:\backup\accounting\DirectLog.log
    Thanks,
    Kevin @calwell on twitter

  • Can I move my copy Lightroom from my pc to my new I Mac?

    Can I move my copy of Lightroom from a pc to my new I Mac? Also can I move Photoshop?

    The Lightroom license is cross-platform. You can download the Mac version and install it and use your existing serial number. The Photoshop license is not cross-platform.

  • Can I copy music from my iPod to my new Mac Book Pro?

    Can I copy music from my old iPod to my MacBook Pro?  If so, how?  Jim

    If the above option is too much work you may want to look into iRip which you can find information on it at http://thelittleappfactory.com/irip/ there are other software out there starting from free and going up in price, but iRip has a free demo to recover 100 tracks.

  • Run-time Error '429' when copying queries from one userid to a new userid

    Hello,
    One of the users is having an issue when copying queries from an old user id to a new user id.
    She is getting the visual basic run-time error '429' - active x component can't create object while copying.
    This is not consistent.  From what I can tell, this does not appear to be a bex query designer issue but something in microsoft.
    Please let me know either way. I have found minimal posts on this issue.  Most that I have found are outside the sdn forum and talk about registry issues?
    Thank you,
    Lynda

    According to your error message, your onClick function declaration line closes the parenthesis twice... you may have a typo in what you actually put in the file versus what you think you put...
    function onClick()event:MouseEvent):void{

  • How to copy music from my ipod to a new itunes?

    I used my friend's itunes sometime ago, then i have all his music on my ipod. now i want to use my itunes, but the problem is, if i sync my ipod using my itunes, then all the previous songs that exist on my ipod that i got from my friend's itunes will be disappearing. is there any way to copy music from ipod to itunes?
    this system is frustrating...
    anyone can help me?

    Welcome to AD!
    See, that's why they made iPods to really only sync in one direction - from PC to iPod.
    The artists want you to buy your own copy of those songs. You're not supposed to share with your friends!
    There are plenty of posts here on AD about getting stuff off your iPod. Search the forums for posts by Zevoneer.

  • Copying iTunes from windows 7 pro to new 2013 Mac Pro

    Have all my work on my iPhone 5s. Do nothing but manually syncing on lates iTunes. What to copy iTunes to new Mac Pro so I can use my iPhone on either computer.
    Laptop at work and desktop at home.
    All store bought music on C drive in iTunes as it should be along with books etc. but about 8 gbs of my ripped music some mp3 some ACC all at 320 is on my internal drive.
    First thought is change iTunes setting to CONSOLIDATE hoping D drive music will go into iTunes properly.
    While I searched KB I came up flat. I like a clean organized computer. While I know windows vert well I am new to Mac pros (but not iPhones nor iOS 7)..
    Any way I can do this cleanly. I can put a full backup of iTunes onto a USB hard drive I use for 3rd back up off pictures and iTunes
    Thank you

    Merry Xmas CF McBlob and thank you. I had thought about that but I want a cleaner easier way of doing it as I start to setup my MacBook Pro I have run into a few things and don't like the D drive idea. I did format a 1 TB drive last nite giving 700gb to Time Capsule and 300gb to data. Used Guid format than journaled for TC and fat for data with disk utility.
    There has to be a way I can mirror libraries on computers for iPhone 5s. Heck I see icloud took care of contacts, etc. and iTunes saw all my bought music in cloud and downloaded it to macbook. I consolidated my original library so now all us together. There must be way to copy iTunes from windows and use it to replace folders on Maverick latest so my iPhone 5s is seen the same on windows 7 Pugent system and apple MacBook Pro. I called Apple but got a genius on the phone that had to keep asking for help herself and referencing the KBarticle that gives a few options none of which are clean.
    Thank you

  • [SOLVED]Recreating packages from installed files?

    Just a simple question. Suppose I do this:
    pacman -U pkg-foo.tar.xz
    # it installs successfully
    rm pkg-foo.tar.xz
    Is there a way to recreate the package file from the installed files and metadata on the system?
    Sorry if this is obvious, but I can't find anything on it.
    Last edited by nixscripter (2011-06-08 19:03:36)

    Just what I was looking for. Thanks!

  • Adding packages from solaris 8 install disks

    I need Solaris Make for Solaris 8. I have installed Solaris 8 off of downloaded Solaris 8 install disks. I apparently forgot to include Solaris Make in the install and now need to add it. When I copy the pkg SUNWxcu4t (the pkg for make and scc) and pkgadd it it claims installation is sucessful but still I have no make. It is supposed to install to /usr but there is no make there.
    What am I doing wrong?
    Thanks

    Ok I have all of my compilling isuse resolved!
    Just in case anyone else browsing this forum has the same problems here is what I have learned:
    These are the relevent Packages:
    for tools (ar, sccs, lex, yacc, make, nm, truss, ld, as)
    SUNWbtool, SUNWsprot, SUNWtoo
    for libraries & headers:
    SUNWhea, SUNWarc, SUNWlibm, SUNWlibms
    SUNWdfbh, SUNWcg6h
    for ucb compat:
    SUNWsra, SUNWsrh
    You definatly need to use Solaris make (found in SUNWsprot), Solaris ar (found in SUNWbtool),
    gnu tar, and gnu cc both from sunfreeware.com (I love pkg-get ^_^)
    either add /opt/sfw/bin/ to your path or put a dynamic link for gcc into /usr/local/bin/ I prefer the latter.
    and add /usr/ccs/bin/ to your path permanently.
    Thanks for your help every one.

  • [SOLVED] Empty Package from PKGBUILD

    I'm writing my first PKGBUILD for an app I wrote. In the PKGBUILD my build and package functions look like this :
    build() {
    cd "$srcdir/$pkgname-${pkgver//_/-}"
    qmake
    make PREFIX=/usr
    package() {
    cd "$srcdir/$pkgname-${pkgver//_/-}"
    make DESTDIR="$pkgdir/" install
    but makepkg builds an empty package without the binary. What am I doing wrong?
    Last edited by yungtrizzle (2014-02-01 14:40:20)

    graysky wrote:Doesn't sound like your Makefile is using $(DESTDIR) then... modify it to do so.  Use this as an example if you need one: https://github.com/graysky2/profile-syn … r/Makefile
    That won't work in my case, the makefile is generated from qmake, anything I change will be overwritten.
    @Spider.007 add DESTDIR doesn't make any changes
    Last edited by yungtrizzle (2014-02-01 12:36:35)

  • Error running a Copy Package from BPF (BPC7.5)

    Hi all,
    I'm on BPC75 NW SP09, and Iu2019m trying to run the standard u201CCopyu201D package through BPF but it gives me following error message: IMMEDIATE RUN: Error occurred while trying to run the package on the server Data not found in table (UJD_PACKAGES2). It works fine when I run manually/directly in Data Manager.
    Here my BPF settings: Interface: Data Manager; Task: RUN SPECIFIC PACKAGE; PACKAGE: Copy; FILE: /CPMB/COPY; TEAM: Company; GROUP: Data Management
    I have searched other related threads to validate my configuration and I have also checked the table UJD_PACKAGES2 but it seems to be okay. The only thing that I noticed is that it does not have the TEAM populated in this table.
    Any idea on how to resolve this issue? Your comments/suggestions are very much appreciated.
    Thanks,
    Heverton
    Edited by: Heverton Oliveira on Jan 13, 2012 9:24 PM

    Hi all,
    I'm on BPC75 NW SP09, and Iu2019m trying to run the standard u201CCopyu201D package through BPF but it gives me following error message: IMMEDIATE RUN: Error occurred while trying to run the package on the server Data not found in table (UJD_PACKAGES2). It works fine when I run manually/directly in Data Manager.
    Here my BPF settings: Interface: Data Manager; Task: RUN SPECIFIC PACKAGE; PACKAGE: Copy; FILE: /CPMB/COPY; TEAM: Company; GROUP: Data Management
    I have searched other related threads to validate my configuration and I have also checked the table UJD_PACKAGES2 but it seems to be okay. The only thing that I noticed is that it does not have the TEAM populated in this table.
    Any idea on how to resolve this issue? Your comments/suggestions are very much appreciated.
    Thanks,
    Heverton
    Edited by: Heverton Oliveira on Jan 13, 2012 9:24 PM

Maybe you are looking for

  • Using music library in iTunes to create ringtones?

    Is there a way to use music from my iTunes library to make my own ringtones?  If found an article on About.com and also through an earlier Community discussion from several months ago, but couldn't get it to work.  Also, the articles refer to using W

  • Selecting All Images in a Document over multiple pages

    Hello, Is there anyway to select all the images in a document, not just a spread. For example, if I want to apply an object style to every image. I can only do one page (spread) at a time There was a post out there that started like this, but started

  • How to wipe my computer without recovery DVD?

    I want to wipe my computer because I cant figure out what is wrong with it and why it wont connect to my hotel's wireless internet. I am on my other laptop right now and it connects just fine to the hotel's internet. I have never wiped a computer out

  • Songs corrupted after adding artwork

    Hey guys, i`ve been experiencing this problem on my new PC, which is running a Windows 7 (64 bit). It only happens to a few songs, when i add the artwork the first 3 to 7 seconds play correctly, but then the music starts over. Also, the song does not

  • ZEN 8 Gb format doesn't w

    i have firmware version .2.0 and i want to delete everything on zen tried with format from zen's menu and it is quite fast, after formating it tells me that there is about 7,3 Gb free memory, but it isn't nothing is deleted also, i cannot delete it m