Re: Kłopoty z ldd po downgrade glibc

Arkadiusz Miśkiewicz arekm w maven.pl
Śro, 5 Lut 2020, 22:27:17 CET


On 05/02/2020 21:48, Łukasz Maśko wrote:
> Dnia środa, 5 lutego 2020 21:42:28 CET Arkadiusz Miśkiewicz pisze:
> [...]
>>> Zrobiłem klasycznie - wyciągnąłem napęd CD na USB, wykopałem z pudełka
>>> RescueCD 2.98 i dalej już poszło. Muszę sobie zrobić pendrive bo z tym CD
>>> to za dużo zachodu.
>>
>> Teraz to https://github.com/Jajcus/pld-new-rescue, a najlepiej samemu
>> zbudować z gita z aktualnym th.
> 
> Teraz to już sobie mogę budować ;-)
> 

Z ciekawości zrobiłem downgrade ale u mnie się nie posypał system.
Skończyłem z oboma paczkami glibc co prawda przy czym rpm -e glibc
2.31... się powiodło.

:/

poldek:/all-avail> install --downgrade glibc
Processing dependencies...
glibc-2.31-1.x86_64 obsoleted by glibc-2.30-2.x86_64
  greedy upgrade glibc-libcrypt-2.31-1.x86_64 to 2.30-2.x86_64
(unresolved glibc = 6:2.31-1)
   glibc-libcrypt-2.31-1.x86_64 obsoleted by glibc-libcrypt-2.30-2.x86_64
     greedy upgrade glibc-devel-2.31-1.x86_64 to 2.30-2.x86_64
(unresolved glibc-libcrypt(x86_64) = 6:2.31-1)
      glibc-devel-2.31-1.x86_64 obsoleted by glibc-devel-2.30-2.x86_64
        greedy upgrade glibc-static-2.31-1.x86_64 to 2.30-2.x86_64
(unresolved glibc-devel = 6:2.31-1)
         glibc-static-2.31-1.x86_64 obsoleted by glibc-static-2.30-2.x86_64
      glibc-devel-2.30-2.x86_64 marks glibc-devel-utils-2.30-2.x86_64
(cap glibc-devel-utils = 6:2.30-2)
       glibc-devel-utils-2.31-1.x86_64 obsoleted by
glibc-devel-utils-2.30-2.x86_64
      glibc-devel-2.30-2.x86_64 marks glibc-headers-2.30-2.x86_64 (cap
glibc-headers = 6:2.30-2)
       glibc-headers-2.31-1.x86_64 obsoleted by glibc-headers-2.30-2.x86_64
  greedy upgrade iconv-2.31-1.x86_64 to 2.30-2.x86_64 (unresolved glibc
= 6:2.31-1)
   iconv-2.31-1.x86_64 obsoleted by iconv-2.30-2.x86_64
     greedy upgrade glibc-localedb-all-2.31-1.x86_64 to 2.30-2.x86_64
(unresolved iconv = 6:2.31-1)
      glibc-localedb-all-2.31-1.x86_64 obsoleted by
glibc-localedb-all-2.30-2.x86_64
  greedy upgrade glibc-misc-2.31-1.x86_64 to 2.30-2.x86_64 (unresolved
glibc = 6:2.31-1)
   glibc-misc-2.31-1.x86_64 obsoleted by glibc-misc-2.30-2.x86_64
glibc-2.30-2.x86_64 marks glibc-ld-2.30-2.x86_64 (cap glibc-ld = 6:2.30-2)
 glibc-ld-2.31-1.x86_64 obsoleted by glibc-ld-2.30-2.x86_64
