[Bug 589394] New: Patch for emacs-23.1-3.7.1 fails to install, leaving system without emacs script
http://bugzilla.novell.com/show_bug.cgi?id=589394 http://bugzilla.novell.com/show_bug.cgi?id=589394#c0 Summary: Patch for emacs-23.1-3.7.1 fails to install, leaving system without emacs script Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mail@staffan.tjernstrom.name QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100204 SUSE/3.5.8-0.1.1 Firefox/3.5.8 At least in the case of only having emacs-nox installed. (Below is a copy of a remove, install, patch) bypass:/srv/TestTrack/TTServDb/TTDbs # zypper rm emacs Loading repository data... Reading installed packages... Resolving package dependencies... The following packages are going to be REMOVED: emacs emacs-nox 2 packages to remove. After the operation, 63.3 MiB will be freed. Continue? [y/n/?] (y): Removing emacs-nox-23.1-3.7.1 [done] Removing emacs-23.1-3.7.1 [done] There are some running programs that use files deleted by recent upgrade. You may wish to restart some of them. Run 'zypper ps' to list these programs. bypass:/srv/TestTrack/TTServDb/TTDbs # zypper in emacs-nox Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW packages are going to be installed: emacs emacs-nox 2 new packages to install. Overall download size: 22.1 MiB. After the operation, additional 94.0 MiB will be used. Continue? [y/n/?] (y): Retrieving package emacs-23.1-3.6.x86_64 (1/2), 20.3 MiB (84.2 MiB unpacked) Retrieving: emacs-23.1-3.6.x86_64.rpm [done (3.2 MiB/s)] Retrieving package emacs-nox-23.1-3.6.x86_64 (2/2), 1.8 MiB (9.7 MiB unpacked) Retrieving: emacs-nox-23.1-3.6.x86_64.rpm [done (433.2 KiB/s)] Retrieving package emacs-23.1-3.6.x86_64 (3/2), 20.3 MiB (84.2 MiB unpacked) Installing: emacs-23.1-3.6 [done] Retrieving package emacs-nox-23.1-3.6.x86_64 (4/2), 1.8 MiB (9.7 MiB unpacked) Installing: emacs-nox-23.1-3.6 [done] bypass:/srv/TestTrack/TTServDb/TTDbs # ls /usr/bin/emacs /usr/bin/emacs bypass:/srv/TestTrack/TTServDb/TTDbs # zypper lu Loading repository data... Reading installed packages... S | Repository | Name | Current Version | Available Version | Arch --+-----------------------------+-----------+-----------------+-------------------+------- v | Updates for openSUSE 11.2-0 | emacs | 23.1-3.6 | 23.1-3.7.1 | x86_64 v | Updates for openSUSE 11.2-0 | emacs-nox | 23.1-3.6 | 23.1-3.7.1 | x86_64 bypass:/srv/TestTrack/TTServDb/TTDbs # zypper up Loading repository data... Reading installed packages... The following packages are going to be upgraded: emacs emacs-nox 2 packages to upgrade. Overall download size: 16.1 MiB. After the operation, 30.7 MiB will be freed. Continue? [y/n/?] (y): Retrieving package emacs-nox-23.1-3.7.1.x86_64 (1/2), 1.8 MiB (9.7 MiB unpacked) Retrieving delta: ./rpm/x86_64/emacs-nox-23.1-3.6_3.7.1.x86_64.delta.rpm, 58.0 KiB Retrieving: emacs-nox-23.1-3.6_3.7.1.x86_64.delta.rpm [done] Applying delta: ./emacs-nox-23.1-3.6_3.7.1.x86_64.delta.rpm [done] Retrieving package emacs-23.1-3.7.1.x86_64 (2/2), 14.2 MiB (53.5 MiB unpacked) Retrieving delta: ./rpm/x86_64/emacs-23.1-3.6_3.7.1.x86_64.delta.rpm, 220.0 KiB Retrieving: emacs-23.1-3.6_3.7.1.x86_64.delta.rpm [done] Applying delta: ./emacs-23.1-3.6_3.7.1.x86_64.delta.rpm [done] Retrieving package emacs-nox-23.1-3.7.1.x86_64 (3/2), 1.8 MiB (9.7 MiB unpacked) Retrieving delta: ./rpm/x86_64/emacs-nox-23.1-3.6_3.7.1.x86_64.delta.rpm, 58.0 KiB Retrieving: emacs-nox-23.1-3.6_3.7.1.x86_64.delta.rpm [done] Applying delta: ./emacs-nox-23.1-3.6_3.7.1.x86_64.delta.rpm [done] Installing: emacs-nox-23.1-3.7.1 [done] Retrieving package emacs-23.1-3.7.1.x86_64 (4/2), 14.2 MiB (53.5 MiB unpacked) Retrieving delta: ./rpm/x86_64/emacs-23.1-3.6_3.7.1.x86_64.delta.rpm, 220.0 KiB Retrieving: emacs-23.1-3.6_3.7.1.x86_64.delta.rpm [done] Applying delta: ./emacs-23.1-3.6_3.7.1.x86_64.delta.rpm [error] applydeltarpm check failed. Installing: emacs-23.1-3.7.1 [done] There are some running programs that use files deleted by recent upgrade. You may wish to restart some of them. Run 'zypper ps' to list these programs. bypass:/srv/TestTrack/TTServDb/TTDbs # ls /usr/bin/emacs ls: cannot access /usr/bin/emacs: No such file or directory bypass:/srv/TestTrack/TTServDb/TTDbs # Reproducible: Always Steps to Reproduce: See Details. Actual Results: /usr/bin/emacs disappears (presumably due to the failure to apply the deltarpm) Expected Results: Patch would succeed. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589394 http://bugzilla.novell.com/show_bug.cgi?id=589394#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |werner@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589394 http://bugzilla.novell.com/show_bug.cgi?id=589394#c1 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |werner@novell.com AssignedTo|werner@novell.com |mls@novell.com --- Comment #1 from Dr. Werner Fink <werner@novell.com> 2010-03-19 08:22:50 UTC --- Maybe it's an error by the package its self but, nevertheless, for the first look I'd like to guess that the deltarpm show a problem. Taking me to crabon copy list and hand over to maintainer of deltarpm .. Hi Michael -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589394 http://bugzilla.novell.com/show_bug.cgi?id=589394#c2 --- Comment #2 from Dr. Werner Fink <werner@novell.com> 2010-03-19 08:32:11 UTC --- @Staffan: For a temproary fix on your system you may add a script /usr/bin/emacs with the following content: #!/bin/bash # Possible values are nox, gtk, or x11 : ${EMACS_TOOLKIT:=gtk} exec -a ${0} ${0}-${EMACS_TOOLKIT} ${1+"$@"} but don't forget to run `chmod 755 /usr/bin/emacs' afterwards. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589394 http://bugzilla.novell.com/show_bug.cgi?id=589394#c3 --- Comment #3 from Staffan Tjernstrom <mail@staffan.tjernstrom.name> 2010-03-19 14:41:20 UTC --- (In reply to comment #2)
@Staffan: For a temproary fix on your system you may add a script /usr/bin/emacs with the following content:
#!/bin/bash # Possible values are nox, gtk, or x11 : ${EMACS_TOOLKIT:=gtk} exec -a ${0} ${0}-${EMACS_TOOLKIT} ${1+"$@"}
but don't forget to run `chmod 755 /usr/bin/emacs' afterwards.
That's essentially the work-around I came up with (although I defaulted to nox). At first I just created a symlink from /usr/bin/emacs to /usr/bin/emacs-nox, but figured that might cause the "next" rpm install some issues. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589394 http://bugzilla.novell.com/show_bug.cgi?id=589394#c4 Michael Schröder <mls@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mls@novell.com |werner@novell.com --- Comment #4 from Michael Schröder <mls@novell.com> 2010-03-26 16:51:01 UTC --- I don't see a deltarpm error message, so how can that be a deltarpm error? Please remember that deltarpm creates a bitwise identical version of the requested rpms. The problem is caused by a change in the emacs package: the 3.6 release contains '/usr/bin/emacs', the 3.7.1 release doesn't have it. Thus the update deletes the file. In other words your fix for #555682 doesn't work. Please fix the update! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589394 http://bugzilla.novell.com/show_bug.cgi?id=589394#c5 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |maintenance@opensuse.org --- Comment #5 from Dr. Werner Fink <werner@novell.com> 2010-03-26 17:45:26 UTC --- fixed and submitted to openSUSE:11.2:Update:Test ... now ask maintenance -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589394 http://bugzilla.novell.com/show_bug.cgi?id=589394#c6 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:32300:low --- Comment #6 from Swamp Workflow Management <swamp@suse.com> 2010-03-30 12:55:47 UTC --- The SWAMPID for this issue is 32300. This issue was rated as low. Please submit the packages and patchinfo file using this ID. (https://swamp.suse.de/webswamp/wf/32300) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589394 http://bugzilla.novell.com/show_bug.cgi?id=589394#c7 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |cdengler@novell.com InfoProvider|maintenance@opensuse.org | --- Comment #7 from Christian Dengler <cdengler@novell.com> 2010-03-30 12:56:41 UTC --- Be so kind and submit a patchinfo. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589394 http://bugzilla.novell.com/show_bug.cgi?id=589394#c8 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #8 from Dr. Werner Fink <werner@novell.com> 2010-03-30 13:26:08 UTC --- done -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589394 http://bugzilla.novell.com/show_bug.cgi?id=589394#c9 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:32300:low |maint:running:32300:low | |maint:released:11.2:32317 --- Comment #9 from Swamp Workflow Management <swamp@suse.com> 2010-04-12 14:36:42 UTC --- Update released for: emacs, emacs-debuginfo, emacs-debugsource, emacs-el, emacs-info, emacs-nox, emacs-x11 Products: openSUSE 11.2 (debug, i586, x86_64) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=589394 http://bugzilla.novell.com/show_bug.cgi?id=589394#c Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:32300:low |. |maint:released:11.2:32317 | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com