On 03/03/2014 11:26 PM, James Antill wrote:
On Sun, 2014-03-02 at 13:44 +0100, Marcin Dulak wrote:
Hi,

My feeling is that the yum message should be improved.
There are many questions from confused users about "what to do now?", e.g.:
https://ask.fedoraproject.org/en/question/42524/yum-update-multilib-version-problems-found-for-package-keyutils-libs/

I think it would be better to provide users with some few basic yum
diagnostic commands first.
[...]
Every yum error should provide such a basic guide - yum itself should
teach users how to use it.

  Sounds awesome, have any specific ideas/patches?
i'm not a yum developer or expert, but over the years of using yum i noticed that giving the following hint:
"|yum clean all"| seems to be crucial for beginners.

I guess adding the relevant hints to yum errors will be easy for developers who have an overview of yum. The cases that seem to happen so often that require improving of error messages are:

- "Multilib version problems found": https://ask.fedoraproject.org/en/question/42524/yum-update-multilib-version-problems-found-for-package-keyutils-libs/ Should hint No. 3 become No. 1? Also: i think hints should be shorter, and maybe more information printed only at different yum debug levels
(how to achieve that given as a hint of course).

- "|Cannotretrieve metalink forrepository|" - usually due to incorrect network settings (caching mirrors, proxy, firewall):
https://ask.fedoraproject.org/en/question/31043/yum-error/
https://ask.fedoraproject.org/en/question/9290/yum-update-error-cannot-retrieve-metalink-for-repository-fedora/
https://ask.fedoraproject.org/en/question/38719/cannot-retrieve-metalink-for-repository-fedora20x86_64-please-verify-its-path-and-try-again/
https://ask.fedoraproject.org/en/question/37777/cannot-retrieve-metalink-for-repository-fedora20x86_64/

- users disable/enable repos and run into troubles: https://ask.fedoraproject.org/en/question/29534/a-problem-in-installing-spe-python-editor/
https://ask.fedoraproject.org/en/question/31223/problem-dependencies-for-gstreamer1-plugins-uglyx86_64/
https://ask.fedoraproject.org/en/question/8227/why-does-yum-not-retrieve-repository-metadata-when-i-use-the-tejas-barot-vlc-repository/

Best regards,

Marcin


_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to