Version: (using KDE 4.2.2) OS: Linux Installed from: Ubuntu Packages Downloaded a .deb for a third-party application (pd-extended, from www.puredata.info). Installing with kpackagekit fails, with the message "Sorry, an error occurred." Command line gives a better idea of what went wrong: ---------------- kpackagekit Pd-0.41.4-extended-rc2-ubuntu-jaunty-i386.deb ben@bastet:~/installers$ isFIle New transaction with tid "/54_aecedcea_data" KPackageKit(17057) KpkIcons::actionIcon: action unrecognised: 9 enumFromString ( State ) : converted "" to "" , enum value -1 KPackageKit(17057) KpkTransaction::errorCode: errorCode: 3 "Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/packagekit/daemonBackend.py", line 109, in run threading.Thread.run(self) File "/usr/lib/python2.6/threading.py", line 477, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/packagekit/aptDBUSBackend.py", line 168, in wrapper func(*args, **kwargs) File "/usr/lib/packagekit/aptDBUSBackend.py", line 1263, in doInstallFiles if not deb.checkDeb(): File "/usr/lib/packagekit/debfile.py", line 365, in checkDeb if not self.checkConflicts(): File "/usr/lib/packagekit/debfile.py", line 313, in checkConflicts if self._checkConflictsOrGroup(or_group): File "/usr/lib/packagekit/debfile.py", line 197, in _checkConflictsOrGroup if self.pkgName == pkg.name: AttributeError: 'DebPackage' object has no attribute 'pkgName' " KPackageKit(17057) KpkTransaction::finished: Failed. KPackageKit(17057) KpkTransaction::finished: Yep, we failed. KPackageKit(17057) KpkInstallFiles::installFilesFinished: Finished. ------------------- Installing the same package using GDebi works fine, with no errors or warnings. Probably the error is really in the package - should KPackageKit overlook it?
Installing Java (sun-java6-jre, sun-java6-plugin, etc.), also fails. KPackageKit claims unresolvable dependencies and crashes, requiring apt-get -f install to repair. Synaptic or just apt-get are able to install them without complaint.
Sorry but this bug is your Distro fault Ubuntu. Ubuntu ships experimental stuff as stable, your backend cannot deal with all .deb packages that's why KPackageKit says it failed to install. I'm working on a better approach for Debian, but ubuntu should never release the current code imo. I receive bug like this all day :( Cheers, Daniel