Os erros 404 são fáceis de lidar:
% bl0ck_qu0te%Se você ainda estiver usando o 12.10, não podemos ajudá-lo. Você deve realmente considerar a atualização: Instruções para atualizar
Eu tento instalar o mongodb na máquina do servidor (servidor Ubuntu) usando instalando o mongodb .
Quando usei sudo apt-get update
, achei 404 Not Found
para muitos URLs como os seguintes erros:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/main/source/Sources 404 Not Found [IP: 91.189.91.15 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/restricted/source/Sources 404 Not Found [IP: 91.189.91.15 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/universe/source/Sources 404 Not Found [IP: 91.189.91.15 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/multiverse/source/Sources 404 Not Found [IP: 91.189.91.15 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.15 80]
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/quantal/main/source/Sources 404 Not Found [IP: 91.189.91.14 80]
Eu pulei esse problema, executo o próximo comando sudo apt-get install -y mongodb-org
, mas recebi os seguintes erros:
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.5.0-45-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.5.0-45-generic.postinst line 1010.
dpkg: error processing linux-image-3.5.0-45-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-extra-3.5.0-39-generic (3.5.0-39.60) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.5.0-45-generic
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.5.0-39-generic /boot/vmlinuz-3.5.0-39-generic
update-initramfs: Generating /boot/initrd.img-3.5.0-39-generic
e
No apport report written because MaxReports is reached already
Errors were encountered
while processing:
linux-image-3.5.0-45-generic
linux-image-extra-3.5.0-39-generic
linux-image-extra-3.5.0-40-generic
linux-image-extra-3.5.0-41-generic
linux-image-extra-3.5.0-44-generic
linux-image-extra-3.5.0-45-generic
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
Encontrei o mongodb instalado e seus pacotes, mas quero saber por que esses erros ocorreram?
Os erros 404 são fáceis de lidar:
% bl0ck_qu0te%Se você ainda estiver usando o 12.10, não podemos ajudá-lo. Você deve realmente considerar a atualização: Instruções para atualizar