انجمنهای فارسی اوبونتو
کمک و پشتیبانی => انجمن عمومی => نویسنده: ورگ در 08 خرداد 1395، 12:18 بظ
-
سلام
از وقتی که به اوبونتو ۱۶.۰۴ ارتقا دادم این مشکل رو دارم:
sudo apt-get update
[sudo] password for v6rg:
Hit:1 http://ir.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://ir.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
Get:3 http://dl.google.com/linux/chrome/deb stable InRelease [1,540 B]
Err:3 http://dl.google.com/linux/chrome/deb stable InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Get:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Hit:5 http://ir.archive.ubuntu.com/ubuntu xenial-backports InRelease
Ign:6 http://archive.canonical.com/ubuntu trusty InRelease
Get:7 http://ir.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [115 kB]
Hit:8 http://archive.canonical.com/ubuntu trusty Release
Get:10 http://ir.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [113 kB]
Get:11 http://ir.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [55.8 kB]
Get:12 http://ir.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [53.1 kB]
Fetched 528 kB in 4s (112 kB/s)
Reading package lists... Done
E: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Some index files failed to download. They have been ignored, or old ones used instead.
-
چون نمی تونه دانلود کنه ارور میده چون اجازه دانلود از ایران نداریم .
دو تا راه داری یکی اینکه از مخازن تیکش را برداری که برای این راه برو توی system settings - > software & update -> other software
تیک این را بردار http://dl.google.com/linux/chrome/deb
راه دوم اینکه با چیز پی ان چک کن دوباره دانلود میکنه .
-
راه دوم اینکه با چیز پی ان چک کن دوباره دانلود میکنه .
این دفعه از روش دومی که گفتیرفتم (البته با تور) این نتیجه شد. فقط مطمئنم نيستم همه چی مرتبه یا نه:
sudo torify apt-get update
[sudo] password for v6rg:
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Ign:3 http://archive.canonical.com/ubuntu trusty InRelease
Hit:4 http://ir.archive.ubuntu.com/ubuntu xenial InRelease
Get:5 http://dl.google.com/linux/chrome/deb stable Release [1,189 B]
Hit:6 http://archive.canonical.com/ubuntu trusty Release
Hit:8 http://ir.archive.ubuntu.com/ubuntu xenial-updates InRelease
Get:9 http://dl.google.com/linux/chrome/deb stable Release.gpg [916 B]
Get:10 http://ir.archive.ubuntu.com/ubuntu xenial-backports InRelease [92.2 kB]
Get:11 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,328 B]
Fetched 190 kB in 6s (28.2 kB/s)
Reading package lists... Done
W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by key 4CCA1EAF950CEE4AB83976DCA040830F7FAC5991 uses weak digest algorithm (SHA1)
W: http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg: Signature by key 3B068FB4789ABE4AEFA3BB491397BC53640DB551 uses weak digest algorithm (SHA1)
-
نه دیگه!
گوگل کروم نصب کردی اونم مخازن خودشو اضافه کرده
باید تیکش رو برداری. از همون راهی که دوستمون گفت.
یا:
sudo rm /etc/apt/sources.list.d/*google*
و بعد:
sudo apt update
-
sudo rm /etc/apt/sources.list.d/*google*
و بعد:
sudo apt update
خوب الان به من چی میگه؟ باز پیشنهاد میکنه که یه دستور دیگه برای آپگرید بزنم:
sudo apt update
Hit:1 http://ir.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://ir.archive.ubuntu.com/ubuntu xenial-updates InRelease
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Ign:4 http://archive.canonical.com/ubuntu trusty InRelease
Hit:5 http://ir.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:6 http://archive.canonical.com/ubuntu trusty Release
Fetched 94.5 kB in 2s (42.1 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
39 packages can be upgraded. Run 'apt list --upgradable' to see them.
-
این میگه ۳۹ پکیج اماده اپگرید هست که با اون دستور میتونی لیستش رو ببینی
خب دستور اپگرید رو بزنی انجام میشه؟
-
دلیل این مشکل اپدیت نشدن ریپوزیتوری گوگل به SHA256 هستش که از مارچ به بعد اتفاق افتاده گوگل هنوز اپگرید نشده به همین دلیل ارور ضعیف بودن رمزگذاری داده متاسفانه راه حلی جز صبر وجود نداره