انجمن‌های فارسی اوبونتو

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید


ارائه ۲۴٫۱۰ اوبونتو منتشر شد 🎉

نویسنده موضوع: آپگرید به 20.04 از 18.04  (دفعات بازدید: 568 بار)

0 کاربر و 1 مهمان درحال مشاهده موضوع.

آفلاین Nelson

  • Jr. Member
  • *
  • ارسال: 57
  • جنسیت : پسر
آپگرید به 20.04 از 18.04
« : 06 دی 1399، 08:47 ق‌ظ »
سلام،

من هر بار که می‌خوام از ۱۸.۰۴ به ۲۰.۰۴ آپگرید کنم این خطا رو می‌گیریم. لاگ‌های گفته شده رو هم می‌بینم ولی نمی‌تونم بفهمم که مشکل از چیه!

نقل‌قول
Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

 If none of this applies, then please report this bug using the command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If you want to investigate this yourself the log files in '/var/log/dist-upgrade' will contain details about the upgrade. Specifically, look at 'main.log' and 'apt.log'.

apt.log:
Investigating (2) nodejs:amd64 < 12.18.2-1nodesource1 @ii mK Ib >
Broken nodejs:amd64 Depends on python-minimal:amd64 < 2.7.15~rc1-1 @ii gR >
  Considering python-minimal:amd64 1 as a solution to nodejs:amd64 195
  Added python-minimal:amd64 to the remove list
  Fixing nodejs:amd64 via keep of python-minimal:amd64
  MarkKeep python-minimal:amd64 < 2.7.15~rc1-1 @ii gR > FU=0
Investigating (2) python2-minimal:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib >
Broken python2-minimal:amd64 Breaks on python-minimal:amd64 < 2.7.15~rc1-1 @ii gK > (< 2.7.15-2)
  Considering python-minimal:amd64 195 as a solution to python2-minimal:amd64 3
  MarkKeep python2-minimal:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib > FU=0
  Holding Back python2-minimal:amd64 rather than change python-minimal:amd64
Investigating (2) python-all-dev:amd64 < 2.7.15~rc1-1 -> 2.7.17-2ubuntu4 @ii umU Ib >
Broken python-all-dev:amd64 Depends on libpython-all-dev:amd64 < 2.7.15~rc1-1 | 2.7.17-2ubuntu4 @ii umH > (= 2.7.17-2ubuntu4)
  Considering libpython-all-dev:amd64 0 as a solution to python-all-dev:amd64 1
  MarkKeep python-all-dev:amd64 < 2.7.15~rc1-1 -> 2.7.17-2ubuntu4 @ii umU Ib > FU=0
  Removing python-all-dev:amd64 rather than change libpython-all-dev:amd64
  MarkDelete python-all-dev:amd64 < 2.7.15~rc1-1 | 2.7.17-2ubuntu4 @ii umH Ib > FU=0
Investigating (3) python2:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib >
Broken python2:amd64 PreDepends on python2-minimal:amd64 < none | 2.7.17-2ubuntu4 @un umH > (= 2.7.17-2ubuntu4)
  Considering python2-minimal:amd64 3 as a solution to python2:amd64 5
  MarkKeep python2:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib > FU=0
  Holding Back python2:amd64 rather than change python2-minimal:amd64
Investigating (3) python-all:amd64 < 2.7.15~rc1-1 -> 2.7.17-2ubuntu4 @ii umU Ib >
Broken python-all:amd64 Depends on python2:amd64 < none | 2.7.17-2ubuntu4 @un umH > (= 2.7.17-2ubuntu4)
  Considering python2:amd64 5 as a solution to python-all:amd64 2
  MarkKeep python-all:amd64 < 2.7.15~rc1-1 -> 2.7.17-2ubuntu4 @ii umU Ib > FU=0
  Re-Instated python2-minimal:amd64
  Re-Instated python2:amd64
  Re-Instated python-all:amd64
Investigating (4) python2-minimal:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib >
Broken python2-minimal:amd64 Breaks on python-minimal:amd64 < 2.7.15~rc1-1 @ii gK > (< 2.7.15-2)
  Considering python-minimal:amd64 195 as a solution to python2-minimal:amd64 3
  MarkKeep python2-minimal:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib > FU=0
  Holding Back python2-minimal:amd64 rather than change python-minimal:amd64
