انجمنهای فارسی اوبونتو
کمک و پشتیبانی => نصب، راهاندازی و بروزآوری => نویسنده: mostafa2013 در 21 اسفند 1391، 12:10 بظ
-
با سلام به دوستان
من تازه کار با لینوکس را آغاز کرده ام وتازه Ubuntu 12.10 را نصب کرده ام. حالا وقتی Software Updater را می زنم پیغام خطای زیر را می دهد:
Failed To Download Repository Information
Check your internet connection
در یکی از تاپیکهای همین انجمن یکی دیگر از دوستان همین مشکل را داشت و دوستی به او گفته بود در ترمینال sudo gedit /etc/apt/sources.list را وارد کن و سپس مخازن گوگل را حذف کن که ظاهرا مشکل دوستمون حل شده بود. اما من این فایل را باز کردم و چیزی به اسم گوگل ندیدم که حذف کنم.
محتویات این فایل در سیستم من به صورت زیر است:
# deb cdrom:[Ubuntu 12.10 _Quantal Quetzal_ - Release i386 (20121017.2)]/ quantal main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ quantal main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ quantal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ quantal universe
deb-src http://us.archive.ubuntu.com/ubuntu/ quantal universe
deb http://us.archive.ubuntu.com/ubuntu/ quantal-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ quantal-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ quantal multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ quantal multiverse
deb http://us.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ quantal-backports main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ quantal-security main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ quantal-security main restricted
deb http://us.archive.ubuntu.com/ubuntu/ quantal-security universe
deb-src http://us.archive.ubuntu.com/ubuntu/ quantal-security universe
deb http://us.archive.ubuntu.com/ubuntu/ quantal-security multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ quantal-security multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu quantal partner
# deb-src http://archive.canonical.com/ubuntu quantal partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu quantal main
deb-src http://extras.ubuntu.com/ubuntu quantal main
ممنون میشم اگر دوستان راهنمایی کنند. البته این را هم بگم که من در شرکتمان از طریق تنظیمات پروکسی به شبکه و اینترنت متصل می شویم. البته تصور می کنم که این تنظیمات را درست وارد کرده ام چون با FireFox بدون مشکل به اینترنت وصل می شوم. ممنون
-
شما چون دارید از بروکسی استفاده میکنید، باید کاری کنید که تمام اتصالهای سیستمتون به اینترنت از پشت بروکسی رد بشه و نه مرورگر وب.
برای اینکار باید به آدرس زیر برید و تنظیمش کنید:
System Settings > network
-
شما چون دارید از بروکسی استفاده میکنید، باید کاری کنید که تمام اتصالهای سیستمتون به اینترنت از پشت بروکسی رد بشه و نه مرورگر وب.
برای اینکار باید به آدرس زیر برید و تنظیمش کنید:
System Settings > network
ممنون از راهنمایی شما. اما این کار را انجام داده ام و باز هم همان مشکل باقی است!
-
همین پیغام خطا را هم به هنگام استفاده از Ubuntu Software Center میده. اما همانطور که گفتم فایرفاکس بدون مشکل به اینترنت وصل میشه.
در هنگام اجرای software-updater وقتی پیغام خطای بالا رو میده در قسمت Detail یکی از خطاهاش اینه:
W:Failed to fetch http://extras.ubuntu.com/ubuntu/dists/quantal/main/source/Sources 407 Unauthorized
یعنی در انتهای همه آنها عبارت 407 Unauthorized وجود دارد!
-
این مشکل حل شد. مشکل همان تنظیمات پروکسی بود. توضیح اینکه هر چند تنظیمات پروکسی را در قسمت System Settings-->Network وارد کرده ایم اما این تنظیمات برای نرم افزارهای Software Updater و ubuntu Software Center اعمال نمی شود. برای حل این مشکل باید در ترمینال دستور زیر را وارد کرد:
sudo gedit /etc/apt/apt.conf
حال در فایل باز شده تنظیمات پروکسی را به صورت زیر وارد می کنیم:
Acquire::http::proxy "http://UN:Pass@Proxy:Port/";
Acquire::https::proxy "https://UN:Pass@Proxy:Port/";
Acquire::ftp::proxy "ftp://UN:Pass@Proxy:Port/";
Acquire::socks::proxy "socks://UN:Pass@Proxy:Port/";