While working on an online tutorial I probably messed up my etc/apt/ folder as every time I use apt or apt-get command I get the following error:
E: Type '&&' is not known on line 1 in source list /etc/apt/sources.list.d/kubernetes.list
E: The list of sources could not be read.
E: Type '&&' is not known on line 1 in source list /etc/apt/sources.list.d/kubernetes.list
E: The list of sources could not be read.
Any help please
cat /etc/apt/sources.list.d/kubernetes.list
– wjandrea Dec 20 '18 at 18:44