PDA

View Full Version : 17.10 to 18.04 upgrade problem



akhramenko
September 15th, 2018, 05:57 PM
Hello everyone!
I would like to continue my discussion and find out the solution to my problem.
Here is the question from askUbuntu: https://askubuntu.com/questions/1075436/17-10-to-18-04-upgrade-problem

oldfred
September 15th, 2018, 06:31 PM
Please post issues & what you have already changed/done so we do not have to duplicate suggestions.

What brand/model system? What video card/chip?
Was/is 17.10 working ok? It is EOL, so no more updates. Generally better to update before EOL.
At this point a new install may be easier.
Do you have good backups? If not do that before anything else.
Post this:
sudo parted -l

akhramenko
September 15th, 2018, 10:08 PM
Basically, my first request was "I'm trying to upgrade from 17.10 to 18.04.01 and have this problem: after "fetch is complete" message, it rolls back the system and I can't continue. Can someone give me advice?" .

What I did:
1. Disabled all PPA's
2. Removed all third-party apps that I can

I run this commands:

sudo apt-get update; sudo apt-get upgrade; sudo apt-get dist-upgrade
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded

After:
do-release-upgrade

Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife

Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1.258 kB]
Fetched 1.259 kB in 0s (0 B/s)
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg'
extracting 'bionic.tar.gz'

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://archive.ubuntu.com/ubuntu artful InRelease
Hit http://archive.ubuntu.com/ubuntu artful-updates InRelease
Hit http://archive.ubuntu.com/ubuntu artful-backports InRelease
Hit http://archive.ubuntu.com/ubuntu artful-security InRelease
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done

Restoring original system state

Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done


sudo parted -l

`Model: ATA KINGSTON SUV400S (scsi)
Disk /dev/sda: 240GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 538MB 537MB fat32 EFI System Partition boot, esp
2 538MB 1050MB 512MB ext2
3 1050MB 240GB 239GB

Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/ubuntu--vg-swap_1: 12,8GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0,00B 12,8GB 12,8GB linux-swap(v1)

Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/ubuntu--vg-root: 226GB
Sector size (logical/physical): 512B/4096B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0,00B 226GB 226GB ext4

Error: /dev/mapper/sda3_crypt: unrecognised disk label
Model: Linux device-mapper (crypt) (dm)
Disk /dev/mapper/sda3_crypt: 239GB
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags:

System info:


user@user:~$ inxi -Fx
System: Host: user Kernel: 4.13.0-46-generic x86_64 bits: 64 gcc: 7.2.0 Desktop: Gnome 3.26.2 (Gtk 3.22.25)
Distro: Ubuntu 17.10
Machine: Device: laptop System: ASUSTeK product: X550JX v: 1.0 serial: N/A
Mobo: ASUSTeK model: X550JX v: 1.0 serial: N/A
UEFI: American Megatrends v: X550JX.203 date: 04/02/2015
Graphics: Card-1: Intel 4th Gen Core Processor Integrated Graphics Controller bus-ID: 00:02.0
Card-2: NVIDIA GM107M [GeForce GTX 950M] bus-ID: 01:00.0
Display Server: x11 (X.Org 1.19.5 ) drivers: modesetting,nvidia Resolution: 1366x768@60.00hz
OpenGL: renderer: GeForce GTX 950M/PCIe/SSE2 version: 4.5.0 NVIDIA 384.130 Direct Render: Yes

oldfred
September 15th, 2018, 10:27 PM
It looks like you have full drive encryption and using LVM and UEFI boot.

I do not know LVM nor encryption, but assume you must have drive fully mounted and unencrypted for an update to work.

akhramenko
September 15th, 2018, 10:38 PM
I don't know about LVM and UEFI boot, but the disk is encrypted, and when I upgraded from 16.10 to 17.04, 17.10 had no problem with that.