How to upgrade to 3.5 in python mageia5? Through the src and rpmbuild package from Mageia 6 fails.
I would like to install MATE 1.16, but for this we need a new python and rpm
xlin wrote:Through the src and rpmbuild package from Mageia 6 fails.
xlin wrote:I would like to install MATE 1.16, but for this we need a new python and rpm
[root@localhost python]# LC_ALL="en_US.c" ls -la
total 18840
drwxr-xr-x 2 root root 4096 Feb 12 13:25 ./
drwxr-xr-x 4 root root 4096 Feb 12 13:17 ../
-rw-r--r-- 1 root root 154496 Feb 12 13:07 lib64python3-devel-3.5.3-1.mga5.x86_64.rpm
-rw-r--r-- 1 root root 854092 Feb 12 13:06 lib64python3.5-3.5.3-1.mga5.x86_64.rpm
-rw-r--r-- 1 root root 5683488 Feb 12 13:06 lib64python3.5-stdlib-3.5.3-1.mga5.x86_64.rpm
-rw-r--r-- 1 root root 6092192 Feb 12 13:07 lib64python3.5-testsuite-3.5.3-1.mga5.x86_64.rpm
-rw-r--r-- 1 root root 8432 Feb 12 13:16 python-rpm-macros-3-4.mga5.noarch.rpm
-rw-r--r-- 1 root root 7428 Feb 12 13:16 python-srpm-macros-3-4.mga5.noarch.rpm
-rw-r--r-- 1 root root 7568 Feb 12 13:16 python2-rpm-macros-3-4.mga5.noarch.rpm
-rw-r--r-- 1 root root 21420 Feb 12 13:06 python3-3.5.3-1.mga5.x86_64.rpm
-rw-r--r-- 1 root root 5499244 Feb 12 13:08 python3-docs-3.5.3-1.mga5.noarch.rpm
-rw-r--r-- 1 root root 7588 Feb 12 13:16 python3-rpm-macros-3-4.mga5.noarch.rpm
-rw-r--r-- 1 root root 914564 Feb 12 13:08 tkinter3-3.5.3-1.mga5.x86_64.rpm
-rw-r--r-- 1 root root 11280 Feb 12 13:08 tkinter3-apps-3.5.3-1.mga5.x86_64.rpm
[root@localhost python]# LC_ALL="en_US.c" rpm -ivh python3-3.5.3-1.mga5.x86_64.rpm
error: Failed dependencies:
lib64python3.5 = 3.5.3-1.mga5 is needed by python3-3.5.3-1.mga5.x86_64
libpython3.5m.so.1.0()(64bit) is needed by python3-3.5.3-1.mga5.x86_64
python-rpm-macros is needed by python3-3.5.3-1.mga5.x86_64
python3-rpm-macros is needed by python3-3.5.3-1.mga5.x86_64
[root@localhost python]# LC_ALL="en_US.c" rpm -ivh python-rpm-macros-3-4.mga5.noarch.rpm
Preparing... ################################# [100%]
Updating / installing...
1:python-rpm-macros-3-4.mga5 ################################# [100%]
[root@localhost python]# LC_ALL="en_US.c" rpm -ivh python3-3.5.3-1.mga5.x86_64.rpm
error: Failed dependencies:
lib64python3.5 = 3.5.3-1.mga5 is needed by python3-3.5.3-1.mga5.x86_64
libpython3.5m.so.1.0()(64bit) is needed by python3-3.5.3-1.mga5.x86_64
python3-rpm-macros is needed by python3-3.5.3-1.mga5.x86_64
[root@localhost python]# LC_ALL="en_US.c" rpm -ivh python3-rpm-macros-3-4.mga5.noarch.rpm
error: Failed dependencies:
python3 < 3.5.1-3 conflicts with python3-rpm-macros-3-4.mga5.noarch
[root@localhost python]# LC_ALL="en_US.c" rpm -ivh lib64python3.5-3.5.3-1.mga5.x86_64.rpm
error: Failed dependencies:
lib64python3.5-stdlib = 3.5.3-1.mga5 is needed by lib64python3.5-3.5.3-1.mga5.x86_64
[root@localhost python]# LC_ALL="en_US.c" rpm -ivh lib64python3.5-stdlib-3.5.3-1.mga5.x86_64.rpm
error: Failed dependencies:
libpython3.5m.so.1.0()(64bit) is needed by lib64python3.5-stdlib-3.5.3-1.mga5.x86_64
python(abi) = 3.5 is needed by lib64python3.5-stdlib-3.5.3-1.mga5.x86_64
python3 < 3.5.1-14 conflicts with lib64python3.5-stdlib-3.5.3-1.mga5.x86_64
urpmi ./*rpm
urpmi --auto-update
Unable to install the requested package:
lib64python3.5-3.5.3-1.mga5.x86_64 (because of dissatisfaction lib64python3.5-stdlib [== 3.5.3-1.mga5])
Continue installation? (Y / n) n
.
└── mageia5
├── i586
│ └── media
│ └── media_info
│ └── media.cfg
├── RPMS
│ ├── i586
│ │ └── media_info
│ │ ├── hdlist.cz
│ │ ├── MD5SUM
│ │ └── synthesis.hdlist.cz
│ ├── noarch
│ │ ├── media_info
│ │ │ ├── hdlist.cz
│ │ │ ├── MD5SUM
│ │ │ └── synthesis.hdlist.cz
│ │ ├── python2-rpm-macros-3-4.mga5.noarch.rpm
│ │ ├── python3-docs-3.5.3-1.mga5.noarch.rpm
│ │ ├── python3-rpm-macros-3-4.mga5.noarch.rpm
│ │ ├── python-docs-2.7.13-1.mga5.noarch.rpm
│ │ ├── python-rpm-macros-3-4.mga5.noarch.rpm
│ │ ├── python-srpm-macros-3-4.mga5.noarch.rpm
│ │ └── smplayer-themes-16.8.0-1.mga5.noarch.rpm
│ └── x86_64
│ ├── atril-1.16.0-1.mga5.x86_64.rpm
│ ├── atril-dvi-1.16.0-1.mga5.x86_64.rpm
│ ├── easyrpmbuilder-0.5.6-6.mga5.x86_64.rpm
│ ├── lib64atril3-1.16.0-1.mga5.x86_64.rpm
│ ├── lib64atril-devel-1.16.0-1.mga5.x86_64.rpm
│ ├── lib64atril-gir1.5.0-1.16.0-1.mga5.x86_64.rpm
│ ├── lib64python2.7-2.7.13-1.mga5.x86_64.rpm
│ ├── lib64python2.7-stdlib-2.7.13-1.mga5.x86_64.rpm
│ ├── lib64python2.7-testsuite-2.7.13-1.mga5.x86_64.rpm
│ ├── lib64python3.5-3.5.3-1.mga5.x86_64.rpm
│ ├── lib64python3.5-stdlib-3.5.3-1.mga5.x86_64.rpm
│ ├── lib64python3.5-testsuite-3.5.3-1.mga5.x86_64.rpm
│ ├── lib64python3-devel-3.5.3-1.mga5.x86_64.rpm
│ ├── lib64python-devel-2.7.13-1.mga5.x86_64.rpm
│ ├── mate-applets-1.16.0-1.mga5.x86_64.rpm
│ ├── media_info
│ │ ├── hdlist.cz
│ │ ├── MD5SUM
│ │ └── synthesis.hdlist.cz
│ ├── python-2.7.13-1.mga5.x86_64.rpm
│ ├── python3-3.5.3-1.mga5.x86_64.rpm
│ ├── python-debuginfo-2.7.13-1.mga5.x86_64.rpm
│ ├── smplayer-17.2.0-1.x86_64.rpm
│ ├── tkinter-2.7.13-1.mga5.x86_64.rpm
│ ├── tkinter3-3.5.3-1.mga5.x86_64.rpm
│ ├── tkinter3-apps-3.5.3-1.mga5.x86_64.rpm
│ └── tkinter-apps-2.7.13-1.mga5.x86_64.rpm
├── SRPMS
│ ├── atril-1.16.0-1.mga5.src.rpm
│ ├── easyrpmbuilder-0.5.6-6.mga5.src.rpm
│ ├── mate-applets-1.16.0-1.mga5.src.rpm
│ ├── media_info
│ │ ├── hdlist.cz
│ │ ├── MD5SUM
│ │ └── synthesis.hdlist.cz
│ ├── python-2.7.13-1.mga5.src.rpm
│ ├── python3-3.5.3-1.mga5.src.rpm
│ ├── python-rpm-macros-3-4.mga5.src.rpm
│ ├── smplayer-17.2.0-1.src.rpm
│ ├── smplayer-themes-16.8.0-1.mga5.src.rpm
│ └── tint2-0.12.12-1.mga5.src.rpm
└── x86_64
└── media
└── media_info
└── media.cfg
xlin wrote:I create repo metadata via genhdlist2
- Code: Select all
urpmi --auto-update
urpmq --list-media active --list-url
urpmf -m -f --name python|grep '3.5.3'
xlin wrote:
- Code: Select all
Unable to install the requested package:
lib64python3.5-3.5.3-1.mga5.x86_64 (because of dissatisfaction lib64python3.5-stdlib [== 3.5.3-1.mga5])
Continue installation? (Y / n) n
[xlin@localhost ~]$ urpmq --list-media active --list-url
XliN-REPO-x86_64 (XliN-REPO-x86_641) /home/xlin/repo/mageia5/RPMS/x86_64
XliN-REPO-noarch (XliN-REPO-x86_642) /home/xlin/repo/mageia5/RPMS/noarch
Core Release (distrib1) http://mirror.yandex.ru/mageia/distrib/5/x86_64/media/core/release
Core Updates (distrib3) http://mirror.yandex.ru/mageia/distrib/5/x86_64/media/core/updates
Core Backports (distrib7) http://mirror.yandex.ru/mageia/distrib/5/x86_64/media/core/backports
Nonfree Release (distrib11) http://mirror.yandex.ru/mageia/distrib/5/x86_64/media/nonfree/release
Nonfree Updates (distrib13) http://mirror.yandex.ru/mageia/distrib/5/x86_64/media/nonfree/updates
Nonfree Backports (distrib17) http://mirror.yandex.ru/mageia/distrib/5/x86_64/media/nonfree/backports
Tainted Release (distrib21) http://mirror.yandex.ru/mageia/distrib/5/x86_64/media/tainted/release
Tainted Updates (distrib23) http://mirror.yandex.ru/mageia/distrib/5/x86_64/media/tainted/updates
Tainted Backports (distrib27) http://mirror.yandex.ru/mageia/distrib/5/x86_64/media/tainted/backports
Core 32bit Release (distrib31) http://mirror.yandex.ru/mageia/distrib/5/i586/media/core/release
Core 32bit Updates (distrib32) http://mirror.yandex.ru/mageia/distrib/5/i586/media/core/updates
Core 32bit Backports (distrib34) http://mirror.yandex.ru/mageia/distrib/5/i586/media/core/backports
Nonfree 32bit Release (distrib36) http://mirror.yandex.ru/mageia/distrib/5/i586/media/nonfree/release
Nonfree 32bit Updates (distrib37) http://mirror.yandex.ru/mageia/distrib/5/i586/media/nonfree/updates
Nonfree 32bit Backports (distrib39) http://mirror.yandex.ru/mageia/distrib/5/i586/media/nonfree/backports
Tainted 32bit Release (distrib41) http://mirror.yandex.ru/mageia/distrib/5/i586/media/tainted/release
Tainted 32bit Updates (distrib42) http://mirror.yandex.ru/mageia/distrib/5/i586/media/tainted/updates
Tainted 32bit Backports (distrib44) http://mirror.yandex.ru/mageia/distrib/5/i586/media/tainted/backports
Mageialinux.ru-x86_64 http://mirror.yandex.ru/mirrors/packages.mageialinux.ru/mageia5/RPMS/x86_64
MRC-noarch http://mirror.yandex.ru/mirrors/packages.mageialinux.ru/mageia5/RPMS/noarch
MRC-i586 http://mirror.yandex.ru/mirrors/packages.mageialinux.ru/mageia5/RPMS/i586
MRC-noarch2 http://mirror.yandex.ru/mirrors/packages.mageialinux.ru/mageia5/RPMS/noarch
chrome_x86_64 http://dl.google.com/linux/chrome/rpm/stable/x86_64
google-chrome http://dl.google.com/linux/chrome/rpm/stable/x86_64
[xlin@localhost ~]$ urpmf -m -f --name python|grep '3.5.3'
XliN-REPO-x86_64 (XliN-REPO-x86_641):lib64python3.5-testsuite-3.5.3-1.mga5.x86_64
XliN-REPO-x86_64 (XliN-REPO-x86_641):python3-3.5.3-1.mga5.x86_64
XliN-REPO-x86_64 (XliN-REPO-x86_641):lib64python3.5-stdlib-3.5.3-1.mga5.x86_64
XliN-REPO-x86_64 (XliN-REPO-x86_641):lib64python3-devel-3.5.3-1.mga5.x86_64
XliN-REPO-x86_64 (XliN-REPO-x86_641):lib64python3.5-3.5.3-1.mga5.x86_64
XliN-REPO-noarch (XliN-REPO-x86_642):python3-docs-3.5.3-1.mga5.noarch
urpmi --debug python3-3.5.3
Users browsing this forum: No registered users and 1 guest