Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

[SOLVED]Ebuild is not installed

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
27 posts
  • 1
  • 2
  • Next
Author
Message
soustan
n00b
n00b
Posts: 45
Joined: Sun Apr 12, 2020 4:06 pm

[SOLVED]Ebuild is not installed

  • Quote

Post by soustan » Mon Mar 10, 2025 7:00 pm

Hello everyone!

Installation error ebuild "mv: cannot move ... : Permission denied"

Code: Select all

emerge --ask =app-crypt/cprocsp-5.0.13300::localrepo

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.81 s (backtrack: 0/20).

[ebuild  N    ~] app-crypt/cprocsp-5.0.13300  USE="certprop cptools gui_gtk ifd-rutokens import_ca kc1 pkcs11 plugin readers -stunnel" 

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-crypt/cprocsp-5.0.13300::localrepo
 * linux-amd64.tgz BLAKE2B SHA512 size ;-) ...                                                                                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking linux-amd64.tgz to /var/tmp/portage/app-crypt/cprocsp-5.0.13300/work
mv: cannot move 'linux-amd64/accord_random-1-0.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/accord_random-1-0.src.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-apache-modssl-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-apache-modssl-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-certprop-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-certprop-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-compat-altlinux-64-1.0.0-1.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-compat-altlinux-64-1.0.0-1.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-compat-suse-1.0.0-1.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-compat-suse-1.0.0-1.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-cptools-gtk-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-cptools-gtk-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-curl-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-curl-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-drv-64-5.0.13000-7.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-drv-64-5.0.13000-7.src.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-drv-devel-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-drv-devel-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-devel-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-devel-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-esp-64-5.0.13000-7.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-esp-64-5.0.13000-7.src.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-genpsk-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-genpsk-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-ike-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-ike-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-legacy-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-legacy-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-nginx-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-nginx-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-pki-cades-64-2.0.15000-1.amd64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-pki-cades-64-2.0.15000-1.amd64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-pki-phpcades-2.0.15000-1.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-pki-phpcades-2.0.15000-1.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-pki-plugin-64-2.0.15000-1.amd64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-pki-plugin-64-2.0.15000-1.amd64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-cloud-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-cloud-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-cpfkc-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-cpfkc-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-cryptoki-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-cryptoki-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-edoc-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-edoc-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-emv-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-emv-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-esmart-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-esmart-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-gui-gtk-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-gui-gtk-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-infocrypt-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-infocrypt-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-inpaspot-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-inpaspot-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-jacarta-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-jacarta-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-kst-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-kst-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-mskey-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-mskey-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-novacard-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-novacard-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-pcsc-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-pcsc-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-relay-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-relay-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-rosan-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-rosan-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-rustoken-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-rustoken-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-rutoken-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-rutoken-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-stunnel-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-stunnel-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-stunnel-msspi-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-stunnel-msspi-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-xer2print-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-xer2print-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cpverify' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cpverify': Permission denied
mv: cannot move 'linux-amd64/ifd-rutokens_1.0.4_1.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/ifd-rutokens_1.0.4_1.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/install.desktop' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/install.desktop': Permission denied
mv: cannot move 'linux-amd64/install.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/install.sh': Permission denied
mv: cannot move 'linux-amd64/install_gui.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/install_gui.sh': Permission denied
mv: cannot move 'linux-amd64/integrity.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/integrity.sh': Permission denied
mv: cannot move 'linux-amd64/linux-amd64.ini' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/linux-amd64.ini': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-base-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-base-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-ca-certs-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-ca-certs-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-capilite-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-capilite-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-devel-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-devel-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-import-ca-certs-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-import-ca-certs-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-kc1-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-kc2-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc2-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-pkcs11-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-pkcs11-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rcrypt-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rcrypt-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-accord-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-accord-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-accord-ccid-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-accord-ccid-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-ancud-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-ancud-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-crypton-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-crypton-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-maxim-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-maxim-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-sobol-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-sobol-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-vityaz-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-vityaz-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/readme.txt' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/readme.txt': Permission denied
mv: cannot move 'linux-amd64/sobol-1-8.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/sobol-1-8.src.rpm': Permission denied
mv: cannot move 'linux-amd64/uninstall.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/uninstall.sh': Permission denied
>>> Unpacking lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm to /var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300
/usr/bin/rpm2tar: line 157: /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm: No such file or directory
rpm2tar: error: unable to locate cpio offset (broken/unknown compression?)
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
 * ERROR: app-crypt/cprocsp-5.0.13300::localrepo failed (unpack phase):
 *   failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm
 * 
 * Call stack:
 *               ebuild.sh, line 136:  Called src_unpack
 *             environment, line 364:  Called rpm_unpack 'lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *             environment, line 329:  Called assert 'failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *   isolated-functions.sh, line  18:  Called die
 * The specific snippet of code:
 *   		[[ ${x} -eq 0 ]] || die "$@"
 * 
 * If you need support, post the output of `emerge --info '=app-crypt/cprocsp-5.0.13300::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/cprocsp-5.0.13300::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'
 * S: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'

>>> Failed to emerge app-crypt/cprocsp-5.0.13300, Log file:

>>>  '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/build.log'

 * Messages for package app-crypt/cprocsp-5.0.13300:

 * ERROR: app-crypt/cprocsp-5.0.13300::localrepo failed (unpack phase):
 *   failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm
 * 
 * Call stack:
 *               ebuild.sh, line 136:  Called src_unpack
 *             environment, line 364:  Called rpm_unpack 'lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *             environment, line 329:  Called assert 'failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *   isolated-functions.sh, line  18:  Called die
 * The specific snippet of code:
 *   		[[ ${x} -eq 0 ]] || die "$@"
 * 
 * If you need support, post the output of `emerge --info '=app-crypt/cprocsp-5.0.13300::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/cprocsp-5.0.13300::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'
 * S: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'

Code: Select all

mv: cannot move 'linux-amd64/accord_random-1-0.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/accord_random-1-0.src.rpm': Permission denied
and other similar packages contain the same error.
An Internet search does not provide anything to resolve the issue.

Code: Select all

emerge --info
Portage 3.0.67 (python 3.12.9-final-0, default/linux/amd64/23.0/desktop, gcc-14, glibc-2.40-r8, 6.12.16-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.12.16-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-glibc2.40
KiB Mem:    32553264 total,  20666296 free
KiB Swap:   49151996 total,  49151996 free
Timestamp of repository gentoo: Mon, 10 Mar 2025 17:30:00 +0000
Head commit of repository gentoo: 2335023959f9d886cf5295e23e4d06a3f96d5e3b

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake:           3.31.5::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.12.9::gentoo, 3.13.2::gentoo
dev-lang/rust-bin:         1.83.0-r1::gentoo, 1.84.1-r2::gentoo
llvm-core/clang:           19.1.7::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.56::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43-r2::gentoo, 2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 3


localrepo
    location: /var/db/repos/localrepo
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo-mirror.alexxy.name/ \     http://mirror.mephi.ru/gentoo-distfiles/ \     http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j6"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc lock mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp openrc pam pango pcre pdf png policykit ppds qml qt5 qt6 readline sdl seccomp session sound spell ssl startup-notification svg test-rust thunar tiff truetype udev udisks unicode upower usb vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="keyboard mouse" KERNEL="linux" L10N="ru" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Could there be an error in access rights?
But I haven't figured out which ones yet. Please help me.

Hello Everyone!
As it turned out, the SSD drive turned out to be bad. And he found bad blocks. I had to give my computer for repair. And after the diagnosis, the specialist informed me about the unusability of the SSD.
Now, I have bought and replaced the SSD. After that, the Gentoo OS was safely installed and everything is working now.
Thank you ALL for your help and recommendations!!
Last edited by soustan on Sat Apr 12, 2025 7:46 pm, edited 1 time in total.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56076
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Mar 10, 2025 8:34 pm

soustan,

Are you root when you run emerge?

What does

Code: Select all

mount
show?

Are there any errors in dmesg about something being mounted read only?
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
soustan
n00b
n00b
Posts: 45
Joined: Sun Apr 12, 2020 4:06 pm

  • Quote

Post by soustan » Mon Mar 10, 2025 8:55 pm

NeddySeagoon wrote:soustan,

Are you root when you run emerge?

Of course!

Code: Select all

# emerge --ask =app-crypt/cprocsp-5.0.13300::localrepo

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.40 s (backtrack: 0/20).

[ebuild  N    ~] app-crypt/cprocsp-5.0.13300  USE="certprop cptools gui_gtk ifd-rutokens import_ca kc1 pkcs11 plugin readers -stunnel" 

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-crypt/cprocsp-5.0.13300::localrepo
 * linux-amd64.tgz BLAKE2B SHA512 size ;-) ...                                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking linux-amd64.tgz to /var/tmp/portage/app-crypt/cprocsp-5.0.13300/work
