![]() |
2009-11-09
, 14:13
|
|
Posts: 1,665 |
Thanked: 1,649 times |
Joined on Jun 2008
@ Praha, Czech Republic
|
#2
|
![]() |
2009-11-09
, 22:21
|
|
Posts: 190 |
Thanked: 101 times |
Joined on Oct 2009
|
#3
|
![]() |
2009-11-19
, 23:55
|
Posts: 1 |
Thanked: 0 times |
Joined on Nov 2009
|
#4
|
![]() |
2009-11-20
, 01:06
|
Posts: 2,802 |
Thanked: 4,491 times |
Joined on Nov 2007
|
#5
|
mkdir /usr/share/curl ln -s /scratchbox/devkits/git/share/curl/curl-ca-bundle.crt /usr/share/curl/
![]() |
2009-11-20
, 09:28
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#6
|
The Following 2 Users Say Thank You to danielwilms For This Useful Post: | ||
![]() |
2009-12-08
, 20:09
|
|
Posts: 190 |
Thanked: 101 times |
Joined on Oct 2009
|
#7
|
The Following User Says Thank You to horus For This Useful Post: | ||
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.
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;
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 ~
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
Now, do the follow;
Do the same for X86.
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.
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.
Last edited by horus; 2009-11-09 at 22:20.