Bug in Sourcery: "ERROR: Can't open package file (*.tar.gz)"

You think you have found a bug? Let us know about it.
Post Reply
Bashi
Posts: 1
Joined: 7. Feb 2012, 16:46

Bug in Sourcery: "ERROR: Can't open package file (*.tar.gz)"

Post by Bashi »

Hello,

I THINK this is a bug, here are the details. I tried to install the package "compiz-plugins-main-0.8.8" but I got the following the error:

Code: Select all

ERROR: unknown package type: compiz-plugins-main-0.8.8.tar.gz
ERROR: Can't open package file. (compiz-plugins-main-0.8.8.tar.gz)
ERROR: Package upgrade failed!
I installed the package manually from Slackbuilds and it worked flawlessly (i.e. using the Slackbuilds script and then installing via installpkg).

I've got the complete build log, if anyone wants me to post it.

EDIT: I forgot to include some additional information regarding my setup. Running Salix 13.37 32-bit with LXDE. I installed Salix last night using the FULL option; the only other packages that have been installed on the system are Emacs and the dependencies required for Emerald.

EDIT: compiz-plugins-extra-0.8.8 also fails in the same manner.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Bug in Sourcery: "ERROR: Can't open package file (*.tar.

Post by mimosa »

hmm, it worked here, even though I didn't follow the instructions in the README suggesting to have built certain things first before that package.

Also, that's not the package name I have:

Code: Select all

Slackware package /usr/src/slapt-src/libraries/compiz-plugins-main/compiz-plugins-main-0.8.8-i486-1_SBo.txz created.
EDIT Did you try and install the package manually after Sourcery built it, or is the message you posted from Sourcery's output? Because that looks like the wrong file. As far as I know, Salix packages are always .txz files.

You could try something like

Code: Select all

#find / -name compiz-plugins-main-0.8.8*
and see if that turns up anything.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Bug in Sourcery: "ERROR: Can't open package file (*.tar.

Post by Shador »

First of all packages are built in /usr/src/slapt-src by default so it should be pretty easy to find those files. Yes, in the case of the op the wrong package seems to have been installed, but that doesn't seem to be a general problem as for mimosa it worked. Maybe the build went wrong and thus slapt-src fell back to installing the only available archive?
Image
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Bug in Sourcery: "ERROR: Can't open package file (*.tar.

Post by gapan »

This has been fixed already, some months ago actually. Please upgrade your system.

Code: Select all

slapt-get -u
slapt-get --upgrade
Image
Image
Post Reply