Strona 1 z 1

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

: 07 maja 2013, 12:10
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!

: 07 maja 2013, 12:25
autor: lukaz1987
Pokaż wpis w pliku konfiguracyjnym

Kod: Zaznacz cały

less /etc/apt/sources.list

: 07 maja 2013, 12:33
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...

: 07 maja 2013, 12:39
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

: 07 maja 2013, 12:54
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

: 07 maja 2013, 13:09
autor: lukaz1987
A włączyłeś te dwa ostanie wpisy, o których napisałem?