localhost:~ # zypper dup
Building repository ‘Perusasennuslähde päivityksille’ cache …[done]
Error building the cache:
[download.opensuse.org-tumbleweed|http://download.opensuse.org/update/tumbleweed/] Failed to cache repo (1).
History:
‘repo2solv’ ‘-o’ ‘/var/cache/zypp/solv/download.opensuse.org-tumbleweed/solv’ ‘-X’ ‘/var/cache/zypp/raw/download.opensuse.org-tumbleweed’
/var/cache/zypp/raw/download.opensuse.org-tumbleweed/repodata/4ff264508c9842a63a88edbeb8f87899d4cf319040a49788c4019f8bef4995736337f5b4db5a250d3bb72dca0180735699ddb95b1534c4d9b61f82ba279e0bce-primary.xml.gz: repo_rpmmd: Document is empty
at line 1:1
Command exited with status 1.
Warning: Skipping repository ‘Perusasennuslähde päivityksille’ because of the above error.
Some of the repositories have not been refreshed because of an error.
dist-upgrade: Due to the treatment of orphaned packages dist-upgrade depends on a proper
repository setup more than any other command. It must not continue if enabled repositories fail
to refresh. This may severely damage the system. If a failing repository is actually not needed,
it must be disabled. See ‘man zypper’ for more information about this command.
localhost:~ #
localhost:~ #
localhost:~ #
localhost:~ #
Please, to make the pieces of computer code in your posts better consumable by technical oriented people:
And post as complete as possible. That is starting with the line with the prompt and the command, then all output, and ending with the new prompt line.
When you really feel you need to change anything in such a copy, then explain that in a comment, else we take all characters literally.
localhost:~ # zypper dup
Building repository 'Perusasennuslähde päivityksille' cache .........................................................................................................[done]
Error building the cache:
[download.opensuse.org-tumbleweed|http://download.opensuse.org/update/tumbleweed/] Failed to cache repo (1).
History:
- 'repo2solv' '-o' '/var/cache/zypp/solv/download.opensuse.org-tumbleweed/solv' '-X' '/var/cache/zypp/raw/download.opensuse.org-tumbleweed'
/var/cache/zypp/raw/download.opensuse.org-tumbleweed/repodata/4ff264508c9842a63a88edbeb8f87899d4cf319040a49788c4019f8bef4995736337f5b4db5a250d3bb72dca0180735699ddb95b1534c4d9b61f82ba279e0bce-primary.xml.gz: repo_rpmmd: Document is empty
at line 1:1
Command exited with status 1.
Warning: Skipping repository 'Perusasennuslähde päivityksille' because of the above error.
Some of the repositories have not been refreshed because of an error.
dist-upgrade: Due to the treatment of orphaned packages dist-upgrade depends on a proper
repository setup more than any other command. It must not continue if enabled repositories fail
to refresh. This may severely damage the system. If a failing repository is actually not needed,
it must be disabled. See 'man zypper' for more information about this command.
localhost:~ #
Is there some zypper command that I can use to update the sources? I think this came about when there was a thunderstorm here and the computer shut down.
Linux and especially openSUSE is amazing. The update works fine again.
Thanks to Linus Torvalds and the entire Linux community! I am proud to be Finnish.
Much, much better. And please remember it for next time you want to post.
And I can give you another hint. Your system is not using English, thus it can be difficult for people here in the Englsih language section of the forums. Most (if not all) commands will show English instead of the configured language when you precede the command with LANG=C. In this case
I understand this very well.
But my native language is Finnish and I assume that the commands etc. are also translated correctly into English. I have to translate the language into English myself, so I assume that translation the other way around is not possible?
But this is not a problem, as long as the commands are correct and my question is understood.
@raijar This is an English speaking Forum, there is an expectation that users post in this language and if not their native language by utilizing the LANG=C environment variable when posting output.
Second, I now see that your system language is English (though you may have Finish as user in the desktop). I think I was confused by the strange repository name in your first post above (which was not easy to interpret because no CODE posting was used).