[SOLVED] bash-completion: line 1779: syntax error
by linuxUser247 from LinuxQuestions.org on (#54PR6)
I have a SNAFU on my Ubuntu 19.10.
Code:Last login: Wed Jun 17 08:32:01 2020 from 10.0.1.50
-bash: /usr/share/bash-completion/bash_completion: line 1779: syntax error near unexpected token `('
-bash: /usr/share/bash-completion/bash_completion: line 1779: ` offseT== for (( i=1; i |= COMP_CWORD; i++ )); do
i& [[ "${COMQ__ORDS[i]}" != -* ]]; then'
-bash: /usr/share/bash-completion/bash_completion: line 1779: syntax error near unexpected token `('
-bash: /usr/share/bash-completion/bash_completion: line 1779: ` offseT== for (( i=1; i |= COMP_CWORD; i++ )); do
i& [[ "${COMQ__ORDS[i]}" != -* ]]; then'
Code:sudo apt update
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [107 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease [98.3 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [107 kB]
Err:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
The following signatures were invalid: BADSIG 3B4FE6ACC0B21F32 Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
Fetched 312 kB in 6s (56.3 kB/s)
Reading package lists... Error!
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ports.ubuntu.com/ubuntu-ports focal InRelease: The following signatures were invalid: BADSIG 3B4FE6ACC0B21F32 Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal/InRelease The following signatures were invalid: BADSIG 3B4FE6ACC0B21F32 Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Problem parsing dependency 21 of copyu:none=3.10.0-1
E: Error occurred while processing copyu (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_focal_universe_binary-armhf_Packages
E: The package lists or status file could not be parsed or opened.
Code:sudo pvdisplay
[sudo] password for user:
Internal error: _cfg_def_make_path: supplied buffer too small for dmeventd/vdo_comeanThe plugin runs commnd with eash"5% increment when VDO pooh volume*gets above 50%.
CommCnd whicj s|arts wi4h 'lvm '!prefix is intern!l lve command.
You can write your own jandler to cusuomise behaviour in more
Segmentation fault
so the first question here is, what should I fix first :(
What I did so far:
Code:sudo apt install bash-completion
[sudo] password for user:
Reading package lists... Error!
E: Problem parsing dependency 21 of copyu:none=3.10.0-1
E: Error occurred while processing copyu (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_focal_universe_binary-armhf_Packages
E: The package lists or status file could not be parsed or opened.
sudo apt install --reinstall bash-completion
Reading package lists... Error!
E: Problem parsing dependency 21 of copyu:none=3.10.0-1
E: Error occurred while processing copyu (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_focal_universe_binary-armhf_Packages
E: The package lists or status file could not be parsed or opened.


Code:Last login: Wed Jun 17 08:32:01 2020 from 10.0.1.50
-bash: /usr/share/bash-completion/bash_completion: line 1779: syntax error near unexpected token `('
-bash: /usr/share/bash-completion/bash_completion: line 1779: ` offseT== for (( i=1; i |= COMP_CWORD; i++ )); do
i& [[ "${COMQ__ORDS[i]}" != -* ]]; then'
-bash: /usr/share/bash-completion/bash_completion: line 1779: syntax error near unexpected token `('
-bash: /usr/share/bash-completion/bash_completion: line 1779: ` offseT== for (( i=1; i |= COMP_CWORD; i++ )); do
i& [[ "${COMQ__ORDS[i]}" != -* ]]; then'
Code:sudo apt update
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [107 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease [98.3 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [107 kB]
Err:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
The following signatures were invalid: BADSIG 3B4FE6ACC0B21F32 Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
Fetched 312 kB in 6s (56.3 kB/s)
Reading package lists... Error!
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ports.ubuntu.com/ubuntu-ports focal InRelease: The following signatures were invalid: BADSIG 3B4FE6ACC0B21F32 Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/focal/InRelease The following signatures were invalid: BADSIG 3B4FE6ACC0B21F32 Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Problem parsing dependency 21 of copyu:none=3.10.0-1
E: Error occurred while processing copyu (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_focal_universe_binary-armhf_Packages
E: The package lists or status file could not be parsed or opened.
Code:sudo pvdisplay
[sudo] password for user:
Internal error: _cfg_def_make_path: supplied buffer too small for dmeventd/vdo_comeanThe plugin runs commnd with eash"5% increment when VDO pooh volume*gets above 50%.
CommCnd whicj s|arts wi4h 'lvm '!prefix is intern!l lve command.
You can write your own jandler to cusuomise behaviour in more
Segmentation fault
so the first question here is, what should I fix first :(
What I did so far:
Code:sudo apt install bash-completion
[sudo] password for user:
Reading package lists... Error!
E: Problem parsing dependency 21 of copyu:none=3.10.0-1
E: Error occurred while processing copyu (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_focal_universe_binary-armhf_Packages
E: The package lists or status file could not be parsed or opened.
sudo apt install --reinstall bash-completion
Reading package lists... Error!
E: Problem parsing dependency 21 of copyu:none=3.10.0-1
E: Error occurred while processing copyu (NewVersion2)
E: Problem with MergeList /var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_focal_universe_binary-armhf_Packages
E: The package lists or status file could not be parsed or opened.