Reply
Thread Tools
Posts: 1,746 | Thanked: 2,100 times | Joined on Sep 2009
#11
Originally Posted by crash16 View Post
i can't manage to do this... it says :

[sbox-FREMANTLE_X86: ~] > /etc/apt/sources.list
bash: /etc/apt/sources.list: Permission denied


what shoud i do?

thanx
Just typing the name of a file will do nothing. You need to open it with an editor, for instance:

> fakeroot vim /etc/apt/sources.list
 
Posts: 237 | Thanked: 193 times | Joined on Feb 2010 @ Brighton, UK
#12
fakeroot nano /etc/apt/sources.list

to edit the file.
It's a text file 'fakeroot' escalates your priviliges for this system file.
'nano' is a text editor
 
Posts: 286 | Thanked: 117 times | Joined on Jan 2010
#13
i have done that but when i try apt-get update it says that it can't connect......can someone post his sources.list please?
 
Posts: 237 | Thanked: 193 times | Joined on Feb 2010 @ Brighton, UK
#14
sources.list

deb http://repository.maemo.org/ fremantle/sdk free non-free
deb-src http://repository.maemo.org/ fremantle/sdk free
deb http://repository.maemo.org/ fremantle/tools free non-free
deb-src http://repository.maemo.org/ fremantle/tools free
deb http://repository.maemo.org/extras fremantle free non-free
deb-src http://repository.maemo.org/extras fremantle free
deb http://repository.maemo.org/extras-devel fremantle free non-free
deb-src http://repository.maemo.org/extras-devel fremantle free
deb http://repository.maemo.org/extras-testing fremantle free non-free
deb-src http://repository.maemo.org/extras-testing fremantle free


# Repository for Nokia Binaries, added by Maemo 5.0 SDK Installer
deb http://repository.maemo.org/ fremantle/XXX-NOKIA_KEY-XXX nokia-binaries


--------------------------------- END FILE ------------------------------

check this but it's more likely something else is up connecting.
 
Posts: 237 | Thanked: 193 times | Joined on Feb 2010 @ Brighton, UK
#15
Have you got a valid /etc/resolv.conf file within scratchbox?

May need to copy you host machine's file into it if not.
 
Posts: 286 | Thanked: 117 times | Joined on Jan 2010
#16
Originally Posted by mr id View Post
Have you got a valid /etc/resolv.conf file within scratchbox?

May need to copy you host machine's file into it if not.
i'll check..
 
Posts: 286 | Thanked: 117 times | Joined on Jan 2010
#17
this is my resolv.conf file:
# Generated by NetworkManager
domain localdomain
search localdomain
nameserver 172.16.250.2
 
Posts: 237 | Thanked: 193 times | Joined on Feb 2010 @ Brighton, UK
#18
and just to make sure is that the resolv.conf from within scratchbox not the host?

i.e. /scratchbox/users/$USER/targets/ARM/etc/resolv.conf from outside of scratchbox.
 
Posts: 286 | Thanked: 117 times | Joined on Jan 2010
#19
when i run that command is saying "No such file or directory"
 
Posts: 237 | Thanked: 193 times | Joined on Feb 2010 @ Brighton, UK
#20
Originally Posted by crash16 View Post
when i run that command is saying "No such file or directory"
Sorry, try the path
/scratchbox/users/YOUR_USERNAME/targets/FREMANTLE_ARMEL/etc/resolv.conf
but don't just copy it into the terminal it's not a command we just want to see if the file exists then inspect it's contents if it does.

(your exact location may be slightly different)

you should be able to browse for it through your file explorer from the host environmente.

If it genuinely doesn't exist you can copy your host's version to that location.
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:07.