[PlanetCCRMA] E: Sub-process /bin/rpm returned an error code (1)

Fernando Lopez-Lezcano nando@ccrma.Stanford.EDU
Thu Dec 2 13:21:01 2004


On Thu, 2004-12-02 at 13:02, samuraiskillz@blueyonder.co.uk wrote:
> thanks for tha alsa help earlier in the week. 
> 
> I am in the process of installing it again on a batch of machines ready for 
> a pd workshop we a facilitating here, newcastle uk.
> 
> And I am getting the following problems at the apt-get dist-upgrade stage 
> on one of my machines:--
> 
> warning: /var/cache/apt/archives/tzdata_2004b-1.fc1_noarch.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
> error: /var/cache/apt/archives/glibc-common_2.3.2-101.4_i386.rpm: V3 DSA signature: BAD, key ID 4f2a6fd2
> error: /var/cache/apt/archives/glibc-common_2.3.2-101.4_i386.rpm cannot be installed
> warning: /var/cache/apt/archives/cups-libs_1%3a1.1.19-13.2.legacy_i386.rpm: V3 DSA signature: NOKEY, key ID 731002fa
> warning: /var/cache/apt/archives/redhat-menus_0.40-1.2.rhfc1.ccrma_noarch.rpm: V3 DSA signature: NOKEY, key ID 68d9802a
> E: Sub-process /bin/rpm returned an error code (1)
>
> # any ideas what i have done? It worked fine on an identical machine!

[not identical :-]

Looks like the apt you have installed is insisting on valid signatures
before installing packages. You have to either install the GPG keys for
the repositories you are using, get an apt that does not mandate keys or
tell apt through configuration that it should ignore keys. 

Check which repositories you have in /etc/apt/sources.list (or the
equivalent), get their keys and import them into rpm ("rpm --import
RPM-GPG-KEY.txt" or whatever).

Planet CCRMA's key is here:
http://ccrma.stanford.edu/planetccrma/apt/configuration/all/RPM-GPG-KEY.planetccrma.txt

Hmmm, this is fc1? Some old Planet CCRMA packages may not be signed...
-- Fernando