Investigating (5) python2:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib >
Broken python2:amd64 PreDepends on python2-minimal:amd64 < none | 2.7.17-2ubuntu4 @un umH > (= 2.7.17-2ubuntu4)
  Considering python2-minimal:amd64 3 as a solution to python2:amd64 5
  MarkKeep python2:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib > FU=0
  Holding Back python2:amd64 rather than change python2-minimal:amd64
Investigating (5) python-all:amd64 < 2.7.15~rc1-1 -> 2.7.17-2ubuntu4 @ii umU Ib >
Broken python-all:amd64 Depends on python2:amd64 < none | 2.7.17-2ubuntu4 @un umH > (= 2.7.17-2ubuntu4)
  Considering python2:amd64 5 as a solution to python-all:amd64 2
  MarkKeep python-all:amd64 < 2.7.15~rc1-1 -> 2.7.17-2ubuntu4 @ii umU Ib > FU=0
  Removing python-all:amd64 rather than change python2:amd64
  MarkDelete python-all:amd64 < 2.7.15~rc1-1 | 2.7.17-2ubuntu4 @ii umH Ib > FU=0
Investigating (6) python-is-python2:amd64 < none -> 2.7.17-4 @un pumN Ib >
Broken python-is-python2:amd64 Depends on python2:amd64 < none | 2.7.17-2ubuntu4 @un umH >
  Considering python2:amd64 5 as a solution to python-is-python2:amd64 9999
Done

فکر می‌کنم به پایتون مربوط میشه ولی نمی‌تونم تشخصیص بدم که مشکل از کجاست یا چه کاری باید انجام داد، ممنون می‌شم اگه چیزی به نظرتون می‌رسه راهنمایی کنید.

آفلاین دانیال بهزادی

  • ناظر انجمن
  • *
  • ارسال: 19711
  • جنسیت : پسر
  • Urahara Kiesuke
    • وبلاگ
پاسخ : آپگرید به 20.04 از 18.04
« پاسخ #1 : 06 دی 1399، 09:37 ق‌ظ »
پایتون ۲ تموم شده و باید بسته‌های مربوط بهش رو از سیستمت پاک کنی. این مشکل به این خاطره که احتمالاً رد گذشته بسته‌های مربوط به پایتون ۲ رو به صورت دستی نصب کرده بودی.
اگه این ارسال بهت کمک کرد، دنبال دکمهٔ تشکر نگرد. به جاش تو هم به جامعهٔ آزادت کمک کن

آفلاین Nelson

  • Jr. Member
  • *
  • ارسال: 57
  • جنسیت : پسر
پاسخ : آپگرید به 20.04 از 18.04
« پاسخ #2 : 06 دی 1399، 10:03 ق‌ظ »
پایتون ۲ تموم شده و باید بسته‌های مربوط بهش رو از سیستمت پاک کنی. این مشکل به این خاطره که احتمالاً رد گذشته بسته‌های مربوط به پایتون ۲ رو به صورت دستی نصب کرده بودی.
خیلی ممنون، پایتون پیش‌فرض سیستم روی ۲.۷ بود که تغییرش دادم به ۳.۸
sudo update-alternatives --query python                                                                                                                                                     
Name: python
Link: /usr/bin/python
Status: auto
Best: /usr/bin/python3.8
Value: /usr/bin/python3.8

Alternative: /usr/bin/python3.8
Priority: 1

ولی وقتی می‌خوام ۲.۷ رو پاک کنم کلی از پکیج‌هایی که لازم دارم رو هم میگه پاک میشه، راهی هست که فقط خود پایتون رو حذف کرد؟
The following packages will be REMOVED:
  alacarte atom dia dia-common dia-shapes furiusisomount gimp gimp-gmic gimp-plugin-registry inkscape ntfs-config python python-all python-all-dev python-asn1crypto python-bs4 python-cairo python-certifi
  python-cffi-backend python-chardet python-cheetah python-crypto python-cryptography python-dbus python-dev python-dnspython python-enum34 python-gi python-glade2 python-gobject-2 python-gtk2 python-html5lib
  python-idna python-ipaddr python-ipaddress python-keyring python-keyrings.alt python-ldb python-libvirt python-libxml2 python-lxml python-meld3 python-numpy python-openssl python-pip python-pkg-resources
  python-requests python-samba python-scour python-secretstorage python-setuptools python-six python-tdb python-urllib3 python-vm-builder python-webencodings python-wheel python-xdg python2.7 python2.7-dev
  samba samba-common-bin slack-desktop supervisor ubuntu-vm-builder virtinst winbind