[Bug 347327] Re: crashes when installing packages from non ascii folders
This bug was fixed in the package packagekit - 0.4.9+20090825-0ubuntu1 --- packagekit (0.4.9+20090825-0ubuntu1) karmic; urgency=low * New upstream snapshot provding a lot of APT backend improvements: - Allow to install updates which require the installation of additional packages. Updates depending on the removal of a package are still blocked (LP: #342671, LP: #374011, LP: #374011) - Warn about the installation of untrusted package (LP: #256245) - Don't crash in APT post update hook if system D-Bus daemon isn't running (LP: #388623) - Don't try to estimate a download progress during cache updating, since APT reports only a forth- and backwards running progress. (LP: #348053) - Support for python-apt 0.7.12 (LP: #415993) - Translated package descriptions * debian/patches: - Remove ignore_packages_in_conffile (Merged upstream) - Remove fix_typo (Merged upstream) - Add fix_unicode: Handle the encoding messages via stdin/stdout correctly (LP: #396513) - Add fix_unicode_debfile: Convert the path of the local file which should be installed to the correct encoding (LP: #347327) * debian/libpackagekit-qt-dev.install: Fix install location of CMake module. Thanks to Sveinung Kvilhaugsvik (LP: #345706) * debian/control: Fix spelling of Qt. Thanks to Sveinung Kvilhaugsvik (LP: #378419) -- Sebastian Heinlein glat...@ubuntu.com Tue, 25 Aug 2009 13:03:26 +0200 ** Changed in: packagekit (Ubuntu) Status: Fix Committed = Fix Released -- crashes when installing packages from non ascii folders https://bugs.launchpad.net/bugs/347327 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 347327] Re: crashes when installing packages from non ascii folders
** Changed in: packagekit (Ubuntu) Status: Confirmed = Fix Committed -- crashes when installing packages from non ascii folders https://bugs.launchpad.net/bugs/347327 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 347327] Re: crashes when installing packages from non ascii folders
Could Savvas Radevic and Jimhu or others who have had the same problem please confirm whether this patch works or not? Thankyou! -- crashes when installing packages from non ascii folders https://bugs.launchpad.net/bugs/347327 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 347327] Re: crashes when installing packages from non ascii folders
I tried it and it works. It's quite trivial (for a developer) to test it. :) These are the steps for gnome: sudo apt-get -y install packagekit-gnome cd wget http://launchpadlibrarian.net/26683813/packagekit-utf8-fix.patch -O packagekit-utf8-fix.patch cd /usr/lib sudo patch -p0 $HOME/packagekit-utf8-fix.patch cd mkdir -p töölaud wget http://http.us.debian.org/debian/pool/main/t/themonospot/themonospot_0.7.1.1-2_all.deb -O töölaud/themonospot_0.7.1.1-2_all.deb gpk-install-local-file töölaud/themonospot_0.7.1.1-2_all.deb ** Attachment added: Screenshot.png http://launchpadlibrarian.net/27012304/Screenshot.png -- crashes when installing packages from non ascii folders https://bugs.launchpad.net/bugs/347327 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 347327] Re: crashes when installing packages from non ascii folders
Hi, Estobuntu team fixed the problem! Lauri Võsandi ** Attachment added: Packagekit UTF-8 fix http://launchpadlibrarian.net/26683813/packagekit-utf8-fix.patch -- crashes when installing packages from non ascii folders https://bugs.launchpad.net/bugs/347327 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 347327] Re: crashes when installing packages from non ascii folders
I can confirm this. But on my system, when i install a package from a Chinese folder, Kpackagekit just says that it can't find the package. The error output is misleading. -- crashes when installing packages from non ascii folders https://bugs.launchpad.net/bugs/347327 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 347327] Re: crashes when installing packages from non ascii folders
** Summary changed: - kpackagekit crashes when installing packages from non ascii folders + crashes when installing packages from non ascii folders ** Description changed: + UPDATE: + Affects both kpackagekit and packagekit-gnome + Kpackagekit crashes when installing packages from folders with non ascii names: kpackagekit /home/kasutaja/Töö/knemo_0.5.1-0~getdeb1_i386.deb isFIle kasut...@arla32:~$ New transaction with tid /27_badbbbac_data KPackageKit(5091) KpkIcons::actionIcon: action unrecognised: 9 enumFromString ( State ) : converted to , enum value -1 KPackageKit(5091) 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 1261, in doInstallFiles deb = debfile.DebPackage(path, self._cache) File /usr/lib/packagekit/debfile.py, line 53, in __init__ self.open(filename) File /usr/lib/packagekit/debfile.py, line 58, in open if not apt_inst.arCheckMember(open(self.filename), debian-binary): UnicodeEncodeError: 'ascii' codec can't encode characters in position 16-17: ordinal not in range(128) KPackageKit(5091) KpkTransaction::finished: Failed. KPackageKit(5091) KpkTransaction::finished: Yep, we failed. KPackageKit(5091) KpkInstallFiles::installFilesFinished: Finished. removing transaction from pool : /27_badbbbac_data This occurs with letters such as ö, ä, ü, õ and it is important since for example Desktop is Töölaud in Estonian and Työpöytä in Finnish. -- crashes when installing packages from non ascii folders https://bugs.launchpad.net/bugs/347327 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs