[opensuse-factory] TW zypper dup errors trying to remove older package verision not installed
Hi all- Doing a 'zypper dup --no-allow-vendor-change' on my TW box after a week or so since my last run of the command. It is erroring out with: Checking for file conflicts: ............................................................................................................................................................................................................................................................[done] ( 1/1099) Removing appstream-glib-0.7.4+git.3-1.2.x86_64 .............................................................................................................................................................................................................................[error] Removal of (124438)appstream-glib-0.7.4+git.3-1.2.x86_64(@System)failed: Error: Subprocess failed. Error: RPM failed: error: package appstream-glib-0.7.4+git.3-1.2.x86_64 is not installed I have the newer version of the package installed () so not sure why it's attempting to remove the older (or thinks it's installed). How do I have the update database have an accurate inventory of all currently installed packages? 'zypper ref' and 'zypper dup' both run but leave me with the same situation described. My repo list is as follows: # | Alias | Name | Enabled | GPG Check | Refresh ---+-------------------------------------+-----------------------------+---------+-----------+-------- 1 | http-download.opensuse.org-15e082e8 | network:telephony | Yes | (r ) Yes | Yes 2 | http-download.opensuse.org-3f1ff346 | home:darix:playground | Yes | (r ) Yes | Yes 3 | http-download.opensuse.org-4bc511e1 | openSUSE:Tumbleweed | Yes | (r ) Yes | Yes 4 | http-download.opensuse.org-79355167 | network:telephony | Yes | (r ) Yes | Yes 5 | http-download.opensuse.org-9ae3a832 | security | Yes | (r ) Yes | Yes 6 | openSUSE-20171222-0 | openSUSE-20171222-0 | No | ---- | ---- 7 | packman | packman | Yes | (r ) Yes | Yes 8 | repo-debug | openSUSE-Tumbleweed-Debug | No | ---- | ---- 9 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Yes | (r ) Yes | Yes 10 | repo-oss | openSUSE-Tumbleweed-Oss | Yes | (r ) Yes | Yes 11 | repo-source | openSUSE-Tumbleweed-Source | No | ---- | ---- 12 | repo-update | openSUSE-Tumbleweed-Update | Yes | (r ) Yes | Yes 13 | skype-stable | skype (stable) | Yes | (r ) Yes | Yes Thanks! -- Cheers, Trey ---- I've touch'd the highest point of all my greatness; And from that full meridian of my glory I haste now to my setting. I shall fall, Like a bright exhalation in the evening And no man see me more. -- Shakespeare Linux lizard 4.14.13-1-default x86_64 11:54:14 up 15:29, 1 user, load average: 0.36, 0.20, 0.12 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
26.01.2018 20:04, Trey Sizemore пишет:
Hi all-
Doing a 'zypper dup --no-allow-vendor-change' on my TW box after a week or so since my last run of the command.
It is erroring out with: Checking for file conflicts: ............................................................................................................................................................................................................................................................[done] ( 1/1099) Removing appstream-glib-0.7.4+git.3-1.2.x86_64 .............................................................................................................................................................................................................................[error] Removal of (124438)appstream-glib-0.7.4+git.3-1.2.x86_64(@System)failed: Error: Subprocess failed. Error: RPM failed: error: package appstream-glib-0.7.4+git.3-1.2.x86_64 is not installed
I have the newer version of the package installed () so not sure why it's attempting to remove the older (or thinks it's installed).
How do I have the update database have an accurate inventory of all currently installed packages? 'zypper ref' and 'zypper dup' both run but leave me with the same situation described.
On forums user with similar problem reported that "zypper clean" helped. I suppose, removing /var/cache/zypp/solv/@System should force it to be recreated too. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, 26 Jan 2018 20:46:57 +0300
Andrei Borzenkov
26.01.2018 20:04, Trey Sizemore пишет:
Hi all-
Doing a 'zypper dup --no-allow-vendor-change' on my TW box after a week or so since my last run of the command.
It is erroring out with: Checking for file conflicts: ............................................................................................................................................................................................................................................................[done] ( 1/1099) Removing appstream-glib-0.7.4+git.3-1.2.x86_64 .............................................................................................................................................................................................................................[error] Removal of (124438)appstream-glib-0.7.4+git.3-1.2.x86_64(@System)failed: Error: Subprocess failed. Error: RPM failed: error: package appstream-glib-0.7.4+git.3-1.2.x86_64 is not installed
I have the newer version of the package installed () so not sure why it's attempting to remove the older (or thinks it's installed).
How do I have the update database have an accurate inventory of all currently installed packages? 'zypper ref' and 'zypper dup' both run but leave me with the same situation described.
On forums user with similar problem reported that "zypper clean" helped. I suppose, removing /var/cache/zypp/solv/@System should force it to be recreated too.
Unfortunately, neither 'zypper clean' or removing /var/cache/zypp/solv/'@System' worked for me. I'm still experiencing a disconnect with what is actually installed vs. what zypper thinks is installed. The most recent run this morning errored out with: ( 1/1068) Removing evince-plugin-psdocument-3.26.0-3.2.x86_64 .............................................................................................................................................[error] Removal of (124697)evince-plugin-psdocument-3.26.0-3.2.x86_64(@System) failed: Error: Subprocess failed. Error: RPM failed: error: package evince-plugin-psdocument-3.26.0-3.2.x86_64 is not installed Is there some other way to get the correct installed packages info reflected with zypper? -- Cheers, Trey ---- "Somewhere", said Father Vittorini, "did Blake not speak of the Machineries of Joy? That is, did not God promote environments, then intimidate these Natures by provoking the existence of flesh, toy men and women, such as are we all? And thus happily sent forth, at our best, with good grace and fine wit, on calm noons, in fair climes, are we not God's Machineries of Joy?" "If Blake said that", said Father Brian, "he never lived in Dublin." -- R. Bradbury, "The Machineries of Joy" Linux lizard 4.14.13-1-default x86_64 10:18:23 up 1:01, 1 user, load average: 0.21, 0.32, 0.65 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On samedi, 27 janvier 2018 16.21:13 h CET Trey Sizemore wrote:
On Fri, 26 Jan 2018 20:46:57 +0300
Andrei Borzenkov
wrote: 26.01.2018 20:04, Trey Sizemore пишет:
Hi all-
Doing a 'zypper dup --no-allow-vendor-change' on my TW box after a week or so since my last run of the command.
It is erroring out with: Checking for file conflicts: ....................................................................... ........................................................................ ........................................................................ .....................................[done] ( 1/1099) Removing appstream-glib-0.7.4+git.3-1.2.x86_64 ....................................................................... ........................................................................ ........................................................................ ......[error] Removal of (124438)appstream-glib-0.7.4+git.3-1.2.x86_64(@System)failed: Error: Subprocess failed. Error: RPM failed: error: package appstream-glib-0.7.4+git.3-1.2.x86_64 is not installed
I have the newer version of the package installed () so not sure why it's attempting to remove the older (or thinks it's installed).
How do I have the update database have an accurate inventory of all currently installed packages? 'zypper ref' and 'zypper dup' both run but leave me with the same situation described.
On forums user with similar problem reported that "zypper clean" helped. I suppose, removing /var/cache/zypp/solv/@System should force it to be recreated too.
Unfortunately, neither 'zypper clean' or removing /var/cache/zypp/solv/'@System' worked for me. I'm still experiencing a disconnect with what is actually installed vs. what zypper thinks is installed.
The most recent run this morning errored out with:
( 1/1068) Removing evince-plugin-psdocument-3.26.0-3.2.x86_64 ........................................................................... ..................................................................[error] Removal of (124697)evince-plugin-psdocument-3.26.0-3.2.x86_64(@System) failed: Error: Subprocess failed. Error: RPM failed: error: package evince-plugin-psdocument-3.26.0-3.2.x86_64 is not installed
Is there some other way to get the correct installed packages info reflected with zypper?
Looks like you have a corrupted database. Sometimes running this kind of script help to make everything fine again I don't know why but on some ext4 computer, a reboot afterward and then the classical zypper -v ref -f && zypper -v dup work This is the extract of the script used cat rpmdb_optimize.sh #!/bin/sh sqlite3 /var/cache/zypp/zypp.db vacuum rpm --rebuilddb # takes long for fn in /var/cache/zypp/zypp.db \ /var/lib/rpm/[A-Z]* do echo "Processing $fn" cp -a $fn $fn.new || exit 1 mv -f $fn.new $fn done -- Bruno Friedmann Ioda-Net Sàrl www.ioda-net.ch Bareos Partner, openSUSE Member, fsfe fellowship GPG KEY : D5C9B751C4653227 irc: tigerfoot -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sat, 27 Jan 2018 18:05:49 +0100
Bruno Friedmann
On samedi, 27 janvier 2018 16.21:13 h CET Trey Sizemore wrote:
On Fri, 26 Jan 2018 20:46:57 +0300
Andrei Borzenkov
wrote: 26.01.2018 20:04, Trey Sizemore пишет:
Hi all-
Doing a 'zypper dup --no-allow-vendor-change' on my TW box after a week or so since my last run of the command.
It is erroring out with: Checking for file conflicts: ....................................................................... ........................................................................ ........................................................................ .....................................[done] ( 1/1099) Removing appstream-glib-0.7.4+git.3-1.2.x86_64 ....................................................................... ........................................................................ ........................................................................ ......[error] Removal of (124438)appstream-glib-0.7.4+git.3-1.2.x86_64(@System)failed: Error: Subprocess failed. Error: RPM failed: error: package appstream-glib-0.7.4+git.3-1.2.x86_64 is not installed
I have the newer version of the package installed () so not sure why it's attempting to remove the older (or thinks it's installed).
How do I have the update database have an accurate inventory of all currently installed packages? 'zypper ref' and 'zypper dup' both run but leave me with the same situation described.
On forums user with similar problem reported that "zypper clean" helped. I suppose, removing /var/cache/zypp/solv/@System should force it to be recreated too.
Unfortunately, neither 'zypper clean' or removing /var/cache/zypp/solv/'@System' worked for me. I'm still experiencing a disconnect with what is actually installed vs. what zypper thinks is installed.
The most recent run this morning errored out with:
( 1/1068) Removing evince-plugin-psdocument-3.26.0-3.2.x86_64 ........................................................................... ..................................................................[error] Removal of (124697)evince-plugin-psdocument-3.26.0-3.2.x86_64(@System) failed: Error: Subprocess failed. Error: RPM failed: error: package evince-plugin-psdocument-3.26.0-3.2.x86_64 is not installed
Is there some other way to get the correct installed packages info reflected with zypper?
Looks like you have a corrupted database. Sometimes running this kind of script help to make everything fine again I don't know why but on some ext4 computer, a reboot afterward and then the classical zypper -v ref -f && zypper -v dup work
This is the extract of the script used cat rpmdb_optimize.sh
#!/bin/sh sqlite3 /var/cache/zypp/zypp.db vacuum rpm --rebuilddb # takes long for fn in /var/cache/zypp/zypp.db \ /var/lib/rpm/[A-Z]* do echo "Processing $fn" cp -a $fn $fn.new || exit 1 mv -f $fn.new $fn done
Thank you Robert, Andrei, and Bruno for your replies. I ended up earlier doing a variation of the recommendations involving rebuilding the corrupt database with: sudo rpm --rebuilddb && sudo zypper clean -a && sudo zypper ref This worked for me. -- Cheers, Trey ---- Adversity is the trial of principle. Without it, a man hardly knows whether he is honest or not. --Henry Fielding Linux lizard 4.14.14-1-default x86_64 15:31:49 up 0:04, 1 user, load average: 0.81, 0.81, 0.37 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Trey Sizemore
Unfortunately, neither 'zypper clean' or removing /var/cache/zypp/solv/'@System' worked for me. I'm still experiencing a disconnect with what is actually installed vs. what zypper thinks is installed.
The most recent run this morning errored out with:
( 1/1068) Removing evince-plugin-psdocument-3.26.0-3.2.x86_64 .............................................................................................................................................[error] Removal of (124697)evince-plugin-psdocument-3.26.0-3.2.x86_64(@System) failed: Error: Subprocess failed. Error: RPM failed: error: package evince-plugin-psdocument-3.26.0-3.2.x86_64 is not installed
Is there some other way to get the correct installed packages info reflected with zypper?
-- Cheers, Trey ----
"Somewhere", said Father Vittorini, "did Blake not speak of the Machineries of Joy? That is, did not God promote environments, then intimidate these Natures by provoking the existence of flesh, toy men and women, such as are we all? And thus happily sent forth, at our best, with good grace and fine wit, on calm noons, in fair climes, are we not God's Machineries of Joy?"
"If Blake said that", said Father Brian, "he never lived in Dublin." -- R. Bradbury, "The Machineries of Joy"
Linux lizard 4.14.13-1-default x86_64 10:18:23 up 1:01, 1 user, load average: 0.21, 0.32, 0.65
long sig :( you might try: sudo rpm --rebuilddb && sudo zypper clean -a && sudo zypper ref -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Andrei Borzenkov
-
Bruno Friedmann
-
Patrick Shanahan
-
Trey Sizemore