During update with YAST of my laptop using KDE I get these three errors:
Subprocess failed. Error: RPM failed: Command exited with status 1.History:
- error: unpacking of archive failed on file /var/lib/dkms/dkms_dbversion: cpio: File from package already exists as a directory in system
error: dkms-2.6.1-bp154.1.30.noarch: install failed
error: dkms-2.3-bp153.1.17.noarch: erase skipped
Subprocess failed. Error: RPM failed: Command exited with status 1.
History:
- error: unpacking of archive failed on file /var/lib/dict/words: cpio: File from package already exists as a directory in system
error: words-2015.02.15-bp154.1.46.noarch: install failed
error: words-2015.02.15-bp153.1.15.noarch: erase skipped
Subprocess failed. Error: RPM failed: Command exited with status 1.
History:
- error: unpacking of archive failed on file /var/lib/misc/Makefile: cpio: File from package already exists as a directory in system
error: glibc-extra-2.31-150300.41.1.x86_64: install failed
error: glibc-extra-2.31-7.30.x86_64: erase skipped
Update from what to what? Previous version in each case is from Leap 15.3 and new version is from Leap 15.4 (OK, glibc updates are shared between 15.3 and 15.4).
the update was yast>software management>package>all packages>update if a new version is available.
in yast>software management I can see that twords and dkms comes from main repository
rpm -e --nodeps dkms-2.3-bp153.1.17 words-2015.02.15-bp153.1.15 glibc-extra-2.31-7.30
zypper in dkms words glibc-extra
zypper up
zypper dup
The last I might answer N to for proceeding, depending on whether zypper succeeded to install the 15.4 versions of dkms, words and glibc-extra without errors. rpm -e --nodeps is a pretty common method of working past “cpio: File from package already exists as a directory in system”, a too often recent problem rpm can’t deal with directly.
pla@pla4ST:~> zypper se -s dkmsRepository 'suse-GNOME:/Apps' is out-of-date. You can run 'zypper refresh' as root to update it.
Repository 'suse-network:/im(signal)' is out-of-date. You can run 'zypper refresh' as root to update it.
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+---------------+------------+------------------+--------+------------------
i+ | dkms | package | 2.3-bp153.1.17 | noarch | (System Packages)
v | dkms | package | 2.6.1-bp154.1.30 | noarch | Main Repository
| dkms | srcpackage | 2.6.1-bp154.1.30 | noarch | Source Repository
| dkms-bbswitch | package | 0.8-lp151.3.1 | noarch | Tuxedo leap 15.4
| r8168-dkms | package | 8.040.00-10.57 | noarch | Tuxedo leap 15.4
pla@pla4ST:~>
pla@pla4ST:~> zypper se -s glibc-extraRepository 'suse-GNOME:/Apps' is out-of-date. You can run 'zypper refresh' as root to update it.
Repository 'suse-network:/im(signal)' is out-of-date. You can run 'zypper refresh' as root to update it.
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+-------------+---------+------------------+--------+-------------------------------------------------------------
i+ | glibc-extra | package | 2.31-7.30 | x86_64 | (System Packages)
v | glibc-extra | package | 2.31-150300.41.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
v | glibc-extra | package | 2.31-150300.37.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
v | glibc-extra | package | 2.31-150300.31.2 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
v | glibc-extra | package | 2.31-150300.26.5 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
v | glibc-extra | package | 2.31-150300.20.7 | x86_64 | Main Repository
pla@pla4ST:~>
pla@pla4ST:~> rpm -e --nodeps dkms-2.3-bp153.1.17 words-2015.02.15-bp153.1.15 glibc-extra-2.31-7.30error: can't create transaction lock on /usr/lib/sysimage/rpm/.rpm.lock (Permission denied)
pla@pla4ST:~> su -
Password:
pla4ST:~ # rpm -e --nodeps dkms-2.3-bp153.1.17 words-2015.02.15-bp153.1.15 glibc-extra-2.31-7.30
rm: cannot remove '/var/lib/systemd/migrated/dkms': No such file or directory
pla4ST:~ #
pla4ST:~ # zypper in dkms words glibc-extraRetrieving repository 'suse-GNOME:/Apps' metadata .................................................................[done]
Building repository 'suse-GNOME:/Apps' cache ......................................................................[done]
Retrieving repository 'suse-network:/im(signal)' metadata .........................................................[done]
Building repository 'suse-network:/im(signal)' cache ..............................................................[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 3 NEW packages are going to be installed:
dkms glibc-extra words
3 new packages to install.
Overall download size: 847.2 KiB. Already cached: 0 B. After the operation, additional 3.3 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving package dkms-2.6.1-bp154.1.30.noarch (1/3), 74.1 KiB (200.1 KiB unpacked)
Retrieving: dkms-2.6.1-bp154.1.30.noarch.rpm ......................................................................[done]
Retrieving package words-2015.02.15-bp154.1.46.noarch (2/3), 708.5 KiB ( 3.1 MiB unpacked)
Retrieving: words-2015.02.15-bp154.1.46.noarch.rpm ................................................................[done]
Retrieving package glibc-extra-2.31-150300.41.1.x86_64 (3/3), 64.6 KiB ( 27.7 KiB unpacked)
Retrieving: glibc-extra-2.31-150300.41.1.x86_64.rpm ...............................................................[done]
Checking for file conflicts: ......................................................................................[done]
(1/3) Installing: dkms-2.6.1-bp154.1.30.noarch ....................................................................[done]
Updating /etc/sysconfig/words ...
(2/3) Installing: words-2015.02.15-bp154.1.46.noarch ..............................................................[done]
(3/3) Installing: glibc-extra-2.31-150300.41.1.x86_64 .............................................................[done]
pla4ST:~ #
pla4ST:~ # zypper upLoading repository data...
Reading installed packages...
The following 3 items are locked and will not be changed by any action:
Available:
PackageKit aws-vault plasma-pass
The following 60 package updates will NOT be installed:
alee-fonts cantarell-fonts dcraw dcraw-lang dejavu-fonts efont-unicode-bitmap-fonts ffmpeg-4 gdk-pixbuf-loader-libheif
gimp-help gnome-shell-extension-onboard google-caladea-fonts google-carlito-fonts google-droid-fonts
google-poppins-fonts google-roboto-fonts intlfonts-arabic-bitmap-fonts intlfonts-chinese-big-bitmap-fonts
intlfonts-chinese-bitmap-fonts intlfonts-euro-bitmap-fonts intlfonts-japanese-big-bitmap-fonts
intlfonts-japanese-bitmap-fonts khmeros-fonts libavcodec58_134 libavdevice58_13 libavfilter7_110 libavformat58_76
libavresample4_0 libavutil56_70 libgexiv2-2 libgsm1 libgts-0_7-5 libheif1 libjbig2 libjpeg8 liblqr-1-0 libmtp-udev
libmtp9 libnewt0_52 libopenjpeg1 libpostproc55_9 libpotrace0 libraw20 libspeex1 libspeexdsp1 libsrtp2-1
libswresample3_9 libswscale5_9 libturbojpeg0 mypaint-brushes nautilus-share nautilus-share-lang onboard onboard-data
onboard-lang patterns-fonts-fonts patterns-fonts-fonts_opt pavucontrol pavucontrol-lang raleway-fonts xkeyboard-config
Nothing to do.
pla4ST:~ #
pla4ST:~ # zypper dupLoading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...
Problem: problem with the installed QGnomePlatform-0.8.4-lp154.18.1.x86_64
Solution 1: install QGnomePlatform-0.5-150400.7.5.x86_64 from vendor SUSE LLC <https://www.suse.com/>
replacing QGnomePlatform-0.8.4-lp154.18.1.x86_64 from vendor obs://build.opensuse.org/GNOME
Solution 2: keep obsolete QGnomePlatform-0.8.4-lp154.18.1.x86_64
Choose from above solutions by number or cancel [1/2/c/d/?] (c): 1
Resolving dependencies...
Computing distribution upgrade...
The following 3 items are locked and will not be changed by any action:
Available:
PackageKit aws-vault plasma-pass
The following 29 packages are going to be downgraded:
QGnomePlatform adobe-sourcecodepro-fonts adobe-sourcesanspro-fonts adobe-sourceserifpro-fonts alee-fonts
baekmuk-bitmap-fonts baekmuk-ttf-fonts cantarell-fonts dejavu-fonts efont-unicode-bitmap-fonts google-caladea-fonts
google-carlito-fonts google-droid-fonts google-opensans-fonts google-poppins-fonts google-roboto-fonts
google-roboto-slab-fonts hack-fonts inter-fonts intlfonts-arabic-bitmap-fonts intlfonts-chinese-big-bitmap-fonts
intlfonts-chinese-bitmap-fonts intlfonts-euro-bitmap-fonts intlfonts-japanese-big-bitmap-fonts
intlfonts-japanese-bitmap-fonts khmeros-fonts liberation-fonts raleway-fonts stix-fonts
The following package is going to change vendor:
QGnomePlatform obs://build.opensuse.org/GNOME -> SUSE LLC <https://www.suse.com/>
29 packages to downgrade, 1 to change vendor.
Overall download size: 71.4 MiB. Already cached: 0 B. After the operation, 157.9 KiB will be freed.
Continue? [y/n/v/...? shows all options] (y): y