Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: online update errors when trying to remove non-existent packages; zypper update dumps core

  1. #11
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    28,829
    Blog Entries
    15

    Default Re: online update errors when trying to remove non-existent packages; zypper update dumps core

    Hi
    Add some verbosity to the commands to see what is happening....

    Code:
    zypper -vvv <your command>
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  2. #12
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    3,127

    Lightbulb Re: online update errors when trying to remove non-existent packages; zypper update dumps core

    Quote Originally Posted by dcfleck33 View Post
    the patch installs failed because they tried to remove package versions that were not on the machine.
    Zypper is a front-end to RPM – at the end of the day, it's using the RPM database.
    • It's possible that, the RPM database is corrupt.

    Please try:
    Code:
     # rpm --rebuilddb
    The relevant man page is “rpmdb”.

  3. #13
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    26,508

    Default Re: online update errors when trying to remove non-existent packages; zypper update dumps core

    Quote Originally Posted by dcurtisfra View Post
    Zypper is a front-end to RPM – at the end of the day, it's using the RPM database.
    • It's possible that, the RPM database is corrupt.

    Please try:
    Code:
     # rpm --rebuilddb
    The relevant man page is “rpmdb”.
    The OP reported that he did that in post #3.
    Henk van Velden

  4. #14
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    1,627

    Default Re: online update errors when trying to remove non-existent packages; zypper update dumps core

    Quote Originally Posted by dcfleck33 View Post
    Code:
    > zypper ve
    Loading repository data...
    Reading installed packages...
    
    Dependencies of all installed packages are satisfied.
    
    Code:
    > zypper patch
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    The following NEW package is going to be installed:
      systemd-network
    
    The following 4 NEW patches are going to be installed:
      openSUSE-2020-900 openSUSE-2020-901 openSUSE-2020-903 openSUSE-2020-904
    
    The following 16 packages are going to be upgraded:
      krb5 krb5-32bit libsystemd0 libsystemd0-32bit libudev1 libudev1-32bit libudev-devel mutt mutt-doc mutt-lang perl-TimeDate systemd systemd-32bit systemd-bash-completion s
    ystemd-sysvinit udev
    
    The following 2 packages require a system reboot:
      systemd udev
    
    16 packages to upgrade, 1 new.
    Overall download size: 8.9 MiB. Already cached: 0 B. After the operation, additional 6.5 KiB will be used.
    
        Note: System reboot required.
    Continue? [y/n/v/...? shows all options] (y)
    (Patching continues successfully)
    
    In addition, I ran all the zypper subcommands that didn't make require additional input or make changes to the installed packages. All but three ran successfully:

    Code:
    > 
    > zypper ?      
    > zypper lr      
    > zypper ref 
    > zypper cc 
    > zypper ls 
    > zypper refs 
    > zypper ve 
    > zypper lu       dumps core
    > zypper patch 
    > zypper lp       dumps core
    > zypper pchk 
    > zypper pch      dumps core
    > zypper pa 
    > zypper pt 
    > zypper pd 
    > zypper ll 
    > zypper cl 
    > zypper licenses 
    > zypper needs-rebooting 
    > zypper ps
    What about "rpm -V zypper", "rpmconfigcheck"?
    AMD Athlon 4850e (2009), openSUSE 13.1, KDE 4, Intel i3-4130 (2014), i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), openSUSE Tumbleweed, KDE Plasma 5

  5. #15
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    3,127

    Red face Re: online update errors when trying to remove non-existent packages; zypper update dumps core

    Quote Originally Posted by hcvv View Post
    The OP reported that he did that in post #3.
    Sorry, missed that …

  6. #16
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    3,127

    Question Re: online update errors when trying to remove non-existent packages; zypper update dumps core

    Quote Originally Posted by dcfleck33 View Post
    Now my one remaining problem is with zypper dumping core.
    Does “rpm --verify --all” indicate anything?

  7. #17
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    3,127

    Default Re: online update errors when trying to remove non-existent packages; zypper update dumps core

    Quote Originally Posted by dcfleck33 View Post
    Out of curiosity, what tool(s) do you use to keep your system(s) up to date?
    On a Desktop, the YaST online update configuration – a cron job.
    On a Laptop, the Desktop user Applet – it kicks in when the user has a WLAN connection and, the battery is being charged …

  8. #18

    Default Re: online update errors when trying to remove non-existent packages; zypper update dumps core

    Thanks, everybody, for the suggestions. The core dump problem is still there, but rebuilding the rpmdb seems to have fixed all the day-to-day errors. I've filed a bug report for the core dump.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •