![]() |
List of Repository Fixes
This is a List of Fixes that can be tried when having problems downloading from repository.maemo.org. This is a situation often experienced when using "apt-get update" to download the nokia-binaries package.
In my own diggings I found several different methods for trying to correct these errors. These methods were found through digging the forums as well as forum.nokia.com and serveral other sites. I did not write these and there is little to no official documentation supporting them. Alas these are the solutions that I found that worked for some people. They might work for you, they might not. Good luck. If I have made any errors here, PLEASE correct me. 1. Correcting your /etc/apt/sources.list This must be done Inside of Scratchbox. We are checking here that your token string is added correctly to each Target (A target is FREMANTLE_ARMEL and FREMANTLE_X86). Complete the following. Code:
/scratchbox/login This will bring up your sources.list. Ensure that your token string is on the last line in the sources.list To navigate in Nano use your Arrow Keys to move up and down lines. Use your backspace / delete keys to remove certain data. If you wish to exit and save Press Ctrl + X and hit Yes, and Enter. Rules for this: - Make sure there are no Blank Lines between the other strings. - Ensure that there is a single Blank Line at the end of the text. I read that apt-get is "picky" over this. Now, redo this for your FREMANTLE_X86 target. Such that; Code:
/scratchbox/login 2. Fixing your /etc/resolv.conf This one is an easy fix for most. We are changing your resolv.conf so that it matches the ones on your computer. Make sure you are Logged Out of Scratchbox or haven't started it yet. Type into your terminal ~ Code:
sudo cp /etc/resolv.conf /scratchbox/etc/resolv.conf Now try updating again. If that didn't work lets delve deeper into your resolv.conf dilemma. This part we are Checking to make sure your resolv.conf Actually Matches! Outside of scratchbox, do the follow Code:
nano /etc/resolv.conf Now, do the follow; Code:
/scratchbox/login Do the same for X86. Code:
/scratchbox/login 3. Fixing nsswitch.conf This part we are fixing your nsswitch.conf to make sure it matches the correct path. Do this for Armel Target. Code:
/scratchbox/login Code:
hosts: files dns Code:
/scratchbox/login Code:
hosts: files dns 4. 99Proxy Fix, Untried. I have not tried this fix as I believe it is only necessary if you are behind a proxy and you setup your system that way. Nevertheless this is a fix noted by Cocayden. In File Browser first navigate to /scratchbox/users/<user>/targets/<target>/etc/apt/apt.conf.d Note that; <user> is the username specified during your scratchbox installation. <target> will be either FREMANTLE_ARMEL or FREMANTLE_X86. In Ubuntu this is done through pressing System at the top then Computer. Click Filesystem > Scratchbox > and so forth. Once inside the apt.conf.d Folder open the apparent file named as 99proxy and delete everything inside. If this is unaccessible via file browser use your terminal to open the file. For ubuntu this would be gksudo gedit, for debian I believe it's otherwise. Save and try updating again. I hope some of these helped, if you have any more solutions PLEASE add them or if I have made ANY mistakes PLEASE correct me. Thanks. |
Re: List of Repistory Fixes
It would be helpful to explain when this stuff is needed.
Also, fixing the typo in the summary line (repistory) and explaining a bit more makes it easier to find this when searching in the forum. |
Re: List of Repository Fixes
Thanks for the correction Andre! I added a bit of a summary to the top, I'll fix it up properly when I have more time tomorrow.
|
Re: List of Repository Fixes
Thx horus this is a good explanation what could go wrong with the scratchbox dns. I had the same problem and the proxy fix did it for me!
i had downloaded the vmware image with everything installed. It appears they didn't remove these lines :) grtz |
Re: List of Repository Fixes
Quote:
Code:
mkdir /usr/share/curl |
Re: List of Repository Fixes
Hi,
there is as well a developer FAQ. It would be nice if you could extend it, with the stuff, which is not already mentioned there. Would be nice to collect this kind of information in a central place. Cheers Daniel |
Re: List of Repository Fixes
Finally finished uni, have the time now. I shall do Daniel.
|
All times are GMT. The time now is 03:25. |
vBulletin® Version 3.8.8