There are 10 packages to install (9 marked by dependencies), 10 to remove:
I glibc-2.30-2.x86_64
D glibc-devel-2.30-2.x86_64  glibc-devel-utils-2.30-2.x86_64
glibc-headers-2.30-2.x86_64  glibc-ld-2.30-2.x86_64
glibc-libcrypt-2.30-2.x86_64  glibc-localedb-all-2.30-2.x86_64
glibc-misc-2.30-2.x86_64
D glibc-static-2.30-2.x86_64  iconv-2.30-2.x86_64
R glibc-2.31-1.x86_64  glibc-devel-2.31-1.x86_64
glibc-devel-utils-2.31-1.x86_64  glibc-headers-2.31-1.x86_64
glibc-ld-2.31-1.x86_64  glibc-libcrypt-2.31-1.x86_64
glibc-localedb-all-2.31-1.x86_64  glibc-misc-2.31-1.x86_64
R glibc-static-2.31-1.x86_64  iconv-2.31-1.x86_64
This operation will free 161.4KB of disk space.
Need to get 17.8MB of archives (17.8MB to download).

Retrieving [1/10] th::glibc-ld-2.30-2.x86_64.rpm...
.............................. 100.0% [408.3K (408.3K/s)]
Retrieving [2/10] th::glibc-2.30-2.x86_64.rpm...
.............................. 100.0% [3.0M (3.0M/s)]
Retrieving [3/10] th::glibc-devel-utils-2.30-2.x86_64.rpm...
.............................. 100.0% [31.9K (31.9K/s)]
Retrieving [4/10] th::glibc-headers-2.30-2.x86_64.rpm...
.............................. 100.0% [437.9K (437.9K/s)]
Retrieving [5/10] th::glibc-libcrypt-2.30-2.x86_64.rpm...
.............................. 100.0% [23.6K (23.6K/s)]
Retrieving [6/10] th::glibc-devel-2.30-2.x86_64.rpm...
.............................. 100.0% [45.1K (45.1K/s)]
Retrieving [7/10] th::iconv-2.30-2.x86_64.rpm...
.............................. 100.0% [1.1M (1.1M/s)]
Retrieving [8/10] th::glibc-localedb-all-2.30-2.x86_64.rpm...
.............................. 100.0% [11.3M (11.3M/s)]
Retrieving [9/10] th::glibc-misc-2.30-2.x86_64.rpm...
.............................. 100.0% [46.9K (17.0K/s)]
Retrieving [10/10] th::glibc-static-2.30-2.x86_64.rpm...
.............................. 100.0% [1.4M (1.4M/s)]
Executing pm-command.sh --upgrade --oldpackage -vh --root / --define
_check_dirname_deps 1...
Preparing...                ###########################################
[100%]
   1:glibc-ld               ###########################################
[ 10%]
   2:glibc-headers          ###########################################
[ 20%]
   3:glibc                  warning: /etc/nsswitch.conf created as
/etc/nsswitch.conf.rpmnew
########################################### [ 30%]
Stopping cronie crond
service..................................................................................................................................................................................................[
DONE ]
Starting cronie crond
service..................................................................................................................................................................................................[
DONE ]
Stopping cronie crond
service..................................................................................................................................................................................................[
DONE ]
Starting cronie crond
service..................................................................................................................................................................................................[
DONE ]
   4:glibc-devel-utils      ###########################################
[ 40%]
   5:glibc-libcrypt         ###########################################
[ 50%]
   6:iconv                  ###########################################
[ 60%]
   7:glibc-misc             ###########################################
[ 70%]
   8:glibc-devel            ###########################################
[ 80%]
   9:glibc-localedb-all     ###########################################
[ 90%]
  10:glibc-static           ###########################################
[100%]
error: %trigger(glibc-2.31-1.x86_64) scriptlet failed, signal 11
There were errors
poldek:/all-avail>
Writing /root/.poldek-cache/packages.rpmdbcache.var.lib.rpm.gz...
[root w ixion-pld ~]# poldek -n th
Loading [pndir]th...
Loading [pndir]th...
28915 packages read
Loading [rpmdbcache]/var/lib/rpm...
5037 packages loaded

Welcome to the poldek shell mode. Type "help" for help with commands.

poldek:/all-avail> install --downgrade glibc
error: glibc: multiple instances installed, give up
Nothing to do
poldek:/all-avail>

-- 
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )


Więcej informacji o liście pld-users-pl