Ubuntu no se actualiza

Asked by Gerardo Martínez Cabruja

Ubuntu no baja actualizaciones:
El problema comienza porque estaba reinstalando un Oracle Virtual Box, y en medio de la instalación hubo un corte de luz.
Entonces me puso este mensaje:
"Error desconocido:"<'Class System error'>"(The package virtualbox-4.3 need to be reinstalled, but I cant find an archive for it.)".
El Virtual Box no funcionaba, pero lo pudimos solucionar con estos comandos en el terminal:
1ro: "sudo apt-get install dkms"
2do: "cd /etc/init.d"
3ro. "sudo ./vboxdrv setup"

Sin embargo, el mensaje de arriba sigue apareciendo y no se bajan actualizaciones de Ubunto desde aquél momento.
Al intentar actualizar nos pone:
"Lo sentimos. Ubuntu 16.04 ha experimentado un error interno".
-"ExecutablePath:
/usr/sbin/update-apt-exapian-index
-Problem type
Crash
-Title
update-apt-exapian-index crashed with SystemError with open():E:The package virtualbox-4.3 need to be reinstalled, but I cant find an archive for it
-Traceback
-Architecture
 amd64
-Date
Sun Jul 2 11:37:33 2017
-Distro release
Ubuntu 16.04
-InterpreterPath:
/usr/bin/pyton3.5
-ProCmdline
/usr/bin/pyton3/usr/bin/update-apt-xapian-index -quiet
-Procwd
/
-ProcEnviron
   PATH=(custom,no user)
   LANG=es_ES.UTF8
   SHELL=bin/sh
-ProcMaps
-ProcStatus
-PytonArgs
['usr/sbin/update-apt-xapian-index','-quiet']
-Uname
Linux 4.4.0-79-generic x86_64
-UnreportableReason
E:El paquete virtualbox 4.3 debe ser reistalado, pero no se enuentra el archivo para ello
-UserGroups

Question information

Language:
Spanish Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

For diagnostic purposes please provide the output of the following commands (to be executed in a terminal window):

uname -a
lsb_release -crid
dpkg -l | grep virtualbox
sudo dpkg --audit
apt-cache policy virtualbox-4.3
ls -l /var/cache/apt/archives/virtualbox*

Revision history for this message
Gerardo Martínez Cabruja (gemarca) said :
#2

Thank you very much for your kindness.

The answgerardo@gerardo-N56VM:~$ uname -a
Linux gerardo-N56VM 4.4.0-79-generic #100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
gerardo@gerardo-N56VM:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
gerardo@gerardo-N56VM:~$ dpkg -l | grep virtualbox
ii unity-scope-virtualbox 0.1+13.10.20130723-0ubuntu1 all VirtualBox scope for Unity
iHR virtualbox-4.3 4.3.32-103443~Ubuntu~precise amd64 Oracle VM VirtualBox
gerardo@gerardo-N56VM:~$ sudo dpkg --audit
Los paquetes mostrados a continuación están en un estado de desorden debido
a serios problemas durante la instalación. Deben ser reinstalados para
que éstos (y los paquetes que dependen de ellos) funcionen correctamente:
 virtualbox-4.3 Oracle VM VirtualBox

gerardo@gerardo-N56VM:~$ apt-cache policy virtualbox-4.3
virtualbox-4.3:
  Instalados: 4.3.32-103443~Ubuntu~precise
  Candidato: 4.3.32-103443~Ubuntu~precise
  Tabla de versión:
 *** 4.3.32-103443~Ubuntu~precise 100
        100 /var/lib/dpkg/status
gerardo@gerardo-N56VM:~$ ls -l /var/cache/apt/archives/virtualbox*
ls: no se puede acceder a '/var/cache/apt/archives/virtualbox*': No existe el archivo o el directorio
gerardo@gerardo-N56VM:~$
er in terminal is this: (I hope I did it well)

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

Open a terminal window and issue the following commands

cd ~
wget http://download.virtualbox.org/virtualbox/4.3.32/virtualbox-4.3_4.3.32-103443~Ubuntu~precise_amd64.deb
sudo dpkg -i virtualbox-4.3_4.3.32-103443~Ubuntu~precise_amd64.deb
sudo dpkg --audit

and report the results that you get.

Revision history for this message
Gerardo Martínez Cabruja (gemarca) said :
#4

Hello:

Everything is solved.

The system is completely updated and working perfectly.

Now I will upgrade to 16.10 version

Thank you very much.

You are a great man,

Thank you,

Gerardo

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Two comments:

1. virtualbox-4.3 is an old version. You should consider upgrading to the current version (5.1)

2. see https://wiki.ubuntu.com/Releases for the Ubuntu releases.
16.04 LTS will be supported until April 2021
The support for 16.10 will end this month, and you have to do another upgrade to 17.04 soon.

Revision history for this message
Gerardo Martínez Cabruja (gemarca) said :
#6

Thank you:

I understand that you recommend to keep on using 16.04 LTS.?

About Virtual Box, I have tried to upgrade to 5.1 several times, but id does not work.

Thank you very much for your kindness,

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

If you do not need the newest additions in 16.10 (or 17.04), you should consider staying on 16.04
16.04 will allow a direct upgrade to 18.04 (next year).
From 16.10 you have to do an upgrade to 17.04, and later to 17.10 until you can reach 18.04 next year.

Revision history for this message
Gerardo Martínez Cabruja (gemarca) said :
#8

Thank you
Best regards

Revision history for this message
Gerardo Martínez Cabruja (gemarca) said :
#9

Dear Mr. Hampl:

I have two little problems with my Oracle Virtual Box.

1- I should download and set the new version, but when I open the link I
see a lot of different versions and I do not know which sould be te
one.  Actualy I have installed the:
virtualbox-4.3_4.3.32-103443~Ubuntu~precise_amd64.deb.

2- I need to get more space in the virtual box HD (VDI).  I need to
increase fron 10 GB to 15 Gb.  I do not know the to do it.

Can you help me in this two problems?

I would appreciate very much your hepl.

Thank you ver much.

Best Regards,

Gerardo Martínez Cabruja

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

I suggest that you create a new question document.
This one is already closed as "solved".