* [devel] man-pages-ru update in branch 4.0
@ 2008-08-06 16:31 Led
2008-08-06 16:33 ` Led
0 siblings, 1 reply; 13+ messages in thread
From: Led @ 2008-08-06 16:31 UTC (permalink / raw)
To: ALT Linux Team development discussions
А зачем надо было обновлять в 4.0 man-pages-ru?
Тем более - чтобы получить в итоге:
apt-get install man-pages-ru
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
man-pages-ru
0 upgraded, 1 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/1509kB of archives.
After unpacking 1460kB of additional disk space will be used.
Committing changes...
error: failed to stat /home/val/h32: Permission denied
Preparing...
########################################################################################
[100%]
package man-pages-ru-0.98-alt13.M40.1 is already installed
E: Error while running transaction
--
Led
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] man-pages-ru update in branch 4.0
2008-08-06 16:31 [devel] man-pages-ru update in branch 4.0 Led
@ 2008-08-06 16:33 ` Led
2008-08-07 9:07 ` Андрей Черепанов
2008-08-12 15:27 ` Slava Semushin
0 siblings, 2 replies; 13+ messages in thread
From: Led @ 2008-08-06 16:33 UTC (permalink / raw)
To: ALT Linux Team development discussions
В сообщении от Wednesday 06 August 2008 19:31:26 Led написал(а):
> А зачем надо было обновлять в 4.0 man-pages-ru?
> Тем более - чтобы получить в итоге:
Сорри, не то скопипастил:)
apt-get install man-pages-ru
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
man-pages-ru
0 upgraded, 1 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/1509kB of archives.
After unpacking 1460kB of additional disk space will be used.
Committing changes...
error: failed to stat /home/val/h32: Permission denied
Preparing...
########################################################################################
[100%]
1: man-pages-ru
########################################################################################
[100%]
/usr/sbin/makewhatis: line 378: /var/cache/man/whatis: Отказано в доступе
error: execution of %post scriptlet from man-pages-ru-0.98-alt13.M40.1 failed,
exit status 1
E: Some errors occurred while running transaction
--
Led
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] man-pages-ru update in branch 4.0
2008-08-06 16:33 ` Led
@ 2008-08-07 9:07 ` Андрей Черепанов
2008-08-07 10:06 ` Led
2008-08-12 15:27 ` Slava Semushin
1 sibling, 1 reply; 13+ messages in thread
From: Андрей Черепанов @ 2008-08-07 9:07 UTC (permalink / raw)
To: ALT Linux Team development discussions
6 августа 2008 Led написал:
> /usr/sbin/makewhatis: line 378: /var/cache/man/whatis: Отказано в доступе
> error: execution of %post scriptlet from man-pages-ru-0.98-alt13.M40.1
> failed, exit status 1
> E: Some errors occurred while running transaction
Под root ставили?
--
Андрей Черепанов
ALT Linux
cas@altlinux.ru
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] man-pages-ru update in branch 4.0
2008-08-07 9:07 ` Андрей Черепанов
@ 2008-08-07 10:06 ` Led
0 siblings, 0 replies; 13+ messages in thread
From: Led @ 2008-08-07 10:06 UTC (permalink / raw)
To: ALT Linux Team development discussions
В сообщении от Thursday 07 August 2008 12:07:31 Андрей Черепанов написал(а):
> 6 августа 2008 Led написал:
> > /usr/sbin/makewhatis: line 378: /var/cache/man/whatis: Отказано в доступе
> > error: execution of %post scriptlet from man-pages-ru-0.98-alt13.M40.1
> > failed, exit status 1
> > E: Some errors occurred while running transaction
>
> Под root ставили?
да
--
Led
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] man-pages-ru update in branch 4.0
2008-08-06 16:33 ` Led
2008-08-07 9:07 ` Андрей Черепанов
@ 2008-08-12 15:27 ` Slava Semushin
2008-08-12 15:34 ` Led
1 sibling, 1 reply; 13+ messages in thread
From: Slava Semushin @ 2008-08-12 15:27 UTC (permalink / raw)
To: ALT Linux Team development discussions
2008/8/6 Led <ledest / gmail.com>:
[...]
> /usr/sbin/makewhatis: line 378: /var/cache/man/whatis: Отказано в доступе
> error: execution of %post scriptlet from man-pages-ru-0.98-alt13.M40.1 failed,
> exit status 1
> E: Some errors occurred while running transaction
Судя по всему в %post вызывается /etc/cron.daily/makewhatis, который
завершается с ошибой.
Попробуйте его запустить вручную:
# /etc/cron.daily/makewhatis; echo rc=$?
и ещё неплохо посмотреть на чем он там падает:
# sh -x /etc/cron.daily/makewhatis >&2 >makewhatis.log
--
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] man-pages-ru update in branch 4.0
2008-08-12 15:27 ` Slava Semushin
@ 2008-08-12 15:34 ` Led
2008-08-12 15:37 ` Led
2008-08-12 15:41 ` Slava Semushin
0 siblings, 2 replies; 13+ messages in thread
From: Led @ 2008-08-12 15:34 UTC (permalink / raw)
To: ALT Linux Team development discussions
В сообщении от Tuesday 12 August 2008 18:27:15 Slava Semushin написал(а):
> 2008/8/6 Led <ledest / gmail.com>:
> [...]
>
> > /usr/sbin/makewhatis: line 378: /var/cache/man/whatis: Отказано в доступе
> > error: execution of %post scriptlet from man-pages-ru-0.98-alt13.M40.1
> > failed, exit status 1
> > E: Some errors occurred while running transaction
>
> Судя по всему в %post вызывается /etc/cron.daily/makewhatis, который
> завершается с ошибой.
>
> Попробуйте его запустить вручную:
>
> # /etc/cron.daily/makewhatis; echo rc=$?
# /etc/cron.daily/makewhatis; echo rc=$?
/usr/sbin/makewhatis: line 378: /var/cache/man/whatis: Отказано в доступе
rc=1
>
> и ещё неплохо посмотреть на чем он там падает:
>
> # sh -x /etc/cron.daily/makewhatis >&2 >makewhatis.log
# sh -x /etc/cron.daily/makewhatis >makewhatis.log 2>&1
root@ltsp5 /tmp # cat makewhatis.log
+ '[' -z '' ']'
+ lockdir=/var/lock/makewhatis/lockdir
+ pidfile=/var/lock/makewhatis/lockdir/pid
+ mkdir -m700 -- /var/lock/makewhatis/lockdir
+ trap exit_handler SIGHUP SIGPIPE SIGINT SIGQUIT SIGTERM EXIT
+ echo 1794
+ su -l cacheman -s /bin/sh -c '/usr/sbin/makewhatis -u'
/usr/sbin/makewhatis: line 378: /var/cache/man/whatis: Отказано в доступе
+ exit_handler
+ local rc=1
+ trap - EXIT
+ rm -rf -- /var/lock/makewhatis/lockdir
+ exit 1
--
Led
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] man-pages-ru update in branch 4.0
2008-08-12 15:34 ` Led
@ 2008-08-12 15:37 ` Led
2008-08-12 15:45 ` Slava Semushin
2008-08-12 15:41 ` Slava Semushin
1 sibling, 1 reply; 13+ messages in thread
From: Led @ 2008-08-12 15:37 UTC (permalink / raw)
To: ALT Linux Team development discussions
В сообщении от Tuesday 12 August 2008 18:34:35 Led написал(а):
> В сообщении от Tuesday 12 August 2008 18:27:15 Slava Semushin написал(а):
> > 2008/8/6 Led <ledest / gmail.com>:
> > [...]
> >
> > > /usr/sbin/makewhatis: line 378: /var/cache/man/whatis: Отказано в
> > > доступе error: execution of %post scriptlet from
> > > man-pages-ru-0.98-alt13.M40.1 failed, exit status 1
> > > E: Some errors occurred while running transaction
> >
> > Судя по всему в %post вызывается /etc/cron.daily/makewhatis, который
> > завершается с ошибой.
> >
> > Попробуйте его запустить вручную:
> >
> > # /etc/cron.daily/makewhatis; echo rc=$?
>
> # /etc/cron.daily/makewhatis; echo rc=$?
> /usr/sbin/makewhatis: line 378: /var/cache/man/whatis: Отказано в доступе
> rc=1
>
> > и ещё неплохо посмотреть на чем он там падает:
> >
> > # sh -x /etc/cron.daily/makewhatis >&2 >makewhatis.log
>
> # sh -x /etc/cron.daily/makewhatis >makewhatis.log 2>&1
> root@ltsp5 /tmp # cat makewhatis.log
> + '[' -z '' ']'
> + lockdir=/var/lock/makewhatis/lockdir
> + pidfile=/var/lock/makewhatis/lockdir/pid
> + mkdir -m700 -- /var/lock/makewhatis/lockdir
> + trap exit_handler SIGHUP SIGPIPE SIGINT SIGQUIT SIGTERM EXIT
> + echo 1794
> + su -l cacheman -s /bin/sh -c '/usr/sbin/makewhatis -u'
> /usr/sbin/makewhatis: line 378: /var/cache/man/whatis: Отказано в доступе
> + exit_handler
> + local rc=1
> + trap - EXIT
> + rm -rf -- /var/lock/makewhatis/lockdir
> + exit 1
оно и не удивительно:
# ls -l /var/cache/man/whatis
-rw-r--r-- 1 messagebus man 112966 May 16 2007 /var/cache/man/whatis
--
Led
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] man-pages-ru update in branch 4.0
2008-08-12 15:37 ` Led
@ 2008-08-12 15:45 ` Slava Semushin
2008-08-12 15:47 ` Led
0 siblings, 1 reply; 13+ messages in thread
From: Slava Semushin @ 2008-08-12 15:45 UTC (permalink / raw)
To: ALT Linux Team development discussions
12 августа 2008 г. 22:37 пользователь Led <ledest / gmail.com> написал:
[...]
> оно и не удивительно:
> # ls -l /var/cache/man/whatis
> -rw-r--r-- 1 messagebus man 112966 May 16 2007 /var/cache/man/whatis
У вас случайно messagebus и cacheman не один ли uid имеют? У меня нет:
[c0der@rock ~]$ egrep 'messagebus|cacheman' /etc/passwd
cacheman:x:102:15::/var/cache/man:/dev/null
messagebus:x:108:117:D-Bus System User:/var/run/dbus:/dev/null
Ну и надо выяснять как так вышло, что у вас права неправильные на
файл. Надо смотреть из какого файл пакета, потом смотреть rpm -qlv
этого пакета и узнать в пакете-то файл имел правильные права или нет.
--
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] man-pages-ru update in branch 4.0
2008-08-12 15:45 ` Slava Semushin
@ 2008-08-12 15:47 ` Led
0 siblings, 0 replies; 13+ messages in thread
From: Led @ 2008-08-12 15:47 UTC (permalink / raw)
To: ALT Linux Team development discussions
В сообщении от Tuesday 12 August 2008 18:45:28 Slava Semushin написал(а):
> 12 августа 2008 г. 22:37 пользователь Led <ledest / gmail.com> написал:
> [...]
>
> > оно и не удивительно:
> > # ls -l /var/cache/man/whatis
> > -rw-r--r-- 1 messagebus man 112966 May 16 2007 /var/cache/man/whatis
>
> У вас случайно messagebus и cacheman не один ли uid имеют? У меня нет:
У МЕНЯ - всё нормально. Зачем branch 4.0 поломали?
>
> [c0der@rock ~]$ egrep 'messagebus|cacheman' /etc/passwd
> cacheman:x:102:15::/var/cache/man:/dev/null
> messagebus:x:108:117:D-Bus System User:/var/run/dbus:/dev/null
>
> Ну и надо выяснять как так вышло, что у вас права неправильные на
> файл. Надо смотреть из какого файл пакета, потом смотреть rpm -qlv
> этого пакета и узнать в пакете-то файл имел правильные права или нет.
--
Led
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] man-pages-ru update in branch 4.0
2008-08-12 15:34 ` Led
2008-08-12 15:37 ` Led
@ 2008-08-12 15:41 ` Slava Semushin
2008-08-12 15:45 ` Led
1 sibling, 1 reply; 13+ messages in thread
From: Slava Semushin @ 2008-08-12 15:41 UTC (permalink / raw)
To: ALT Linux Team development discussions
12 августа 2008 г. 22:34 пользователь Led <ledest / gmail.com> написал:
[...]
> root@ltsp5 /tmp # cat makewhatis.log
> + '[' -z '' ']'
> + lockdir=/var/lock/makewhatis/lockdir
> + pidfile=/var/lock/makewhatis/lockdir/pid
> + mkdir -m700 -- /var/lock/makewhatis/lockdir
> + trap exit_handler SIGHUP SIGPIPE SIGINT SIGQUIT SIGTERM EXIT
> + echo 1794
> + su -l cacheman -s /bin/sh -c '/usr/sbin/makewhatis -u'
> /usr/sbin/makewhatis: line 378: /var/cache/man/whatis: Отказано в доступе
Вот. Что-то не так с правами. У меня (на Сизифе) отрабатывает без проблем.
[c0der@rock ~]$ ls -l /var/cache/man/whatis
-rw-r--r-- 1 cacheman man 517K Авг 12 22:35 /var/cache/man/whatis
Какие владелец и права на файл у вас?
И сразу до кучи:
rpm -qf /var/cache/man/whatis
rpm -V man
rpm -V man-pages-ru
--
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] man-pages-ru update in branch 4.0
2008-08-12 15:41 ` Slava Semushin
@ 2008-08-12 15:45 ` Led
2008-08-12 15:47 ` Slava Semushin
0 siblings, 1 reply; 13+ messages in thread
From: Led @ 2008-08-12 15:45 UTC (permalink / raw)
To: ALT Linux Team development discussions
В сообщении от Tuesday 12 August 2008 18:41:48 Slava Semushin написал(а):
> 12 августа 2008 г. 22:34 пользователь Led <ledest / gmail.com> написал:
> [...]
>
> > root@ltsp5 /tmp # cat makewhatis.log
> > + '[' -z '' ']'
> > + lockdir=/var/lock/makewhatis/lockdir
> > + pidfile=/var/lock/makewhatis/lockdir/pid
> > + mkdir -m700 -- /var/lock/makewhatis/lockdir
> > + trap exit_handler SIGHUP SIGPIPE SIGINT SIGQUIT SIGTERM EXIT
> > + echo 1794
> > + su -l cacheman -s /bin/sh -c '/usr/sbin/makewhatis -u'
> > /usr/sbin/makewhatis: line 378: /var/cache/man/whatis: Отказано в доступе
>
> Вот. Что-то не так с правами. У меня (на Сизифе) отрабатывает без проблем.
А при чём тут Сизиф?
Я изначально спрашивал:
"А зачем надо было обновлять в 4.0 man-pages-ru?
Тем более - чтобы получить в итоге:
..."
--
Led
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] man-pages-ru update in branch 4.0
2008-08-12 15:45 ` Led
@ 2008-08-12 15:47 ` Slava Semushin
2008-08-12 15:49 ` Led
0 siblings, 1 reply; 13+ messages in thread
From: Slava Semushin @ 2008-08-12 15:47 UTC (permalink / raw)
To: ALT Linux Team development discussions
12 августа 2008 г. 22:45 пользователь Led <ledest / gmail.com> написал:
[...]
>> Вот. Что-то не так с правами. У меня (на Сизифе) отрабатывает без проблем.
>
> А при чём тут Сизиф?
Притом, что я у себя проверял на Сизифе. И, как я уже сказал, на
Сизифе всё работает.
--
+ Slava Semushin | slava.semushin @ gmail.com
+ ALT Linux Team | php-coder @ altlinux.ru
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [devel] man-pages-ru update in branch 4.0
2008-08-12 15:47 ` Slava Semushin
@ 2008-08-12 15:49 ` Led
0 siblings, 0 replies; 13+ messages in thread
From: Led @ 2008-08-12 15:49 UTC (permalink / raw)
To: ALT Linux Team development discussions
В сообщении от Tuesday 12 August 2008 18:47:18 Slava Semushin написал(а):
> 12 августа 2008 г. 22:45 пользователь Led <ledest / gmail.com> написал:
> [...]
>
> >> Вот. Что-то не так с правами. У меня (на Сизифе) отрабатывает без
> >> проблем.
> >
> > А при чём тут Сизиф?
>
> Притом, что я у себя проверял на Сизифе. И, как я уже сказал, на
> Сизифе всё работает.
Перечитайте ещё раз тему треда:)
--
Led
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2008-08-12 15:49 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-06 16:31 [devel] man-pages-ru update in branch 4.0 Led
2008-08-06 16:33 ` Led
2008-08-07 9:07 ` Андрей Черепанов
2008-08-07 10:06 ` Led
2008-08-12 15:27 ` Slava Semushin
2008-08-12 15:34 ` Led
2008-08-12 15:37 ` Led
2008-08-12 15:45 ` Slava Semushin
2008-08-12 15:47 ` Led
2008-08-12 15:41 ` Slava Semushin
2008-08-12 15:45 ` Led
2008-08-12 15:47 ` Slava Semushin
2008-08-12 15:49 ` Led
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git