rpm bug? Re: About upgrading to glibc-2.40
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <[email protected]> |
On 1/5/25 10:18 AM, tjoen ([email protected] via lfs-support Mailing List) wrote: > 1. add in %pre > rpm -e --justdb --nodeps glibc > 2. add in %install > cd $RPM_BUILD_ROOT/ > mkdir usr/lib64/glibc > mv lib64/*.so.* usr/lib64/glibc/ > 3. add in %post > install /usr/lib64/glibc/*.so.* /lib64/ > > (/lib64 is a symlink to /usr/lib64) with -vvv + rpm -e --justdb --nodeps glibc error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Resource temporarily unavailable) D: %prein(glibc-2.40-1.x86_64): waitpid(83965) rc 83965 status 100 error: %prein(glibc-2.40-1.x86_64) scriptlet failed, exit status 1 D: Plugin: calling hook scriptlet_post in syslog plugin D: Plugin: calling hook psm_post in syslog plugin error: glibc-2.40-1.x86_64: install failed D: ========== +++ glibc-2.39-1 x86_64-linux 0x2 error: glibc-2.39-1.x86_64: erase skipped ls -al /var/lib/rpm/ -rw-r--r-- 1 root root 0 Nov 23 2022 .rpm.lock rpm -U --force iana-etc-20240806-1.noarch.rpm works fine -- http://lists.linuxfromscratch.org/sympa/info/lfs-support Unsubscribe: See the above information page