From: "Melekhov Alexandre A." <amel@df.ru>
To: ktirf@users.sourceforge.net,
ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Проблема с gthumb
Date: Tue, 21 Dec 2004 14:55:01 +0300
Message-ID: <20041221145501.249daf4f.amel@df.ru> (raw)
In-Reply-To: <41C80B7E.2020903@users.sf.net>
Hello Alexey Rusakov.
> Не факт, что поможет, но попробуйте из-под рута сказать
>
> update-mime-database /usr/share/mime /var/cache/mime
О как!
Я рыдаю:
[zorg@shadow zorg]$ sudo update-mime-database /usr/share/mime /var/cache/mime
update-mime-database: I don't have write permission on /var/cache/mime.
Try rerunning me as root.
[zorg@shadow zorg]$ sudo su -
[root@shadow root]# update-mime-database /usr/share/mime /var/cache/mime
update-mime-database: I don't have write permission on /var/cache/mime.
Try rerunning me as root.
Тут задумался, может что-то все-таки не так?
[root@shadow root]# update-mime-database
Usage: update-mime-database [-hv] MIME-DIR CACHE-DIR
[root@shadow root]# ls -l /var/cache/mime
ls: /var/cache/mime: No such file or directory
[root@shadow root]# ls -l /var/cache
итого 4
drwxr-xr-x 3 root root 4096 Дек 21 11:13 apt
[root@shadow root]# ls -l /var/cache/
итого 4
drwxr-xr-x 3 root root 4096 Дек 21 11:13 apt
[root@shadow root]# mkdir /var/cache/mime
[root@shadow root]# ls -l /var/cache/
итого 8
drwxr-xr-x 3 root root 4096 Дек 21 11:13 apt
drwxr-xr-x 2 root root 4096 Дек 21 14:47 mime
[root@shadow root]# update-mime-database /usr/share/mime /var/cache/mime
***
* Updating MIME database in /var/cache/mime...
***
[root@shadow root]#
Все работает... (дальше не цензурно)
Спасибо за науку.
> Кстати, этот update-mime-database - тот еще глюкодром, причем на
> уровне мейнстрима. Пойду-ка баги повешу на shared-mime-info...
Пойду снимать баг...
Поставил ему INVALID, что бы не напрягать народ.
--
===========================
Best regards, SKYDIVER-RIPN
amel@df.ru
next prev parent reply other threads:[~2004-12-21 11:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-21 9:04 Melekhov Alexandre A.
2004-12-21 9:33 ` [sisyphus] " Michael Shigorin
2004-12-21 10:11 ` Melekhov Alexandre A.
2004-12-21 11:39 ` [sisyphus] " Alexey Rusakov
2004-12-21 11:55 ` Melekhov Alexandre A. [this message]
2004-12-21 11:59 ` Yuri N. Sedunov
2004-12-21 12:04 ` Melekhov Alexandre A.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041221145501.249daf4f.amel@df.ru \
--to=amel@df.ru \
--cc=ktirf@users.sourceforge.net \
--cc=sisyphus@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git