* On 2014-11-06 at 00:40 GMT, John Thurston via smartos-discuss wrote: > I'm a SmartOS newbie who is trying to figure out what might be interfering > with pkgin behavior. > > I can "pkgin -y install nano" and everything works as expected. But if I > "pkgin -y install nginx-1.6.0", I see the following:
For it to work with one package but not another is strange, and I'm wondering if nano is simply cached - you could try removing the file from /var/db/pkgin/cache, deleting the nano package then trying again to make sure. > where it sits... and sits.... and sits. If I fire up a snoop session, I can > see some HTTP activity and some error-responses to DNS requests. But after a > few hours, it is still sitting and I still don't have nginx installed. I've not seen this and am unaware of reports of it happening for others, without a full trace it's hard to debug what might be going wrong. If this continues then I can provide instructions on building a debug libfetch to get additional logging. > I'm able to get the packages with wget in less than a second > >wget > >http://pkgsrc.joyent.com/packages/SmartOS/2014Q2/x86_64/All/nginx-1.6.0.tgz > > so what is the hangup with pkgin? Any tips on where to look would be > appreciated. pkgin uses libfetch as its HTTP backend, the same as pkg_add, so you could verify that it might be a possible libfetch bug by trying: $ pkg_add nginx-1.6.0 instead to see if that fails in the same way as pkgin. Otherwise normal network analysis using snoop for the lifetime of the process. > Alternatively, is there an easy syntax for pkgin by which I can just > wget the tgz files and point pkgin at them in my local filesystem? You can download them using any utility and then run: $ pkg_add /path/to/file.tgz though you will need to handle dependencies yourself if you want to do this with a package which needs additional packages (pkg_add will look in the same directory as the source package). > (By way of disclosure, I am a two-day-old SmartOS newbie but I'm pretty > comfortable with Solaris 10, zones, zfs, and pkgutil.) Welcome ;) -- Jonathan Perkin - Joyent, Inc. - www.joyent.com ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
