Error when trying to make local repository (solved)

i'm trying to make a local repository for a laptop without internet connection.
on my desktop, the packages are in /var/cache/pacman/pkg and the corresponding PKGBUILD in /var/lib/pacman/local. but whenever i run (as root)
#gensync /var/lib/pacman/local /var/cache/pacman/pkg/laptop.db.tar.gz
i get the following error:
gensync: building database entries, generating md5sums...
gensync: compressing to /var/cache/pacman/pkg/laptop.db.tar.gz...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
i can see the file laptop.db.tar.gz, but it's only 45 bytes!
Last edited by chilebiker (2007-04-18 20:52:37)

Maybe you could describe what you are doing a bit more. What I gather is that you want to take the pacman cache from the desktop system and somehow (how?) use this to update (or install to?) a laptop.
You can make the desktop cache into a repository with gen_repo - but I forgot to say that you need to check that only a single version of each package is present in the cache (I think pacman -Sc should do that).
If the laptop and desktop are then connected, e.g. by lan, you can set pacman.conf on the laptop to point at this repository (e.g. using NFS). Or you can copy the repository to the laptop and set pacman.conf to point at it.
Another possibility would be to copy the pacman db (/var/lib/pacman/) to the laptop, and the package cache, then use pacman -S to install stuff. For that you don't need gen_repo, etc. Or you could just mount the desktop cache using NFS.
There are all sorts of possibilities ... did you have something particular in mind?

