Could not install 18.04 from 17.10
When trying to install 18.04 I got an error window with the following:
Could not install the upgrades
The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg -configure -a).
The terminal window is frozen so I cannot show the installation log.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Don't install updates as part of the install. Disconnect from the Web. You can run updates once the OS is installed
Revision history for this message
|
#2 |
Are you booting to the install media and updating that way?
Revision history for this message
|
#3 |
I was not installing updates as part of the install.
I was not booting to the install media.
A window opened and claimed that version 18.04 LTS was available. I used that window. A later window opened and said that the installation aborted and that data was being collected to help find the bugs.
It seem that 10.04 LTS is not ready for use.
Revision history for this message
|
#4 |
10.04 was released in 2010 and its support ended in 2015. It's a dead release.
Revision history for this message
|
#5 |
Sorry I meant 18.04 not 10.04. My mistake. I still have not recovered from all the damage the installation did to my system.
When will 18.04 actually be ready to release?
Revision history for this message
|
#6 |
Yes its been used by loads of people.
What state is the OS in presently? Can you run normal updates?
Revision history for this message
|
#7 |
No! All updates are set to Bionic not Artful.
Revision history for this message
|
#8 |
For diagnostic purposes please provide the output of the following commands:
uname -a
lsb_release -crid
sudo apt-get update
cat -n /etc/apt/
sudo dpkg --audit
Revision history for this message
|
#9 |
robert@
Linux robert-
robert@
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic
robert@
[sudo] password for robert:
Ign:1 http://
Hit:2 http://
Hit:3 http://
Get:4 http://
Hit:5 http://
Ign:6 https:/
Err:7 https:/
404 Not Found [IP: 151.101.56.69 443]
Hit:8 http://
Get:9 http://
Ign:10 http://
Err:11 http://
404 Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: The repository 'https:/
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
robert@
1 # deb cdrom:[Ubuntu-MATE 17.10 _Artful Aardvark_ - Release amd64 (20180106)]/ artful main multiverse restricted universe
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 deb-src http://
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb-src http://
11
12 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
13 ## team. Also, please note that software in universe WILL NOT receive any
14 ## review or updates from the Ubuntu security team.
15 deb http://
16 deb-src http://
17 deb-src http://
18
19 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
20 ## team, and may not be under a free licence. Please satisfy yourself as to
21 ## your rights to use the software. Also, please note that software in
22 ## multiverse WILL NOT receive any review or updates from the Ubuntu
23 ## security team.
24 deb http://
25 deb-src http://
26 deb-src http://
27
28 ## N.B. software from this repository may not have been tested as
29 ## extensively as that contained in the main release, although it includes
30 ## newer versions of some applications which may provide useful features.
31 ## Also, please note that software in backports WILL NOT receive any review
32 ## or updates from the Ubuntu security team.
33 # deb-src http://
34
35 ## Uncomment the following two lines to add software from Canonical's
36 ## 'partner' repository.
37 ## This software is not part of Ubuntu, but is offered by Canonical and the
38 ## respective vendors as a service to Ubuntu users.
39 deb http://
40 deb-src http://
41
42 deb-src http://
43 deb-src http://
44 deb-src http://
45 deb https:/
46 deb-src https:/
robert@
robert@
Revision history for this message
|
#10 |
Your output confirms that your system has successfully been upgraded to 18.04.
There are still some mirror issues:
In your sources.list configuration there are some outdated references to artful instead of bionic.
And there are repository sources listed that do not contain software for bionic.
Issue the command
sudo gedit /etc/apt/
change all occurrences of "artful" by "bionic" except in the first line
delete the last two lines (those containing dl.winehq.org)
save the file and clos the editor.
Apparently you have another outdated reference in an additional config file in a subdirectory.
Issue the command
grep swi-prolog /etc/apt/
and delete the file that is listed, with a command like
sudo rm /etc/apt/
(adapt the file name in the command to the file name shown in the grep command!).
The repeat the command
sudo apt-get update
and report the results.
Revision history for this message
|
#11 |
Not all PPAs support all releases
Revision history for this message
|
#12 |
robert@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
amd64-microcode bbswitch-dkms common-
gnome-orca intel-microcode iucode-tool libclang1-5.0 libcudart8.0
libdevhelp-3-4 libffcall1 libicu57:i386 libidn11:i386 libllvm5.0:i386
libnvidia-
libnvidia-
libnvidia-
libnvidia-
libqt5sql5 libqt5sql5-sqlite libqt5test5 libssl1.0.0:i386
libtxc-
nvidia-settings nvidia-utils-390 python-enum34 python3-
python3-pyqt5 python3-sip realpath ruby2.3 ruby2.3-dev ruby2.3-doc
screen-
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
gedit-common libgspell-1-1 libgspell-1-common
Suggested packages:
gedit-plugins
The following NEW packages will be installed:
gedit gedit-common libgspell-1-1 libgspell-1-common
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 598 kB of archives.
After this operation, 5,229 kB 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://
Fetched 598 kB in 1s (1,057 kB/s)
Selecting previously unselected package libgspell-1-common.
(Reading database ... 414621 files and directories currently installed.)
Preparing to unpack .../libgspell-
Unpacking libgspell-1-common (1.6.1-1) ...
Selecting previously unselected package libgspell-
Preparing to unpack .../libgspell-
Unpacking libgspell-1-1:amd64 (1.6.1-1) ...
Selecting previously unselected package gedit-common.
Preparing to unpack .../gedit-
Unpacking gedit-common (3.28.1-1ubuntu1) ...
Selecting previously unselected package gedit.
Preparing to unpack .../gedit_
Unpacking gedit (3.28.1-1ubuntu1) ...
Processing triggers for gconf2 (3.2.6-4ubuntu1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Processing triggers for libglib2.0-0:i386 (2.56.1-2ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.56.1-2ubuntu1) ...
Processing triggers for bamfdaemon (0.5.3+
Rebuilding /usr/share/
Setting up libgspell-1-common (1.6.1-1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up gedit-common (3.28.1-1ubuntu1) ...
Processing triggers for man-db (2.8.3-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Setting up libgspell-1-1:amd64 (1.6.1-1) ...
Setting up gedit (3.28.1-1ubuntu1) ...
update-
Processing triggers for libc-bin (2.27-3ubuntu1) ...
robert@
** (gedit:3249): WARNING **: 21:28:22.074: Set document metadata failed: Setting attribute metadata:
** (gedit:3249): WARNING **: 21:28:22.074: Set document metadata failed: Setting attribute metadata:
** (gedit:3249): WARNING **: 21:28:26.142: Set document metadata failed: Setting attribute metadata:
robert@
grep: /etc/apt/
robert@
/etc/apt/
/etc/apt/
robert@
robert@
Ign:1 http://
Hit:2 http://
Get:3 http://
Hit:4 http://
Hit:5 http://
Get:6 http://
Get:7 http://
Get:8 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 10.3 MB in 4s (2,764 kB/s)
Reading package lists... Done
robert@
Also thank you for the timely and accurate help. 20 years ago I was a Unix guru, but I am a neophyte in Linux. Both Windows and Mac help is relatively useless. First I have to train their second-tier help in what the problem is, then they are usually helpless. Feedback for bugs go ignored. I pointed out bugs in Mac OS X 10.4 that were not fixed in 10.5, 10.6, 10.7, 10.8, 10.9 and 10.10. Microsoft wanted me to pay them to fix the bugs in their code. They refused to pay my normal consulting fee.
Revision history for this message
|
#13 |
The output looks good, no error messages any more.
There is one additional cleanup action that you could execute:
Your output shows that there are several packages installed that are not needed (any more).
The command for the cleanup would be
sudo apt-get --purge autoremove
If there is no further left, problem then you might mark this question document as "solved".
Can you help with this problem?
Provide an answer of your own, or ask Robert Pearson for more information if necessary.