You are not logged in.
Nautilus and PCmanfm can not recognise any file type. Everything is an executable and text file. Evince can not open any file after update.
/etc/mime.types was sliced down to a single line: application/x-java-jnlp-file jnlp
I recovered the file by installing the package mime.types but without success.The file is OK now, but even after restart the problem remains. This way Gnome is not really useful anymore. KDE works fine as long as KDE apps are used.
Offline
Yeah, noticed the same thing here. Any easy way to recover MIME types?
Offline
just a guess...
pacman -S mime-types
or failing that...
pacman -Rn mime-types && pacman -S mime-types
Offline
just a guess...
pacman -S mime-types
or failing that...
pacman -Rn mime-types && pacman -S mime-types
Thanks, that did it.
Offline
I downgraded the package shared-mime-info to version 0.23 and mimes are back. The new version (0.40) got problems
Offline
Same problem here, but still not working. Removing and reinstalling the mimetypes package didn't work for me. It's like the file's not being read and it seems to not be writable as well. Changing the file's permissions is fruitless, too; update-desktop-database is not working either.
Any ideas, guys?
Offline
I downgraded the package shared-mime-info to version 0.23 and mimes are back. The new version (0.40) got problems
I'd kiss you in the mouth right now. Thanks! That did it.
Offline
When I just installed mime-types (pacman -S mime-types), /etc/mime.types returned and was intact, but file types were still messed up. I had to remove it first (-Rn), then reinstall it (-S) like in post#3 before things worked.
Last edited by blueskies (2008-06-23 02:51:40)
Offline
Benzo wrote:I downgraded the package shared-mime-info to version 0.23 and mimes are back. The new version (0.40) got problems
I'd kiss you in the mouth right now. Thanks! That did it.
you're welcome.
Last edited by Benzo (2008-06-23 03:02:22)
Offline
Bug-Report: http://bugs.archlinux.org/task/10734
Offline
yaourt -S shared-mime-info
resolving dependencies...
looking for inter-conflicts...
Targets: shared-mime-info-0.40-1
Total Download Size: 0.00 MB
Total Installed Size: 3.38 MB
Proceed with installation? [Y/n]
checking package integrity...
(1/1) checking for file conflicts [#####################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
shared-mime-info: /usr/share/mime/application/x-cdrdao-toc.xml exists in filesystem
Errors occurred, no packages were upgraded.
Is it related to mime-types problem?
Offline
Just the re-install procedure doesn't work for me. Unfortunately I do not have shared-mime-info version 0.23 in my pacman cache. Does anybody have the 86_64 package?
Offline
Found the file with the nice help of ArchLinux Mirrorcheck. One lousy mirror is not updated yet:
X86_64: http://www.mirrorservice.org/sites/ftp. … pkg.tar.gz
I686: http://www.mirrorservice.org/sites/ftp. … pkg.tar.gz
Last edited by jcci (2008-06-23 06:04:32)
Offline
I had the same problem, fixed it by removing mime.cache in home dir:
rm $HOME/.local/share/mime/mime.cache
I also reinstalled mime-types while trying to fix it, as in post #3 (that didn't fix evince, but it did fix /etc/mime.types which lacked newlines).
EDIT: Removing mime.cache only fixed problem with evince not opening .pdf files, pcmanfm still shows wrong file types. Downgrading shared-mime-info fixes that here too.
Last edited by stojic (2008-06-23 08:32:20)
Offline
Found the file with the nice help of ArchLinux Mirrorcheck.
One lousy mirror is not updated yet:
X86_64: http://www.mirrorservice.org/sites/ftp. … pkg.tar.gz
I686: http://www.mirrorservice.org/sites/ftp. … pkg.tar.gz
These files are no longer available. You can remake shared-mime-info 0.23 package with this PKGBUILD http://repos.archlinux.org/viewvc.cgi/s … ra-x86_64/ .
Resolved for me.
Last edited by secretfox (2008-06-23 09:41:35)
Offline
I've never used pkgbuild before, so I can't make it work. I went to the adress "secretfox" posted and downloaded the thing. It gave me a file called PKGBUILD on my desktop. When I run makepkg I get this:
==> ERROR: Install scriptlet (shared-mime-info.install) does not exist.
Anyone who can help a newbie out?
Edit: I found a fix that worked in the bugreport mentioned earlier in this thread.
Last edited by qweac (2008-06-23 12:02:38)
Offline
Removing ~/.local/share/mime/mime.cache solved the problem for me (no downgrading was necessary)
arch(3) adj amused because you think you understand something better than other people ;P
Offline
I've never used pkgbuild before, so I can't make it work. I went to the adress "secretfox" posted and downloaded the thing. It gave me a file called PKGBUILD on my desktop. When I run makepkg I get this:
==> ERROR: Install scriptlet (shared-mime-info.install) does not exist.
Anyone who can help a newbie out?
Edit: I found a fix that worked in the bugreport mentioned earlier in this thread.
Well! Download file PKGBUILD (http://repos.archlinux.org/viewvc.cgi/s … ision=3446) and shared-mime-info.install (http://repos.archlinux.org/viewvc.cgi/s … revision=1) and put them together in an empty directory.
Edit file PKGBUILD, change line "pkgver=0.40" to "pkgver=0.23" and save file.
Run "makepkg -g" from the same directory, it will download source package and show the md5 line (something like "md5sums=('xxxxxxxxxxxx.....')").
Substitute the md5 line in PKGBUILD with the previous shown by makepkg.
Now run "makepkg" command in the same directory and wait package creation.
If compilation will be ok you'll obtain a file named "shared-mime-info-0.23-1-i686.pkg.tar.gz".
Run command "pacman -U shared-mime-info-0.23-1-i686.pkg.tar.gz" as root.
Check if mime type is ok now. It would be!
I hope it's useful. Bye
Offline
Removing ~/.local/share/mime/mime.cache solved the problem for me (no downgrading was necessary)
That did it for me! Thanks.
Offline
JeremyTheWicked wrote:Removing ~/.local/share/mime/mime.cache solved the problem for me (no downgrading was necessary)
That did it for me! Thanks.
Thanks
Offline
Downgrading worked for me. These are the original files for shared-mime-inf 0.23:
PKGBUILD
# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=shared-mime-info
pkgver=0.23
pkgrel=1
pkgdesc="Freedesktop.org Shared MIME Info"
arch=(i686 x86_64)
license=('GPL')
depends=('libxml2' 'glib2')
makedepends=('perlxml' 'pkgconfig')
install=shared-mime-info.install
url="http://freedesktop.org/Software/shared-mime-info"
source=(http://freedesktop.org/~hadess/${pkgname}-${pkgver}.tar.bz2)
md5sums=('3120a720f6a94881614b533f37a7671f')
build() {
cd ${startdir}/src/${pkgname}-${pkgver}
./configure --prefix=/usr
make || return 1
make DESTDIR=${startdir}/pkg install
rm -f ${startdir}/pkg/usr/share/mime/mime.cache
}
shared-mime-info.install
post_install() {
update-mime-database /usr/share/mime > /dev/null 2>&1
}
post_upgrade() {
post_install $1
}
op=$1
shift
$op $*
Last edited by skottish (2008-06-23 14:43:24)
Offline
Removing ~/.local/share/mime/mime.cache solved the problem for me (no downgrading was necessary)
Thanks! Worked here!
I tried installing/reinstalling mime-types and it didn't work... but I didn't even have it installed in the first place.
Offline
Removing ~/.local/share/mime/mime.cache solved the problem for me (no downgrading was necessary)
Sorry, it didn't work for me. Just downgrading helps so far.
I tried the above links for the package just now and the files were still avaialable (see posting time).
However, dear Arch devs, please fix it! Thanks!
Offline
Please consider filing a bug report.
Offline
Removing ~/.local/share/mime/mime.cache solved the problem for me (no downgrading was necessary)
Work for me too... simple solution. Thank you!
Offline