[PlanetCCRMA] APT problem?

Kjetil S. Matheussen k.s.matheussen@notam02.no
Fri Mar 21 03:02:01 2003


On Fri, 21 Mar 2003, Steve Harris wrote:

> When I try to upgrade on my laptop, I get the following error.
>
> [root@dumuzi swh]# apt-get dist-upgrade
> Reading Package Lists... Done
> Collecting File Provides... Done
> Building Dependency Tree... Done
> Calculating Upgrade... Done
> The following packages will be upgraded
>   ImageMagick-devel cdda2wav cdrecord cdrecord-devel ecasound gettext hotplug
>   liblrdf libsamplerate libsndfile mjpegtools mkisofs mpg321 noteedit pygtk
>   pygtk-libglade tapiir timidity++ tse3 wxGTK-devel xcdroast
> The following NEW packages will be installed:
>   timidity-eawpats
> 21 packages upgraded, 1 newly installed, 0 removed and 0 not upgraded.
> Need to get 0B/42.4MB of archives. After unpacking 29.9MB will be used.
> Do you want to continue? [Y/n]
> Executing RPM (-Uvh)...
> Preparing...                ###########################################
> [100%]
>         package pygtk-0.6.9-3 is already installed
>         package pygtk-libglade-0.6.9-3 is already installed
> E: Sub-process /bin/rpm returned an error code (41)
>
> I get something similar on my studio PC too (both RH8).
>
> pygtk-* does really appear to be installed:
>
> [root@dumuzi swh]# rpm -qa | grep pygtk-
> pygtk-libglade-0.6.9-3
> pygtk-0.6.9-3
>
> So I'm not sure why APT wants to install it. I've tried rpm --rebuild,
> purged the apt caches and so on and it doesn't seem to have helped.
>

Same problem at Notam. I had to do this on all the machines:

rpm -i --force /var/cache/apt/archives/pygtk_1%3a0.6.9-3_i386.rpm
rpm -i --force /var/cache/apt/archives/pygtk-libglade_1%3a0.6.9-3_i386.rpm

Seems to work.


--