You are not logged in.
Pages: 1
Topic closed
Since the last ArchLinux upgrades, today, I have no text-editor available.
Kate crashes immediately when I try to start it up, with no error message.
I tried installing KWrite as an alternative. That also crashes immediately when I try to start it up, but does give an error message, as follows:
A KDE text-editor component could not be found.
Please check your KDE installation.
I've tried reinstalling the two packages listed as dependencies for kate and for kwrite. That has no effect.
Offline
Check the packages that were last upgraded and downgrade them, or file a bug report (if there isn't one) and wait for the fix.
Edit: well, you should file the bug report anyways if there isn't one
Last edited by Surgat_ (2010-06-07 21:45:13)
Offline
I tried downgrading following these instructions:
You may be able to downgrade the package trivially by visiting /var/cache/pacman/pkg on your system and seeing if the older version of the package is stored there. (If you have not run pacman -Scc recently, it should be there). If the package is there, you can install that version using pacman -U pkgname-olderpkgver.pkg.tar.gz.
http://wiki.archlinux.org/index.php/Dow … g_Packages
Result:
[martin@martin ~]$ sudo pacman -U kdesdk-kate-4.4.3-1-i686.pkg.tar.xz
loading package data...
error: 'kdesdk-kate-4.4.3-1-i686.pkg.tar.xz': cannot open package file
[martin@martin ~]$ sudo pacman -U kdesdk-kate-4.4.3-1-i686.pkg.tar.gz
loading package data...
error: 'kdesdk-kate-4.4.3-1-i686.pkg.tar.gz': cannot open package file
(I don't understand the tar.xz and tar.gz thing. Anyway, whether I type in tar.xz, which is the name of the file in /var/cache/pacman/pkg, or tar.gz, which apparently is what the name should be, the result is the same.
I'll file a bug report.
Offline
You are invoking it wrong, it's sudo pacman -U path/to/package/file/where/ever/it/is.
Fyi, xz is a newish compression scheme based on LZMA2. Many distros, including Arch, now use it for packages. Older packages will end in .pkg.tar.gz and newer ones end in .pkg.tar.xz.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Try starting kate/kwrite from the command line. This should give some output. Please paste that output here.
My new username is now Aerion in order to match my username on the AUR, Wiki and Bug Reports.
Offline
and if you can't find any immediate fix, have you tried any text editors that do not rely on KDE? both Kate and Kwrite have kdelibs and kdebase-runtime as dependencies, and this might be the source of the problem...(I don't know if it is, but it seems to make sense to me.)
Last edited by Cyrusm (2010-06-08 14:14:37)
Hofstadter's Law:
It always takes longer than you expect, even when you take into account Hofstadter's Law.
Offline
Hi, I know it's a month-old topic, but I just found your post as I had the same problem, and I found the followind solution: running once
dbus-launch kwrite
fixed it.
cheers
Offline
I have a new installation of Arch on a new box, but I've been using Arch for about 4 years (gentoo before that). I have used pacman -U a hundred times successfully in the past without incident. the pacman -U command now throws off the same error message "cannot open package file".
Is there a fix in the works for pacman?
The weekly upgrade and the installation of base-devel seems to have solved the problem.
Last edited by bt (2010-07-10 13:57:56)
Offline
I've had the same problem on upgrading to 4.8.2.
I've solved it by simply reinstalling a dependence
pacman -S kdebase-katepart
Hope this might be useful
Offline
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
As Mr.Elendig noted, this thread is necro.
Closing.
To know or not to know ...
... the questions remain forever.
Offline
Pages: 1
Topic closed