Bug 12915

Summary: vim: failing scriplet in vim-minimal
Product: [ROSA-based products] ROSA Fresh Reporter: Mikhail Novosyolov <m.novosyolov>
Component: Packages from MainAssignee: ROSA Linux Bugs <bugs>
Status: VERIFIED FIXED QA Contact: ROSA Linux Bugs <bugs>
Severity: critical    
Priority: High CC: a.proklov, alexander, e.malashin, survolog, v.potapov
Version: AllFlags: v.potapov: qa_verified+
a.proklov: published+
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Platform: 2021.1 ROSA Vulnerability identifier:
RPM Package: ISO-related:
Bad POT generating: Upstream:

Description Mikhail Novosyolov 2022-11-28 10:48:03 MSK
Running scriptlet: vim-minimal-2:9.0.0076-4.x86_64                     52/233 
/var/tmp/rpm-tmp.3AxLy4: line 2: touch: command not found
warning: %post(vim-minimal-2:9.0.0076-4.x86_64) scriptlet failed, exit status 127

Need to "Requires(post): coreutils" because there is "touch" in %post.

But that touch is very strange. Why would there be an empty file in /usr/share?
Thet file is even patched by vim-8.0-copy-paste.patch

Those who use vim -- please, fix it!
Comment 2 Mikhail Novosyolov 2022-11-28 12:07:30 MSK
т.к. затронута базовая система, ставлю высокий приритет
Comment 3 Grigorev Andrey 2022-11-28 16:01:07 MSK
>vim 9.0.0076-4
Опечатка. Релиз 5.
Comment 4 e.malashin@rosalinux.ru 2022-11-29 13:51:09 MSK
(In reply to Grigorev Andrey from comment #1)
> Add coreutils to Requires(post) for use touch.
> 
> vim 9.0.0076-4
> https://abf.io/build_lists/4178772
> https://abf.io/build_lists/4178770
> https://abf.io/build_lists/4178771
> https://abf.io/build_lists/4178773
> https://abf.io/build_lists/4178774

The update sent to testings
Comment 5 Vladimir Potapov 2022-11-30 17:42:27 MSK
vim-9.0.0076-5
https://abf.io/build_lists/4178772
https://abf.io/build_lists/4178770
https://abf.io/build_lists/4178771
https://abf.io/build_lists/4178773
https://abf.io/build_lists/4178774
************************ Advisory ************************
Add coreutils to Requires(post) for use touch.
**********************************************************
QA Verified