Re: Python being changed to python2? 10/17/12

Re: Python being changed to python2? 10/17/12

@highway Since the packages are renamed, it is sufficient to adjust the dependencies. You can flag packages out of date using https://aur.archlinux.org/ and comment so the author can fix it.

To do it yourself, you can use "yaourt package-name" and choose "Y" when you are asked to edit a PKGBUILD file. Then move to the depends=(...) line and change python-FOO to python2-FOO (or whatever the python package is named). Then save & close the PKGBUILD file. When you are asked to edit the PKGBUILD again, simply choose "N" and continue building the package with "Y". Installation continues as usual.

Re: Python being changed to python2? 10/17/12

Edit: These packages are not out of date because upstream hasn't released a new version. They're currently broken due to Arch package renaming.Posting a comment on their AUR page and including a working PKGBUILD is best.

Re: Python being changed to python2? 10/17/12

Re: Python being changed to python2? 10/17/12

thanks for the detailed replies, i am going to give this a shot now! ive used ubuntu since 2004, and never had to do this stuff before, and am very happy to have made the switch to arch so i can learn this stuff

EDIT: got this fixed, i couldn't change the dependencies in the file since they were already there, so i removed the problem application, upgraded, and then installed it again.

i guess this is in the realm of operating systems, as well as being off topic, but can anyone recommend a book or something that will help me learn more about how a linux OS works? sorry again for the trouble, and thanks for the help. a PM would be great too, to help keep the thread on track!

Re: Python being changed to python2? 10/17/12

WorMzy wrote:

Why are you saying no?

Because, as far as I know, python2 has been replaced by python (which is python 3).Seems to me that there is something wrong causing a downgrade in these packages, since all these packages using python(3) are being changed to python2 on this upgrade attempt.

It did solve the problem you had with python2-pysqlite and python-pysqlite. Now you have the problem discussed earlier in this topic, where you have AUR packages that need to be modified. Go back and read the three separate posts where different people explained how to do this.

Re: Python being changed to python2? 10/17/12

2ManyDogs wrote:

It did solve the problem you had with python2-pysqlite and python-pysqlite. Now you have the problem discussed earlier in this topic, where you have AUR packages that need to be modified. Go back and read the three separate posts where different people explained how to do this.

I have not succeed searching, though I did it throughout before my first post. After your suggestions I have tried different keywords (AUR python python2, etc), however, the results I found are referring to the python transition from 2 to 3. This happened more that a year ago, so I think (and I might be wrong) this is not related with the transition nor to AUR's pkgbuilds: the AUR packages causing problems were installed long ago, and so does python(3), so I would had the this problem earlier.

I would be pleased if anyone can clarify me some points:

If I answer "YES" to the proposed replacements I will not get errors regarding the problem with python2-pysqlite and python-pysqlite, but this seems to me as an undesirable solution: I will be replacing python-* packages with python2-* packages, and obviously packages depending on python-*, which were OK on the first place, will complaint.

Anyhow, though answer "yes" to the suggested replacements could work, why these packages are being "downgraded" form python 3 to python 2?

Re: Python being changed to python2? 10/17/12

Nico666 wrote:

2ManyDogs wrote:

It did solve the problem you had with python2-pysqlite and python-pysqlite. Now you have the problem discussed earlier in this topic, where you have AUR packages that need to be modified. Go back and read the three separate posts where different people explained how to do this.

I have not succeed searching, though I did it throughout before my first post.

I said "the problem discussed earlier in this topic" -- the posts are earlier in this topic ! Scroll up, or start at the beginning and scroll down.

Re: Python being changed to python2? 10/17/12

2ManyDogs wrote:

Nico666 wrote:

2ManyDogs wrote:

It did solve the problem you had with python2-pysqlite and python-pysqlite. Now you have the problem discussed earlier in this topic, where you have AUR packages that need to be modified. Go back and read the three separate posts where different people explained how to do this.

I have not succeed searching, though I did it throughout before my first post.

I said "the problem discussed earlier in this topic" -- the posts are earlier in this topic ! Scroll up, or start the beginning and scroll down.

Thank you. I read them before, however I am asking not only to do my updates, but also to understand what is going in here: Why everything is changing from python back to python2?Is the same question regarding pysqlite, I am quite sure that accepting proposed replacements and reinstalling these AUR's packages editing their pkgbuild's should work, I just cannot understand why downgrade python-*.

Re: Python being changed to python2? 10/17/12

Thank you very much for your patience, It is crystal clear now.I think this should be posted in "news" and announced in the home page. Is an important change and of general interest in my opinion. I know is a problem with AUR's packages, but i won't be the first time a problem with AUR's packages is announced on the home page.

It is just a gentle suggestion. I have always been very respectful about what the developing team do, and I understand you might think different.

Re: Python being changed to python2? 10/17/12

Nico666 wrote:

i won't be the first time a problem with AUR's packages is announced on the home page.

It won't?

Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.