i'm new linux based os's (and new snap7). trying install snap7 library on ubuntu machine following instructions @ - http://python-snap7.readthedocs.io/en/latest/installation.html. i'm getting following errors during 3rd step
e: unable locate package libsnap71 e: unable locate package libsnap7-dev
i'm not sure how manually install , i'm unsure how fix installation issue advice whould fantastic :)
below copy of log after running "add repository" command:
administrator@*pc-name*:~/documents/*folder*$ sudo apt-get update hit:1 http://au.archive.ubuntu.com/ubuntu xenial inrelease get:2 http://au.archive.ubuntu.com/ubuntu xenial-updates inrelease [95.7 kb] hit:3 http://au.archive.ubuntu.com/ubuntu xenial-backports inrelease get:4 http://au.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dep-11 metadata [299 kb] ign:5 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial inrelease get:6 http://security.ubuntu.com/ubuntu xenial-security inrelease [94.5 kb] get:7 http://au.archive.ubuntu.com/ubuntu xenial-updates/main dep-11 64x64 icons [184 kb] ign:8 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial release ign:9 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main amd64 packages ign:10 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main i386 packages ign:11 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main packages ign:12 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main translation-en_au ign:13 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main translation-en ign:14 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main amd64 dep-11 metadata ign:15 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main dep-11 64x64 icons ign:9 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main amd64 packages ign:10 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main i386 packages ign:11 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main packages ign:12 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main translation-en_au ign:13 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main translation-en ign:14 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main amd64 dep-11 metadata ign:15 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main dep-11 64x64 icons ign:9 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main amd64 packages ign:10 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main i386 packages ign:11 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main packages ign:12 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main translation-en_au ign:13 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main translation-en ign:14 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main amd64 dep-11 metadata ign:15 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main dep-11 64x64 icons ign:9 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main amd64 packages ign:10 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main i386 packages ign:11 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main packages ign:12 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main translation-en_au ign:13 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main translation-en ign:14 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main amd64 dep-11 metadata ign:15 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main dep-11 64x64 icons ign:9 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main amd64 packages ign:10 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main i386 packages ign:11 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main packages ign:12 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main translation-en_au ign:13 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main translation-en ign:14 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main amd64 dep-11 metadata ign:15 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main dep-11 64x64 icons err:9 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main amd64 packages 404 not found ign:10 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main i386 packages ign:11 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main packages ign:12 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main translation-en_au ign:13 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main translation-en ign:14 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main amd64 dep-11 metadata ign:15 http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial/main dep-11 64x64 icons fetched 673 kb in 13s (50.9 kb/s) reading package lists... done w: repository 'http://ppa.launchpad.net/gijzelaar/snap7/ubuntu xenial release' not have release file. n: data such repository can't authenticated , therefore potentially dangerous use. n: see apt-secure(8) manpage repository creation , user configuration details. e: failed fetch http://ppa.launchpad.net/gijzelaar/snap7/ubuntu/dists/xenial/main/binary-amd64/packages 404 not found e: index files failed download. have been ignored, or old ones used instead. administrator@*pc-name*:~/documents/*folder*$ sudo apt-get install libsnap71 libsnap7-dev reading package lists... done building dependency tree reading state information... done e: unable locate package libsnap71 e: unable locate package libsnap7-dev
please let me know if need more information make proper assessment.
you missed part on page linked to:
if using ubuntu can use ubuntu packages our launchpad ppa. install: $ sudo add-apt-repository ppa:gijzelaar/snap7 $ sudo apt-get update $ sudo apt-get install libsnap71 libsnap7-dev
execute 3 commands in order , should fine. however, software older system, need edit /etc/apt/sources.d
file created after first step , replace xenial
(or yaketty
) trusty
. ppa has builds older releases.
Comments
Post a Comment