Debian na VPS - nie można nic zainstalowa

Pomoc dotycząca instalacji systemu
salo5
Posty: 18
Rejestracja: 24 czerwca 2009, 01:55

Debian na VPS - nie można nic zainstalować - szuka CD romu

Post autor: salo5 »

Witam,

zaczynam dopiero zabawę z debianem i o ile stawiając na sprzęcie instalację NET sobie jakoś radzę, to teraz nie wiem co zrobić.

Sytuacja wygląda następująco:
mam VPS z dostępem po SSH, logowanie działa prawidłowo.
Pierwsze co chciałem, to zainstalować proftpd, ale wyskakuje:

Kod: Zaznacz cały

root@debian:~# apt-get install proftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'proftpd-basic' instead of 'proftpd'
The following extra packages will be installed:
  libfile-copy-recursive-perl proftpd-basic update-inetd
Suggested packages:
  proftpd-doc proftpd-mod-mysql proftpd-mod-pgsql proftpd-mod-ldap
  proftpd-mod-odbc proftpd-mod-sqlite openbsd-inetd inet-superserver
The following NEW packages will be installed:
  libfile-copy-recursive-perl proftpd-basic update-inetd
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/2,372 kB of archives.
After this operation, 4,004 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Media change: please insert the disc labeled
 'Debian GNU/Linux 6.0.5 _Squeeze_ - Official i386 DVD Binary-1 20120512-13:45'
in the drive '/media/cdrom/' and press enter
Czyli szuka płyty.

Co zrobić, żeby debian instalował pakiety bezpośrednio z sieci?

Jestem ciemny, więc proszę o pomoc...

Z góry dziękuję.

Pozdrawiam!
lukaz1987
Posty: 74
Rejestracja: 12 sierpnia 2008, 19:37

Post autor: lukaz1987 »

Pokaż wpis w pliku konfiguracyjnym

Kod: Zaznacz cały

less /etc/apt/sources.list
salo5
Posty: 18
Rejestracja: 24 czerwca 2009, 01:55

Post autor: salo5 »

Taki plik:

Kod: Zaznacz cały

# 

# deb cdrom:[Debian GNU/Linux 6.0.5 _Squeeze_ - Official i386 DVD Binary-1 20120512-13:45]/ squeeze contrib main

deb cdrom:[Debian GNU/Linux 6.0.5 _Squeeze_ - Official i386 DVD Binary-1 20120512-13:45]/ squeeze contrib main

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

# squeeze-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/ squeeze-updates main contrib
# deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib
Co ciekawe idzie dojśc przez WinSCP po protokole SFTP...
lukaz1987
Posty: 74
Rejestracja: 12 sierpnia 2008, 19:37

Post autor: lukaz1987 »

Zakomentuj ten drugi wpis odnośnie płyty

Kod: Zaznacz cały

#[font=monospace]deb cdrom:[Debian GNU/Linux 6.0.5 _Squeeze_ - Official i386 DVD Binary-1 20120512-13:45]/ squeeze contrib main[/font]
I odkomentuj dwa ostatnie wpisy

Kod: Zaznacz cały

[font=monospace]deb http://ftp.debian.org/debian/ squeeze-updates main contrib
[/font][font=monospace]deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib[/font]
A później

Kod: Zaznacz cały

aptitude update
salo5
Posty: 18
Rejestracja: 24 czerwca 2009, 01:55

Post autor: salo5 »

Aktualizacja:

Kod: Zaznacz cały

root@debian:~# aptitude update
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_US
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_US
Hit http://security.debian.org squeeze/updates Release
Hit http://security.debian.org squeeze/updates/main Sources
Hit http://security.debian.org squeeze/updates/contrib Sources
Hit http://security.debian.org squeeze/updates/main i386 Packages
Hit http://security.debian.org squeeze/updates/contrib i386 Packages
A potem nie poszła instalacja:

Kod: Zaznacz cały

root@debian:~# apt-get install proftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'proftpd-basic' instead of 'proftpd'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 proftpd-basic : Depends: update-inetd but it is not installable
E: Broken packages
lukaz1987
Posty: 74
Rejestracja: 12 sierpnia 2008, 19:37

Post autor: lukaz1987 »

A włączyłeś te dwa ostanie wpisy, o których napisałem?
ODPOWIEDZ