1

Currently i am using an instance on Google cloud platform and in Ubuntu 16.04 I am able to install p7zip to extract .7z files, but on Ubuntu 18.04 I get the following error:

Package p7zip-full is not available, but is referred to by another
package. This may mean that the package is missing, has been
obsoleted, or is only available from another source

E: Package 'p7zip-full' has no installation candidate

Bearing in mind that I do not have a GUI, do I have any other option to extract .7z archives in Ubuntu 18.04?

I tried to install it using this command

sudo apt-get install p7zip-full

But it does not work for 18.04.

marked as duplicate by muru, karel, N0rbert, Fabby, Zanna Aug 20 '18 at 16:44

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    pz7ip-full is in universe. Enable it and try again. – muru Aug 19 '18 at 7:05
  • Ok.I will try this and then i will let you guys know.Thank you for all the help – Dhruv Marwha Aug 20 '18 at 9:06
  • @DhruvMarwha : did you try? is there any way to fix this error? – Luke Feb 20 at 15:46
  • @DhruvMarwha: here is my log: gist.github.com/longtth/8316a73cbe4f212cb550e1d4c91498f1 – Luke Feb 20 at 15:47
  • 1
    @Luke i saw your error.In the above link given by you,i have posted something.Do check it. – Dhruv Marwha Feb 20 at 17:44