[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] PKG install problem on RaQ550



Hi all,

I've run into a weird problem on a RaQ550: It won't take any unsigned PKG 
files. 

The box has no modifications all patches have been installed. A run of "rpm 
-Va" did not return any unexpected file changes, this box appears to be in 
tiptop shape.

However, when I try to install one of my own PKGs (or one from PKGmaster.com - 
like OpenWebmail), then the GUI reports that the package failed the integrity 
test.

/home/tmp/.swupdate/package.log has just two lines in it, as shown in the 
example below:

--- unpacking ---
/home/packages/RaQ550-phpmyadmin-2.3.2.pkg: (-1 nosig)

After an hour of troubleshooting I traced the problem all the way to 
/usr/sausalito/perl/SWUpdate.pm - which is the Perl module responsible for 
the installation of PKGs.

The subroutine "swuptate_verifyuntar" tries to determine if a PKG is signed, 
if it's a gzipped Tarball or just a Tarball. According to its findings it 
takes the PKG apart and stores the files found within into a temporary 
directory.

It looks like this RaQ550 cannot install any PKGs which are not signed with 
GPG, which is pretty weird.

By temporarily commenting out line 279 in /usr/sausalito/perl/SWUpdate.pm I 
could finally install my unsigned PKG file. 

However, it strikes me as odd that this RaQ won't take any unsigned PKGs 
anymore. 

Has anyone run into the same problem so far? Any feedback welcome.

Thanks!

-- 

With best regards,

Michael Stauber
mstauber@xxxxxxxxxxxxxx
Unix/Linux Support Engineer