Network connection to install packages

Swami s.swamyn at gmail.com
Sat Feb 13 01:19:10 UTC 2016


Hi Developers,
I tried snappy installation using a generic x86 image, where I created a
bootable disk in a USB disk and plugged into my linux machine I had. I
modified the BIOS menu to use USB, instead of internal HDD image and the
Ubuntu Snappy booted up and came. I was able to try few commands as
mentioned above, such as

$ sudo snappy --help
$ sudo snappy list -v
$ sudo snappy info

But, when I try connecting to network, it is not able to find a package or
install a package. I have a physical ethernet connection to the main linux
machine, as well as I tried connecting/configuring a USB-Ethernet
connector, as USB keyboard was working. I modified the
/etc/network/interfaces to add the eth2 connection information for the
USB2Ethernet connection to connect to the server, so I can quickly check if
there is an active internet connection, and install few packages. When I
tried those, I am getting this error and tried other options, which didn't
help solve the problem. Anybody, any insights to resolve this?

$sudo snappy install docker
shows
Installing docker
docker failed to install: snappy package not found

$sudo snappy list -u
shows
Get
https://system-image.ubuntu.com//ubuntu-core/15.04/stable/generic_amd64/index.json:
dial tcp: lookup system-image.ubuntu.com: no such host

ping localhost was success, but ping to external ip address or servers, it
couldn't find. Example:
ping ubuntu.com
ping: unknown host ubuntu.com

Thinking its a name resolution issue, looked at the resolv.conf file, but
it has nothing and empty. Can you please provide some insights or is it
possible to install packages using a generic x86 image that I got from:
https://developer.ubuntu.com/en/snappy/start/#try-x86 or not, so I can
quickly try how a package installation looks like and will I be able to
invoke a package using this generic barebone x86 device, which is nothing
but my linux machine running Ubuntu.?

Thanks,
Swami
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20160212/36e07ed8/attachment.html>


More information about the snappy-devel mailing list