root:could not open file '/etc/apt/sources.list'

That’s actually just a follow up issue.

The real issue probably is that the script you’re executing - without verification of software signatures - runs some program which is not installed.

See also: