Joined: 30 Jan 2011
|Posted: Mon Dec 30, 2013 20:15 Post subject: Packages, repos, and Package Installers
|I've done a bit of reading, but yet I'm a little confused when it comes to the proper Package Installer to use on my DDWRT build.
Hardware: Asus RT-N16
Firmware: DD-WRT v24-sp2 (05/24/13) kingkong
The thing started when I wanted to use nmap, and it kept complaining that I had no route to an internal host, to which i could ping and reach without issue outside of nmap... So I went to try and update my nmap version.. I tryed both ipkg-opt and opkg, to which I noticed both were pointing to different repos...
root@DD-WRT:~# opkg update
Updated list of available packages in /var/opkg-lists/openwrt.
root@DD-WRT:~# ipkg-opt update
Updated list of available packages in /opt/lib/ipkg/lists/optware
When I installed nmap using opkg it seemed to install a slightly newer version but not the latest, I was expecting 6.x.x and after installing it failed to work, such as so..
root@DD-WRT:~# opkg install nmap
Installing nmap (5.51-4) to root...
Installing libnl (1.1-4) to root...
Installing libpcap (1.0.0-2) to root...
Installing libstdcpp (4.3.3+cs-43.32) to root...
-bash: /opt/bin/nmap: No such file or directory
root@DD-WRT:~# find / -iname *nmap*
root@DD-WRT:~# echo $PATH
which installed nmap under a dir that is not in roots PATH, so i tryed directly..
/opt/usr/bin/nmap: can't resolve symbol '__newlocale'
so I went back to using the ipkg-opt version but that just hangs or can't find a route...
SOOO first question, which Packager Installer should one being using opkg or ipkg-opt??
Second, how does one manage the repositories to stay and get the most current build of distributed services?