From: Alexey Tourbin <at@altlinux.ru> To: devel@altlinux.ru Subject: [devel] rpm -ivh qt3-3.1.1-alt3.src.rpm Date: Mon, 28 Apr 2003 01:11:34 +0400 Message-ID: <20030427211134.GA16596@solemn.turbinal.org> (raw) [-- 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 --]
next reply other threads:[~2003-04-27 21:11 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-04-27 21:11 Alexey Tourbin [this message] 2003-04-27 22:25 ` Dmitry V. Levin
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=20030427211134.GA16596@solemn.turbinal.org \ --to=at@altlinux.ru \ --cc=devel@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 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