mv: cannot move 'linux-amd64/accord_random-1-0.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/accord_random-1-0.src.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-apache-modssl-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-apache-modssl-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-certprop-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-certprop-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-compat-altlinux-64-1.0.0-1.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-compat-altlinux-64-1.0.0-1.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-compat-suse-1.0.0-1.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-compat-suse-1.0.0-1.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-cptools-gtk-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-cptools-gtk-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-curl-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-curl-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-drv-64-5.0.13000-7.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-drv-64-5.0.13000-7.src.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-drv-devel-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-drv-devel-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-devel-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-devel-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-esp-64-5.0.13000-7.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-esp-64-5.0.13000-7.src.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-genpsk-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-genpsk-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-ike-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-ike-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-legacy-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-legacy-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-nginx-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-nginx-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-pki-cades-64-2.0.15000-1.amd64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-pki-cades-64-2.0.15000-1.amd64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-pki-phpcades-2.0.15000-1.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-pki-phpcades-2.0.15000-1.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-pki-plugin-64-2.0.15000-1.amd64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-pki-plugin-64-2.0.15000-1.amd64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-cloud-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-cloud-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-cpfkc-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-cpfkc-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-cryptoki-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-cryptoki-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-edoc-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-edoc-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-emv-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-emv-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-esmart-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-esmart-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-gui-gtk-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-gui-gtk-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-infocrypt-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-infocrypt-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-inpaspot-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-inpaspot-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-jacarta-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-jacarta-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-kst-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-kst-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-mskey-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-mskey-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-novacard-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-novacard-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-pcsc-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-pcsc-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-relay-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-relay-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-rosan-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-rosan-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-rustoken-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-rustoken-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-rutoken-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-rutoken-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-stunnel-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-stunnel-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-stunnel-msspi-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-stunnel-msspi-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-xer2print-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-xer2print-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cpverify' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cpverify': Permission denied
mv: cannot move 'linux-amd64/ifd-rutokens_1.0.4_1.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/ifd-rutokens_1.0.4_1.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/install.desktop' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/install.desktop': Permission denied
mv: cannot move 'linux-amd64/install.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/install.sh': Permission denied
mv: cannot move 'linux-amd64/install_gui.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/install_gui.sh': Permission denied
mv: cannot move 'linux-amd64/integrity.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/integrity.sh': Permission denied
mv: cannot move 'linux-amd64/linux-amd64.ini' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/linux-amd64.ini': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-base-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-base-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-ca-certs-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-ca-certs-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-capilite-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-capilite-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-devel-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-devel-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-import-ca-certs-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-import-ca-certs-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-kc1-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-kc2-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc2-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-pkcs11-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-pkcs11-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rcrypt-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rcrypt-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-accord-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-accord-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-accord-ccid-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-accord-ccid-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-ancud-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-ancud-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-crypton-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-crypton-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-maxim-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-maxim-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-sobol-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-sobol-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-vityaz-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-vityaz-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/readme.txt' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/readme.txt': Permission denied
mv: cannot move 'linux-amd64/sobol-1-8.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/sobol-1-8.src.rpm': Permission denied
mv: cannot move 'linux-amd64/uninstall.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/uninstall.sh': Permission denied
>>> Unpacking lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm to /var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300
/usr/bin/rpm2tar: line 157: /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm: No such file or directory
rpm2tar: error: unable to locate cpio offset (broken/unknown compression?)
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
 * ERROR: app-crypt/cprocsp-5.0.13300::localrepo failed (unpack phase):
 *   failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm
 * 
 * Call stack:
 *               ebuild.sh, line 136:  Called src_unpack
 *             environment, line 364:  Called rpm_unpack 'lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *             environment, line 329:  Called assert 'failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *   isolated-functions.sh, line  18:  Called die
 * The specific snippet of code:
 *   		[[ ${x} -eq 0 ]] || die "$@"
 * 
 * If you need support, post the output of `emerge --info '=app-crypt/cprocsp-5.0.13300::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/cprocsp-5.0.13300::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'
 * S: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'

>>> Failed to emerge app-crypt/cprocsp-5.0.13300, Log file:

>>>  '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/build.log'

 * Messages for package app-crypt/cprocsp-5.0.13300:

 * ERROR: app-crypt/cprocsp-5.0.13300::localrepo failed (unpack phase):
 *   failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm
 * 
 * Call stack:
 *               ebuild.sh, line 136:  Called src_unpack
 *             environment, line 364:  Called rpm_unpack 'lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *             environment, line 329:  Called assert 'failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *   isolated-functions.sh, line  18:  Called die
 * The specific snippet of code:
 *   		[[ ${x} -eq 0 ]] || die "$@"
 * 
 * If you need support, post the output of `emerge --info '=app-crypt/cprocsp-5.0.13300::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/cprocsp-5.0.13300::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'
 * S: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'
What does

Code: Select all

mount
show?

Code: Select all

# mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,size=10240k,nr_inodes=4064232,mode=755,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,inode64)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,mode=755,inode64)
/dev/sda4 on / type btrfs (rw,noatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
/dev/sda2 on /boot type ext2 (rw,noatime)
/dev/sda5 on /home type btrfs (rw,relatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=3255324k,nr_inodes=813831,mode=700,uid=1000,gid=1000,inode64)
Are there any errors in dmesg about something being mounted read only?
# dmesg ---> https://bpa.st/O3CQ
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56076
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Mar 10, 2025 9:11 pm

soustan,

Code: Select all

[    2.647648] BTRFS: device label / devid 1 transid 6572 /dev/sda4 (8:4) scanned by mount (403)
[    2.648186] BTRFS info (device sda4): first mount of filesystem 78480747-d90a-4d78-bea6-461bc25229ca
[    2.648313] BTRFS info (device sda4): using crc32c (crc32c-intel) checksum algorithm
[    2.648391] BTRFS info (device sda4): using free-space-tree
[    2.694564] dracut: Remounting /dev/disk/by-uuid/78480747-d90a-4d78-bea6-461bc25229ca with -o defaults,noatime,ro
[    2.719265] dracut: Mounted root filesystem /dev/sda4
[    2.770257] dracut: Switching root
Your root appears to be read only.

Code: Select all

[    2.694564] dracut: Remounting /dev/disk/by-uuid/78480747-d90a-4d78-bea6-461bc25229ca with -o defaults,noatime,ro
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
soustan
n00b
n00b
Posts: 45
Joined: Sun Apr 12, 2020 4:06 pm

  • Quote

Post by soustan » Mon Mar 10, 2025 9:22 pm

NeddySeagoon wrote:soustan,

Code: Select all

[    2.647648] BTRFS: device label / devid 1 transid 6572 /dev/sda4 (8:4) scanned by mount (403)
[    2.648186] BTRFS info (device sda4): first mount of filesystem 78480747-d90a-4d78-bea6-461bc25229ca
[    2.648313] BTRFS info (device sda4): using crc32c (crc32c-intel) checksum algorithm
[    2.648391] BTRFS info (device sda4): using free-space-tree
[    2.694564] dracut: Remounting /dev/disk/by-uuid/78480747-d90a-4d78-bea6-461bc25229ca with -o defaults,noatime,ro
[    2.719265] dracut: Mounted root filesystem /dev/sda4
[    2.770257] dracut: Switching root
Your root appears to be read only.

Code: Select all

[    2.694564] dracut: Remounting /dev/disk/by-uuid/78480747-d90a-4d78-bea6-461bc25229ca with -o defaults,noatime,ro
Now I see it too!
Can you tell me how to fix this?
in /etc/fstab ?

Code: Select all

UUID=985eae7c-78e6-4cc0-a580-82928cce6037  /boot      ext2   noatime              1 2
UUID=05be405c-82bd-47d7-8f8e-8e9c1d467052  none       swap   sw                   0 0
UUID=78480747-d90a-4d78-bea6-461bc25229ca  /          btrfs  defaults,noatime     0 1
UUID=a97ecdc1-586a-49fa-8ce1-c93c3debf2dd  /home      btrfs  defaults             0 1
or somewhere else in the system?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56076
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Mar 10, 2025 9:39 pm

soustan,

What is on your kernel command line in grub.cfg?

Normally, filesystems are marked read only after an error but there are none is dmesg.
ro (read only) can be an option in fstab. It's not there.

It can be passed on the kernel command line too.

In the normal course of events, root is mounted read only to be checked, then remounted read write.
I don't know BTRFS but I would expect that to be the same.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
soustan
n00b
n00b
Posts: 45
Joined: Sun Apr 12, 2020 4:06 pm

  • Quote

Post by soustan » Mon Mar 10, 2025 9:46 pm

NeddySeagoon wrote:soustan,

What is on your kernel command line in grub.cfg?

Code: Select all

# cat /boot/grub/grub.cfg 
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod btrfs
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  78480747-d90a-4d78-bea6-461bc25229ca
else
  search --no-floppy --fs-uuid --set=root 78480747-d90a-4d78-bea6-461bc25229ca
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-78480747-d90a-4d78-bea6-461bc25229ca' {
	load_video
	if [ "x$grub_platform" = xefi ]; then
		set gfxpayload=keep
	fi
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  985eae7c-78e6-4cc0-a580-82928cce6037
	else
	  search --no-floppy --fs-uuid --set=root 985eae7c-78e6-4cc0-a580-82928cce6037
	fi
	echo	'Loading Linux 6.12.16-gentoo-dist ...'
	linux	/vmlinuz-6.12.16-gentoo-dist root=UUID=78480747-d90a-4d78-bea6-461bc25229ca ro  
	echo	'Loading initial ramdisk ...'
	initrd	/amd-uc.img /initramfs-6.12.16-gentoo-dist.img
}
submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-78480747-d90a-4d78-bea6-461bc25229ca' {
	menuentry 'Gentoo GNU/Linux, with Linux 6.12.16-gentoo-dist' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.16-gentoo-dist-advanced-78480747-d90a-4d78-bea6-461bc25229ca' {
		load_video
		if [ "x$grub_platform" = xefi ]; then
			set gfxpayload=keep
		fi
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  985eae7c-78e6-4cc0-a580-82928cce6037
		else
		  search --no-floppy --fs-uuid --set=root 985eae7c-78e6-4cc0-a580-82928cce6037
		fi
		echo	'Loading Linux 6.12.16-gentoo-dist ...'
		linux	/vmlinuz-6.12.16-gentoo-dist root=UUID=78480747-d90a-4d78-bea6-461bc25229ca ro  
		echo	'Loading initial ramdisk ...'
		initrd	/amd-uc.img /initramfs-6.12.16-gentoo-dist.img
	}
	menuentry 'Gentoo GNU/Linux, with Linux 6.12.16-gentoo-dist (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.16-gentoo-dist-recovery-78480747-d90a-4d78-bea6-461bc25229ca' {
		load_video
		if [ "x$grub_platform" = xefi ]; then
			set gfxpayload=keep
		fi
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  985eae7c-78e6-4cc0-a580-82928cce6037
		else
		  search --no-floppy --fs-uuid --set=root 985eae7c-78e6-4cc0-a580-82928cce6037
		fi
		echo	'Loading Linux 6.12.16-gentoo-dist ...'
		linux	/vmlinuz-6.12.16-gentoo-dist root=UUID=78480747-d90a-4d78-bea6-461bc25229ca ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/amd-uc.img /initramfs-6.12.16-gentoo-dist.img
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/25_bli ###
if [ "$grub_platform" = "efi" ]; then
  insmod bli
fi
### END /etc/grub.d/25_bli ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
	menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
		fwsetup
	}
