انجمنهای فارسی اوبونتو
کمک و پشتیبانی => سایر توزیعهای گنو/لینوکس => نویسنده: x در 15 آذر 1392، 04:45 بظ
-
سلام دوستان
یک مشکل با کالی لینوکس دارم
وقتی آپدیت میکنم کالی رو آپدیت هاشو که پیدا میکنه
خط آخر خروجی این پیغام رو میده
W: You may want to run apt-get update to correct these problems
ترجمه اش میشه - شما ممکن است می خواهید برای اجرای دستور apt-get به روز رسانی برای اصلاح این مشکلات
این ترجمه را با دیکشنری آنلاین انجام دادم
ولی نمیدونم از چه مشکلی میگه
با تشکر از شما دوستان
-
میگه دستور زیر رو توی ترمینال بزن تا شاید درست بشه:
$ sudo apt-get update
مگه قبلش این دستور رو نمیزدی؟ چه دستوری میزدی؟
-
سلام
همین دستور رو میزنم
اینهم کل خروجی
root@kali:~# sudo apt-get update
Hit http://repo.kali.org kali-bleeding-edge Release.gpg
Hit http://repo.kali.org kali-bleeding-edge Release
Hit http://repo.kali.org kali-bleeding-edge/main amd64 Packages
Hit http://security.kali.org kali/updates Release.gpg
Hit http://http.kali.org /kali Release.gpg
Hit http://security.kali.org kali/updates Release
Hit http://http.kali.org kali-dev Release.gpg
Ign http://repo.kali.org kali-bleeding-edge/main Translation-en_US
Hit http://security.kali.org kali/updates/main Sources
Ign http://repo.kali.org kali-bleeding-edge/main Translation-en
Get:1 http://http.kali.org kali Release.gpg [836 B]
Hit http://security.kali.org kali/updates/contrib Sources
Hit http://http.kali.org /kali Release
Hit http://security.kali.org kali/updates/non-free Sources
Hit http://http.kali.org kali-dev Release
Hit http://security.kali.org kali/updates/main amd64 Packages
Hit http://security.kali.org kali/updates/contrib amd64 Packages
Hit http://security.kali.org kali/updates/non-free amd64 Packages
Hit http://http.kali.org /kali/main amd64 Packages
Hit http://http.kali.org /kali/contrib amd64 Packages
Hit http://http.kali.org /kali/non-free amd64 Packages
Hit http://http.kali.org kali-dev/main Sources
Hit http://http.kali.org kali-dev/contrib Sources
Ign http://security.kali.org kali/updates/contrib Translation-en_US
Hit http://http.kali.org kali-dev/non-free Sources
Ign http://security.kali.org kali/updates/contrib Translation-en
Ign http://security.kali.org kali/updates/main Translation-en_US
Hit http://http.kali.org kali-dev/main amd64 Packages
Ign http://security.kali.org kali/updates/main Translation-en
Ign http://security.kali.org kali/updates/non-free Translation-en_US
Ign http://security.kali.org kali/updates/non-free Translation-en
Hit http://http.kali.org kali-dev/contrib amd64 Packages
Hit http://http.kali.org kali-dev/non-free amd64 Packages
Hit http://http.kali.org kali-dev/main/debian-installer amd64 Packages
Ign http://http.kali.org /kali/contrib Translation-en_US
Ign http://http.kali.org /kali/contrib Translation-en
Ign http://http.kali.org /kali/main Translation-en_US
Ign http://http.kali.org /kali/main Translation-en
Ign http://http.kali.org /kali/non-free Translation-en_US
Ign http://http.kali.org /kali/non-free Translation-en
Ign http://http.kali.org kali-dev/contrib Translation-en_US
Ign http://http.kali.org kali-dev/contrib Translation-en
Ign http://http.kali.org kali-dev/main Translation-en_US
Ign http://http.kali.org kali-dev/main Translation-en
Ign http://http.kali.org kali-dev/main/debian-installer Translation-en_US
Ign http://http.kali.org kali-dev/main/debian-installer Translation-en
Ign http://http.kali.org kali-dev/non-free Translation-en_US
Ign http://http.kali.org kali-dev/non-free Translation-en
Fetched 836 B in 39s (20 B/s)
Reading package lists... Done
W: Duplicate sources.list entry http://security.kali.org/kali-security/ kali/updates/main amd64 Packages (/var/lib/apt/lists/security.kali.org_kali-security_dists_kali_updates_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.kali.org/kali-security/ kali/updates/contrib amd64 Packages (/var/lib/apt/lists/security.kali.org_kali-security_dists_kali_updates_contrib_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.kali.org/kali-security/ kali/updates/non-free amd64 Packages (/var/lib/apt/lists/security.kali.org_kali-security_dists_kali_updates_non-free_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
-
با سلام :)
فایل /etc/apt/sources.list رو ویرایش کنید :
nano /etc/apt/sources.list
چندین خط وجود داره که شبیه هم هستند اونایی که شبیه هم هستند رو پاک کنید . برای ذخیره هم ctrl +x بزنید.
-
سلام دوست عزیز
لیست رو ویرایش کردم ۲ تا آدرس مثل هم بود که یکی شو پاک کردم ولی باز همون پیغام رو داد
اینهم موجودی لیست
deb http://http.kali.org/ /kali main contrib non-free
deb http://http.kali.org/ /wheezy main contrib non-free
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali main contrib non-free
deb http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://repo.kali.org/kali kali-bleeding-edge main
# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20130905-07:57]/ kali contrib main non-free
## Security updates
deb http://security.kali.org/kali-security kali/updates main contrib non-free
-
دوست عزیز، شما با دستور update در واقع لیست مخازن رو دارید آپدیت میکنید. شما برای آپدیت سیستم باید از upgrade یا dist-upgrade استفاده کنید.
با تشکر.
-
سلام دوست عزیز
خوب اول باید آپدیت کنی تا مخزن سیستم برنامه های بروز شده رو شناسایی کنه و بعد دستور آپگرید بدی تا برنامه های بروز شده نصب بشن .
-
محتویات sources.list رو با مخازن زیر جایگزین کنید و بروز کنید :
deb http://http.kali.org/ /kali main contrib non-free
deb http://http.kali.org/ /wheezy main contrib non-free
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali main contrib non-free
deb http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
موفق باشید
-
سلام دوست عزیز
مخزن رو عوض کردم
مشکل حل شد
ممنون
-
.
-
سلام
منم دقیقا یه همچین مشکلی دارم. میخواستم دستور apt-get install alacarte رو بزنم که با این ارور مواجه شدم:
root@Hive:~# apt-get install alacarte
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package alacarte is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'alacarte' has no installation candidate
بعد اومدم سورس لیست رو طبق چیزی که یکی از دوستان گذاشته بود تغییر دادم
که این بار این ارور رو گرفتم :
.
.
.
Ign:118 http://http.kali.org/kali kali/contrib all Packages
Reading package lists... Done
W: The repository 'http://security.kali.org/kali-security kali/updates Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://http.kali.org /kali Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://http.kali.org /wheezy Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://http.kali.org/kali kali-dev Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://http.kali.org/kali kali Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://security.kali.org/kali-security/dists/kali/updates/contrib/source/Sources 407 Proxy Authentication Required
E: Failed to fetch http://http.kali.org/dists//kali/main/binary-i386/Packages 407 Proxy Authentication Required
E: Failed to fetch http://http.kali.org/dists//wheezy/main/binary-i386/Packages 407 Proxy Authentication Required
E: Failed to fetch http://http.kali.org/kali/dists/kali-dev/non-free/source/Sources 407 Proxy Authentication Required
E: Failed to fetch http://http.kali.org/kali/dists/kali/main/source/Sources 407 Proxy Authentication Required
E: Some index files failed to download. They have been ignored, or old ones used instead.
آپدیت رو هم با چیزپی ان انجام دادم هم بدون اون ولی فرقی نکرد.
لطفا راهنماییم کنید.
ممنون. ;)