maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   No package 'hildon-1' found (https://talk.maemo.org/showthread.php?t=45804)

wmarone 2010-06-01 21:56

Re: No package 'hildon-1' found
 
Quote:

Originally Posted by crash16 (Post 694797)
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

mr id 2010-06-01 21:56

Re: No package 'hildon-1' found
 
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

crash16 2010-06-01 22:25

Re: No package 'hildon-1' found
 
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?

mr id 2010-06-01 22:40

Re: No package 'hildon-1' found
 
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.

mr id 2010-06-01 22:43

Re: No package 'hildon-1' found
 
Have you got a valid /etc/resolv.conf file within scratchbox?

May need to copy you host machine's file into it if not.

crash16 2010-06-01 22:46

Re: No package 'hildon-1' found
 
Quote:

Originally Posted by mr id (Post 694886)
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..

crash16 2010-06-01 22:48

Re: No package 'hildon-1' found
 
this is my resolv.conf file:
# Generated by NetworkManager
domain localdomain
search localdomain
nameserver 172.16.250.2

mr id 2010-06-01 22:54

Re: No package 'hildon-1' found
 
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.

crash16 2010-06-01 22:58

Re: No package 'hildon-1' found
 
when i run that command is saying "No such file or directory" :(

mr id 2010-06-01 23:03

Re: No package 'hildon-1' found
 
Quote:

Originally Posted by crash16 (Post 694911)
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.


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

vBulletin® Version 3.8.8