On 2/20/19 2:32 PM, Patrick Shanahan wrote:
* George from the tribe <tech@reachthetribes.org> [02-20-19 15:10]:
So, I am trying to do zypper dup on tumbleweed, and it failed at this package: btrfsmaintenance-0.4.2-1.1.noarch
The way it failed was that it was doing the install, and stalled at installing this package when it was 92% installed. It sat there for a looooong time... I noticed the partition was full up to its reserve requirement, so I increased it with tune2fs -m 1 /dev/sda2
This freed up space, but the installation of this would not proceed. So I finally hit ctrl-c to kill it (maybe that was a bad idea?)... and it killed it, but most of the distribution upgrade is already installed, so I cannot reboot on this partition... so don't reboot, restart the dup
BTW, I am not even using btrfs; I am using ext4, so I don't know why TW wants me to have this package in the first place, but that is another issue...
back to the issue at hand... I am stuck with a partially installed distribution upgrade, and so I cannot reboot, but I also cannot complete the upgrade. When I try to reinstall it, I get this:
after many package checks... In cache patterns-gnome-gnome_office-20180321-11.2.x86_64.rpm
(1746/1747), 17.9 KiB ( 58 B unpacked) In cache patterns-gnome-gnome_imaging-20180321-11.2.x86_64.rpm
(1747/1747), 17.9 KiB ( 59 B unpacked) Checking for file conflicts: ..................................................................................................................................................................[done] ( 1/1765) Removing btrfsmaintenance-0.4.2-1.1.noarch .......................................................................................................................................[error] Removal of (98296)btrfsmaintenance-0.4.2-1.1.noarch(@System) failed: Error: Subprocess failed. Error: RPM failed: error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Resource temporarily unavailable)
Abort, retry, ignore? [a/r/i] (a): r
So I removed that file, and tried again, and got this:
Abort, retry, ignore? [a/r/i] (a): r Removal of (98296)btrfsmaintenance-0.4.2-1.1.noarch(@System) failed: Error: Subprocess failed. Error: RPM failed: warning: waiting for exclusive lock on /var/lib/rpm/Packages
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db4 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
Abort, retry, ignore? [a/r/i] (a): r
This is where I am stuck. It seems the problem is the exclusive lock. I tried undeleting the /var/lib/rpm/.rpm.lock file, and it still did the same thing.
Any help please? I don't want to have to reinstall the whole OS, but that is about the only thing I will know how to do next if I can't get this to work. delete the lock files and do: zypper -v dup -d;zypper -v dup
Ok, I was able to get it to work. It seems like it was only the time of waiting for awhile after removing the lock file. Thanks! -- George Box: 42.3 | Plasma 5 | AMD Phenom IIX4 | 64 | 32GB Laptop #1: TW | Plasma 5 | AMD FX 7TH GEN | 64 | 32GB Laptop #2: TW | Plasma 5 | Core i5 | 64 | 8GB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org