re install Sofware Ubuntu Center

Asked by Rufaida Ismael on 2017-03-24

I try to execute the command "sudo apt-get update; sudo apt-get --reinstall software-center" but the below response is follow:

"W: GPG error: http://private-ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E131728675254D99
E: Command line option --reinstall is not understood"

First: I uninstall "View File" in Software Ubuntu Center after which my Software Ubuntu Center deleted as well.

please help me reinstall back my Software Ubuntu Center

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
2017-03-24
Last reply:
2017-03-24
Manfred Hampl (m-hampl) said : #1

Two answers:

1. the apt-get commands needs an operation as first parameter, but "sudo apt-get --reinstall software-center" does not have one, I assume what you want is "sudo apt-get install --reinstall software-center"

2. NO_PUBKEY is an indication that you are missing a certain cryptographic key for verification. One possible solution is downloading and installing the key with
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E131728675254D99

Thank you https://launchpad.net/~m-hampl

Suggetion 1: after executing the command....
"E: Invalid operation install--reinstall
Suggestion 2: after executing the command...
"usage: gpg [options] [filename]"

Manfred Hampl (m-hampl) said : #4

You mistyped the first command, there has to be a space character between "install" and "--reinstall".
You better use copy and paste instead of trying to retype the commands.

And for the second command please provide the full output (including the command that you have) that we can verify what went wrong.

Can you help with this problem?

Provide an answer of your own, or ask Rufaida Ismael for more information if necessary.

To post a message you must log in.