From wojciech at blaszkowski.com Wed Apr 21 07:43:42 2021 From: wojciech at blaszkowski.com (=?UTF-8?Q?Wojciech_B=c5=82aszkowski?=) Date: Wed, 21 Apr 2021 07:43:42 +0200 Subject: kernel-5.10.4-1 -> kernel-5.10-5.10.26-1 Message-ID: Hello, how to do it smooth, with out removing /etc/sysconfig/kernel or with out juggle between varous kernels like kernel-5.11.x? [root at vm-jobs-new ~]# LANG=en_US.UTF-8 [root at vm-jobs-new ~]# uname -a Linux vm-jobs-new 5.10.4-1 #1 SMP Thu Dec 31 16:11:13 CET 2020 x86_64 Common_KVM_processor PLD Linux [root at vm-jobs-new ~]# poldek Welcome to the poldek shell mode. Type "help" for help with commands. poldek:/all-avail> just-install kernel-5.10-5.10.26-1.x86_64 Loading [pndir]th... Loading [pndir]th... 30331 packages read Processing dependencies... There are 1 package to install: A kernel-5.10-5.10.26-1.x86_64 This operation will use 66.3MB of disk space. kernel-5.10-5.10.26-1.x86_64.rpm: digests OK Need to get 63.2MB of archives. kernel-5.10-5.10.26-1.x86_64.rpm: digests OK Executing pm-command.sh --install -vh --root / --define _check_dirname_deps 0... warning: /root/.cache/poldek/https_ftp.th.pld-linux.org.dists.th.PLD.x86.64.RPMS/kernel-5.10-5.10.26-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID e4f1bc2d: NOKEY Verifying... ################################# [100%] Preparing... ################################# [100%] file /etc/sysconfig/kernel from install of kernel-5.10-3:5.10.26-1.x86_64 conflicts with file from package kernel-3:5.10.4-1.x86_64 There were errors poldek:/all-avail> quit [root at vm-jobs-new ~]# rpm -qf /etc/sysconfig/kernel kernel-5.10.4-1.x86_64 -- Pozdrawiam, Wojciech B?aszkowski www.blaszkowski.com, +48.600197207 From glen at pld-linux.org Wed Apr 21 09:28:56 2021 From: glen at pld-linux.org (=?UTF-8?Q?Elan_Ruusam=C3=A4e?=) Date: Wed, 21 Apr 2021 10:28:56 +0300 Subject: kernel-5.10.4-1 -> kernel-5.10-5.10.26-1 In-Reply-To: References: Message-ID: Add --force flag. Even the flag looks like something horrible, it will do the right thing for you. Neither rpm or poldek have ---replacefiles option to my knowledge, as that would be appropriate to "force" only certain action On Wed, Apr 21, 2021, 08:43 Wojciech B?aszkowski wrote: > > Hello, > > how to do it smooth, with out removing /etc/sysconfig/kernel or with out > juggle between varous kernels like kernel-5.11.x? > > [root at vm-jobs-new ~]# LANG=en_US.UTF-8 > [root at vm-jobs-new ~]# uname -a > Linux vm-jobs-new 5.10.4-1 #1 SMP Thu Dec 31 16:11:13 CET 2020 x86_64 > Common_KVM_processor PLD Linux > [root at vm-jobs-new ~]# poldek > > > > Welcome to the poldek shell mode. Type "help" for help with commands. > > poldek:/all-avail> just-install kernel-5.10-5.10.26-1.x86_64 > Loading [pndir]th... > Loading [pndir]th... > 30331 packages read > Processing dependencies... > There are 1 package to install: > A kernel-5.10-5.10.26-1.x86_64 > This operation will use 66.3MB of disk space. > kernel-5.10-5.10.26-1.x86_64.rpm: digests OK > Need to get 63.2MB of archives. > kernel-5.10-5.10.26-1.x86_64.rpm: digests OK > Executing pm-command.sh --install -vh --root / --define > _check_dirname_deps 0... > warning: > /root/.cache/poldek/https_ftp.th.pld-linux.org.dists.th.PLD.x86.64.RPMS/kernel-5.10-5.10.26-1.x86_64.rpm: > > Header V4 DSA/SHA1 Signature, key ID e4f1bc2d: NOKEY > Verifying... ################################# > [100%] > Preparing... ################################# > [100%] > file /etc/sysconfig/kernel from install of > kernel-5.10-3:5.10.26-1.x86_64 conflicts with file from package > kernel-3:5.10.4-1.x86_64 > There were errors > poldek:/all-avail> quit > [root at vm-jobs-new ~]# rpm -qf /etc/sysconfig/kernel > > > kernel-5.10.4-1.x86_64 > > -- > Pozdrawiam, > Wojciech B?aszkowski > www.blaszkowski.com, +48.600197207 > _______________________________________________ > pld-users-en mailing list > pld-users-en at lists.pld-linux.org > http://lists.pld-linux.org/mailman/listinfo/pld-users-en > From wojciech at blaszkowski.com Wed Apr 21 10:29:02 2021 From: wojciech at blaszkowski.com (=?UTF-8?Q?Wojciech_B=c5=82aszkowski?=) Date: Wed, 21 Apr 2021 10:29:02 +0200 Subject: kernel-5.10.4-1 -> kernel-5.10-5.10.26-1 In-Reply-To: References: Message-ID: W dniu 21.04.2021 o?09:28, Elan Ruusam?e pisze: > Add --force flag. > > Even the flag looks like something horrible, it will do the right thing for > you. > > Neither rpm or poldek have ---replacefiles option to my knowledge, as that > would be appropriate to "force" only certain action Not a problem with --force for me; I got familiar using PLD since all those years. Just wondered if there is a "clearer" way. Thanks! > On Wed, Apr 21, 2021, 08:43 Wojciech B?aszkowski > wrote: > >> >> Hello, >> >> how to do it smooth, with out removing /etc/sysconfig/kernel or with out >> juggle between varous kernels like kernel-5.11.x? >> >> [root at vm-jobs-new ~]# LANG=en_US.UTF-8 >> [root at vm-jobs-new ~]# uname -a >> Linux vm-jobs-new 5.10.4-1 #1 SMP Thu Dec 31 16:11:13 CET 2020 x86_64 >> Common_KVM_processor PLD Linux >> [root at vm-jobs-new ~]# poldek >> >> >> >> Welcome to the poldek shell mode. Type "help" for help with commands. >> >> poldek:/all-avail> just-install kernel-5.10-5.10.26-1.x86_64 >> Loading [pndir]th... >> Loading [pndir]th... >> 30331 packages read >> Processing dependencies... >> There are 1 package to install: >> A kernel-5.10-5.10.26-1.x86_64 >> This operation will use 66.3MB of disk space. >> kernel-5.10-5.10.26-1.x86_64.rpm: digests OK >> Need to get 63.2MB of archives. >> kernel-5.10-5.10.26-1.x86_64.rpm: digests OK >> Executing pm-command.sh --install -vh --root / --define >> _check_dirname_deps 0... >> warning: >> /root/.cache/poldek/https_ftp.th.pld-linux.org.dists.th.PLD.x86.64.RPMS/kernel-5.10-5.10.26-1.x86_64.rpm: >> >> Header V4 DSA/SHA1 Signature, key ID e4f1bc2d: NOKEY >> Verifying... ################################# >> [100%] >> Preparing... ################################# >> [100%] >> file /etc/sysconfig/kernel from install of >> kernel-5.10-3:5.10.26-1.x86_64 conflicts with file from package >> kernel-3:5.10.4-1.x86_64 >> There were errors >> poldek:/all-avail> quit >> [root at vm-jobs-new ~]# rpm -qf /etc/sysconfig/kernel >> >> >> kernel-5.10.4-1.x86_64 >> >> -- >> Pozdrawiam, >> Wojciech B?aszkowski >> www.blaszkowski.com, +48.600197207 >> _______________________________________________ >> pld-users-en mailing list >> pld-users-en at lists.pld-linux.org >> http://lists.pld-linux.org/mailman/listinfo/pld-users-en >> > _______________________________________________ > pld-users-en mailing list > pld-users-en at lists.pld-linux.org > http://lists.pld-linux.org/mailman/listinfo/pld-users-en > -- Pozdrawiam, Wojciech B?aszkowski www.blaszkowski.com, +48.600197207 From glen at pld-linux.org Wed Apr 21 10:33:45 2021 From: glen at pld-linux.org (=?UTF-8?Q?Elan_Ruusam=c3=a4e?=) Date: Wed, 21 Apr 2021 11:33:45 +0300 Subject: kernel-5.10.4-1 -> kernel-5.10-5.10.26-1 In-Reply-To: References: Message-ID: On 21.04.2021 11:29, Wojciech B?aszkowski wrote: > > > W dniu 21.04.2021 o?09:28, Elan Ruusam?e pisze: >> Add --force flag. >> >> Even the flag looks like something horrible, it will do the right >> thing for >> you. >> >> Neither rpm or poldek have ---replacefiles option to my knowledge, as >> that >> would be appropriate to "force" only certain action > > Not a problem with --force for me; I got familiar using PLD since all > those years. Just wondered if there is a "clearer" way. > seems --replacefiles actually exists in rpm: - https://docs.fedoraproject.org/ro/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch03s02.html#id617032 The|--replacefiles|option tells the|rpm|command to overwrite files owned by a another package. however, I don't know if poldek has a way to pass it to rpm.