In section: Restoring original distribution repositories
Code to reincorporate previously saved files as layed out in doc is not working as shown below:
(base) tom@mydesktop: ~ $ sudo for file in /etc/zypp/repos.d/*.rpmsave; do echo mv $file `echo $file | sed -s "s/\.rpmsave//"`; done
bash: syntax error near unexpected token `do'
Would someone suggest a revision. If an error on doc page, it should be fixed for the next guy.
Now you informed me that I can make the fix, I will.
First, I need a revision of the line of code though.
I don’t know where bash got the reverse-apostrophe in front of the do. Never saw that. No reverse-apostrophe in the code line.
I reinstalled the original repos manually by re-entering them through yast software. I removed the debug repos that the repo services installed. All works fine.