[opensuse-factory] Warning: don't zypper up in X
Hi, I'm not sure if it's a bug or a feature, but updating to current Factory restarts X. This wouldn't be a problem in itself, but unfortunately zypper updates libzypp, then restarts X and by then it has forgotten to update zypper itself. So once you're back in X, there is no zypper to work with - because: zypper: error while loading shared libraries: libzypp.so.1419: cannot open shared object file You can work around it by doing "zypper up zypper" first, or call zypper from text console. Once you fell into the trap, you can do sudo rpm -Uvh http://download.opensuse.org/factory/repo/oss/suse/x86_64/zypper-1.11.7-1.1.... and then continue with zypper up/dup. Greetings, Stephan -- Ma muaß weiterkämpfen, kämpfen bis zum Umfalln, a wenn die ganze Welt an Arsch offen hat, oder grad deswegn. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, 2014-06-04 at 06:10 +0200, Stephan Kulow wrote:
Once you fell into the trap, you can do sudo rpm -Uvh http://download.opensuse.org/factory/repo/oss/suse/x86_64/zypper-1.11.7-1.1....
You can also still install the zypper RPM that should be somewhere
in /var/cache/zypp/packages/${OSS}/suse/$(uname -m)
--
Evan McClain
On 04/06/14 10:37, Evan McClain wrote:
On Wed, 2014-06-04 at 06:10 +0200, Stephan Kulow wrote:
Once you fell into the trap, you can do sudo rpm -Uvh http://download.opensuse.org/factory/repo/oss/suse/x86_64/zypper-1.11.7-1.1.... You can also still install the zypper RPM that should be somewhere in /var/cache/zypp/packages/${OSS}/suse/$(uname -m)
BTW, there is a new "zypper download" command that just takes the name of the package and does no dependency solving: zypper download zypper Of course, you need to run it before you fall into the trap :-) (since zypper 1.11.4) -- Duncan Mac-Vicar P. - http://www.suse.com/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 2014-06-04 04:37 (GMT-0400) Evan McClain composed:
On Wed, 2014-06-04 at 06:10 +0200, Stephan Kulow wrote:
Once you fell into the trap, you can do sudo rpm -Uvh http://download.opensuse.org/factory/repo/oss/suse/x86_64/zypper-1.11.7-1.1....
You can also still install the zypper RPM that should be somewhere in /var/cache/zypp/packages/${OSS}/suse/$(uname -m)
Are you sure? I think not on my installations: # grep commit.down /etc/zypp/zypp.conf commit.downloadMode = DownloadAsNeeded Then again, I always upgrade libsolv-tools, *zypp* and rpm via zypper in before doing zypper dup. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 04/06/14 05:10, Stephan Kulow wrote:
Hi,
I'm not sure if it's a bug or a feature, but updating to current Factory restarts X. This wouldn't be a problem in itself, but unfortunately zypper updates libzypp, then restarts X and by then it has forgotten to update zypper itself. So once you're back in X, there is no zypper to work with - because:
zypper: error while loading shared libraries: libzypp.so.1419: cannot open shared object file
You can work around it by doing "zypper up zypper" first, or call zypper from text console.
Once you fell into the trap, you can do sudo rpm -Uvh http://download.opensuse.org/factory/repo/oss/suse/x86_64/zypper-1.11.7-1.1....
and then continue with zypper up/dup.
Greetings, Stephan
I had the same problem on one out of 3 boxes. I noticed that the failing box's /usr/bin/zypper was dated May and the others June and /usr/lib64/libzypp.so.1420.1.0 was on all of them so I scp'd the June version over to fix it. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Stephan Kulow wrote:
I'm not sure if it's a bug or a feature, but updating to current Factory restarts X. This wouldn't be a problem in itself, but unfortunately
xdm now correctly uses the systemd macros that restart a service on update. I guess xdm cannot cope with that gracefully and shuts down it's X sessions instead of just restarting the main daemon.
zypper updates libzypp, then restarts X and by then it has forgotten to update zypper itself. So once you're back in X, there is no zypper to work with - because:
zypper: error while loading shared libraries: libzypp.so.1419: cannot open shared object file
You can work around it by doing "zypper up zypper" first, or call zypper from text console.
Or run zypper in screen I guess, which is always a good idea anyways. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Le mercredi 04 juin 2014 à 13:43 +0200, Ludwig Nussel a écrit :
Stephan Kulow wrote:
I'm not sure if it's a bug or a feature, but updating to current Factory restarts X. This wouldn't be a problem in itself, but unfortunately
xdm now correctly uses the systemd macros that restart a service on update. I guess xdm cannot cope with that gracefully and shuts down it's X sessions instead of just restarting the main daemon.
DISABLE_RESTART_ON_UPGRADE environment variable should be set to "yes" in %postun before the %service_del_postun call, it will prevent the try-restart call on systemctl -- Frederic Crozat Project Manager Enterprise Desktop SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (7)
-
Duncan Mac-Vicar P.
-
Evan McClain
-
Felix Miata
-
Frederic Crozat
-
Ludwig Nussel
-
Sid Boyce
-
Stephan Kulow