Repos mess up after upgrade script

W: Duplicate sources.list entry http://ppa.launchpad.net/netrunner-os/frontier-14-updates/ubuntu/ trusty/main amd64 Packages (/var/lib/apt/lists/ppa.launchpad.net_netrunner-os_frontier-14-updates_ubuntu_dists_trusty_main_binary-amd64_Packages) W: Duplicate sources.list entry http://ppa.launchpad.net/netrunner-os/frontier-14-updates/ubuntu/ trusty/main i386 Packages (/var/lib/apt/lists/ppa.launchpad.net_netrunner-os_frontier-14-updates_ubuntu_dists_trusty_main_binary-i386_Packages)
[php]:~$ grep -r frontier-14-updates /etc/apt
/etc/apt/preferences.d/10netrunner.pref:Pin: release o=LP-PPA-netrunner-os-frontier-14-updates
/etc/apt/sources.list.bak:deb http://ppa.launchpad.net/netrunner-os/frontier-14-updates/ubuntu trusty main
/etc/apt/sources.list.bak:deb-src http://ppa.launchpad.net/netrunner-os/frontier-14-updates/ubuntu trusty main
/etc/apt/sources.list.d/official-package-repositories.list:deb http://ppa.launchpad.net/netrunner-os/frontier-14-updates/ubuntu trusty main
/etc/apt/sources.list:deb http://ppa.launchpad.net/netrunner-os/frontier-14-updates/ubuntu trusty main
/etc/apt/sources.list:deb-src http://ppa.launchpad.net/netrunner-os/frontier-14-updates/ubuntu trusty main
[/php]

Where exactly correct way contain this repo?

I think the problem is produced because you have the frontier sourceslist lines also in /etc/apt/sources.list which shouldn’t be.(so delete them. You need root rights for this. So kdesu kate might help opening this file) You can also remove the sources.list.bak file alltogether as it is just a backup file.