Welcome!
Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Errors trying to upgrade 17.x to 18.x [SOLVED]

ardee
Forum Novice
Forum  Novice
Posts: 8
Joined: Sun May 05, 2019 2:14 pm

Re: Errors trying to upgrade 17.x to 18.x

#11

Post by ardee » Thu May 09, 2019 11:22 am

Thank you VERY much. After dealing with an unrelated WIndows/hardware issue and shutting down my PC then restarting it, I re-tried going into the MX VM and running "sudo apt update" and this time it worked (with some unrelated errors)!

Now that it has updated its indexes, I am trying to follow the instructions here: https://mxlinux.org/migration/ and have a question about how best to upgrade:

Is there documented anywhere a specific sequence of steps (and the proper sequence) I should take? [Do I run "sudo apt upgrade", use MX Package Installer, and/or use Synaptic Package Manager?]

Thanks again!

ardee
Forum Novice
Forum  Novice
Posts: 8
Joined: Sun May 05, 2019 2:14 pm

Re: Errors trying to upgrade 17.x to 18.x

#12

Post by ardee » Thu May 09, 2019 2:12 pm

Tried sudo apt upgrade. Ran OK, I think. Then read about distro-upgrade. Tried that. Seemed to run OK, but it deleted LOTS of things I was using (I think). Upon reboot, no window manager, just command line.

Reverted to older snapshot (17.1). What did I do wrong?

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 11495
Joined: Sun Dec 16, 2007 1:17 pm

Re: Errors trying to upgrade 17.x to 18.x

#13

Post by dolphin_oracle » Thu May 09, 2019 2:21 pm

ardee wrote:
Thu May 09, 2019 2:12 pm
Tried sudo apt upgrade. Ran OK, I think. Then read about distro-upgrade. Tried that. Seemed to run OK, but it deleted LOTS of things I was using (I think). Upon reboot, no window manager, just command line.

Reverted to older snapshot (17.1). What did I do wrong?
are you using autoremove? please post the output of the dist-upgrade but don't proceed with it.

there was an issue with nvidia-drivers once-upon-a-time, but I thought we had that sorted.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-18
lenovo s21e - MX-18, antiX-17.3.1 (live-USB)
FYI: mx "test" repo is not the same thing as debian testing repo.

ardee
Forum Novice
Forum  Novice
Posts: 8
Joined: Sun May 05, 2019 2:14 pm

Re: Errors trying to upgrade 17.x to 18.x

#14

Post by ardee » Thu May 09, 2019 2:44 pm

Dear dolphin_oracle, here's what it says:

Code: Select all

$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  libllvm3.9
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
  bubblewrap cryptsetup-modified-functions desktop-defaults-mx-applications
  desktop-defaults-mx-common flatpak fuseiso libappstream-glib8 libdrm-common libegl-mesa0 libegl1
  libgcab-1.0-0 libgl1 libgles1 libgles2 libglvnd-core-dev libglvnd-dev libglvnd0 libglx-mesa0
  libglx0 libhunspell-1.6-0 libllvm7 libnss-mdns libopengl0 libostree-1-1 libwayland-egl1
  mx-repo-list python-bs4 python-css-parser smplayer-l10n xdg-desktop-portal
  xdg-desktop-portal-gtk
The following packages will be upgraded:
  calibre cli-shell-utils desktop-defaults-xfce-mx17 libdrm-amdgpu1 libdrm-dev libdrm-intel1
  libdrm-nouveau2 libdrm-radeon1 libdrm2 libegl1-mesa libgbm1 libgl1-mesa-dev libgl1-mesa-dri
  libgl1-mesa-glx libglapi-mesa libgles2-mesa libwayland-egl1-mesa libxatracker2 lightning
  mesa-common-dev mx-packageinstaller mx-repo-manager mx-system smplayer thunderbird
25 upgraded, 31 newly installed, 0 to remove and 0 not upgraded.
Need to get 99.2 MB/99.4 MB of archives.
After this operation, 124 MB of additional disk space will be used.
Do you want to continue? [Y/n]

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 11495
Joined: Sun Dec 16, 2007 1:17 pm

Re: Errors trying to upgrade 17.x to 18.x

#15

Post by dolphin_oracle » Thu May 09, 2019 3:09 pm

that seems safe enough. but ifyou want to check a simulation first, at a "-s" to your apt-get command.

Code: Select all

apt-get -s dist-upgrade
you don't even need sudo with -s, because it won't do anything but give you some output on what would happen.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-18
lenovo s21e - MX-18, antiX-17.3.1 (live-USB)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 19299
Joined: Fri Dec 15, 2006 8:07 pm

Re: Errors trying to upgrade 17.x to 18.x

#16

Post by Stevo » Thu May 09, 2019 6:06 pm

MX 17 to 18 is not really a distro upgrade like Debian 8 to 9, since it's still on the Debian 9 base, so just the normal apt upgrade process is fine.

You probably don't really need to upgrade the kernel except for security concerns.

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 4584
Joined: Sun May 27, 2007 5:37 am

Re: Errors trying to upgrade 17.x to 18.x

#17

Post by asqwerth » Fri May 10, 2019 12:18 am

But "apt upgrade" command won't: update any packages where dependency requirements mean:

1. additional packages have to be installed,
2. some old packages have to be removed in order to be replaced by a new dependant package.

There is at least 1 additional package in recent memory that is supposed to be installed for normal updates, e.g fuse-iso

That's why MX Updater uses "apt full-upgrade" command.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

ardee
Forum Novice
Forum  Novice
Posts: 8
Joined: Sun May 05, 2019 2:14 pm

Re: Errors trying to upgrade 17.x to 18.x

#18

Post by ardee » Fri May 10, 2019 9:24 am

Thanks for all the help. Ultimately MX Updater did work and all is well.

Post Reply

Return to “Installation”