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

کمک و پشتیبانی => نصب، راه‌اندازی و بروزآوری => نویسنده: shahryar.rad در 07 خرداد 1395، 03:14 ب‌ظ

عنوان: مشکل در هنگام به روز رسانی پکیج ها
ارسال شده توسط: shahryar.rad در 07 خرداد 1395، 03:14 ب‌ظ
با سلام
اوبونتوی 16.04 رو نصب کردم.
زمانی که در ترمینال دستور sudo apt-get update میزنم با ارور زیر مواجه میشم:

sudo apt-get update
[sudo] password for mortaza:
Hit:1 http://ppa.launchpad.net/linrunner/tlp/ubuntu xenial InRelease           
Ign:2 http://archive.canonical.com/ubuntu precise InRelease                   
Ign:3 http://extras.ubuntu.com/ubuntu precise InRelease                       
Hit:4 http://archive.canonical.com/ubuntu precise Release                     
Hit:5 http://extras.ubuntu.com/ubuntu precise Release               
Ign:6 http://us.archive.ubuntu.com/ubuntu precise InRelease         
Get:9 http://us.archive.ubuntu.com/ubuntu precise-security InRelease [55.7 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu precise-updates InRelease [55.7 kB]
Hit:11 http://us.archive.ubuntu.com/ubuntu precise-backports InRelease         
Hit:12 http://us.archive.ubuntu.com/ubuntu precise Release                     
Fetched 111 kB in 7s (14.4 kB/s)                                               
Reading package lists... Done
W: http://archive.canonical.com/ubuntu/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://extras.ubuntu.com/ubuntu/dists/precise/Release.gpg: Signature by key C47415DFF48C09645B78609416126D3A3E5C1192 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dists/precise-security/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)

باید چیکار کنم؟
عنوان: پاسخ : مشکل در هنگام به روز رسانی پکیج ها
ارسال شده توسط: رسول سعیدنژاد در 07 خرداد 1395، 04:02 ب‌ظ
سلام.
لطفا خروجی دستورات رو بین تگ code قرار بدین (در ادیتور انجمن کاراکتر #)

خروجی این دستور رو برامون بذارین:
cat /etc/apt/sources.listاحتمالا خط
http://archive.canonical.com/ubuntu
باید حذف بشه.
عنوان: پاسخ : مشکل در هنگام به روز رسانی پکیج ها
ارسال شده توسط: shahryar.rad در 07 خرداد 1395، 04:38 ب‌ظ
سلام.
لطفا خروجی دستورات رو بین تگ code قرار بدین (در ادیتور انجمن کاراکتر #)

خروجی این دستور رو برامون بذارین:
cat /etc/apt/sources.listاحتمالا خط
http://archive.canonical.com/ubuntu
باید حذف بشه.

#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse

###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
عنوان: پاسخ : مشکل در هنگام به روز رسانی پکیج ها
ارسال شده توسط: رسول سعیدنژاد در 07 خرداد 1395، 05:05 ب‌ظ
خب شما اوبونتو ۱۲٫۰۴ رو نصب کردین.
یه مقدار قدیمیه  ;)

اینو جایگزینش کنین:
#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://ir.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://ir.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse

###### Ubuntu Update Repos
deb http://ir.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://ir.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://ir.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://ir.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://ir.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://ir.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

###### Ubuntu Partner Repo
#deb http://archive.canonical.com/ubuntu precise partner
#deb-src http://archive.canonical.com/ubuntu precise partner

###### Ubuntu Extras Repo
#deb http://extras.ubuntu.com/ubuntu precise main
#deb-src http://extras.ubuntu.com/ubuntu precise main

اگه بلدین nano کار کنین، پس با این دستور تغییرات رو اعمال کنین:
sudo nano /etc/apt/sources.list
در غیر این صورت، فایل رو با gedit باز کنین: (این روش توصیه نمیشه پس اگه کار با ادیتورهای متنی رو بلد نیستین، از همین الان یادگیریش رو شروع کنین)
sudo -H gedit /etc/apt/sources.listو محتویات رو پاک کنین و اینی که من گذاشتم رو بریزین جاش و سیو کنین. بعد دوباره بزنین:
sudo apt-get update
پیشنهادم هم این هست که اوبونتو ۱۶٫۰۴ رو نصب کنین:

۳۲ بیت:
http://releases.ubuntu.com/xenial/ubuntu-16.04-desktop-i386.iso (http://releases.ubuntu.com/xenial/ubuntu-16.04-desktop-i386.iso)

64 بیت:
http://releases.ubuntu.com/xenial/ubuntu-16.04-desktop-amd64.iso (http://releases.ubuntu.com/xenial/ubuntu-16.04-desktop-amd64.iso)

عنوان: پاسخ : مشکل در هنگام به روز رسانی پکیج ها
ارسال شده توسط: shahryar.rad در 07 خرداد 1395، 08:11 ب‌ظ
خب شما اوبونتو ۱۲٫۰۴ رو نصب کردین.
یه مقدار قدیمیه  ;)

اینو جایگزینش کنین:
#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://ir.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://ir.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse

###### Ubuntu Update Repos
deb http://ir.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://ir.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://ir.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://ir.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://ir.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://ir.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

###### Ubuntu Partner Repo
#deb http://archive.canonical.com/ubuntu precise partner
#deb-src http://archive.canonical.com/ubuntu precise partner

###### Ubuntu Extras Repo
#deb http://extras.ubuntu.com/ubuntu precise main
#deb-src http://extras.ubuntu.com/ubuntu precise main

