Prezados, utilizo o Ubuntu 20.04.1.
Tentei a instalação com 3 versões diferentes, na vã esperança de funcionar alguma, mas não consegui utilizar na instalação do pacote na aula anterior e por meio do dpkg sequer ocorreu a instalação, resultando nos seguintes logs.
acrajag@acrajag-ZenBook-UX481FL-UX481FL:~/Downloads$ sudo dpkg -i vsftpd-dbg_3.0.2-17+deb8u1_amd64.deb
Selecting previously unselected package vsftpd-dbg.
(Reading database ... 258249 files and directories currently installed.)
Preparing to unpack vsftpd-dbg_3.0.2-17+deb8u1_amd64.deb ...
Unpacking vsftpd-dbg (3.0.2-17+deb8u1) ...
dpkg: dependency problems prevent configuration of vsftpd-dbg:
vsftpd-dbg depends on vsftpd (= 3.0.2-17+deb8u1); however:
Package vsftpd is not installed.
dpkg: error processing package vsftpd-dbg (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
vsftpd-dbg
acrajag@acrajag-ZenBook-UX481FL-UX481FL:~/Downloads$ sudo dpkg -i vsftpd-dbg_3.0.
vsftpd-dbg_3.0.2-17+deb8u1_amd64.deb vsftpd-dbg_3.0.3-8+b1_amd64.deb
acrajag@acrajag-ZenBook-UX481FL-UX481FL:~/Downloads$ sudo dpkg -i vsftpd-dbg_3.0.
vsftpd-dbg_3.0.2-17+deb8u1_amd64.deb vsftpd-dbg_3.0.3-8+b1_amd64.deb
acrajag@acrajag-ZenBook-UX481FL-UX481FL:~/Downloads$ sudo dpkg -i vsftpd-dbg_3.0.3-8+b1_amd64.deb
(Reading database ... 258255 files and directories currently installed.)
Preparing to unpack vsftpd-dbg_3.0.3-8+b1_amd64.deb ...
Unpacking vsftpd-dbg (3.0.3-8+b1) over (3.0.2-17+deb8u1) ...
dpkg: dependency problems prevent configuration of vsftpd-dbg:
vsftpd-dbg depends on vsftpd (= 3.0.3-8+b1); however:
Package vsftpd is not installed.
dpkg: error processing package vsftpd-dbg (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
vsftpd-dbg
acrajag@acrajag-ZenBook-UX481FL-UX481FL:~/Downloads$ sudo dpkg -i vsftpd-dbg_3.0.3-12_amd64.deb
(Reading database ... 258256 files and directories currently installed.)
Preparing to unpack vsftpd-dbg_3.0.3-12_amd64.deb ...
Unpacking vsftpd-dbg (3.0.3-12) over (3.0.3-8+b1) ...
dpkg: dependency problems prevent configuration of vsftpd-dbg:
vsftpd-dbg depends on vsftpd (= 3.0.3-12); however:
Package vsftpd is not installed.
dpkg: error processing package vsftpd-dbg (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
vsftpd-dbg
No exercício seguinte vi que não são instaladas algumas dependências, corroborando com os logs acima. Então segui a dica ao final do exercício, o que resultou no mesmo problema da instalação pelo apt-get, como mencionei no fórum daquela aula (https://cursos.alura.com.br/forum/topico-ftp-localhost-connection-refused-141987):
acrajag@acrajag-ZenBook-UX481FL-UX481FL:~/Downloads$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
vsftpd
The following NEW packages will be installed:
vsftpd
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/115 kB of archives.
After this operation, 338 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
Selecting previously unselected package vsftpd.
(Reading database ... 258255 files and directories currently installed.)
Preparing to unpack .../vsftpd_3.0.3-12_amd64.deb ...
Unpacking vsftpd (3.0.3-12) ...
Setting up vsftpd (3.0.3-12) ...
Created symlink /etc/systemd/system/multi-user.target.wants/vsftpd.service → /lib/systemd/system/vsftpd.service.
vsftpd.conf:1: Line references path below legacy directory /var/run/, updating /var/run/vsftpd/empty → /run/vsftpd/empty; please update the tmpfiles.d/ drop-in file accordingly.
invoke-rc.d: policy-rc.d denied execution of start.
Setting up vsftpd-dbg (3.0.3-12) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for systemd (245.4-4ubuntu3.4) ...
Na tentativa de conectar, esse é o resultado.
acrajag@acrajag-ZenBook-UX481FL-UX481FL:~/Downloads$ ftp localhost
ftp: connect: Connection refused
ftp> ^C
ftp> exit
acrajag@acrajag-ZenBook-UX481FL-UX481FL:~/Downloads$
O que pode ser feito?