http://bugzilla.opensuse.org/show_bug.cgi?id=1171895 http://bugzilla.opensuse.org/show_bug.cgi?id=1171895#c2 --- Comment #2 from Michael Andres <ma@suse.com> --- The filesystem behaves pretty strange. Never seen something like this.
21:56:30 [zypper] main.cc(main):97 ===== Hi, me zypper 1.14.36 21:56:30 [zypper] main.cc(main):98 ===== 'zypper' 'in' 'pidgin' ===== 21:56:31 [zypp] RepoManager.cc(checkIfToRefreshMetadata):971 Going to try to check whether refresh is needed for http://download.opensuse.org/ports/aarch64/tumbleweed/repo/oss/ (rpm-md) 21:56:31 [zypp] PathInfo.cc(assert_dir):354 mkdir /var/cache/zypp/raw/repo-oss 00755
The start of the 1st command. The /var/cache/zypp/raw/repo-oss cache directoy is missing, so we create an empty one.
21:56:31 [zypp] RepoManager.cc(checkIfToRefreshMetadata):979 No cached metadata, going to refresh 21:56:31 [zypp] PathInfo.cc(assert_dir):354 mkdir /var/cache/zypp/raw/repo-ossridqj8/media.1 00755 ... downloading all the data... 21:56:39 [zypp] PathInfo.cc(exchange):765 exchange /var/cache/zypp/raw/repo-ossridqj8 <-> /var/cache/zypp/raw/repo-oss 21:56:39 [zypp] PathInfo.cc(recursive_rmdir):426 recursive_rmdir /var/cache/zypp/raw/repo-ossridqj8 21:56:39 [zypp++] TmpPath.cc(~Impl):78 TmpPath cleaned up /var/cache/zypp/raw/repo-ossridqj8{d 0700 0/0}
No cached metadata, so we refresh. All data are downloaded to a temp directiory (repo-ossridqj8). At the end temp directory and metadata directory are exchanged. The temp directory (containing now the old metadata) is removed. So far. so good.
21:56:39 [zypp] RepoManager.cc(checkIfToRefreshMetadata):971 Going to try to check whether refresh is needed for http://download.opensuse.org/ports/aarch64/tumbleweed/repo/oss/ (rpm-md) 21:56:39 [zypp] RepoManager.cc(checkIfToRefreshMetadata):979 No cached metadata, going to refresh 21:56:39 [zypp] PathInfo.cc(assert_dir):354 mkdir /var/cache/zypp/raw/repo-ossi8Ukya/media.1 00755 ... downloading all the data... 21:56:46 [zypp] PathInfo.cc(exchange):765 exchange /var/cache/zypp/raw/repo-ossi8Ukya <-> /var/cache/zypp/raw/repo-oss 21:56:46 [zypp] PathInfo.cc(recursive_rmdir):426 recursive_rmdir /var/cache/zypp/raw/repo-ossi8Ukya 21:56:46 [zypp] TmpPath.cc(~Impl):76 TmpPath cleanup error (39) /var/cache/zypp/raw/repo-ossi8Ukya{d 0700 0/0}
But a few seconds later, the metadata are not present anymore. Again we download to a temp directory (repo-ossi8Ukya) and exchange the directories. This time removing the temp directory (containing now the old metadata) fails. Errno 39 `Directory not empty`. This should not happen. As there was no error removing any files inside, someone had to create new file there.
21:56:51 [zypp] RepoManager.cc(checkIfToRefreshMetadata):971 Going to try to check whether refresh is needed for http://download.opensuse.org/ports/aarch64/tumbleweed/repo/oss/ (rpm-md) 21:56:51 [zypp] RepoManager.cc(checkIfToRefreshMetadata):979 No cached metadata, going to refresh 21:56:51 [zypp] PathInfo.cc(assert_dir):354 mkdir /var/cache/zypp/raw/repo-ossm5N2ya/media.1 00755 ... downloading all the data... 21:56:58 [zypp] PathInfo.cc(exchange):765 exchange /var/cache/zypp/raw/repo-ossm5N2ya <-> /var/cache/zypp/raw/repo-oss 21:56:58 [zypp] PathInfo.cc(recursive_rmdir):426 recursive_rmdir /var/cache/zypp/raw/repo-ossm5N2ya 21:56:58 [zypp] TmpPath.cc(~Impl):76 TmpPath cleanup error (39) /var/cache/zypp/raw/repo-ossm5N2ya{d 0700 0/0}
And a few seconds later the same again, with Temp directory repo-ossm5N2ya.
22:02:14 [zypper] main.cc(main):97 ===== Hi, me zypper 1.14.36 22:02:14 [zypper] main.cc(main):98 ===== 'zypper' 'in' '--debug-solver' 'pidgin' ===== 22:02:15 [zypp] PathInfo.cc(recursive_rmdir):426 recursive_rmdir /var/cache/zypp/raw/repo-ossi8Ukya 22:02:15 [zypp] PathInfo.cc(recursive_rmdir):426 recursive_rmdir /var/cache/zypp/raw/repo-ossm5N2ya
Interestingly the next command, where the testcase is created, find the 2 orphaned tempdirs (repo-ossi8Ukya and repo-ossm5N2ya) and is able to remove them.
22:02:15 [zypp] RepoManager.cc(checkIfToRefreshMetadata):971 Going to try to check whether refresh is needed for http://download.opensuse.org/ports/aarch64/tumbleweed/repo/oss/ (rpm-md) 22:02:15 [zypp] RepoManager.cc(checkIfToRefreshMetadata):979 No cached metadata, going to refresh 22:02:16 [zypp] PathInfo.cc(assert_dir):354 mkdir /var/cache/zypp/raw/repo-ossnzpH0d/media.1 00755 ... downloading all the data... 22:02:23 [zypp] PathInfo.cc(exchange):765 exchange /var/cache/zypp/raw/repo-ossnzpH0d <-> /var/cache/zypp/raw/repo-oss 22:02:23 [zypp] PathInfo.cc(recursive_rmdir):426 recursive_rmdir /var/cache/zypp/raw/repo-ossnzpH0d 22:02:23 [zypp] TmpPath.cc(~Impl):76 TmpPath cleanup error (39) /var/cache/zypp/raw/repo-ossnzpH0d{d 0700 0/0}
The original metadata dir however /var/cache/zypp/raw/repo-oss still does not contain cache data. And so on.... @Radu Ierimie: (all commands executed as root) If possible, please run a forced refresh and capture the log:
# rm /tmp/zypper.1171895.log in case it exists. ZYPP_LOGFILE=/tmp/zypper.1171895.log zypper ref -f
Then wait ~30 seconds and capture the zypper cache content:
find /var/cache/zypp/ -ls >/tmp/zypper.1171895.find
Then do another refresh capturing the log in the above logfile
ZYPP_LOGFILE=/tmp/zypper.1171895.log zypper ref -f
If the issue persist (e.g. 'zypper se -s --not-installed-only' does not find any packages), please attach the 2 tmp/zypper.1171895.* files. -- You are receiving this mail because: You are on the CC list for the bug.