* [devel] rpm -ivh qt3-3.1.1-alt3.src.rpm
@ 2003-04-27 21:11 Alexey Tourbin
2003-04-27 22:25 ` Dmitry V. Levin
0 siblings, 1 reply; 2+ messages in thread
From: Alexey Tourbin @ 2003-04-27 21:11 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 2345 bytes --]
Господа, часто встречается вот такая проблема:
$ rm -f ~/RPM/SOURCES/qt-*
$ rpm -ivh qt3-3.1.1-alt3.src.rpm
qt3 ######################################################################
a
$ rpm -ivh qt3-3.1.1-alt3.src.rpm
qt3 #######error: unpacking of archive failed on file /home/at/RPM/SOURCES/qt-x11-free-3.0.4-QMenuBar.patch: cpio: open failed - Permission denied
$ rpm -ivh qt3-3.1.1-alt3.src.rpm
qt3 #######error: unpacking of archive failed on file /home/at/RPM/SOURCES/qt-x11-free-3.0.4-QPSPrinter.patch: cpio: open failed - Permission denied
$ rpm -ivh qt3-3.1.1-alt3.src.rpm
qt3 #######error: unpacking of archive failed on file /home/at/RPM/SOURCES/qt-x11-free-3.0.4-QMenuBar.patch: cpio: open failed - Permission denied
$ rpm -ivh qt3-3.1.1-alt3.src.rpm
qt3 #######error: unpacking of archive failed on file /home/at/RPM/SOURCES/qt-x11-free-3.0.4-QStrList.patch: cpio: open failed - Permission denied
...
$ chmod u+w ~/RPM/SOURCES/qt-*
$ rpm -ivh qt3-3.1.1-alt3.src.rpm
qt3 ######################################################################
$ rpm -ivh qt3-3.1.1-alt3.src.rpm
qt3 #######error: unpacking of archive failed on file /home/at/RPM/SOURCES/qt-x11-free-3.0.4-QMenuBar.patch: cpio: open failed - Permission denied
$ rpm -ivh qt3-3.1.1-alt3.src.rpm
qt3 #######error: unpacking of archive failed on file /home/at/RPM/SOURCES/qt-x11-free-3.0.4-QPSPrinter.patch: cpio: open failed - Permission denied
...
Ну некрасиво это. Проблема не надуманная, т.к. патчи дрейфуют от релиза
к релизу. Если таких патчей много, то установка src.rpm может стать
задачей на пару трубок (кувалда: chmod -R ug+rw ~/RPM; работает
несколько минут). Тем более это может породить вопросы, на которые
кому-то придется отвечать. Варианты решения:
1) включить в policy и в sisyphus_check проверку u+w на всё, что входит
в src.rpm.
2) отхачить RPM, чтобы он а) предварительно удалял файлы; но здесь
наверняка будет race; и б) делал chmod u+w или ug+w в зависимости от
~/RPM или /usr/src/RPM до и после -ivh.
3) Решить вопрос на уровне BTE, который Бог даст скоро заработает, и
пропускать через BTE всё что только есть, в том числе и от staff.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [devel] rpm -ivh qt3-3.1.1-alt3.src.rpm
2003-04-27 21:11 [devel] rpm -ivh qt3-3.1.1-alt3.src.rpm Alexey Tourbin
@ 2003-04-27 22:25 ` Dmitry V. Levin
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2003-04-27 22:25 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 1377 bytes --]
On Mon, Apr 28, 2003 at 01:11:34AM +0400, Alexey Tourbin wrote:
> Господа, часто встречается вот такая проблема:
>
> $ rm -f ~/RPM/SOURCES/qt-*
> $ rpm -ivh qt3-3.1.1-alt3.src.rpm
> qt3 ######################################################################
> a
> $ rpm -ivh qt3-3.1.1-alt3.src.rpm
> qt3 #######error: unpacking of archive failed on file /home/at/RPM/SOURCES/qt-x11-free-3.0.4-QMenuBar.patch: cpio: open failed - Permission denied
[...]
> Ну некрасиво это. Проблема не надуманная, т.к. патчи дрейфуют от релиза
> к релизу. Если таких патчей много, то установка src.rpm может стать
> задачей на пару трубок (кувалда: chmod -R ug+rw ~/RPM; работает
> несколько минут). Тем более это может породить вопросы, на которые
> кому-то придется отвечать. Варианты решения:
>
> 1) включить в policy и в sisyphus_check проверку u+w на всё, что входит
> в src.rpm.
Это будет сделано.
> 2) отхачить RPM, чтобы он а) предварительно удалял файлы; но здесь
> наверняка будет race; и б) делал chmod u+w или ug+w в зависимости от
> ~/RPM или /usr/src/RPM до и после -ivh.
Это не будет сделано (raceable).
> 3) Решить вопрос на уровне BTE, который Бог даст скоро заработает, и
> пропускать через BTE всё что только есть, в том числе и от staff.
По идее, BTE использует sisyphus_check, внешний или собственный.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-27 22:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-27 21:11 [devel] rpm -ivh qt3-3.1.1-alt3.src.rpm Alexey Tourbin
2003-04-27 22:25 ` Dmitry V. Levin
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