fi
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
Normally, filesystems are marked read only after an error but there are none is dmesg.
ro (read only) can be an option in fstab. It's not there.

It can be passed on the kernel command line too.

In the normal course of events, root is mounted read only to be checked, then remounted read write.
I don't know BTRFS but I would expect that to be the same.
Last edited by soustan on Mon Mar 10, 2025 9:54 pm, edited 2 times in total.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56076
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Mar 10, 2025 9:52 pm

soustan,

Code: Select all

   linux   /vmlinuz-6.12.16-gentoo-dist root=UUID=78480747-d90a-4d78-bea6-461bc25229ca ro
Where did that ro come from and why is it there?

Understand that before you remove it. I have never used BTRFS.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
soustan
n00b
n00b
Posts: 45
Joined: Sun Apr 12, 2020 4:06 pm

  • Quote

Post by soustan » Mon Mar 10, 2025 10:11 pm

NeddySeagoon wrote:soustan,

Code: Select all

   linux   /vmlinuz-6.12.16-gentoo-dist root=UUID=78480747-d90a-4d78-bea6-461bc25229ca ro
Where did that ro come from and why is it there?

Understand that before you remove it. I have never used BTRFS.
So I can't figure out what's wrong with my system?? This causes the partition to be mounted incorrectly.
Because of this, it later turns out that the rights were granted "read-only".
I don't understand! You probably know more than me!! Why is this so.
I am sure that BTRFS, in this sense, should be treated like ext4, for example.

Code: Select all

linux   /vmlinuz-6.12.16-gentoo-dist root=UUID=78480747-d90a-4d78-bea6-461bc25229ca ro
I definitely used the "ro" (read-only) option, I didn't specify it here.
Apparently something went wrong during the installation!
But now it's probably not going to figure it out. And I'm sure it doesn't make sense!
Do you think that if it were ext4, for example,
it would be possible to delete "ro" in the file /boot/grub/grub.cfg on line "linux /vmlinuz-6.12.16-gentoo-dist root=UUID=78480747-d90a-4d78-bea6-461bc25229ca ro"
and the issue would be resolved!
Right ?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56076
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Mar 10, 2025 10:20 pm

soustan,

For ext4, yes. Only until grub.cfg is regenerated.
The script that generates grub.cfg must be being told ta use the ro only option.

I'm not a grb2 user any longer.

The dirty hack to test

At the grub menu, highlight the entry to boot. Press the 'e' key for edit.
Remove the ro option.
Follow the on screen instructions to boot.

This only edits the in memory copy of grub.cfg.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
soustan
n00b
n00b
Posts: 45
Joined: Sun Apr 12, 2020 4:06 pm

  • Quote

Post by soustan » Mon Mar 10, 2025 11:16 pm

NeddySeagoon wrote:soustan,

For ext4, yes. Only until grub.cfg is regenerated.
The script that generates grub.cfg must be being told ta use the ro only option.

I'm not a grb2 user any longer.

The dirty hack to test

At the grub menu, highlight the entry to boot. Press the 'e' key for edit.
Remove the ro option.
Follow the on screen instructions to boot.

This only edits the in memory copy of grub.cfg.
NeddySeagoon,

Ok!
I did this...
logged in to the system and adjusted the file ./grub.cfg.

Code: Select all

# cat /boot/grub/grub.cfg 
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod btrfs
set root='hd0,gpt4'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  78480747-d90a-4d78-bea6-461bc25229ca
else
  search --no-floppy --fs-uuid --set=root 78480747-d90a-4d78-bea6-461bc25229ca
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=ru_RU
  insmod gettext
fi
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-78480747-d90a-4d78-bea6-461bc25229ca' {
	load_video
	if [ "x$grub_platform" = xefi ]; then
		set gfxpayload=keep
	fi
	insmod gzio
	insmod part_gpt
	insmod ext2
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  985eae7c-78e6-4cc0-a580-82928cce6037
	else
	  search --no-floppy --fs-uuid --set=root 985eae7c-78e6-4cc0-a580-82928cce6037
	fi
	echo	'Загружается Linux 6.12.16-gentoo-dist …'
	linux	/vmlinuz-6.12.16-gentoo-dist root=UUID=78480747-d90a-4d78-bea6-461bc25229ca  
	echo	'Загружается начальный виртуальный диск …'
	initrd	/intel-uc.img /amd-uc.img /initramfs-6.12.16-gentoo-dist.img
}
submenu 'Дополнительные параметры для Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-78480747-d90a-4d78-bea6-461bc25229ca' {
	menuentry 'Gentoo GNU/Linux, с Linux 6.12.16-gentoo-dist' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.16-gentoo-dist-advanced-78480747-d90a-4d78-bea6-461bc25229ca' {
		load_video
		if [ "x$grub_platform" = xefi ]; then
			set gfxpayload=keep
		fi
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  985eae7c-78e6-4cc0-a580-82928cce6037
		else
		  search --no-floppy --fs-uuid --set=root 985eae7c-78e6-4cc0-a580-82928cce6037
		fi
		echo	'Загружается Linux 6.12.16-gentoo-dist …'
		linux	/vmlinuz-6.12.16-gentoo-dist root=UUID=78480747-d90a-4d78-bea6-461bc25229ca  
		echo	'Загружается начальный виртуальный диск …'
		initrd	/intel-uc.img /amd-uc.img /initramfs-6.12.16-gentoo-dist.img
	}
	menuentry 'Gentoo GNU/Linux, с Linux 6.12.16-gentoo-dist (режим восстановления)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.12.16-gentoo-dist-recovery-78480747-d90a-4d78-bea6-461bc25229ca' {
		load_video
		if [ "x$grub_platform" = xefi ]; then
			set gfxpayload=keep
		fi
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  985eae7c-78e6-4cc0-a580-82928cce6037
		else
		  search --no-floppy --fs-uuid --set=root 985eae7c-78e6-4cc0-a580-82928cce6037
		fi
		echo	'Загружается Linux 6.12.16-gentoo-dist …'
		linux	/vmlinuz-6.12.16-gentoo-dist root=UUID=78480747-d90a-4d78-bea6-461bc25229ca ro single 
		echo	'Загружается начальный виртуальный диск …'
		initrd	/intel-uc.img /amd-uc.img /initramfs-6.12.16-gentoo-dist.img
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/25_bli ###
if [ "$grub_platform" = "efi" ]; then
  insmod bli
fi
### END /etc/grub.d/25_bli ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
	menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
		fwsetup
	}