اگه بلدین nano کار کنین، پس با این دستور تغییرات رو اعمال کنین:
sudo nano /etc/apt/sources.list
در غیر این صورت، فایل رو با gedit باز کنین: (این روش توصیه نمیشه پس اگه کار با ادیتورهای متنی رو بلد نیستین، از همین الان یادگیریش رو شروع کنین)
sudo -H gedit /etc/apt/sources.listو محتویات رو پاک کنین و اینی که من گذاشتم رو بریزین جاش و سیو کنین. بعد دوباره بزنین:
sudo apt-get update
پیشنهادم هم این هست که اوبونتو ۱۶٫۰۴ رو نصب کنین:

۳۲ بیت:
http://releases.ubuntu.com/xenial/ubuntu-16.04-desktop-i386.iso (http://releases.ubuntu.com/xenial/ubuntu-16.04-desktop-i386.iso)

64 بیت:
http://releases.ubuntu.com/xenial/ubuntu-16.04-desktop-amd64.iso (http://releases.ubuntu.com/xenial/ubuntu-16.04-desktop-amd64.iso)

اتفاقا 16.04 نصب کردم ولی نمیدونم چی رو دست زدم که اینطوری شده.
انجام دادم باز پاسخ زیر رو میده.

[code]Ign:1 http://ir.archive.ubuntu.com/ubuntu precise InRelease
Hit:2 http://ir.archive.ubuntu.com/ubuntu precise-security InRelease
Hit:3 http://ir.archive.ubuntu.com/ubuntu precise-updates InRelease     
Hit:4 http://ir.archive.ubuntu.com/ubuntu precise-backports InRelease   
Hit:5 http://ir.archive.ubuntu.com/ubuntu precise Release
Hit:7 http://ppa.launchpad.net/linrunner/tlp/ubuntu xenial InRelease
Reading package lists... Done
W: http://ir.archive.ubuntu.com/ubuntu/dists/precise-security/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://ir.archive.ubuntu.com/ubuntu/dists/precise-updates/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://ir.archive.ubuntu.com/ubuntu/dists/precise-backports/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://ir.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
Ign:1 http://ir.archive.ubuntu.com/ubuntu precise InRelease
Hit:2 http://ir.archive.ubuntu.com/ubuntu precise-security InRelease
Hit:3 http://ir.archive.ubuntu.com/ubuntu precise-updates InRelease     
Hit:4 http://ir.archive.ubuntu.com/ubuntu precise-backports InRelease   
Hit:5 http://ir.archive.ubuntu.com/ubuntu precise Release
Hit:7 http://ppa.launchpad.net/linrunner/tlp/ubuntu xenial InRelease
Reading package lists... Done
W: http://ir.archive.ubuntu.com/ubuntu/dists/precise-security/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://ir.archive.ubuntu.com/ubuntu/dists/precise-updates/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://ir.archive.ubuntu.com/ubuntu/dists/precise-backports/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://ir.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
[/code]
عنوان: پاسخ : مشکل در هنگام به روز رسانی پکیج ها
ارسال شده توسط: X!n3td در 07 خرداد 1395، 08:42 ب‌ظ
محتویات sources.list شما نمایان گر نسخه سیستم عاملتون هست :)‌ اوبونتو 12.04.5 یا precise !

حالا اگر واقعا نسخه 16.04 رو نصب کردید وارد محیط گرافیکال Software & Updates بشوید و میرور  Iran ویا Main Server رو انتخاب کنید .
عنوان: پاسخ : مشکل در هنگام به روز رسانی پکیج ها
ارسال شده توسط: رسول سعیدنژاد در 07 خرداد 1395، 11:02 ب‌ظ
اینارو جایگزین کن:
# deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted

# deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb http://security.ubuntu.com/ubuntu xenial-security main resusicted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the disusibution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-security main universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-security main
عنوان: پاسخ : مشکل در هنگام به روز رسانی پکیج ها
ارسال شده توسط: shahryar.rad در 08 خرداد 1395، 02:06 ق‌ظ
محتویات sources.list شما نمایان گر نسخه سیستم عاملتون هست :)‌ اوبونتو 12.04.5 یا precise !

حالا اگر واقعا نسخه 16.04 رو نصب کردید وارد محیط گرافیکال Software & Updates بشوید و میرور  Iran ویا Main Server رو انتخاب کنید .
آها به گمانم سر یه تغییراتی زدم مال 16.04 رو پاک کردم و احتمالا اینو جایگزینش.
حالا باید چیکار کنم؟
مال 16.04 رو دارین که جایگزینش کنم؟
عنوان: پاسخ : مشکل در هنگام به روز رسانی پکیج ها
ارسال شده توسط: shahryar.rad در 08 خرداد 1395، 02:08 ق‌ظ
اینارو جایگزین کن:
# deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted

# deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
# deb http://security.ubuntu.com/ubuntu xenial-security main resusicted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the disusibution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-security main universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-security main

کماکان همان ارور رو میده.
Hit:1 http://ppa.launchpad.net/linrunner/tlp/ubuntu xenial InRelease           
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease                       
Ign:3 http://ir.archive.ubuntu.com/ubuntu precise InRelease             
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial InRelease             
Hit:5 http://ir.archive.ubuntu.com/ubuntu precise Release
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB] 
Fetched 189 kB in 8s (22.0 kB/s)                                               
Reading package lists... Done
W: http://ir.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
عنوان: پاسخ : مشکل در هنگام به روز رسانی پکیج ها
ارسال شده توسط: کیهان در 08 خرداد 1395، 08:08 ق‌ظ
کلا صورت مسله رو پاک کن و یه ۱۶.۰۴ دانلود و نصب کن