[maemo-developers] Unable to update targets on Maemo 3.1 'bora' via 'apt-get update' after sdk installation
From: Ian vern at riseup.netDate: Tue May 15 22:00:12 EEST 2007
- Previous message: Unable to update targets on Maemo 3.1 "bora" via "apt-get update" after sdk installation
- Next message: Network Access Emulation for the VMware Maemo Device Emulator?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Thx to kulve in #maemo I have just found the solution: if you receive an error about unavailable repositories you need to: vern at N800-hacker:~$ cd /scratchbox/etc/ vern at N800-hacker:/scratchbox/etc$ sudo gedit nsswitch.conf Password: and edit the file so it looks like this: # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc-reference' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. passwd: compat group: compat shadow: compat #hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 hosts: files dns networks: files protocols: db files services: db files ethers: db files rpc: db files netgroup: nis then from inside scratchbox do: [sbox-SDK_ARMEL: ~] apt-get update and it will hit the repositories ok. []'s Ian > Hi, > > > I tried to install Maemo bora SDK to my host system (Debian testing ~ lenny). > > > The scratchbox installation went ok, but the maemo sdk installation script > failed to update both targets at the end of the installation. And when trying manually to run > 'apt-get update' on either of the targets I got the > same complaints about not being able to resolve repositories: > > ---------------------------------------------------------------------------- > ... > Err http://repository.maemo.org bora/free Release > Could not resolve 'repository.maemo.org' > Failed to fetch > http://repository.maemo.org/dists/bora/free/binary-armel/Packages.gz > Could not resolve 'repository.maemo.org' > ... > ---------------------------------------------------------------------------- > > > I have "googled" to find a solution to this problem, and I found couple > other posts from people having same kind of problems. My symptoms are exactly same: > > - I'm able do download stuff using directly the wget to do the job, for > example command '[sbox-SDK_ARMEL: ~] > wget > http://repository.maemo.org/dists/bora/free/binary-armel/Packages.gz' > worked perfectly ok. > > - I have also checked the /etc/nsswitch.conf on both targets to contain > the line 'hosts: files dns' > > > - I have added to the /etc/resolv.conf (again in both targets) the > following definitions (copied from my host system) > > nameserver 172.16.0.1 (my local network name server) nameserver 193.229.0.40 (my isp name server) > > But neither of above changes did make the apt-get to work. > > > Any ideas what might be wrong here? > > > Many thanks! > > > br. Jan-Petter > > > _______________________________________________ > maemo-developers mailing list maemo-developers at maemo.org > https://maemo.org/mailman/listinfo/maemo-developers > > -- .''`. : :' : `. `'` `- Orgulhoso ser MetaRecicleiro http://ianlawrence.info http://manaus.metareciclagem.org/ Jabber: root at binaryfreedom.info
- Previous message: Unable to update targets on Maemo 3.1 "bora" via "apt-get update" after sdk installation
- Next message: Network Access Emulation for the VMware Maemo Device Emulator?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]