July Update Pack Survival's kit

Important informations about SolydXK including releases notes, forum rules and other anouncements
User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

July Update Pack Survival's kit

Postby zerozero » 18 Jul 2014 00:17

In every possible scenario is advisable that, after you run the July's UP (even if it looked successful at first glance), and before you reboot, to open the terminal and issue the following command

Code: Select all

apt dist-upgrade
it needs to end with

Code: Select all

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
any other output is not a good sign and if you don't feel confortable solving the problem please post in the relevant support topic >> http://forums.solydxk.nl/viewtopic.php?f=32&t=4303
[/color][/b]
FIRST (and most common problem)
  • when you are notified of the UP availability, UM will update itself first and then relaunch to proceed with the rest of the update (this is the expected behavior);
  • however if it shows the list of packages to update (like in the image bellow)
    snapshot278.png
    you shouldn't proceed
    this is not the expected behavior and UM will not behave as desired.
  • you need to close the UM window and run it fom the terminal with the -u switch

    Code: Select all

    updatemanager -u

    (like in the image bellow)
    snapshot279.png
  • now you can install the updates
  • or with

    Code: Select all

    sudo apt-get update; sudo apt-get install updatemanager; updatemanager -u
    go directly to the solution :)
bliss of ignorance

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: July Update Pack Survival's kit

Postby zerozero » 18 Jul 2014 00:22

The libgdbm3:i386 issue explained bellow is only relevant in 64bit systems;
It's an incompatibility between libgdbm3:amd64 and libgdbm3:i386 resulting from the fact that the package is not multiarch-aware


the update finishes but with errors [ libgdbm3:i386 issue]

(like in the image bellow)
what.png
above all it's fundamental that you neither reboot or logout without knowing precisely how broken is the update and try to fix it

for that we need some terminal outputs

Code: Select all

sudo apt-get -f install
that most certainly will end like this

Code: Select all

The following extra packages will be installed:
  libgdbm3:i386
The following packages will be upgraded:
  libgdbm3:i386
1 upgraded, 0 newly installed, 0 to remove and 961 not upgraded.
4 not fully installed or removed.
Need to get 0 B/45.2 kB of archives.
After this operation, 48.1 kB of additional disk space will be used.
Do you want to continue? [Y/n]  
Reading changelogs... Done
(Reading database ... 245042 files and directories currently installed.)
Preparing to unpack .../libgdbm3_1.8.3-12+b1_i386.deb ...
Unpacking libgdbm3:i386 (1.8.3-12+b1) over (1.8.3-12) ...
dpkg: error processing archive /var/cache/apt/archives/libgdbm3_1.8.3-12+b1_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/libgdbm3/changelog.Debian.gz', which is different from other instances of package libgdbm3:i386
Processing triggers for man-db (2.6.6-1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libgdbm3_1.8.3-12+b1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
the easy solution for this problem is

Code: Select all

apt purge libgdbm3:i386

Code: Select all

sudo apt-get -f install

Code: Select all

apt dist-upgrade
the harder solution requires the purge of ia32-libs (and associated libs)
it might be

Code: Select all

apt purge ia32-libs ia32-libs-i386 libgdbm3:i386
or

Code: Select all

apt purge ia32-libs-i386:i386 libgdbm3:i386 ia32-libs libgdbm3:i386
this will also (eventually) remove app that still rely on the deprecated ia32-libs
after this

Code: Select all

sudo apt-get -f install
and

Code: Select all

apt dist-upgrade
you should only reboot when the terminal prompt ends with

Code: Select all

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
bliss of ignorance

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: July Update Pack Survival's kit

Postby zerozero » 18 Jul 2014 00:33

In SolydK (after the update) you can't login;
after entering you credentials you are again sent to the login screen.

login into tty
snapshot282.png
enter username and password and

Code: Select all

apt install --reinstall kde-workspace-bin

Code: Select all

sudo reboot
this should get you into the desktop;
once there is important to check if all the updates were properly installed

Code: Select all

sudo apt-get dist-upgrade

Code: Select all

sudo apt-get -f install
if you see the output ending differently of

Code: Select all

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
there is still work to be done
[and if don't feel confortable with the necessary actions to be taken ask in the relevant topic >> http://forums.solydxk.nl/viewtopic.php?f=32&t=4303]
bliss of ignorance

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: July Update Pack Survival's kit

Postby zerozero » 18 Jul 2014 00:47

grizzler wrote:The 'complete' fix (i.e. removing both libgdbm3:i386 and all ia32-libs packages) worked here, on a system built to match an install with all the ia32-libs related items as closely as possible.

Unfortunately I'm not able to test situations where the system will refuse to remove the ia32-libs because some package still needs them. That should not happen with packages provided through the Debian or SolydXK repositories (after all, the libs have been removed there), but programs from elsewhere, which haven't kept up with the transition to multiarch, may cause problems. If you are aware of having such applications on your system, please remove them first.

The fix can be implemented by running the solydfixes script (as mentioned on the UpdateManager's Information page and here) with the full set of options mentioned there, i.e.

Code: Select all

sudo ./solydfixes -kduyft
This will run the entire sequence and should pick up all the pieces along the way.

To get hold of the script, either download it or pick it up from this page (see below - remove the .txt bit), make sure it's executable and run it from the console/terminal. If you have no way to get to a desktop environment, enter the console (if necessary using the procedure I described earlier in this thread) and run

Code: Select all

wget -O /tmp/solydfixes http://duinsoft.nl/pkg/pool/all/solydfixes
to download the script. Make it executable with

Code: Select all

chmod +x /tmp/solydfixes
and run it with

Code: Select all

sudo /tmp/solydfixes -kduyft
I'm truly sorry about this mess and I hope this fixes the problem for all involved.
bliss of ignorance

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: July Update Pack Survival's kit

Postby zerozero » 19 Jul 2014 15:03

If after the update (and after applying the relevant fixes listed above) you notice that some app is not acting correctly (or is something missing that eventually should be there), the first place to look is

Code: Select all

cat /var/log/apt/history.log | grep Remove
this will give a list of all the lib/app that were removed during the update;
some of those are supposed to be there (in the removal list), others aren't.
as you can see from the list bellow i have some "reconstruction" (not much) to do in this system
zerozero@k64 ~ $ cat /var/log/apt/history.log | grep Remove
Remove: libkdepim4:amd64 (4.12.5+really4.4.11.1+l10n-0r0+b8), kaddressbook:amd64 (4.12.5+really4.4.11.1+l10n-0r0+b8), kde-config-touchpad:amd64 (0.8.1-2), gdebi-kde:amd64 (0.9.4+solydxk1), knotes:amd64 (4.12.5+really4.4.11.1+l10n-0r0+b8), python3-pykde4:amd64 (4.12.4-90r0+b8), python-kde4:amd64 (4.12.4-90r0+b8), plasma-widget-facebook:amd64 (1.0-0ubuntu1), plasma-scriptengine-python:amd64 (4.11.8-90r0), userconfig:amd64 (0.9.0-0ubuntu10), libkleo4:amd64 (4.12.5+really4.4.11.1+l10n-0r0+b8), software-properties-kde:amd64 (0.92.25debian1)
bliss of ignorance

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: July Update Pack Survival's kit

Postby zerozero » 19 Jul 2014 15:07

bliss of ignorance


Return to “News & Anouncements”

Who is online

Users browsing this forum: No registered users and 2 guests