Bug 512872 - zypper dup hangs on installing package, rpm -Uvh does the same
Summary: zypper dup hangs on installing package, rpm -Uvh does the same
Status: RESOLVED DUPLICATE of bug 510788
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: Update Problems (show other bugs)
Version: Milestone 2
Hardware: x86-64 Other
: P1 - Urgent : Major (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-12 20:47 UTC by Sid Boyce
Modified: 2009-06-15 15:17 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sid Boyce 2009-06-12 20:47:51 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-GB; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10

The update proceeds normally and later it hangs installing a package (any package). Killing the rpm and zypper processes and restating zypper or downloading and trying to upgrade the package the result is the same.
Happens on 3 boxes.
# zypper dup
<stuff deleted>
Retrieving package gedit-2.27.1-1.9.x86_64 (1906/1975), 1.5 MiB (4.3 MiB unpacked)
Retrieving: gedit-2.27.1-1.9.x86_64.rpm [done (0 B/s)]
Installing: gedit-2.27.1-1.9 [done]
Retrieving package gdm-2.26.1-2.9.x86_64 (1907/1975), 717.0 KiB (2.1 MiB unpacked)
Retrieving: gdm-2.26.1-2.9.x86_64.rpm [done]
Installing: gdm-2.26.1-2.9 [33%]

# zypper in gdm
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following package is going to be upgraded:
  gdm

1 package to upgrade.
Overall download size: 717.0 KiB. No additional space will be used or freed after the operation.
Continue? [y/n/?] (y):
Retrieving package gdm-2.26.1-2.9.x86_64 (1/1), 717.0 KiB (2.1 MiB unpacked)
Installing: gdm-2.26.1-2.9 [0%]

# rpm -Uvh gdm-2.26.1-2.9.x86_64.rpm
Preparing...                ########################################### [100%]

 # ps fax|grep rpm
19214 pts/9    S+     0:00              \_ grep rpm
23824 pts/9    S      0:00 rpm --root / --dbpath /var/lib/rpm -U --percent --force --nodeps -- /var/cache/zypp/packages/openSUSE_Factory/suse/x86_64/gdm-2.26.1-2.9.x86_64.rpm
23825 pts/9    S      0:00  \_ /bin/sh /var/tmp/rpm-tmp.38353 3


Reproducible: Sometimes

Steps to Reproduce:
1.zypper dup
2.
3.
Actual Results:  
Installing <package> [x%]

Expected Results:  
Should finish the install.
Comment 1 Sid Boyce 2009-06-12 20:52:37 UTC
slipstream:/home/lancelot/ftp/Jun09 # rpm --initdb
slipstream:/home/lancelot/ftp/Jun09 # zypper ref
Repository '11.2 - VideoLan' is up to date.
Repository 'KDE4.3' is up to date.
Repository 'QT4_UNSTABLE' is up to date.
Repository 'HAM-radio software  packages (openSUSE_Factory)' is up to date.
Repository 'mono2.4' is up to date.
Repository 'openSUSE Factory' is up to date.
Repository 'openSUSE Factory-non-oss' is up to date.
All repositories have been refreshed.
slipstream:/home/lancelot/ftp/Jun09 # zypper dup
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

The following packages are going to be upgraded:
  accerciser accerciser-lang anjuta anjuta-lang at-spi at-spi-devel banshee-1-backend-platform-gnome banshee-1-extensions-default cheese compiz-gnome dasher dasher-lang deskbar-applet deskbar-applet-lang devhelp-devel devhelp-lang epiphany epiphany-doc epiphany-lang
  evolution evolution-data-server-devel evolution-devel evolution-pilot f-spot gdm gimp-help gnome-control-center-devel gnome-mag gnome-main-menu-devel gnome-media gnome-media-devel gnome-panel-devel gnome-pilot-devel gnome-python-desktop gnopernicus gnopernicus-devel
  gnopernicus-lang gnucash-lang gtkhtml2-devel gucharmap-devel kipi-plugins kipi-plugins-lang libgail-gnome libgail-gnome-devel libgnomeui-devel libqt4-sql-mysql-32bit mousetweaks MozillaThunderbird-translations NetworkManager-kde4-lang OpenOffice_org OpenOffice_org-base
  OpenOffice_org-base-extensions OpenOffice_org-calc OpenOffice_org-calc-extensions OpenOffice_org-draw OpenOffice_org-draw-extensions OpenOffice_org-filters-optional OpenOffice_org-gnome OpenOffice_org-impress OpenOffice_org-impress-extensions OpenOffice_org-kde
  OpenOffice_org-math OpenOffice_org-Quickstarter OpenOffice_org-writer OpenOffice_org-writer-extensions planner-evolution system-config-printer-lang vinagre-lang vlc-aout-pulse yast2-control-center yast2-control-center-gnome yast2-control-center-qt

72 packages to upgrade.
Overall download size: 95.0 MiB. After the operation, additional 106.0 KiB will be used.
Continue? [y/n/?] (y):
Retrieving package yast2-control-center-gnome-2.13.3-77.12.x86_64 (1/72), 23.0 KiB (39.0 KiB unpacked)
Retrieving: yast2-control-center-gnome-2.13.3-77.12.x86_64.rpm [done]
Installing: yast2-control-center-gnome-2.13.3-77.12 [done]
Retrieving package libgnomeui-devel-2.24.1-2.5.x86_64 (2/72), 59.0 KiB (245.0 KiB unpacked)
Retrieving: libgnomeui-devel-2.24.1-2.5.x86_64.rpm [done (0 B/s)]
Installing: libgnomeui-devel-2.24.1-2.5 [done]
Retrieving package gnucash-lang-2.2.9-1.12.x86_64 (3/72), 2.4 MiB (8.2 MiB unpacked)
Retrieving: gnucash-lang-2.2.9-1.12.x86_64.rpm [done (0 B/s)]
Installing: gnucash-lang-2.2.9-1.12 [done]
Retrieving package gnome-media-2.27.1-1.3.x86_64 (4/72), 481.0 KiB (1.9 MiB unpacked)
Retrieving: gnome-media-2.27.1-1.3.x86_64.rpm [done]
Installing: gnome-media-2.27.1-1.3 [done]
Retrieving package gnome-main-menu-devel-0.9.12-13.5.x86_64 (5/72), 23.0 KiB (47.0 KiB unpacked)
Retrieving: gnome-main-menu-devel-0.9.12-13.5.x86_64.rpm [done (0 B/s)]
Installing: gnome-main-menu-devel-0.9.12-13.5 [done]
Retrieving package gdm-2.26.1-2.9.x86_64 (6/72), 717.0 KiB (2.1 MiB unpacked)
Installing: gdm-2.26.1-2.9 [0%]
Comment 2 Dominique Leuenberger 2009-06-15 15:17:20 UTC
Duplicate of bug #510788.

the issue is the useradd / usermod / userdel command in the rpm %post scripts.

*** This bug has been marked as a duplicate of bug 510788 ***