Unable to extract 7z archive

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
DoubleA

Unable to extract 7z archive

Post by DoubleA »

First time linux user here. Just installed Mint 14 KDE & unable to extract all 7z archives. Any tips will be very much appreciated. Thanks in advance.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29459
Joined: Wed Jul 06, 2011 3:58 am

Re: Unable to extract 7z archive

Post by xenopeek »

To clarify; you are able to extract some 7z archives, but not some others? is there anything special about those, like do they have a password or something?
Image
DoubleA

Re: Unable to extract 7z archive

Post by DoubleA »

None of the .7z files can be extracted at all. ZIP files extracted fine though. All archive files was created in WinXP with 7-zip.
User avatar
xenopeek
Level 25
Level 25
Posts: 29459
Joined: Wed Jul 06, 2011 3:58 am

Re: Unable to extract 7z archive

Post by xenopeek »

Okay, gotcha :) Seems 7z support is not preloaded on the KDE version, but you can easily fix that. Install the package p7zip-full to add full support for 7z files. Either use Software Manager or Synaptic to install it, or do:

Code: Select all

apt install p7zip-full
Image
DoubleA

Re: Unable to extract 7z archive

Post by DoubleA »

Below is the output from the console :-

Code: Select all

phoebe@phoebe-ThinkPad-T60 /media/280GB $ apt install p7zip-full
[sudo] password for phoebe: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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
Another thing which I think might be ralated is that the 'Update Manager' seems to have some problem retrieving packages from the source as it shows the error below :-

Code: Select all

Failed to fetch http://archive.canonical.com/ubuntu/dists/nadia/partner/binary-i386/Packages  404  Not Found [IP: 91.189.92.150 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/nadia-security/main/binary-i386/Packages  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/nadia-security/restricted/binary-i386/Packages  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/nadia-security/universe/binary-i386/Packages  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://security.ubuntu.com/ubuntu/dists/nadia-security/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/nadia/main/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/nadia/restricted/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/nadia/universe/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/nadia/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]
Failed to fetch http://packages.medibuntu.org/dists/nadia/free/binary-i386/Packages  404  Not Found
Failed to fetch http://packages.medibuntu.org/dists/nadia/non-free/binary-i386/Packages  404  Not Found
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/nadia-updates/main/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/nadia-updates/restricted/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/nadia-updates/universe/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]
Failed to fetch http://archive.ubuntu.com/ubuntu/dists/nadia-updates/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.92.201 80]
Some index files failed to download. They have been ignored, or old ones used instead.
User avatar
xenopeek
Level 25
Level 25
Posts: 29459
Joined: Wed Jul 06, 2011 3:58 am

Re: Unable to extract 7z archive

Post by xenopeek »

Something is wrong with your repositories, with you using the Linux Mint release name on the Ubuntu repositories (those expect a Ubuntu release name). The following command should correct this:

Code: Select all

sudo sed -i 's/nadia/quantal/' /etc/apt/sources.list.d/medibuntu.list /etc/apt/sources.list.d/ubuntu.list
Then update your repositories manually:

Code: Select all

apt update
If there are any errors remaining, please share those here and include also the output of:

Code: Select all

inxi -r
If no more errors, go ahead and try again to install p7zip-full.
Image
Locked

Return to “Beginner Questions”