! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Debian packages cannot be extracted
Status:
RESOLVED: WORKSFORME
Product:
Thunar-archive-plugin
Component:
General

Comments

Description Mathias Brodala 2007-01-02 10:53:20 CET
User-Agent:       Opera/9.10 (X11; Linux i686; U; de)
Build Identifier: 

Debian packages do have their own MIME type (application/x-deb), but they are basically ar (application/x-archive) archives. Thunar’s archive plugin should know this and extract them if the ar binary is installed.

Reproducible: Always

Steps to Reproduce:
1. Get any debian package
2. Try to extract from within Thunar

Actual Results:  
Thunar says that there could no supported archive manager be found and cancels.

Expected Results:  
Extract the Debian package.
Comment 1 Benedikt Meurer editbugs 2007-01-02 11:26:51 CET
The archive plugin doesn't extract files itself, but uses the preferred archive manager to do this. There's no fallback mechanism.

BTW: Xarchiver supports .deb files IIRC.
Comment 2 Mathias Brodala 2007-01-02 11:37:32 CET
> The archive plugin doesn't extract files itself, but uses the preferred archive
> manager to do this. There's no fallback mechanism.

Alright, then how can I tell the plugin that it should use the ar binary for Debian packages?

> BTW: Xarchiver supports .deb files IIRC.

Good to know, but I’m using file-roller.
Comment 3 Benedikt Meurer editbugs 2007-01-02 11:39:08 CET
As said, you cannot. It'll use the preferred archive manager.
Comment 4 Mathias Brodala 2007-01-02 11:40:56 CET
> > > The archive plugin doesn't extract files itself, but uses the preferred archive
> > > manager to do this. There's no fallback mechanism.
> 
> > Alright, then how can I tell the plugin that it should use the ar binary for
Debian packages?
> 
> As said, you cannot. It'll use the preferred archive manager.

So that means that the plugin will use file-roller in my case? But this one can extract Debian packages directly.
Comment 5 Benedikt Meurer editbugs 2007-01-02 11:42:14 CET
Yes, file-roller will be used in your case. What doesn't work exactly?
Comment 6 Mathias Brodala 2007-01-02 11:45:48 CET
> What doesn't work exactly?

I do a right-click on the *.deb package and choose „Extract here“. Then I get an error saying something like „Files could not be extracted. No supported archive manager found.“

But file-roller is definitely set as preferred archive manager, what „exo-open my-archive.deb“ proves.
Comment 7 Benedikt Meurer editbugs 2007-01-08 16:22:54 CET
Hm, I cannot reproduce that here. "Extract here" on .deb files launches file-roller as expected.
Comment 8 Mathias Brodala 2007-01-08 16:27:21 CET
> Hm, I cannot reproduce that here. "Extract here" on .deb files launches
> file-roller as expected.

Now that’s weird. What does „exo-open archive.deb“ do on your machine? Where does the archive plugin read its settings from? Maybe there’s a wrong setting somewhere.
Comment 9 Benedikt Meurer editbugs 2007-01-08 16:38:55 CET
Launches file-roller. The settings are read from the MIME database, i.e. the plugin searches for an archiver that claims to be able to open application/x-deb.
Comment 10 Mathias Brodala 2007-01-08 16:53:14 CET
> The settings are read from the MIME database, i.e. the
> plugin searches for an archiver that claims to be able to open
> application/x-deb.

That is it! After editing ~/.local/share/applications/defaults.list and adding the following line, „Extract here“ extracts Debian packages without any noise:

application/x-deb=file-roller.desktop


Thank you very much!

Bug #2702

Reported by:
Mathias Brodala
Reported on: 2007-01-02
Last modified on: 2009-11-09

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information