Page 1 of 1

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

Posted: 7. Feb 2012, 16:52
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.

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

Posted: 7. Feb 2012, 17:10
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.

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

Posted: 7. Feb 2012, 17:33
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?

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

Posted: 7. Feb 2012, 18:09
by gapan
This has been fixed already, some months ago actually. Please upgrade your system.

Code: Select all

slapt-get -u
slapt-get --upgrade