डेबियन: apt-get को कोई पैकेज नहीं मिलता है


1

मुझे समस्या है कि apt-get मेरे नए स्थापित डेबियन 7.3 पर कोई पैकेज नहीं मिलता है।

पहले मुझे त्रुटि मिली कि मुझे इंस्टॉलेशन-सीडी दर्ज करनी चाहिए, फिर मैंने /etc/apt/sources.listपहली पंक्ति को संपादित किया और टिप्पणी की:

# deb cdrom:[Debian GNU/Linux 7.3.0 _Wheezy_ - Official amd64 DVD Binary-1 20131215-04:56]/ wheezy contrib main

deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib

# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
deb http://ftp.debian.org/debian/ wheezy-updates main contrib
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib

फिर मैंने किया apt-get update:

root@Bautz:~# apt-get update
OK   http://security.debian.org wheezy/updates Release.gpg
OK   http://security.debian.org wheezy/updates Release
OK   http://ftp.debian.org wheezy-updates Release.gpg
OK   http://security.debian.org wheezy/updates/main Sources
OK   http://ftp.debian.org wheezy-updates Release
OK   http://security.debian.org wheezy/updates/contrib Sources
OK   http://security.debian.org wheezy/updates/main amd64 Packages
OK   http://security.debian.org wheezy/updates/contrib amd64 Packages
OK   http://ftp.debian.org wheezy-updates/main Sources
OK   http://security.debian.org wheezy/updates/contrib Translation-en
OK   http://security.debian.org wheezy/updates/main Translation-en
OK   http://ftp.debian.org wheezy-updates/contrib Sources
OK   http://ftp.debian.org wheezy-updates/main amd64 Packages/DiffIndex
OK   http://ftp.debian.org wheezy-updates/contrib amd64 Packages
OK   http://ftp.debian.org wheezy-updates/contrib Translation-en
OK   http://ftp.debian.org wheezy-updates/main Translation-en/DiffIndex
Paketlisten werden gelesen... Fertig

अगर मैं apt-get के माध्यम से किसी भी पैकेज को स्थापित करना चाहता हूं, तो मुझे मिलता है:

root@Bautz:~# apt-get install bmon
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
E: Paket bmon kann nicht gefunden werden.
root@Bautz:~# apt-get install htop
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
E: Paket htop kann nicht gefunden werden.
root@Bautz:~# 

क्या कोई ऐसा है जिसके पास कोई सलाह है?


यहाँ डेबियन मिरर सूची है । दूसरे दर्पण के साथ प्रयास करें। यह नेटवर्क की समस्या नहीं है, आप चला सकते हैं apt-get update। क्या आपने उपयुक्त विन्यास को संशोधित किया है?
— Just1602

1
क्या आप त्रुटियों का अंग्रेजी में अनुवाद कर सकते हैं? आपको संभवतः उत्तर जल्दी मिल जाएगा। और वाल्टर व्हाइट को बताएं कि हम उसका इंतजार कर रहे हैं
— कनाडाई ल्यूक

जवाबों:


3

अपनी /etc/apt/sources.list फ़ाइल में कुछ या इन सभी को जोड़ने का प्रयास करें:

deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

# wheezy-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
deb http://ftp.us.debian.org/debian/ wheezy-proposed-updates contrib non-free main
deb http://ftp.debian.org/debian/ wheezy-backports main
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free

एक सवाल ... मुझे आपके द्वारा सूचीबद्ध सभी डेबियन स्रोतों की सूची कहां मिल सकती है? साथ ही मुझे उनके बारे में थोड़ा पढ़ना चाहिए।
— 71GA

1
@ 71GA आप इस पुस्तक को पढ़ सकते हैं, debian-handbook.info , (यह मुफ़्त और ऑनलाइन है ), इसमें आपके सिस्टम को अपडेट करने के तरीके और आपके द्वारा पूछे गए रिपॉजिट के बारे में एक अध्याय भी है। और भी बहुत कुछ।
— MariusMatutiae
हमारी साइट का प्रयोग करके, आप स्वीकार करते हैं कि आपने हमारी Cookie Policy और निजता नीति को पढ़ और समझा लिया है।
Licensed under cc by-sa 3.0 with attribution required.