RE: [SLE] Gnome Update and broken nautilus
I've just updated by install of Gnome (1.4) from ftp.suse.com and now when I run Nautilus it complains:
** WARNING **: Can't find description even for "x-directory/normal". This probably means that your gnome-vfs.keys file is in the wrong place or isn't being found for some other reason.
And Nautilus won't open directories, crashes on opening preferences, etc.
From having a nose around on the net it seems that /opt/gnome/share/mime-types/gnome-vfs.keys is missing now?
Any ideas?
Yes. Apparently, there needs to be gnome-mime-data packages for both gnome1 & gnome2. First, download this file and place it in your "/usr/src/packages/SOURCES" directory: ftp://ftp.gnome.org/pub/gnome/stable/sources/gnome-mime-data/gnome-mime-data -1.0.1.tar.bz2 Next, take the file below and place in in your "/usr/src/packages/SPECS" directory. Then, cd to the "SPECS" directory and do an "rpm -ba gnome1.mime-data.spec" to create the package. It can be found in "/usr/src/packages/RPMS/noarch". Do an "rpm -Uvh gnome1-mime-data-1.0.1-0.noarch.rpm" and "killall -HUP nautilus" to bring your desktop back to life. Good luck, -jrh ======== cut here ========= gnome1.mime-data.spec ======== cut here ========= %define prefix /opt/gnome %define sysconfdir /etc%{prefix} %define localstatedir /var %define mandir %{prefix}/share/man %define infodir %{prefix}/share/info %define libdir %{prefix}/lib %define includedir %{prefix}/include %define bindir %{prefix}/bin %define datadir %{prefix}/share Name: gnome1-mime-data Summary: The GNOME virtual file-system libraries Version: 1.0.1 Release: 0 License: LGPL Group: System Environment/Libraries Source: gnome-mime-data-%{version}.tar.bz2 URL: http://www.gnome.org/ Packager: John Ross Hunt <johnrosshunt@attbi.com> Vendor: John Ross Hunt <johnrosshunt@attbi.com> for SuSE Linux BuildRoot: %{_tmppath}/%{name}-root BuildArch: noarch %description The GNOME MIME database contains a basic set of applications and MIME types for a GNOME system. %prep %setup -q -n gnome-mime-data-%{version} %build # Needed for snapshot releases. MYCFLAGS="$RPM_OPT_FLAGS" if [ ! -f configure ]; then CFLAGS="$MYCFLAGS" ./autogen.sh $MYARCH_FLAGS \ --disable-more-warnings --prefix=%{prefix} \ --localstatedir=%{localstatedir} --sysconfdir=%{sysconfdir} \ --mandir=%{mandir} --libdir=%{libdir} \ --includedir=%{includedir} --bindir=%{bindir} --help \ --target=%{_target_cpu}-suse-linux fi CFLAGS="$MYCFLAGS" ./configure $MYARCH_FLAGS --disable-more-warnings \ --prefix=%{prefix} --localstatedir=%{localstatedir} \ --sysconfdir=%{sysconfdir} --mandir=%{mandir} \ --libdir=%{libdir} --includedir=%{includedir} \ --bindir=%{bindir} --target=%{_target_cpu}-suse-linux make %install rm -rf $RPM_BUILD_ROOT make -k sysconfdir=$RPM_BUILD_ROOT%{sysconfdir} \ prefix=$RPM_BUILD_ROOT%{prefix} mandir=$RPM_BUILD_ROOT%{mandir} \ libdir=$RPM_BUILD_ROOT%{libdir} bindir=$RPM_BUILD_ROOT%{bindir} \ includedir=$RPM_BUILD_ROOT%{includedir} install ldconfig -n $RPM_BUILD_ROOT%{libdir} %find_lang %name %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %config(noreplace) %{sysconfdir}/gnome-vfs-mime-magic %dir %{datadir}/application-registry %{datadir}/application-registry/gnome-vfs.applications %{datadir}/mime-info/*.keys %{datadir}/mime-info/*.mime %{libdir}/pkgconfig/*.pc %changelog * Sun Jun 16 2002 John Ross Hunt <johnrosshunt@attbi.com> - Missing package from GNOME 1.x supplementary - Needed for gnome-vfs upgrade * Mon Feb 11 2002 Gregory Leblanc <gleblanc@linuxweasel.com> - fixed name - disabled double-run of configure (hackish solution) - fixed buildroot * Sun Oct 21 2001 Gregory Leblanc <gleblanc@linuxweasel.com> - some messing around with Requires: and BuildRequires - cleaned up %files quite a bit (still not quite as good as it could be) - removed a bunch of unnecessary %defines ====== end cut here ======
Op zaterdag 29 juni 2002 21:13, schreef John Ross Hunt:
I've just updated by install of Gnome (1.4) from ftp.suse.com and now when I run Nautilus it complains:
** WARNING **: Can't find description even for "x-directory/normal". This probably means that your gnome-vfs.keys file is in the wrong place or isn't being found for some other reason.
And Nautilus won't open directories, crashes on opening preferences, etc.
From having a nose around on the net it seems that /opt/gnome/share/mime-types/gnome-vfs.keys is missing now?
Any ideas?
Yes. Apparently, there needs to be gnome-mime-data packages for both gnome1 & gnome2.
First, download this file and place it in your "/usr/src/packages/SOURCES" directory:
ftp://ftp.gnome.org/pub/gnome/stable/sources/gnome-mime-data/gnome-mi me-data -1.0.1.tar.bz2
Next, take the file below and place in in your "/usr/src/packages/SPECS" directory. Then, cd to the "SPECS" directory and do an "rpm -ba gnome1.mime-data.spec" to create the package. It can be found in "/usr/src/packages/RPMS/noarch". Do an "rpm -Uvh gnome1-mime-data-1.0.1-0.noarch.rpm" and "killall -HUP nautilus" to bring your desktop back to life.
Good luck,
Thanks a lot! I needed that info too. It works again. cheers, Marcel
participants (2)
-
John Ross Hunt
-
Marcel Broekman