fi
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###
After that, I rebooted the PC.
After that, I see that the partition / is mounted and remounted without the "ro".
The output of the "dmesg" command, I am attaching. ---> https://bpa.st/IIHQ

Code: Select all

[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-6.12.16-gentoo-dist root=UUID=78480747-d90a-4d78-bea6-461bc25229ca
and

Code: Select all

[    0.077572] Kernel command line: BOOT_IMAGE=/vmlinuz-6.12.16-gentoo-dist root=UUID=78480747-d90a-4d78-bea6-461bc25229ca
and

Code: Select all

[    2.666911] BTRFS info (device sda4): first mount of filesystem 78480747-d90a-4d78-bea6-461bc25229ca
and

Code: Select all

[    2.712059] dracut: Remounting /dev/disk/by-uuid/78480747-d90a-4d78-bea6-461bc25229ca with -o defaults,noatime

However, even after that, the system issues all the same errors at the time of installing the package.
The command in the console

Code: Select all

# emerge --ask =app-crypt/cprocsp-5.0.13300::localrepo

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 4.29 s (backtrack: 0/20).

[ebuild  N    ~] app-crypt/cprocsp-5.0.13300  USE="certprop cptools gui_gtk ifd-rutokens import_ca kc1 pkcs11 plugin readers -stunnel" 

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-crypt/cprocsp-5.0.13300::localrepo
 * linux-amd64.tgz BLAKE2B SHA512 size ;-) ...                                                                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking linux-amd64.tgz to /var/tmp/portage/app-crypt/cprocsp-5.0.13300/work
mv: cannot move 'linux-amd64/accord_random-1-0.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/accord_random-1-0.src.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-apache-modssl-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-apache-modssl-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-certprop-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-certprop-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-compat-altlinux-64-1.0.0-1.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-compat-altlinux-64-1.0.0-1.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-compat-suse-1.0.0-1.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-compat-suse-1.0.0-1.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-cptools-gtk-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-cptools-gtk-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-curl-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-curl-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-drv-64-5.0.13000-7.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-drv-64-5.0.13000-7.src.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-drv-devel-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-drv-devel-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-devel-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-devel-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-esp-64-5.0.13000-7.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-esp-64-5.0.13000-7.src.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-genpsk-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-genpsk-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-ike-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-ike-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-legacy-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-legacy-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-nginx-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-nginx-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-pki-cades-64-2.0.15000-1.amd64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-pki-cades-64-2.0.15000-1.amd64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-pki-phpcades-2.0.15000-1.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-pki-phpcades-2.0.15000-1.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-pki-plugin-64-2.0.15000-1.amd64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-pki-plugin-64-2.0.15000-1.amd64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-cloud-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-cloud-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-cpfkc-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-cpfkc-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-cryptoki-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-cryptoki-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-edoc-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-edoc-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-emv-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-emv-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-esmart-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-esmart-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-gui-gtk-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-gui-gtk-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-infocrypt-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-infocrypt-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-inpaspot-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-inpaspot-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-jacarta-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-jacarta-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-kst-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-kst-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-mskey-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-mskey-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-novacard-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-novacard-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-pcsc-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-pcsc-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-relay-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-relay-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-rosan-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-rosan-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-rustoken-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-rustoken-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-rutoken-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-rutoken-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-stunnel-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-stunnel-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-stunnel-msspi-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-stunnel-msspi-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-xer2print-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-xer2print-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cpverify' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cpverify': Permission denied
mv: cannot move 'linux-amd64/ifd-rutokens_1.0.4_1.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/ifd-rutokens_1.0.4_1.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/install.desktop' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/install.desktop': Permission denied
mv: cannot move 'linux-amd64/install.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/install.sh': Permission denied
mv: cannot move 'linux-amd64/install_gui.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/install_gui.sh': Permission denied
mv: cannot move 'linux-amd64/integrity.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/integrity.sh': Permission denied
mv: cannot move 'linux-amd64/linux-amd64.ini' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/linux-amd64.ini': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-base-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-base-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-ca-certs-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-ca-certs-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-capilite-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-capilite-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-devel-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-devel-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-import-ca-certs-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-import-ca-certs-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-kc1-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-kc2-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc2-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-pkcs11-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-pkcs11-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rcrypt-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rcrypt-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-accord-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-accord-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-accord-ccid-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-accord-ccid-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-ancud-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-ancud-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-crypton-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-crypton-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-maxim-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-maxim-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-sobol-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-sobol-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-vityaz-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-vityaz-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/readme.txt' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/readme.txt': Permission denied
mv: cannot move 'linux-amd64/sobol-1-8.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/sobol-1-8.src.rpm': Permission denied
mv: cannot move 'linux-amd64/uninstall.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/uninstall.sh': Permission denied
>>> Unpacking lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm to /var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300
/usr/bin/rpm2tar: line 157: /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm: No such file or directory
rpm2tar: error: unable to locate cpio offset (broken/unknown compression?)
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
 * ERROR: app-crypt/cprocsp-5.0.13300::localrepo failed (unpack phase):
 *   failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm
 * 
 * Call stack:
 *               ebuild.sh, line 136:  Called src_unpack
 *             environment, line 364:  Called rpm_unpack 'lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *             environment, line 329:  Called assert 'failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *   isolated-functions.sh, line  18:  Called die
 * The specific snippet of code:
 *   		[[ ${x} -eq 0 ]] || die "$@"
 * 
 * If you need support, post the output of `emerge --info '=app-crypt/cprocsp-5.0.13300::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/cprocsp-5.0.13300::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'
 * S: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'

>>> Failed to emerge app-crypt/cprocsp-5.0.13300, Log file:

>>>  '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/build.log'

 * Messages for package app-crypt/cprocsp-5.0.13300:

 * ERROR: app-crypt/cprocsp-5.0.13300::localrepo failed (unpack phase):
 *   failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm
 * 
 * Call stack:
 *               ebuild.sh, line 136:  Called src_unpack
 *             environment, line 364:  Called rpm_unpack 'lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *             environment, line 329:  Called assert 'failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *   isolated-functions.sh, line  18:  Called die
 * The specific snippet of code:
 *   		[[ ${x} -eq 0 ]] || die "$@"
 * 
 * If you need support, post the output of `emerge --info '=app-crypt/cprocsp-5.0.13300::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/cprocsp-5.0.13300::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'
 * S: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'
And as you can see...
it's like I didn't do anything!! Because the output is the same!!
And now I don't understand even more, what's going on??

P.S.

In file dmesg, I see too:

Code: Select all

[    2.736649] dracut: Mounted root filesystem /dev/sda4
[    2.786946] dracut: Switching root
[    3.802225] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20240827/utaddress-204)
[    3.802236] ACPI: OSL: Resource conflict; ACPI support missing from driver?
[    3.802240] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\_SB.PCI0.LPCB.GPBX) (20240827/utaddress-204)
[    3.802246] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20240827/utaddress-204)
[    3.802251] ACPI: OSL: Resource conflict; ACPI support missing from driver?
[    3.802252] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\_SB.PCI0.LPCB.GPBX) (20240827/utaddress-204)
[    3.802257] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20240827/utaddress-204)
[    3.802261] ACPI: OSL: Resource conflict; ACPI support missing from driver?
[    3.802263] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\_SB.PCI0.LPCB.GPBX) (20240827/utaddress-204)
[    3.802268] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x000000000000050F (\_GPE.GPIO) (20240827/utaddress-204)
[    3.802272] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20240827/utaddress-204)
[    3.802276] ACPI: OSL: Resource conflict; ACPI support missing from driver?
This is many errors!!
So, may be this errors - it's target this situation ?
What do you think about this ?
Top
sublogic
Guru
Guru
User avatar
Posts: 385
Joined: Mon Mar 21, 2022 3:02 am
Location: Pennsylvania, USA

  • Quote

Post by sublogic » Mon Mar 10, 2025 11:39 pm

Reading the thread, I didn't think the ro was the problem. My kernel command line has it too, and my root is remounted read-write by the init scripts after the switch_root.

Also this, from the posted dmesg:

