boot-daemon-demo icon indicating copy to clipboard operation
boot-daemon-demo copied to clipboard

Update doesn't work

Open chhex opened this issue 6 years ago • 0 comments

I get for

xyz@localhost distributions]$ sudo rpm -Uvh daemon-demo-0.0.1-3.noarch.rpm the following error output:

Creating group: daemon-demo Creating user: daemon-demo Aktualisierung/ Installation...

1:daemon-demo-0:0.0.1-3 ################################# [ 33%] /etc/init.d/daemon-demo: line 1: $'PK\003\004': command not found /etc/init.d/daemon-demo: line 2: $'\266\233M\002': command not found /etc/init.d/daemon-demo: line 2: $'\b\b': command not found K-??ϳR0?3????-?I?M?+I,: No such file or directory/MANIFEST.MF?M??LK-.? /etc/init.d/daemon-demo: line 3: $'\b\b': command not found /etc/init.d/daemon-demo: line 4: syntax error near unexpected token )' /etc/init.d/daemon-demo: line 4: ?d??Z)?$????)?I %p?zz???\PK' Fehler: %preun(daemon-demo-0:0.0.1-2.noarch) Scriptlet fehlgeschlagen, Beenden-Status 2 Fehler: daemon-demo-0:0.0.1-2.noarch: löschen fehlgeschlagen /etc/init.d/daemon-demo: line 1: $'PK\003\004': command not found /etc/init.d/daemon-demo: line 2: $'\266\233M\002': command not found /etc/init.d/daemon-demo: line 2: $'\b\b': command not found K-??ϳR0?3????-?I?M?+I,: No such file or directory/MANIFEST.MF?M??LK-.? /etc/init.d/daemon-demo: line 3: $'\b\b': command not found /etc/init.d/daemon-demo: line 4: syntax error near unexpected token )' /etc/init.d/daemon-demo: line 4: ?d??Z)?$????)?I

Therefore the NOREPLACE Option doesn't make sense or / and was never tested: https://github.com/nebula-plugins/gradle-ospackage-plugin/issues/118

Thus the demo not really helpful, because using rpm in a real world szeanario , you usually want to update

chhex avatar Dec 27 '18 22:12 chhex