Similar Messages

  • IFS Internal error when trying to make connection

    Anyone have a workaround for this problem?
    At startup, my iFS (iFS 1.0 on Solaris) application creates an instance of the LibraryService class and uses that instance to create/destroy LibrarySession instances.
    If my app sits idle for a long period (overnight), I get the following
    exception when trying to create a new LibrarySession connection instance:
    oracle.ifs.common.IfsException: IFS-9999: Internal error:
    java.sql.SQLException: Error while trying to retrieve text for error ORA-03113
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java)
    at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java)
    at oracle.jdbc.driver.OracleStatement.doExecute(OracleStatement.java)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java)
    at oracle.ifs.server.S_LibrarySession.getIdForNewObject(S_LibrarySession.java)
    at oracle.ifs.server.S_LibrarySession.<init>(S_LibrarySession.java:1661)
    at oracle.ifs.server.S_LibraryService.constructSession(S_LibraryService.java:1978)
    at oracle.ifs.server.S_LibraryService.connect(S_LibraryService.java:1798)
    at oracle.ifs.beans.LibraryService.connectLocal(LibraryService.java:522)
    at oracle.ifs.beans.LibraryService.connect(LibraryService.java:377)
    null

    Maybe you could describe what you are doing a bit more. What I gather is that you want to take the pacman cache from the desktop system and somehow (how?) use this to update (or install to?) a laptop.
    You can make the desktop cache into a repository with gen_repo - but I forgot to say that you need to check that only a single version of each package is present in the cache (I think pacman -Sc should do that).
    If the laptop and desktop are then connected, e.g. by lan, you can set pacman.conf on the laptop to point at this repository (e.g. using NFS). Or you can copy the repository to the laptop and set pacman.conf to point at it.
    Another possibility would be to copy the pacman db (/var/lib/pacman/) to the laptop, and the package cache, then use pacman -S to install stuff. For that you don't need gen_repo, etc. Or you could just mount the desktop cache using NFS.
    There are all sorts of possibilities ... did you have something particular in mind?

  • Can anyone tell me why I'm getting this error when trying to make visibility variables

    I have set these up in previous versions of Illustrator. CS and illustrator 10 worked just fine with Variables. Now I can't seem to switch between data sets. I just keep getting this error when I try to switch from one data set to another.

    I'll start with the permissions and see if it changes the behavior.

  • Up2date http forbidden error when trying to use local yum repository

    I have recently set up a local yum repository according to the directions in the document located at http://www.oracle.com/technetwork/articles/servers-storage-admin/yum-repo-setup-1659167.html
    Now, when I run up2date -u, I get the following output:
    There was a fatal error communicating with the server. The message was:
    An HTTP error occurred:
    URL: http://us1lxmgt1/yum/EnterpriseLinux/EL5/latest/x86_64//headers/header.info
    Status Code: 403
    Error Message: Forbidden
    Thinking this was a problem with my repository or web server setup, I used wget to download the header.info file mentioned in the error, but this works perfectly as shown from the output below:
    # wget http://us1lxmgt1/yum/EnterpriseLinux/EL5/latest/x86_64//headers/header.info
    --2013-03-09 19:05:19-- http://us1lxmgt1/yum/EnterpriseLinux/EL5/latest/x86_64//headers/header.info
    Resolving us1lxmgt1... 159.234.2.1
    Connecting to us1lxmgt1|159.234.2.1|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1510242 (1.4M) [text/plain]
    Saving to: `header.info'
    100%[==============================================================================================================================================>] 1,510,242 --.-K/s in 0.06s
    2013-03-09 19:05:19 (23.6 MB/s) - `header.info' saved [1510242/1510242]
    Running up2date with no options yields the following:
    An error has occurred:
    exceptions.KeyError
    See /var/log/up2date for more information
    and /var/log/up2date contains:
    [Sat Mar  9 19:06:33 2013] up2date File "/usr/share/rhn/up2date_client/gui.py", line 1331, in onChannelsPagePrepare
    values.append(channel['NAME'])
    File "/usr/share/rhn/up2date_client/rhnChannel.py", line 48, in __getitem__
    return self.dict[item]
    [Sat Mar  9 19:06:40 2013] up2date availablePackageList from network
    [Sat Mar  9 19:06:40 2013] up2date
    An HTTP error occurred:
    URL: http://us1lxmgt1/yum/EnterpriseLinux/EL5/latest/x86_64//headers/header.info
    Status Code: 403
    Error Message: Forbidden
    Any ideas what might be going wrong?
    Thanks
    Edited by: tafairch on Mar 9, 2013 4:09 PM

    tafairch wrote:
    Actually, I have set up both. The only uncommented lines in the /etc/sysconfig/rhn/sources file are:
    yum el5_$ARCH_latest http://us1lxmgt1/yum/EnterpriseLinux/EL5/latest/$ARCH/
    yum ol5_$ARCH_latest http://us1lxmgt1/yum/OracleLinux/OL5/latest/$ARCH/
    I also have a repo file in /etc/yum.repos.d. In that file the only sections marked enabled are the following:
    [el5_latest]
    name=Oracle Linux $releasever - $basearch - latest
    baseurl=http://us1lxmgt1/yum/EnterpriseLinux/EL5/latest/$basearch/
    gpgcheck=1
    enabled=1
    [ol5_latest]
    name=Oracle Linux $releasever - $basearch - latest
    baseurl=http://us1lxmgt1/yum/OracleLinux/OL5/latest/$basearch/
    gpgcheck=1
    enabled=1
    Thanks for the helpFirst of all, having both of these setup is completely redundant. The only difference between these two channels is that the el5 channel contains rpms from before the release of OL5.6 and up to now and the ol5 channel only contains everything since OL5.6 to now.
    Second, can you post the entire sources file?
    Third, though Dude isn't completely correct about the use of up2date, you can use yum on OL5 to get updates from the server, but you'd need to just use yum and not up2date in that case. For some reason, when you configure up2date to use yum via the sources file it uses a completely different stack of yum software other than the yum client that is installed by the yum rpms. Instead, it uses the older header format provided by yum-arch. When you use yum by itself, it uses the metadata that's created from createrepo instead (think repodata).
    Fourth, you may have better luck with using the yum client overall. And actually, in the long run you would be better served to use yum since asa OL4 is phased out, we're going to discontinue yum-arch which will in turn stop the up2date clients from working in this scenario. (Note: we don't use yum-arch to generate header information for ULN.)

  • HTTP 502 BAD GATEWAY ERROR / UNIDENTIFIED ERROR WHEN TRYING TO MAKE A DATABASE CONNECTION

    I have the above error on my windows 7 cs6 dreamweaver. When i click test or ok i either have one of the above error messages appear. I have tried this with 2 different databases now that are hosted with completely different hosts and i have the same issue.
    I have disabled AVG and i do not operate via a proxy to my knowledge. I am in the UK and use Virgin Media internet if this makes a difference.
    Any suggestions?
    I did contact techinical support but they expected me to purchase an additional package for £150 odd for them to help.

    The 502 Bad Gateway HTTP status code means that one server received an invalid response from another server that it was accessing while attempting to load the web page or fill another request by the browser.
    In other words, the 502 error is an issue between two different servers on the Internet that aren't communicating properly.
    Have a look here for a possible solution http://pcsupport.about.com/od/findbyerrormessage/a/502error.htm

  • Out of memory errors when trying to sync local and remote sites

    We cannot get our remote and local sites synchronized for the first time. We have a huge site and we get out or memory errors or the synch just doesn't work. Any solutions or insights?
    Our site has 9,000+ HTML files and accompanying images, pdfs, etc. When we try to synch the remote to the local for the first time, it just will not happen. Every once in a while someone gets lucky, but for the most part, we either get an "out of memory" error or the synch just doesn't work, and it doesn't tell us anything. It just stops responding. HELP!

    Hi dmooresatx,
    I am not aware of the limitations of the file sizes that are allowed for a successful sync operation. If you are using a purchased version of Dreamweaver CC, send me your Adobe ID along with your contact details (phone, email number). Click on my picture and use the message option. If you are using a team license, get these details from your administrator.
    Thanks,
    Preran

  • Error when trying to make an infoobject "Authorization Relevant"

    We are getting the following message in German when we try to make an infoobject - 0PERS_AREA "Authorization Relevant" (using RSD1), Can anybody help us in translation of this nmessage and possile remedy. In fact, I tried other infoobjects as well lke 0ORGUNIT, 0EMPLOYEE, etc with the same message.
    "InfoObject 0PERS_AREA: Keine Berechtigung, um die
    Berechtigungsrelevanz zu ändern"
    Thanks
    Raj

    hi raj,
    You should do first this :
    1. Goto RSA1->Click on Infoobjects->Select ur Infoobject(0PERS_AREA )-> rightclick->select Change It will give Change Characteristic screen in this screen-> click on Business Explorer Tabstrip observe in general settings vey below ur having one <b>check box for  " AuthorizationRelavent"-> check that check box --->save +Activte.</b>
    next u have to follow these steps :
    1.before going to authorizations u have to decide on which Infoobject u have to apply authorizations.
    EX: SD--- Sales Org, MM -> palnt ,purorg,FI> companycode.
    first u ahve to decide which area & on which Infoobject.
    2.goto that Infoobject --> change there check the checkbox Authorization relavent object cahechbox
    2.after that U Have to goto RSSM there u have to create authorization object
    Ex: Zxxx ( XXX is Infoobject Name ).
    3. In the same transaction Screen u have Infocube selection radio Button check that then select on which cube(cube means under that cube all Quaries) u have to make authorization for that perticuler Infoobject.
    4.next goto PFCG create role & save it
    5.goto Authorization tab in that selct edit authorization it will give automatiaclly authorization Templates in that u have to select only S_RS_RREPU & press Enter.
    6. Select manual pushbutton it will ask authorisation object enter ur authorization object what u have created ( zxxx) .
    7.click generate +enter
    8. goto user tab Enter userId+enter + click on usercomparision+ enter
    9.save the role.
    FOR HIRARCHIES:
    1. goto RSSM There u have one rediobutton called authorization hierarchy ( this radio button is very below the RSSM screen)
    2. there u have to select Hierachy on which u have to apply authorization.
    Thanks,
    kiran

  • Not-identified error when trying to make a connection in CS4

    Hello;
    When I try to make a Db connection to mysql in DW CS4,using connections,the +-button and fill in the pop up,I am getting the following message:
    "a not-identified error has occurred".
    The database name,password and all the other information is ok.So I really do not know what is happening.
    Is there someone there who has an answer for this problem??
    many thanks for the help!

    Igorbuitendijk wrote:
    The testing serverfolder is:http://www.checksite.eu:2222/public_htmlThe URL prefix is:http://www.checksite.eu:2222/public_html
    When I leave out the 2222,Dreamweaver can't make a connection to the server.
    I don't know about the use of port 2222, but your testing server definition is completely wrong.
    The testing server folder must be a physical path, not a URL. And the URL prefix must be a valid URL. public_html is the name of the web server's document root, it should never be part of a URL.
    Judging from the details you have given here, you are using your remote server for testing. In the Testing server section of the site definition, set Access to FTP. The value of Host directory should be what your hosting company tells you to use when logging in. For some hosting companies, you use public_html on its own. Other companies tell you to leave the value blank or to use just /.
    The URL prefix is just the URL for the site.

  • Getting unknown error when trying to make a purchase

    Hello All,
    Whenever I attempt to make a purchase for a song or a video/TV show I get an unknown error. Does anyone know why? I did restart my computer and all.
    Thanks for any help.

    It says Unknown Error (11503). Someone please help.

  • The "This form is interactive and has special features" error when trying to make annotations.

    I create, revise, and manage over 200 forms for a company and when working on creating or revising a form, I have several stakeholders who provide feedback during the development process and most like to use the Adobe Acrobat annotation tools which is helpful for me too.
    We have been using Livecycle Designer since the ES version, went to ES2 and now have both ES2 and ES4.  I never alter the default settings.  Lately, some of the managers have been getting the error which states the forms have special features and you cannot leave sticky notes, highlight or whatever.  From reading past post on this, it is because these forms are Dynamic versus Static.  However, with our 200 forms, several can have notes added, probably most of them.  What would create this difference of static vs dynamic when the settings are touched by me?  All of our forms are fillable pdfs using textboxes, checkboxes, radio buttons, etc.
    Here is a link to a pdf which will not allow editing:  http://fulfillment.cfgweb.com/showpdf-sku.cfg?sku=WR01CS1008&clientcode=wrf
    Here is a link to one that will:  http://fulfillment.cfgweb.com/showpdf-sku.cfg?sku=WR01CS0011&clientcode=wrf
    Any help would be appreciated.

    When you save a PDF out of Designer you have a choice of Adobe Dynamic XML Form (an XFA form) or Adobe Static PDF Form.
    XFA forms don't have the same functionality as regular PDFs so a lot of stuff is disabled. But if you are creating dynamic flowed forms and have scripting for showing and hiding, etc. then you need an XFA form.
    I looked at both your files and neither of them seem to be doing any dynamic stuff so you should be able to save the one that doesn't allow editing as a Static PDF.
    Static files are also created when using background artwork (pdfs, etc.) that you lay fields on top of.

  • "Call Fail" error when trying to make out calls.

    Hi, I'm on iPhone 4S with iOS 6.1.3 . Recently I've been experiencing this problem of doing  outgoing calls. It keeps on having this "CALL FAILED" error. Previously it sometimes came but went back normal after an hour and I thought It might be caused by my network carrier . But its been 4 days now. Do take note that Im still be able to receive all incoming calls, SMS, Apps Messaging as well internet surfing &amp; others. Pls guys help me to resolve this issue. Tq.
    P/S
    My location = Malaysia
    My ISP &amp; cellular network carrier = Celcom

    Hello zipinabag,
    Thank you for all the information you provided regarding the issue you are experiencing when making a call on the iPhone. I recommend reviewing this tutorial:
    Calls and connection issues
    http://www.apple.com/support/iphone/assistant/calls/
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I updated to windows 8.1. Now acrobat writer does not work anymore even after repair. I am getting an activation error when trying to make a pdf. What should I do?

    Can somebody help. A phone number to contact acrobat writer support? I paid for the program and it worked perfectly until I updated form windows 8 to windows 8.1.
    I am getting the error"not allowed to use the software, I think license issue or something like that even though I paid for it".

    Hi sergeguzy,
    Which Acrobat version are you using?
    By saying Acrobat writer, do you mean Adobe PDF printer in Acrobat or PDFMaker in Office products?
    Also, you might try repairing Acrobat from the Help menu.
    Hope to hear from you.
    Regards,
    Anubha

  • Get error when trying to make target a single audio track without video

    Error - iLLegal angle situation. Only the main video angle will be simulated".
    From triggering a button on a menu targeted toward an audio only track I get this error during simulation.
    But nothing gets simulated. I know that if I put in video with the audio in the track I won't get this error but should I have to?
    Dave

    Put a clip of black video in the track with the same duration as the audio.
    -DH

  • Error when trying to call someone

    Hi all
    My 4-month old phone is having issues when i'm trying to make a call.
    I've reset everything and after two weeks i'm still having the same error when trying to make a call.
    I'm getting a pop-up saying that there's an app error something something...
    This is really frustrating cause at times I can't even make a single call.
    Please help me out on this.
    Marina

    Boot on safe mode and try again
    http://talk.sonymobile.com/t5/FAQ/How-to-boot-your-phone-into-safe-mode/m-p/348008#U348008
    "I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

  • How can i solve the contact itunes support issue when trying to make in app purchases

    how can i solve the "please contact itunes support" issue when trying to make in app purchases? my account has available credit from a gift card

    Click here and request assistance.
    (69559)

Maybe you are looking for

  • Material Master Default Values

    Dear All Whenever we create a material, we want to have the same value as default for a particular field in one of the Material master views. Is this possible and how can it be done? Regards Hary

  • Adobe Reader 9.1 will not open in OSX 10.5.7

    Since loading the latest OSX 10.5.7 update I have not been able to open Adobe Reader. I have removed the version that I had (9.1) and downloaded a fresh copy but it makes no difference - Reader will not open at all. I have tried the reset - again it

  • PHP Form Filtering

    Hey Guys, I'm curious as to some of the best solutions to help filter out spamming through a php form.  Should I add captcha?  Is there another way?  I want to be able to filter out the erroneous requests or advertising of selling email lists from th

  • Low battery warning percent fixed??

    I have Vaio VPCYB15AG with Win 7 Ultimate SP1 32Bit retail. In it's advanced power options even though I can set percentage value for Low battery warning, I find that the warning is given (Blinking green power LED) when battery falls to 12%.Is this l

  • RFC call from MII using JCO

    Hi All, I am calling custom function module from MII using JCO and I am facing one problem. Problem is that if any new field is added in function module in ECC side that is not appearing in RFC structure until we restart the MII server. Can anybody p