[Bug 980866] New: update-scripts leave ton of leftovers
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=980866 Bug ID: 980866 Summary: update-scripts leave ton of leftovers Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: tchvatal@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- While we now have leftover mechanism to run scripts on posttrans of packages just once instead of for all invocations we keep the scripts that were not executed in /var/adm/update-scripts/ Most visible it is on update scripts for font scriptlets. One of the leftovers: dreamcrawler:/var/adm/update-scripts # cat ghostscript-fonts-9.06-7.4-reconfigure-fonts if [ -e /var/run/fontpackages/reconfigure-fonts ]; then if [ -x /usr/sbin/fonts-config ]; then /usr/sbin/fonts-config --quiet fi rm /var/run/fontpackages/reconfigure-fonts fi rm /var/adm/update-scripts/ghostscript-fonts-9.06-7.4-reconfigure-fonts I suppose proper solution would be to run just one of the scripts, but then delete them all and not keep any? -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=980866
http://bugzilla.suse.com/show_bug.cgi?id=980866#c1
Michael Andres
$ rpm -qf /var/adm/update-scripts/* fetchmsttfonts-11.4-17.3.1.noarch file /var/adm/update-scripts/ghostscript-fonts-9.06-6.1.5-reconfigure-fonts is not owned by any package
Packages are supposed to own their scripts, so they vanish together with the package. -> bugowner of Printing/ghostscript-fonts : jsmeix -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.suse.com/show_bug.cgi?id=980866
http://bugzilla.suse.com/show_bug.cgi?id=980866#c2
Johannes Meixner
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com