no funciona el up grade manager
nose realiza ningun upgrade, quiero ir a la ultima version de ubuntu, hay un mensaje que dice E: the package linux image extra
4,4,0-83 generic needs to be reinstalled, but c'not find an archive for it.
Question information
- Language:
- Spanish Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Esteban Baumann
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Please provide the output that you receive for the following commands:
uname -a
lsb_release -crid
sudo dpkg --audit
sudo apt update
sudo apt dist-upgrade
dpkg -l | grep ' linux-'
apt-cache policy linux-image-
Revision history for this message
|
#2 |
esteban@
Linux SansSouci 4.4.0-81-generic #104-Ubuntu SMP Wed Jun 14 08:17:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
esteban@
esteban@
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
esteban@
[sudo] password for esteban:
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:
linux-
Los paquetes mostrados a continuación no están en el fichero de lista
de control en la base de datos, tienen que reinstalarse:
linux-
Los paquetes mostrados a continuación carecen del fichero de control
md5sums en la base de datos, tienen que reinstalarse:
linux-
sudo apt updateesteban@
Obj:1 http://
Obj:2 http://
Obj:3 http://
Obj:4 http://
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Se pueden actualizar 662 paquetes. Ejecute «apt list --upgradable» para verlos.
N: Omitiendo el fichero «20auto-
esteban@
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Tal vez quiera ejecutar «apt-get -f install» para corregirlo.
Los siguientes paquetes tienen dependencias incumplidas:
N: Omitiendo el fichero «20auto-
E: Dependencias incumplidas. Pruebe de nuevo utilizando -f
dpkg -l | grep ' linux-' la respuesta a este comando es muy extensa, no se como incorporarla
esteban@
linux-image-
Instalados: 4.4.0-83.106
Candidato: 4.4.0-83.106
Tabla de versión:
4.4.0-83.106 500
500 http://
500 http://
*** 4.4.0-83.106 100
100 /var/lib/
N: Omitiendo el fichero «20auto-
Hola Manfred, trate de envier toda la info, parece que el tema es muy complejo de arreglar, como me interesa hacer el up grade a la version 18, tal vez sea mejor hacer el download de la nueva version como si la instalara por primera vez. Espero tu opinion, Mucgas Gracias
Revision history for this message
|
#3 |
Execute the commands
sudo rm /etc/apt/
LANG=C sudo apt install --reinstall linux-image-
LANG=C sudo apt update
and copy/paste the results.
Revision history for this message
|
#4 |
esteban@
Hit:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Fetched 2078 kB in 16s (126 kB/s)
AppStream cache update completed, but some metadata was ignored due to errors.
Reading package lists... Done
Building dependency tree
Reading state information... Done
662 packages can be upgraded. Run 'apt list --upgradable' to see them.
Revision history for this message
|
#5 |
There are no error messages any more, and updates should be working again.
Revision history for this message
|
#6 |
esteban@
/usr/bin/
from gi.repository import Gtk
/usr/lib/
from gi.repository import Dbusmenu, Unity
/usr/lib/
from gi.repository import Dbusmenu, Unity
Error loading .desktop file /usr/share/
Error loading .desktop file /usr/share/
Error loading .desktop file /usr/share/
update-manager -c
Revision history for this message
|
#7 |
For an upgrade from Ubuntu 16.04 (xenial) to 18.04 (bionic) try the command
sudo do-release-upgrade
Revision history for this message
|
#8 |
esteban@
[sudo] password for esteban:
Comprobar si hay una nueva versión de Ubuntu
Obtener:1 Firma de la herramienta de actualización [819 B]
Obtener:2 Herramienta de actualización [1.240 kB]
Obtenidos 1.241 kB en 0s (0 B/s)
autenticar «bionic.tar.gz» contra «bionic.tar.gz.gpg»
extrayendo «bionic.tar.gz»
Leyendo la caché
Comprobando el gestor de paquetes
Leyendo lista de paquetes... Finalizado
Creando árbol de dependencias
Leyendo la información de estado... Finalizado
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
Conexión http://
Obtener:1 http://
Obtener:2 http://
Obtener:3 http://
Obtener:4 http://
Obtener:5 http://
Obtener:6 http://
Obtener:7 http://
Obtenidos 3.700 kB en 6s (407 kB/s)
Leyendo lista de paquetes... Finalizado
Creando árbol de dependencias
Leyendo la información de estado... Finalizado
Restaurando el estado original del sistema
Cancelando
Leyendo lista de paquetes... Finalizado
Creando árbol de dependencias
Leyendo la información de estado... Finalizado
esteban@
Revision history for this message
|
#9 |
Please run the commands
sudo apt update
sudo apt dist-upgrade
and copy/paste all output.
Revision history for this message
|
#10 |
esteban@
[sudo] password for esteban:
Obj:1 http://
Des:2 http://
Des:3 http://
Des:4 http://
Des:5 http://
Des:6 http://
Des:7 http://
Des:8 http://
Des:9 http://
Des:10 http://
Des:11 http://
Des:12 http://
Des:13 http://
Des:14 http://
Des:15 http://
Des:16 http://
Des:17 http://
Des:18 http://
Des:19 http://
Des:20 http://
Des:21 http://
Des:22 http://
Des:23 http://
Des:24 http://
Des:25 http://
Descargados 7.675 kB en 25s (298 kB/s)
AppStream cache update completed, but some metadata was ignored due to errors.
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Se pueden actualizar 662 paquetes. Ejecute «apt list --upgradable» para verlos.
esteban@
sudo: apt-upgrade: orden no encontrada
esteban@
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Tal vez quiera ejecutar «apt-get -f install» para corregirlo.
Los siguientes paquetes tienen dependencias incumplidas:
E: Dependencias incumplidas. Pruebe de nuevo utilizando -f.
esteban@
E: No tiene sentido la opción de línea de órdenes «f» [de -f] combinada con las otras opciones.
esteban@
Revision history for this message
|
#11 |
Execute the command
LANG=C sudo apt upgrade
and report the results
Revision history for this message
|
#12 |
esteban@
[sudo] password for esteban:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
E: Unmet dependencies. Try using -f.
esteban@
E: No se pudo abrir el fichero de bloqueo «/var/lib/
E: No se pudo bloquear el directorio de administración (/var/lib/dpkg/), ¿está como superusuario?
esteban@
Revision history for this message
|
#13 |
Please execute the commands
LANG=C sudo dpkg --audit
LANG=C sudo dpkg --configure -a
LANG=C sudo apt install -f
and then copy/paste all output.
Revision history for this message
|
#14 |
esteban@
[sudo] password for esteban:
The following packages are in a mess due to serious problems during
installation. They must be reinstalled for them (and any packages
that depend on them) to function properly:
linux-
The following packages are missing the list control file in the
database, they need to be reinstalled:
linux-
The following packages are missing the md5sums control file in the
database, they need to be reinstalled:
linux-
esteban@
esteban@
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
linux-
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
linux-
Suggested packages:
fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools
linux-
The following NEW packages will be installed:
linux-
The following packages will be upgraded:
linux-
1 upgraded, 1 newly installed, 0 to remove and 661 not upgraded.
1 not fully installed or removed.
Need to get 0 B/57.8 MB of archives.
After this operation, 219 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 217124 files and directories currently installed.)
Preparing to unpack .../linux-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
Done.
Unpacking linux-image-
Preparing to unpack .../linux-
Unpacking linux-image-
Setting up linux-image-
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Your kernel headers for kernel 4.4.0-83-generic cannot be found.
Please install the linux-headers-
or use the --kernelsourcedir option to tell DKMS where it's located
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found Windows Boot Manager on /dev/sda1@
Adding boot menu entry for EFI firmware configuration
done
Setting up linux-image-
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Error! Your kernel headers for kernel 4.4.0-83-generic cannot be found.
Please install the linux-headers-
or use the --kernelsourcedir option to tell DKMS where it's located
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found Windows Boot Manager on /dev/sda1@
Adding boot menu entry for EFI firmware configuration
done
esteban@
Revision history for this message
|
#15 |
There is progress, but there is still an error:
Error! Your kernel headers for kernel 4.4.0-83-generic cannot be found.
What is the output of the command
LANG=C sudo apt install linux-generic
Revision history for this message
|
#16 |
esteban@
[sudo] password for esteban:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-
linux-
linux-
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
amd64-microcode linux-base linux-headers-
linux-
linux-
linux-
linux-
Suggested packages:
fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools
The following NEW packages will be installed:
amd64-microcode linux-headers-
linux-
linux-
The following packages will be upgraded:
linux-base linux-generic linux-headers-
linux-
5 upgraded, 6 newly installed, 0 to remove and 659 not upgraded.
Need to get 66.3 MB of archives.
After this operation, 302 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Fetched 66.3 MB in 38s (1714 kB/s)
Preconfiguring packages ...
(Reading database ... 222739 files and directories currently installed.)
Preparing to unpack .../linux-
Unpacking linux-base (4.5ubuntu1~
Selecting previously unselected package linux-modules-
Preparing to unpack .../linux-
Unpacking linux-modules-
Selecting previously unselected package linux-image-
Preparing to unpack .../linux-
Unpacking linux-image-
Selecting previously unselected package linux-modules-
Preparing to unpack .../linux-
Unpacking linux-modules-
Selecting previously unselected package amd64-microcode.
Preparing to unpack .../amd64-
Unpacking amd64-microcode (3.20180524.
Preparing to unpack .../linux-
Unpacking linux-generic (4.4.0.165.173) over (4.4.0.81.87) ...
Preparing to unpack .../linux-
Unpacking linux-image-generic (4.4.0.165.173) over (4.4.0.81.87) ...
Preparing to unpack .../linux-
Unpacking linux-signed-
Selecting previously unselected package linux-headers-
Preparing to unpack .../linux-
Unpacking linux-headers-
Selecting previously unselected package linux-headers-
Preparing to unpack .../linux-
Unpacking linux-headers-
Preparing to unpack .../linux-
Unpacking linux-headers-
Processing triggers for man-db (2.7.5-1) ...
Setting up linux-base (4.5ubuntu1~
Setting up linux-modules-
Setting up linux-image-
I: /vmlinuz.old is now a symlink to boot/vmlinuz-
I: /initrd.img.old is now a symlink to boot/initrd.
I: /vmlinuz is now a symlink to boot/vmlinuz-
I: /initrd.img is now a symlink to boot/initrd.
Setting up linux-modules-
Setting up amd64-microcode (3.20180524.
update-initramfs: deferring update (trigger activated)
amd64-microcode: microcode will be updated at next boot
Setting up linux-image-generic (4.4.0.165.173) ...
Setting up linux-headers-
Setting up linux-headers-
Setting up linux-headers-
Setting up linux-generic (4.4.0.165.173) ...
Setting up linux-signed-
Processing triggers for linux-image-
/etc/kernel/
update-initramfs: Generating /boot/initrd.
/etc/kernel/
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found Windows Boot Manager on /dev/sda1@
Adding boot menu entry for EFI firmware configuration
done
Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
update-initramfs: Generating /boot/initrd.
esteban@
Revision history for this message
|
#17 |
This looks very good. There is no error message any more.
I assume that updates will work again.
I suggest that you start the update-manager and try installing all updates that are available (probably 659 packages).
Revision history for this message
|
#18 |
The update manager worked fine, all up dates were done and the version 18.04 installed and working.
I will tank you very much your Support
By
Esteban