After running pkcon remove busybox-symlinks-bash. How do I restore it?
Thanks!
After running pkcon remove busybox-symlinks-bash. How do I restore it?
Thanks!
pkcon --allow-reinstall install busybox-symlinks-bash
[root@Xperia10II-DualSIM defaultuser]# pkcon i
nstall busybox-symlinks-bash
Resolving
Querying
Testing changes
Finished
Fatal error: the to be installed busybox-symli
nks-bash-1.31.0+git18-1.4.2.jolla.aarch64 conf
licts with ‘gnu-bash’ provided by the installe
d gnu-bash-5.0.18+git2-1.6.1.jolla.aarch64
[root@Xperia10II-DualSIM defaultuser]#
gnu-bash
first, then.pkcon --allow-reinstall seems to be needed.
Of course I searched the forum first. Anyway, thanks for pointing me in the right direction. It helped me solve it.
Well then let us play this nice for others and document the correct answer: I edited mine again, you might mark this as “solution”, if it reflects what solved it for you.
Has there anything changed with 4.5.0? I get an error when trying that.
[defaultuser@Pro1 ~]$ pkcon --allow-reinstall install busybox-symlinks-bash
Resolving
Querying
Testing changes
Finished
Fatal error: the to be installed busybox-symlinks-bash-1.34.1+git2-1.8.1.jolla.armv7hl conflicts with ‘gnu-bash’ provided by the installed gnu-bash-5.0.18+git2-1.7.1.jolla.armv7hl
Not AFAICS, because the relevant lines in both sources have not been changed since mind 2020:
But …
I get an error when trying that.
… there must be some difference, as this has been working many times before.
Please check on you Pro1:
pkcon download . busybox-symlinks-bash
rpm -q --conflicts|--obsoletes|--requires busybox-symlinks-bash-1.34.1+git2-1.8.1.jolla.armv7hl.rpm
pkcon download . gnu-bash
rpm -q --conflicts|--obsoletes|--requires gnu-bash-5.0.18+git2-1.7.1.jolla.armv7hl.rpm
I.e., run for both packages each of the three rpm -q
sub-options consecutively, one at a time.
I am curious what the output is; please mind to clearly mark which output results from which run, when you copy it here.
To resolve this practically , you might try the inferior (compared to --allow-reinstall
), two stepped process:
pkcon remove gnu-bash && pkcon -allow-reinstall install busybox-symlinks-bash
Here is the output:
[defaultuser@Pro1 ~]$ pkcon download . busybox-symlinks-bash
Auflösen
Pakete werden heruntergeladen
Abfragen
Starten
Software-Liste wird aktualisiert
Pakete werden heruntergeladen
Fertig
Heruntergeladen busybox-symlinks-bash-1.34.1+git2-1.8.1.jolla.armv7hl (jolla) Busybox replacement for bash
[defaultuser@Pro1 ~]$ rpm -q --conflicts busybox-symlinks-bash-1.34.1+git2-1.8.1.jolla.armv7hl.rpm
Warnung: busybox-symlinks-bash-1.34.1+git2-1.8.1.jolla.armv7hl.rpm: Header V3 RSA/SHA256 Signature, Schlüssel-ID 47394f23: NOKEY
gnu-bash
[defaultuser@Pro1 ~]$ rpm -q --obsoletes busybox-symlinks-bash-1.34.1+git2-1.8.1.jolla.armv7hl.rpm
Warnung: busybox-symlinks-bash-1.34.1+git2-1.8.1.jolla.armv7hl.rpm: Header V3 RSA/SHA256 Signature, Schlüssel-ID 47394f23: NOKEY
bash < 1:3.2.57+git1
[defaultuser@Pro1 ~]$ rpm -q --requires busybox-symlinks-bash-1.34.1+git2-1.8.1.jolla.armv7hl.rpm
Warnung: busybox-symlinks-bash-1.34.1+git2-1.8.1.jolla.armv7hl.rpm: Header V3 RSA/SHA256 Signature, Schlüssel-ID 47394f23: NOKEY
busybox = 1.34.1+git2-1.8.1.jolla
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
[defaultuser@Pro1 ~]$ pkcon download . gnu-bash
Auflösen s Pakete werden heruntergeladen
Abfragen
Starten
Software-Liste wird aktualisiert
Pakete werden heruntergeladen
Fertig
Heruntergeladen gnu-bash-5.0.18+git2-1.7.1.jolla.armv7hl (jolla) The GNU Bourne Again shell
[defaultuser@Pro1 ~]$ rpm -q --conflicts gnu-bash-5.0.18+git2-1.7.1.jolla.armv7hl.rpm
Warnung: gnu-bash-5.0.18+git2-1.7.1.jolla.armv7hl.rpm: Header V3 RSA/SHA256 Signature, Schlüssel-ID 47394f23: NOKEY
[defaultuser@Pro1 ~]$
[defaultuser@Pro1 ~]$ rpm -q --obsoletes gnu-bash-5.0.18+git2-1.7.1.jolla.armv7hl.rpm
Warnung: gnu-bash-5.0.18+git2-1.7.1.jolla.armv7hl.rpm: Header V3 RSA/SHA256 Signature, Schlüssel-ID 47394f23: NOKEY
bash < 1:3.2.57+git1
[defaultuser@Pro1 ~]$ rpm -q --requires gnu-bash-5.0.18+git2-1.7.1.jolla.armv7hl.rpm
Warnung: gnu-bash-5.0.18+git2-1.7.1.jolla.armv7hl.rpm: Header V3 RSA/SHA256 Signature, Schlüssel-ID 47394f23: NOKEY
config(gnu-bash) = 5.0.18+git2-1.7.1.jolla
ld-linux-armhf.so.3
ld-linux-armhf.so.3(GLIBC_2.4)
libc.so.6
libc.so.6(GLIBC_2.11)
libc.so.6(GLIBC_2.15)
libc.so.6(GLIBC_2.28)
libc.so.6(GLIBC_2.4)
libc.so.6(GLIBC_2.8)
libdl.so.2
libdl.so.2(GLIBC_2.4)
libgcc_s.so.1
libgcc_s.so.1(GCC_3.5)
libtinfo.so.6
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
[defaultuser@Pro1 ~]$
I haven’t tried the practical part yet, because the initial reason to switch back isn’t there anymore.