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

You think you have found a bug? Let us know about it.

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

Postby Bashi » 7. Feb 2012, 16:52

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.
Bashi
 
Posts: 1
Joined: 7. Feb 2012, 16:46

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

Postby mimosa » 7. Feb 2012, 17:10

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.
User avatar
mimosa
 
Posts: 1766
Joined: 25. May 2010, 17:02

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

Postby Shador » 7. Feb 2012, 17:33

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
Shador
Salix Warrior
 
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

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

Postby gapan » 7. Feb 2012, 18:09

This has been fixed already, some months ago actually. Please upgrade your system.
Code: Select all
slapt-get -u
slapt-get --upgrade
Image
User avatar
gapan
Salix Wizard
 
Posts: 3481
Joined: 6. Jun 2009, 17:40


Return to Bugs