Code: Select all

 /dev/sda4 on / type btrfs (rw,noatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/)
Note the rw.

It must be a btrfs configuration issue, of which I know nothing, sorry.

@soustan: just to confirm, as root, a command like touch /root/REMOVEME also fails ?
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Mar 11, 2025 12:53 am

There is no need to touch a dummy file. [[ -w / ]]; echo $? would suffice. If a specific error message is desired, >> file will also work - but take care to use two > as shown.

As I read the output, this may be a bug in the ebuild, which will need to be handled by the maintainer of localrepo. I don't see the actual ebuild posted, nor a link to it, so we cannot see what it is doing that is provoking these errors. soustan: please provide the ebuild or a link to it. Also, show the output of namei -l /var/tmp/portage/app-crypt/.
Top
soustan
n00b
n00b
Posts: 45
Joined: Sun Apr 12, 2020 4:06 pm

  • Quote

Post by soustan » Tue Mar 11, 2025 6:23 am

sublogic wrote:Reading the thread, I didn't think the ro was the problem. My kernel command line has it too, and my root is remounted read-write by the init scripts after the switch_root.

Also this, from the posted dmesg:

Code: Select all

 /dev/sda4 on / type btrfs (rw,noatime,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/)
Note the rw.

It must be a btrfs configuration issue, of which I know nothing, sorry.

@soustan: just to confirm, as root, a command like touch /root/REMOVEME also fails ?
NeddySeagoon,

# touch/root/REMOVE ME
-bash: touch/root/REMOVEME: There is no such file or directory
Top
Banana
Moderator
Moderator
User avatar
Posts: 2372
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Tue Mar 11, 2025 6:42 am

soustan wrote: # touch/root/REMOVE ME
-bash: touch/root/REMOVEME: There is no such file or directory
Did you really wrote this command like this, if so the error comes from the missing space between touch and /root/REMOVEME
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
soustan
n00b
n00b
Posts: 45
Joined: Sun Apr 12, 2020 4:06 pm

  • Quote

Post by soustan » Tue Mar 11, 2025 7:31 am

Hu wrote:There is no need to touch a dummy file. [[ -w / ]]; echo $? would suffice. If a specific error message is desired, >> file will also work - but take care to use two > as shown.

As I read the output, this may be a bug in the ebuild, which will need to be handled by the maintainer of localrepo. I don't see the actual ebuild posted, nor a link to it, so we cannot see what it is doing that is provoking these errors. soustan: please provide the ebuild or a link to it. Also, show the output of namei -l /var/tmp/portage/app-crypt/.

Code: Select all

# namei -l /var/tmp/portage/app-crypt/
f: /var/tmp/portage/app-crypt/
drwxr-xr-x root    root    /
drwxr-xr-x root    root    var
drwxrwxrwt root    root    tmp
drwxrwxr-x portage portage portage
drwxrwxr-x portage portage app-crypt

Code: Select all

# cat /var/db/repos/localrepo/app-crypt/cprocsp/cprocsp-5.0.13300.ebuild 
# Copyright 1999-2020 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=7
inherit rpm

DESCRIPTION="Cryptopro package"
HOMEPAGE="http://www.cryptopro.ru"
SRC_URI="amd64? ( linux-amd64.tgz )"

LICENSE="Cryptopro"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+kc1 +gui_gtk +readers +cptools stunnel +pkcs11 +import_ca +plugin +certprop +ifd-rutokens"

REQUIRED_USE="gui_gtk? ( kc1 )
    readers? ( kc1 )
    cptools? ( kc1 )
    pkcs11? ( kc1 )
    import_ca? ( kc1 )
    plugin? ( gui_gtk )
"

DEPEND=" sys-apps/pcsc-tools
    sys-apps/pcsc-lite
    sys-apps/lsb-release
    app-crypt/ccid
    app-arch/rpm2targz"

RDEPEND="${DEPEND}"

RESTRICT="mirror strip"

src_unpack () {
    unpack ${A}
    cd ${WORKDIR}
    mv linux-amd64/* ${DISTDIR}
    rm -rf *
    mkdir ${S}
    cd ${S}

    SUFF="${PV}-7"

if use kc1; then
rpm_unpack lsb-cprocsp-kc1-64-${SUFF}.x86_64.rpm
rpm_unpack lsb-cprocsp-base-${SUFF}.noarch.rpm
rpm_unpack lsb-cprocsp-capilite-64-${SUFF}.x86_64.rpm
rpm_unpack lsb-cprocsp-rdr-64-${SUFF}.x86_64.rpm
rpm_unpack cprocsp-curl-64-${SUFF}.x86_64.rpm
fi

if use gui_gtk; then
rpm_unpack cprocsp-rdr-gui-gtk-64-${SUFF}.x86_64.rpm
fi

if use readers; then
rpm_unpack cprocsp-rdr-pcsc-64-${SUFF}.x86_64.rpm
rpm_unpack cprocsp-rdr-emv-64-${SUFF}.x86_64.rpm
#rpm_unpack cprocsp-rdr-inpaspot-64-${SUFF}.x86_64.rpm
rpm_unpack cprocsp-rdr-kst-64-${SUFF}.x86_64.rpm
rpm_unpack cprocsp-rdr-mskey-64-${SUFF}.x86_64.rpm
rpm_unpack cprocsp-rdr-novacard-64-${SUFF}.x86_64.rpm
rpm_unpack cprocsp-rdr-edoc-64-${SUFF}.x86_64.rpm
rpm_unpack cprocsp-rdr-rutoken-64-${SUFF}.x86_64.rpm
rpm_unpack cprocsp-rdr-cloud-64-${SUFF}.x86_64.rpm
rpm_unpack cprocsp-rdr-cpfkc-64-${SUFF}.x86_64.rpm
rpm_unpack cprocsp-rdr-infocrypt-64-${SUFF}.x86_64.rpm
rpm_unpack cprocsp-rdr-rosan-64-${SUFF}.x86_64.rpm
rpm_unpack cprocsp-rdr-cryptoki-64-${SUFF}.x86_64.rpm
rpm_unpack cprocsp-rdr-esmart-64-${SUFF}.x86_64.rpm
rpm_unpack cprocsp-rdr-jacarta-64-${SUFF}.x86_64.rpm
rpm_unpack cprocsp-rdr-relay-64-${SUFF}.x86_64.rpm
fi

if use cptools; then
rpm_unpack cprocsp-cptools-gtk-64-${SUFF}.x86_64.rpm
fi

if use pkcs11; then
rpm_unpack lsb-cprocsp-pkcs11-64-${SUFF}.x86_64.rpm
fi

if use import_ca; then
rpm_unpack lsb-cprocsp-ca-certs-${SUFF}.noarch.rpm
rpm_unpack lsb-cprocsp-import-ca-certs-${SUFF}.noarch.rpm
fi

if use plugin; then
for i in "${DISTDIR}"/cprocsp-pki-*-1.amd64.rpm; do
rpm_unpack "${i}"
done
fi

if use certprop; then
rpm_unpack cprocsp-certprop-64-${SUFF}.x86_64.rpm
fi

if use ifd-rutokens; then
rpm_unpack ifd-rutokens_1.0.4_1.x86_64.rpm
fi

rm ${S}/lib64/ld-lsb-x86-64.so.3
}

src_install() {
    cp -vR ${S}/* ${D}/
    rm -f ${D}/etc/init.d/cprocsp
    cp -f ${FILESDIR}/cprocsp ${D}/etc/init.d/cprocsp
}

pkg_postinst() {
    chmod -R 777 /var/opt/cprocsp
    touch /etc/debian_version
    echo "jessie/sid" > /etc/debian_version
    cp -f ${FILESDIR}/config64.ini /etc/opt/cprocsp/config64.ini
    cp -f ${FILESDIR}/license.ini /etc/opt/cprocsp/license.ini
    mkdir /var/opt/cprocsp && mkdir /var/opt/cprocsp/tmp
    if test -z "";then
	if ! grep -q '/opt/cprocsp/lib/amd64' /etc/ld.so.conf;then
	echo "/opt/cprocsp/lib/amd64" > /etc/ld.so.conf.d/cprocsp-lib-amd64.conf
        fi
        /sbin/ldconfig -f /etc/ld.so.conf
    fi
    /bin/bash ${FILESDIR}/addcerts.sh
    rc-update add cprocsp default
    /etc/init.d/cprocsp start
}

pkg_prerm ()  {
    /etc/init.d/cprocsp stop
    rc-update del cprocsp default
    rm -Rv /etc/init.d/cprocsp
    rm -Rv /etc/debian_version
#    rm -Rv /var/opt/cprocsp
    rm -Rv /etc/opt/cprocsp
}

Code: Select all

# emerge --ask =app-crypt/cprocsp-5.0.13300::localrepo

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.31 s (backtrack: 0/20).

[ebuild  N    ~] app-crypt/cprocsp-5.0.13300  USE="certprop cptools gui_gtk ifd-rutokens import_ca kc1 pkcs11 plugin readers -stunnel" 

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-crypt/cprocsp-5.0.13300::localrepo
 * linux-amd64.tgz BLAKE2B SHA512 size ;-) ...                                                                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking linux-amd64.tgz to /var/tmp/portage/app-crypt/cprocsp-5.0.13300/work
mv: cannot move 'linux-amd64/accord_random-1-0.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/accord_random-1-0.src.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-apache-modssl-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-apache-modssl-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-certprop-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-certprop-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-compat-altlinux-64-1.0.0-1.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-compat-altlinux-64-1.0.0-1.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-compat-suse-1.0.0-1.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-compat-suse-1.0.0-1.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-cptools-gtk-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-cptools-gtk-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-curl-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-curl-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-drv-64-5.0.13300-7.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-drv-64-5.0.13300-7.src.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-drv-devel-5.0.13300-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-drv-devel-5.0.13300-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-devel-5.0.13300-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-devel-5.0.13300-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-esp-64-5.0.13300-7.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-esp-64-5.0.13300-7.src.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-genpsk-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-genpsk-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-ike-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-ike-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-legacy-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-legacy-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-nginx-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-nginx-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-pki-cades-64-2.0.15260-1.amd64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-pki-cades-64-2.0.15260-1.amd64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-pki-phpcades-2.0.15260-1.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-pki-phpcades-2.0.15260-1.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-pki-plugin-64-2.0.15260-1.amd64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-pki-plugin-64-2.0.15260-1.amd64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-cloud-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-cloud-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-cpfkc-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-cpfkc-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-cryptoki-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-cryptoki-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-edoc-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-edoc-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-emv-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-emv-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-esmart-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-esmart-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-gui-gtk-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-gui-gtk-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-infocrypt-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-infocrypt-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-inpaspot-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-inpaspot-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-jacarta-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-jacarta-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-kst-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-kst-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-mskey-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-mskey-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-novacard-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-novacard-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-pcsc-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-pcsc-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-relay-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-relay-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-rosan-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-rosan-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-rustoken-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-rustoken-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-rutoken-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-rutoken-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-stunnel-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-stunnel-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-stunnel-msspi-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-stunnel-msspi-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-xer2print-5.0.13300-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-xer2print-5.0.13300-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cpverify' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cpverify': Permission denied
mv: cannot move 'linux-amd64/ifd-rutokens_1.0.4_1.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/ifd-rutokens_1.0.4_1.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/install.desktop' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/install.desktop': Permission denied
mv: cannot move 'linux-amd64/install.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/install.sh': Permission denied
mv: cannot move 'linux-amd64/install_gui.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/install_gui.sh': Permission denied
mv: cannot move 'linux-amd64/integrity.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/integrity.sh': Permission denied
mv: cannot move 'linux-amd64/linux-amd64.ini' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/linux-amd64.ini': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-base-5.0.13300-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-base-5.0.13300-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-ca-certs-5.0.13300-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-ca-certs-5.0.13300-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-capilite-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-capilite-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-devel-5.0.13300-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-devel-5.0.13300-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-import-ca-certs-5.0.13300-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-import-ca-certs-5.0.13300-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-kc2-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc2-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-pkcs11-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-pkcs11-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rcrypt-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rcrypt-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-accord-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-accord-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-accord-ccid-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-accord-ccid-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-ancud-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-ancud-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-crypton-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-crypton-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-maxim-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-maxim-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-sobol-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-sobol-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-vityaz-64-5.0.13300-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-vityaz-64-5.0.13300-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/readme.txt' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/readme.txt': Permission denied
mv: cannot move 'linux-amd64/sobol-1-8.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/sobol-1-8.src.rpm': Permission denied
mv: cannot move 'linux-amd64/uninstall.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/uninstall.sh': Permission denied
>>> Unpacking lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm to /var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300
/usr/bin/rpm2tar: line 157: /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm: No such file or directory
rpm2tar: error: unable to locate cpio offset (broken/unknown compression?)
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
 * ERROR: app-crypt/cprocsp-5.0.13300::localrepo failed (unpack phase):
 *   failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm
 * 
 * Call stack:
 *               ebuild.sh, line 136:  Called src_unpack
 *             environment, line 364:  Called rpm_unpack 'lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *             environment, line 329:  Called assert 'failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *   isolated-functions.sh, line  18:  Called die
 * The specific snippet of code:
 *   		[[ ${x} -eq 0 ]] || die "$@"
 * 
 * If you need support, post the output of `emerge --info '=app-crypt/cprocsp-5.0.13300::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/cprocsp-5.0.13300::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'
 * S: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'

>>> Failed to emerge app-crypt/cprocsp-5.0.13300, Log file:

>>>  '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/build.log'

 * Messages for package app-crypt/cprocsp-5.0.13300:

 * ERROR: app-crypt/cprocsp-5.0.13300::localrepo failed (unpack phase):
 *   failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm
 * 
 * Call stack:
 *               ebuild.sh, line 136:  Called src_unpack
 *             environment, line 364:  Called rpm_unpack 'lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *             environment, line 329:  Called assert 'failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *   isolated-functions.sh, line  18:  Called die
 * The specific snippet of code:
 *   		[[ ${x} -eq 0 ]] || die "$@"
 * 
 * If you need support, post the output of `emerge --info '=app-crypt/cprocsp-5.0.13300::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/cprocsp-5.0.13300::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'
 * S: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'

Code: Select all

# ls -l /var/db/repos/localrepo/app-crypt/cprocsp/Manifest 
-rw-r--r-- 1 root root 303 мар  9 02:19 /var/db/repos/localrepo/app-crypt/cprocsp/Manifest

Code: Select all

# # cat /var/db/repos/localrepo/app-crypt/cprocsp/Manifest | grep -i tgz
DIST linux-amd64.tgz 31845074 BLAKE2B bef8320e69cf7d0ee02ac0d48e889f5be1426235ccedf79cd29b85b1f5433796ee1c507120fac08c7fc82406da5d7b1f8c88b93b523af95da62c7ecf945c2299 SHA512 d29ae5fb0f6486aa0425a072ef4e1a007e7bef75320e4cc9c88c3f2379a6956c1b835691565d08c025885cbd5ca28444821cf901e6b8d004ac8d4c64c8ebccdb

Code: Select all

# sha512sum /var/cache/distfiles/linux-amd64.tgz 
d29ae5fb0f6486aa0425a072ef4e1a007e7bef75320e4cc9c88c3f2379a6956c1b835691565d08c025885cbd5ca28444821cf901e6b8d004ac8d4c64c8ebccdb  /var/cache/distfiles/linux-amd64.tgz

Code: Select all

# ls -l /var/cache/distfiles/linux-amd64.tgz 
-rw-r--r-- 1 sg sg 31845074 мар 11 14:07 /var/cache/distfiles/linux-amd64.tgz

Code: Select all

-rw-r--r-- 1 sg sg 31845074 мар 11 14:07 /var/cache/distfiles/linux-amd64.tgz
The rights to extract the file are rw-r--r-- linux-amd64.tgz , which is also sufficient. However, as you can see, unpacking does not occur during installation!!

Code: Select all

ls -la ./linux-amd64
total 32580
drwxr-xr-x 1 sg   sg       5126 окт 25 12:42 .
drwxrwxrwx 1 root root       52 мар 11 14:50 ..
-rw-r--r-- 1 sg   sg       9818 окт 25 12:38 accord_random-1-0.src.rpm
-rw-r--r-- 1 sg   sg     182526 окт 25 12:38 cprocsp-apache-modssl-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      10491 окт 25 12:38 cprocsp-certprop-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg       2203 окт 25 12:38 cprocsp-compat-altlinux-64-1.0.0-1.noarch.rpm
-rw-r--r-- 1 sg   sg       1712 окт 25 12:38 cprocsp-compat-suse-1.0.0-1.noarch.rpm
-rw-r--r-- 1 sg   sg    2288794 окт 25 12:38 cprocsp-cptools-gtk-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg     265062 окт 25 12:38 cprocsp-curl-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg     648390 окт 25 12:38 cprocsp-drv-64-5.0.13300-7.src.rpm
-rw-r--r-- 1 sg   sg     580690 окт 25 12:38 cprocsp-drv-devel-5.0.13300-7.noarch.rpm
-rw-r--r-- 1 sg   sg      73794 окт 25 12:38 cprocsp-ipsec-devel-5.0.13300-7.noarch.rpm
-rw-r--r-- 1 sg   sg      39873 окт 25 12:38 cprocsp-ipsec-esp-64-5.0.13300-7.src.rpm
-rw-r--r-- 1 sg   sg      26438 окт 25 12:38 cprocsp-ipsec-genpsk-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      76921 окт 25 12:38 cprocsp-ipsec-ike-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg    3192832 окт 25 12:38 cprocsp-legacy-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg    1993322 окт 25 12:38 cprocsp-nginx-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg   13783836 окт 25 12:42 cprocsp-pki-cades-64-2.0.15260-1.amd64.rpm
-rw-r--r-- 1 sg   sg      46056 окт 25 12:42 cprocsp-pki-phpcades-2.0.15260-1.noarch.rpm
-rw-r--r-- 1 sg   sg     681800 окт 25 12:42 cprocsp-pki-plugin-64-2.0.15260-1.amd64.rpm
-rw-r--r-- 1 sg   sg     291790 окт 25 12:38 cprocsp-rdr-cloud-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      39972 окт 25 12:38 cprocsp-rdr-cpfkc-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      96348 окт 25 12:38 cprocsp-rdr-cryptoki-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      11264 окт 25 12:38 cprocsp-rdr-edoc-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      14580 окт 25 12:38 cprocsp-rdr-emv-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      88470 окт 25 12:38 cprocsp-rdr-esmart-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg     107029 окт 25 12:38 cprocsp-rdr-gui-gtk-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      29948 окт 25 12:38 cprocsp-rdr-infocrypt-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      17448 окт 25 12:38 cprocsp-rdr-inpaspot-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg     298676 окт 25 12:38 cprocsp-rdr-jacarta-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      10608 окт 25 12:38 cprocsp-rdr-kst-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      10924 окт 25 12:38 cprocsp-rdr-mskey-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      14020 окт 25 12:38 cprocsp-rdr-novacard-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      61570 окт 25 12:38 cprocsp-rdr-pcsc-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      20160 окт 25 12:38 cprocsp-rdr-relay-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      13544 окт 25 12:38 cprocsp-rdr-rosan-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      10896 окт 25 12:38 cprocsp-rdr-rustoken-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      94400 окт 25 12:38 cprocsp-rdr-rutoken-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      66417 окт 25 12:38 cprocsp-stunnel-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      96551 окт 25 12:38 cprocsp-stunnel-msspi-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      43494 окт 25 12:38 cprocsp-xer2print-5.0.13300-7.noarch.rpm
-rwxr-xr-x 1 sg   sg    1455827 окт 25 12:38 cpverify
-rw-r--r-- 1 sg   sg      62866 окт 25 12:38 ifd-rutokens_1.0.4_1.x86_64.rpm
-rwxr-xr-x 1 sg   sg        236 окт 25 12:38 install.desktop
-rwxr-xr-x 1 sg   sg      34925 окт 25 12:38 install_gui.sh
-rwxr-xr-x 1 sg   sg      14812 окт 25 12:38 install.sh
-rwxr-xr-x 1 sg   sg       9171 окт 25 12:42 integrity.sh
-rw-r--r-- 1 sg   sg         93 окт 25 12:38 linux-amd64.ini
-rw-r--r-- 1 sg   sg     189911 окт 25 12:38 lsb-cprocsp-base-5.0.13300-7.noarch.rpm
-rw-r--r-- 1 sg   sg      20112 окт 25 12:38 lsb-cprocsp-ca-certs-5.0.13300-7.noarch.rpm
-rw-r--r-- 1 sg   sg    1995274 окт 25 12:38 lsb-cprocsp-capilite-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg    1247340 окт 25 12:38 lsb-cprocsp-devel-5.0.13300-7.noarch.rpm
-rw-r--r-- 1 sg   sg       5494 окт 25 12:38 lsb-cprocsp-import-ca-certs-5.0.13300-7.noarch.rpm
-rw-r--r-- 1 sg   sg     937290 окт 25 12:38 lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg    1033844 окт 25 12:38 lsb-cprocsp-kc2-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg     199849 окт 25 12:38 lsb-cprocsp-pkcs11-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      98807 окт 25 12:38 lsb-cprocsp-rcrypt-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg     475212 окт 25 12:38 lsb-cprocsp-rdr-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      10352 окт 25 12:38 lsb-cprocsp-rdr-accord-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      10024 окт 25 12:38 lsb-cprocsp-rdr-accord-ccid-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg       9936 окт 25 12:38 lsb-cprocsp-rdr-ancud-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      11740 окт 25 12:38 lsb-cprocsp-rdr-crypton-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg       7636 окт 25 12:38 lsb-cprocsp-rdr-maxim-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg      23542 окт 25 12:38 lsb-cprocsp-rdr-sobol-64-5.0.13300-7.x86_64.rpm
-rw-r--r-- 1 sg   sg       7732 окт 25 12:38 lsb-cprocsp-rdr-vityaz-64-5.0.13300-7.x86_64.rpm
-rwxr-xr-x 1 sg   sg       2139 окт 25 12:38 readme.txt
-rw-r--r-- 1 sg   sg      10403 окт 25 12:38 sobol-1-8.src.rpm
-rwxr-xr-x 1 sg   sg       4767 окт 25 12:38 uninstall.sh
I have provided all the necessary results in the console. If you need any more, please write to me. However, as you can see now .ebuild is not installed!
I still don't understand what could be the reason??!
Top
soustan
n00b
n00b
Posts: 45
Joined: Sun Apr 12, 2020 4:06 pm

  • Quote

Post by soustan » Tue Mar 11, 2025 8:03 am

Banana wrote:
soustan wrote: # touch/root/REMOVE ME
-bash: touch/root/REMOVEME: There is no such file or directory
Did you really wrote this command like this, if so the error comes from the missing space between touch and /root/REMOVEME
Banana,

Ok!
I really misstated the command!

Code: Select all

# touch /root/REMOVEME
#
Fixed it...
Top
Banana
Moderator
Moderator
User avatar
Posts: 2372
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Tue Mar 11, 2025 9:38 am

This could be also a ebuild error since it is a custom one, right?
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
soustan
n00b
n00b
Posts: 45
Joined: Sun Apr 12, 2020 4:06 pm

  • Quote

Post by soustan » Tue Mar 11, 2025 9:55 am

Banana wrote:This could be also a ebuild error since it is a custom one, right?
Banana.

Yes, This is .ebuild a custom one and specific it.
Top
sublogic
Guru
Guru
User avatar
Posts: 385
Joined: Mon Mar 21, 2022 3:02 am
Location: Pennsylvania, USA

  • Quote

Post by sublogic » Tue Mar 11, 2025 10:16 pm

soustan wrote:

Code: Select all

# touch /root/REMOVEME
Fixed it...
Good, your root filesystem is writeable. You can remove the file now. (Or not, when you stumble on it years from now it will bring back memories :) ) .

Must be an ebuild issue. Related to sandboxing ? It's beyond my expertise, I am afraid.
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Wed Mar 12, 2025 12:19 am

Perhaps you should address the first problem first. Your output shows that mv is failing badly, but you ignore that and move on to try to consume files that are only available if the mv succeeded. It looks like $DISTDIR is not writable here, so you should not be writing to it. From a cursory read of rpm_unpack, I think you cannot use rpm_unpack when the rpm to be unpacked is not placed in DISTDIR by Portage.

Remove that mv, and use rpm2tar on the files you would have moved.
Top
soustan
n00b
n00b
Posts: 45
Joined: Sun Apr 12, 2020 4:06 pm

Re: Ebuild is not installed

  • Quote

Post by soustan » Wed Mar 12, 2025 12:25 am

soustan wrote:Hello everyone!

Installation error ebuild "mv: cannot move ... : Permission denied"

Code: Select all

emerge --ask =app-crypt/cprocsp-5.0.13300::localrepo

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.81 s (backtrack: 0/20).

[ebuild  N    ~] app-crypt/cprocsp-5.0.13300  USE="certprop cptools gui_gtk ifd-rutokens import_ca kc1 pkcs11 plugin readers -stunnel" 

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-crypt/cprocsp-5.0.13300::localrepo
 * linux-amd64.tgz BLAKE2B SHA512 size ;-) ...                                                                                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking linux-amd64.tgz to /var/tmp/portage/app-crypt/cprocsp-5.0.13300/work
mv: cannot move 'linux-amd64/accord_random-1-0.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/accord_random-1-0.src.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-apache-modssl-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-apache-modssl-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-certprop-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-certprop-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-compat-altlinux-64-1.0.0-1.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-compat-altlinux-64-1.0.0-1.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-compat-suse-1.0.0-1.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-compat-suse-1.0.0-1.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-cptools-gtk-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-cptools-gtk-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-curl-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-curl-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-drv-64-5.0.13000-7.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-drv-64-5.0.13000-7.src.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-drv-devel-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-drv-devel-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-devel-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-devel-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-esp-64-5.0.13000-7.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-esp-64-5.0.13000-7.src.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-genpsk-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-genpsk-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-ipsec-ike-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-ipsec-ike-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-legacy-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-legacy-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-nginx-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-nginx-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-pki-cades-64-2.0.15000-1.amd64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-pki-cades-64-2.0.15000-1.amd64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-pki-phpcades-2.0.15000-1.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-pki-phpcades-2.0.15000-1.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-pki-plugin-64-2.0.15000-1.amd64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-pki-plugin-64-2.0.15000-1.amd64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-cloud-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-cloud-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-cpfkc-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-cpfkc-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-cryptoki-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-cryptoki-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-edoc-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-edoc-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-emv-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-emv-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-esmart-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-esmart-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-gui-gtk-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-gui-gtk-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-infocrypt-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-infocrypt-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-inpaspot-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-inpaspot-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-jacarta-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-jacarta-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-kst-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-kst-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-mskey-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-mskey-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-novacard-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-novacard-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-pcsc-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-pcsc-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-relay-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-relay-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-rosan-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-rosan-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-rustoken-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-rustoken-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-rdr-rutoken-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-rdr-rutoken-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-stunnel-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-stunnel-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-stunnel-msspi-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-stunnel-msspi-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/cprocsp-xer2print-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cprocsp-xer2print-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/cpverify' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/cpverify': Permission denied
mv: cannot move 'linux-amd64/ifd-rutokens_1.0.4_1.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/ifd-rutokens_1.0.4_1.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/install.desktop' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/install.desktop': Permission denied
mv: cannot move 'linux-amd64/install.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/install.sh': Permission denied
mv: cannot move 'linux-amd64/install_gui.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/install_gui.sh': Permission denied
mv: cannot move 'linux-amd64/integrity.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/integrity.sh': Permission denied
mv: cannot move 'linux-amd64/linux-amd64.ini' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/linux-amd64.ini': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-base-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-base-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-ca-certs-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-ca-certs-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-capilite-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-capilite-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-devel-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-devel-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-import-ca-certs-5.0.13000-7.noarch.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-import-ca-certs-5.0.13000-7.noarch.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-kc1-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-kc2-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc2-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-pkcs11-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-pkcs11-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rcrypt-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rcrypt-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-accord-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-accord-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-accord-ccid-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-accord-ccid-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-ancud-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-ancud-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-crypton-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-crypton-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-maxim-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-maxim-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-sobol-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-sobol-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/lsb-cprocsp-rdr-vityaz-64-5.0.13000-7.x86_64.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-rdr-vityaz-64-5.0.13000-7.x86_64.rpm': Permission denied
mv: cannot move 'linux-amd64/readme.txt' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/readme.txt': Permission denied
mv: cannot move 'linux-amd64/sobol-1-8.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/sobol-1-8.src.rpm': Permission denied
mv: cannot move 'linux-amd64/uninstall.sh' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/uninstall.sh': Permission denied
>>> Unpacking lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm to /var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300
/usr/bin/rpm2tar: line 157: /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm: No such file or directory
rpm2tar: error: unable to locate cpio offset (broken/unknown compression?)
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
 * ERROR: app-crypt/cprocsp-5.0.13300::localrepo failed (unpack phase):
 *   failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm
 * 
 * Call stack:
 *               ebuild.sh, line 136:  Called src_unpack
 *             environment, line 364:  Called rpm_unpack 'lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *             environment, line 329:  Called assert 'failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *   isolated-functions.sh, line  18:  Called die
 * The specific snippet of code:
 *   		[[ ${x} -eq 0 ]] || die "$@"
 * 
 * If you need support, post the output of `emerge --info '=app-crypt/cprocsp-5.0.13300::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/cprocsp-5.0.13300::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'
 * S: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'

>>> Failed to emerge app-crypt/cprocsp-5.0.13300, Log file:

>>>  '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/build.log'

 * Messages for package app-crypt/cprocsp-5.0.13300:

 * ERROR: app-crypt/cprocsp-5.0.13300::localrepo failed (unpack phase):
 *   failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm
 * 
 * Call stack:
 *               ebuild.sh, line 136:  Called src_unpack
 *             environment, line 364:  Called rpm_unpack 'lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *             environment, line 329:  Called assert 'failure unpacking /var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/lsb-cprocsp-kc1-64-5.0.13300-7.x86_64.rpm'
 *   isolated-functions.sh, line  18:  Called die
 * The specific snippet of code:
 *   		[[ ${x} -eq 0 ]] || die "$@"
 * 
 * If you need support, post the output of `emerge --info '=app-crypt/cprocsp-5.0.13300::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=app-crypt/cprocsp-5.0.13300::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/temp/environment'.
 * Working directory: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'
 * S: '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/work/cprocsp-5.0.13300'

Code: Select all

mv: cannot move 'linux-amd64/accord_random-1-0.src.rpm' to '/var/tmp/portage/app-crypt/cprocsp-5.0.13300/distdir/accord_random-1-0.src.rpm': Permission denied
and other similar packages contain the same error.
An Internet search does not provide anything to resolve the issue.

Code: Select all

emerge --info
Portage 3.0.67 (python 3.12.9-final-0, default/linux/amd64/23.0/desktop, gcc-14, glibc-2.40-r8, 6.12.16-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.12.16-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-glibc2.40
KiB Mem:    32553264 total,  20666296 free
KiB Swap:   49151996 total,  49151996 free
Timestamp of repository gentoo: Mon, 10 Mar 2025 17:30:00 +0000
Head commit of repository gentoo: 2335023959f9d886cf5295e23e4d06a3f96d5e3b

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r1::gentoo
dev-build/cmake:           3.31.5::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.0::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.12.9::gentoo, 3.13.2::gentoo
dev-lang/rust-bin:         1.83.0-r1::gentoo, 1.84.1-r2::gentoo
llvm-core/clang:           19.1.7::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.56::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43-r2::gentoo, 2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 3


localrepo
    location: /var/db/repos/localrepo
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo-mirror.alexxy.name/ \     http://mirror.mephi.ru/gentoo-distfiles/ \     http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j6"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc lock mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp openrc pam pango pcre pdf png policykit ppds qml qt5 qt6 readline sdl seccomp session sound spell ssl startup-notification svg test-rust thunar tiff truetype udev udisks unicode upower usb vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="keyboard mouse" KERNEL="linux" L10N="ru" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Could there be an error in access rights?
But I haven't figured out which ones yet. Please help me.
Returned...
The purpose of creating this post on this forum was that i need to install this .ebuild. at this point in time, i still couldn't solve my issue. is there anyone here who can help me solve this issue?
Top
Banana
Moderator
Moderator
User avatar
Posts: 2372
Joined: Fri May 21, 2004 12:02 pm
Location: Germany
Contact:
Contact Banana
Website

  • Quote

Post by Banana » Wed Mar 12, 2025 1:08 pm

@soustan
There is no need to re-quote a complete reply only to highlight it.
The purpose of creating this post on this forum was that i need to install this .ebuild. at this point in time, i still couldn't solve my issue. is there anyone here who can help me solve this issue?
I do think everybody understands this and tries to help you.
Sometimes it takes some time to get responses and sometimes there are responses which do not lead to a solution.
So, please stay calm and respond in a constructive manner to avaoid any confusion or any offensive interpretation.
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Top
Hu
Administrator
Administrator
Posts: 24380
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Wed Mar 12, 2025 1:26 pm

Also, when someone provides advice, either try it or explain why not. I posted a proposed solution above. soustan responded asking "Can anyone help me?" I thought that is what I just did. I am not going to suggest other solutions until I see whether the one I posted above is viable.
Top
soustan
n00b
n00b
Posts: 45
Joined: Sun Apr 12, 2020 4:06 pm

  • Quote

Post by soustan » Wed Mar 12, 2025 1:46 pm

Banana wrote:@soustan
There is no need to re-quote a complete reply only to highlight it.
I totally agree with you. At the moment, it just happened that way, and that's why I apologize!
The purpose of creating this post on this forum was that i need to install this .ebuild. at this point in time, i still couldn't solve my issue. is there anyone here who can help me solve this issue?
I do think everybody understands this and tries to help you.
Sometimes it takes some time to get responses and sometimes there are responses which do not lead to a solution.
So, please stay calm and respond in a constructive manner to avaoid any confusion or any offensive interpretation.
And here I completely agree with you! I did not even think of anything bad and/or even insulting to anyone.
Of course, I expect answers and comments, in fact, my first and only question and the current situation.
Thank you for your understanding, EVERYONE!
Top
Post Reply

27 posts
  • 1
  • 2
  • Next

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy