[FIXED] Can't update solydxk-system

Questions about software.
User avatar
BostonPeng
Posts: 472
Joined: 28 Feb 2013 14:35
Location: Boston, MA
Contact:

[FIXED] Can't update solydxk-system

Postby BostonPeng » 23 Nov 2018 22:52

The last couple of days I got a notification that solydxk-system has an update but I'm unable to install the update.
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
remmina remmina-common remmina-plugin-nx remmina-plugin-rdp remmina-plugin-secret remmina-plugin-vnc
The following packages will be upgraded:
solydxk-system
1 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/830 kB of archives.
After this operation, 9,216 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 421683 files and directories currently installed.)
Preparing to unpack .../solydxk-system_3.1.2_all.deb ...
Unpacking solydxk-system (3.1.2) over (3.1.1) ...
dpkg: error processing archive /var/cache/apt/archives/solydxk-system_3.1.2_all.deb (--unpack):
trying to overwrite '/etc/skel/.gnupg/gpg.conf', which is also in package solydk-system-adjustments-8 2.7.3
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/solydxk-system_3.1.2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
$
J.M. Hardin

System:
ASUS X555LA notebook

User avatar
Arjen Balfoort
Site Admin
Posts: 9333
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Can't update solydxk-system

Postby Arjen Balfoort » 24 Nov 2018 06:40

Can you post back the contents of /etc/fstab?
It looks like your pointing to solydxk-9 but your adjustments package is for solydxk-8.


SolydXK needs you!
Development | Testing | Translations

User avatar
BostonPeng
Posts: 472
Joined: 28 Feb 2013 14:35
Location: Boston, MA
Contact:

Re: Can't update solydxk-system

Postby BostonPeng » 24 Nov 2018 06:52

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=06A8-A240 /boot/efi vfat defaults 0 2
UUID=1c52a184-08e2-402c-9346-46f7f85c3918 swap swap sw 0 0
UUID=73024a14-79d1-4f4b-986b-48a168c516bc / ext4 rw,errors=remount-ro 0 1
UUID=8397d293-e737-44da-ae77-bc47f5bb88fd /home ext4 rw,errors=remount-ro 0 2
J.M. Hardin

System:
ASUS X555LA notebook

User avatar
Arjen Balfoort
Site Admin
Posts: 9333
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Can't update solydxk-system

Postby Arjen Balfoort » 24 Nov 2018 10:03

My apologies, I meant /etc/apt/sources.list
fstab has nothing to do with this.


SolydXK needs you!
Development | Testing | Translations

User avatar
BostonPeng
Posts: 472
Joined: 28 Feb 2013 14:35
Location: Boston, MA
Contact:

Re: Can't update solydxk-system

Postby BostonPeng » 24 Nov 2018 16:51

I was wondering about that.

Code: Select all

deb https://repository.solydxk.com/ solydxk-9 main upstream import
deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ stretch-backports main contrib non-free
deb https://mkvtoolnix.download/debian/ stretch main
deb-src http://mkvtoolnix.download/debian/ stretch main
deb http://security.debian.org/debian-security/ stretch/updates main
deb http://ftp.debian.org/debian/ stretch-backports main
# deb-src http://ftp.debian.org/debian/ stretch-backports main
deb http://deb.debian.org/debian/ stretch-updates main contrib non-free
J.M. Hardin

System:
ASUS X555LA notebook

User avatar
Arjen Balfoort
Site Admin
Posts: 9333
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Can't update solydxk-system

Postby Arjen Balfoort » 24 Nov 2018 18:47

As I suspected: you're pointing to solydxk-9 but you still use the old adjustments package.
First, install:

Code: Select all

apt update
apt install solydk-system-adjustments-9
When that's done, you can upgrade as usual:

Code: Select all

apt upgrade


SolydXK needs you!
Development | Testing | Translations

User avatar
BostonPeng
Posts: 472
Joined: 28 Feb 2013 14:35
Location: Boston, MA
Contact:

Re: Can't update solydxk-system

Postby BostonPeng » 24 Nov 2018 18:55

I'm getting a failure at installing solydk-system-adjustments-9.

Code: Select all

$  apt install solydk-system-adjustments-9
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  baloo
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  apparmor apparmor-profiles apparmor-profiles-extra apparmor-utils
  evolvere-icon-theme-blue-folders-flat-vivid-dark libapparmor-perl libreoffice-breeze-dark python3-apparmor
  python3-libapparmor
Suggested packages:
  vim-addon-manager
The following packages will be REMOVED:
  solydk-system-adjustments-8
The following NEW packages will be installed:
  apparmor apparmor-profiles apparmor-profiles-extra apparmor-utils
  evolvere-icon-theme-blue-folders-flat-vivid-dark libapparmor-perl libreoffice-breeze-dark python3-apparmor
  python3-libapparmor solydk-system-adjustments-9
0 upgraded, 10 newly installed, 1 to remove and 7 not upgraded.
Need to get 0 B/6,759 kB of archives.
After this operation, 54.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
(Reading database ... 421683 files and directories currently installed.)
Removing solydk-system-adjustments-8 (2.7.3) ...
find: ‘/etc/xdg/menus/debian-menu.menu’: No such file or directory
dpkg: error processing package solydk-system-adjustments-8 (--remove):
 subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
 solydk-system-adjustments-8
E: Sub-process /usr/bin/dpkg returned an error code (1)
 $ 
I tried manually removing solydk-system-adjustments-8 but got errors there as well.

Code: Select all

$  sudo apt remove solydk-system-adjustments-8
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  baloo evolvere-icon-theme-blue-folders-flat-vivid gtkhash gtkhash-common
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  solydk-system-adjustments-8
0 upgraded, 0 newly installed, 1 to remove and 7 not upgraded.
After this operation, 9,705 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 421683 files and directories currently installed.)
Removing solydk-system-adjustments-8 (2.7.3) ...
find: ‘/etc/xdg/menus/debian-menu.menu’: No such file or directory
dpkg: error processing package solydk-system-adjustments-8 (--remove):
 subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
 solydk-system-adjustments-8
E: Sub-process /usr/bin/dpkg returned an error code (1)
 $ 
J.M. Hardin

System:
ASUS X555LA notebook

User avatar
Arjen Balfoort
Site Admin
Posts: 9333
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Can't update solydxk-system

Postby Arjen Balfoort » 25 Nov 2018 10:43

I don't know what exactly is going wrong, but we can hack the postinst script of solydk-system-adjustments-8:

Code: Select all

sudo nano /var/lib/dpkg/info/solydk-system-adjustments-8.prerm
and comment the line:

Code: Select all

#remove_divert '/etc/xdg/menus/debian-menu.menu'
Ctrl-X to save and quit.

Now try to remove solydk-system-adjustments-8:

Code: Select all

apt purge solydk-system-adjustments-8
If it errors out again, you can follow the above steps until it can be removed.


SolydXK needs you!
Development | Testing | Translations

User avatar
BostonPeng
Posts: 472
Joined: 28 Feb 2013 14:35
Location: Boston, MA
Contact:

Re: Can't update solydxk-system

Postby BostonPeng » 25 Nov 2018 20:57

Thanks. I was able to get solydk-system-adjustments-8 removed, but now I"ve got errors on installing solydk-system-adjustments-9.

Code: Select all

Setting up solydk-system-adjustments-9 (2.9.7) ...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
update-initramfs: deferring update (trigger activated)
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.9.0-8-amd64
Found initrd image: /boot/initrd.img-4.9.0-8-amd64
Found linux image: /boot/vmlinuz-4.9.0-7-amd64
Found initrd image: /boot/initrd.img-4.9.0-7-amd64
Found linux image: /boot/vmlinuz-3.16.0-4-amd64
Found initrd image: /boot/initrd.img-3.16.0-4-amd64
Adding boot menu entry for EFI firmware configuration
done
dpkg-divert: error: mismatch on package
  when removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1280x1024.png by solydk-system-adjustments-9'
  found 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1280x1024.png to /usr/share/wallpapers/joy_inksplat/contents/images/1280x1024.png.divert by solydk-system-adjustments'
dpkg: error processing package solydk-system-adjustments-9 (--configure):
 subprocess installed post-installation script returned error exit status 2
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64
Errors were encountered while processing:
 solydk-system-adjustments-9
E: Sub-process /usr/bin/dpkg returned an error code (1)
 $ 
I've edited /var/lib/dpkg/info/solydk-system-adjustments-9.prerm in nano to comment out the removal of wallpapers

Code: Select all

#remove_divert '/usr/share/wallpapers'
but the error persists.
J.M. Hardin

System:
ASUS X555LA notebook

User avatar
Arjen Balfoort
Site Admin
Posts: 9333
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Can't update solydxk-system

Postby Arjen Balfoort » 26 Nov 2018 07:07

In this case you have diverts of an even older package left on your system: solydk-system-adjustments.

First check that you do not have this package installed:

Code: Select all

apt purge solydk-system-adjustments
If you haven't got that package installed, you need to remove the diverts manually.
First, list the diverts:

Code: Select all

dpkg-divert --list solydk-system-adjustments
Then, remove the divert:

Code: Select all

sudo dpkg-divert --remove /usr/share/wallpapers/joy_inksplat/contents/images/1280x1024.png
After a successfull removal, you need to be sure to remove the .divert file if it still exists:

Code: Select all

sudo rm -v /usr/share/wallpapers/joy_inksplat/contents/images/1280x1024.png.divert
With each step you take: save the output and post it back here in case things go wrong. Do not continue with the next step if it doesn't go as expected.


SolydXK needs you!
Development | Testing | Translations

User avatar
BostonPeng
Posts: 472
Joined: 28 Feb 2013 14:35
Location: Boston, MA
Contact:

Re: Can't update solydxk-system

Postby BostonPeng » 27 Nov 2018 05:48

The start wasn't too surprising.

Code: Select all

~ $  sudo apt purge solydk-system-adjustments
[sudo] password for peng: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'solydk-system-adjustments' is not installed, so not removed
The following package was automatically installed and is no longer required:
  baloo
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up solydk-system-adjustments-9 (2.9.7) ...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
update-initramfs: deferring update (trigger activated)
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.9.0-8-amd64
Found initrd image: /boot/initrd.img-4.9.0-8-amd64
Found linux image: /boot/vmlinuz-4.9.0-7-amd64
Found initrd image: /boot/initrd.img-4.9.0-7-amd64
Found linux image: /boot/vmlinuz-3.16.0-4-amd64
Found initrd image: /boot/initrd.img-3.16.0-4-amd64
Adding boot menu entry for EFI firmware configuration
done
dpkg-divert: error: mismatch on package
  when removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1280x1024.png by solydk-system-adjustments-9'
  found 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1280x1024.png to /usr/share/wallpapers/joy_inksplat/contents/images/1280x1024.png.divert by solydk-system-adjustments'
dpkg: error processing package solydk-system-adjustments-9 (--configure):
 subprocess installed post-installation script returned error exit status 2
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64
Errors were encountered while processing:
 solydk-system-adjustments-9
E: Sub-process /usr/bin/dpkg returned an error code (1)
 ~ $
Step two

Code: Select all

~ $  dpkg-divert --list solydk-system-adjustments
diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1280x1024.png to /usr/share/wallpapers/joy_inksplat/contents/images/1280x1024.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/stripes.png to /usr/share/wallpapers/stripes.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy/contents/images/1280x1024.png to /usr/share/wallpapers/joy/contents/images/1280x1024.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy/contents/images/1920x1080.png to /usr/share/wallpapers/joy/contents/images/1920x1080.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/Elarun/contents/screenshot.png to /usr/share/wallpapers/Elarun/contents/screenshot.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/Lines/contents/screenshot.png to /usr/share/wallpapers/Lines/contents/screenshot.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1920x1080.png to /usr/share/wallpapers/joy_inksplat/contents/images/1920x1080.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1280x800.png to /usr/share/wallpapers/joy_inksplat/contents/images/1280x800.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/Lines/contents/images/1280x1024.png to /usr/share/wallpapers/Lines/contents/images/1280x1024.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy_inksplat/contents/screenshot.png to /usr/share/wallpapers/joy_inksplat/contents/screenshot.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy/contents/images/1600x1200.png to /usr/share/wallpapers/joy/contents/images/1600x1200.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/Lines/contents/images/1600x1200.png to /usr/share/wallpapers/Lines/contents/images/1600x1200.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1600x1200.png to /usr/share/wallpapers/joy_inksplat/contents/images/1600x1200.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/Lines/contents/images/1920x1080.png to /usr/share/wallpapers/Lines/contents/images/1920x1080.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/Elarun/contents/images/2560x1600.png to /usr/share/wallpapers/Elarun/contents/images/2560x1600.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1024x768.png to /usr/share/wallpapers/joy_inksplat/contents/images/1024x768.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/Lines/contents/images/2560x1080.png to /usr/share/wallpapers/Lines/contents/images/2560x1080.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy/contents/images/1280x800.png to /usr/share/wallpapers/joy/contents/images/1280x800.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy/contents/images/1920x1200.png to /usr/share/wallpapers/joy/contents/images/1920x1200.png.divert by solydk-system-adjustments
diversion of /usr/share/kde4/apps/plasma-desktop/init/10-desktop-base.js to /usr/share/kde4/apps/plasma-desktop/init/10-desktop-base.js.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy/metadata.desktop to /usr/share/wallpapers/joy/metadata.desktop.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy/contents/screenshot.png to /usr/share/wallpapers/joy/contents/screenshot.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy/contents/images/1366x768.png to /usr/share/wallpapers/joy/contents/images/1366x768.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy/contents/images/1024x768.png to /usr/share/wallpapers/joy/contents/images/1024x768.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/Lines/metadata.desktop to /usr/share/wallpapers/Lines/metadata.desktop.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/Lines/contents/images/1024x768.png to /usr/share/wallpapers/Lines/contents/images/1024x768.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/Lines/contents/images/1920x1200.png to /usr/share/wallpapers/Lines/contents/images/1920x1200.png.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy_inksplat/metadata.desktop to /usr/share/wallpapers/joy_inksplat/metadata.desktop.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/Elarun/metadata.desktop to /usr/share/wallpapers/Elarun/metadata.desktop.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1366x768.png to /usr/share/wallpapers/joy_inksplat/contents/images/1366x768.png.divert by solydk-system-adjustments
diversion of /usr/share/kde4/apps/plasma-desktop/init/00-defaultLayout.js to /usr/share/kde4/apps/plasma-desktop/init/00-defaultLayout.js.divert by solydk-system-adjustments
diversion of /usr/share/kde4/apps/plasma-desktop/updates/addShowActivitiesManagerPlasmoid.js to /usr/share/kde4/apps/plasma-desktop/updates/addShowActivitiesManagerPlasmoid.js.divert by solydk-system-adjustments
diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1920x1200.png to /usr/share/wallpapers/joy_inksplat/contents/images/1920x1200.png.divert by solydk-system-adjustments
 ~ $
Step 3

Code: Select all

 $  sudo dpkg-divert --remove /usr/share/wallpapers/joy_inksplat/contents/images/1280x1024.png
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1280x1024.png to /usr/share/wallpapers/joy_inksplat/contents/images/1280x1024.png.divert by solydk-system-adjustments'
 ~ $ 
I'm still getting errors trying to finish installing solydk-system-adjustments-9

Code: Select all

~ $  sudo apt-get 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:
  baloo
Use 'sudo apt autoremove' to remove it.
The following packages have been kept back:
  remmina remmina-common remmina-plugin-nx remmina-plugin-rdp remmina-plugin-secret
  remmina-plugin-vnc
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up solydk-system-adjustments-9 (2.9.7) ...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
update-initramfs: deferring update (trigger activated)
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.9.0-8-amd64
Found initrd image: /boot/initrd.img-4.9.0-8-amd64
Found linux image: /boot/vmlinuz-4.9.0-7-amd64
Found initrd image: /boot/initrd.img-4.9.0-7-amd64
Found linux image: /boot/vmlinuz-3.16.0-4-amd64
Found initrd image: /boot/initrd.img-3.16.0-4-amd64
Adding boot menu entry for EFI firmware configuration
done
dpkg-divert: error: mismatch on package
  when removing 'diversion of /usr/share/wallpapers/Quadros/contents/images/1440x900.jpg by solydk-system-adjustments-9'
  found 'diversion of /usr/share/wallpapers/Quadros/contents/images/1440x900.jpg to /usr/share/wallpapers/Quadros/contents/images/1440x900.jpg.divert by solydk-system-adjustments-8'
dpkg: error processing package solydk-system-adjustments-9 (--configure):
 subprocess installed post-installation script returned error exit status 2
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64
Errors were encountered while processing:
 solydk-system-adjustments-9
E: Sub-process /usr/bin/dpkg returned an error code (1)
 ~ $
J.M. Hardin

System:
ASUS X555LA notebook

User avatar
Arjen Balfoort
Site Admin
Posts: 9333
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Can't update solydxk-system

Postby Arjen Balfoort » 27 Nov 2018 07:36

You'll need to remove all diversions of the solydk-system-adjustments package. You can do this with this one liner:

Code: Select all

for D in $(dpkg-divert --list solydk-system-adjustments | awk '{print $3}'); do sudo dpkg-divert --remove $D; sudo mv -f "$D.divert" "$D" 2>/dev/null; done
If there are errors, please post them back here.


SolydXK needs you!
Development | Testing | Translations

User avatar
BostonPeng
Posts: 472
Joined: 28 Feb 2013 14:35
Location: Boston, MA
Contact:

Re: Can't update solydxk-system

Postby BostonPeng » 28 Nov 2018 05:27

I'm afraid I still see errors.

Code: Select all

 ~ $  for D in $(dpkg-divert --list solydk-system-adjustments | awk '{print $3}'); do sudo dpkg-divert --remove $D; sudo mv -f "$D.divert" "$D" 2>/dev/null; done
[sudo] password for peng: 
Removing 'diversion of /usr/share/wallpapers/stripes.png to /usr/share/wallpapers/stripes.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/contents/images/1280x1024.png to /usr/share/wallpapers/joy/contents/images/1280x1024.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/contents/images/1920x1080.png to /usr/share/wallpapers/joy/contents/images/1920x1080.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Elarun/contents/screenshot.png to /usr/share/wallpapers/Elarun/contents/screenshot.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Lines/contents/screenshot.png to /usr/share/wallpapers/Lines/contents/screenshot.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1920x1080.png to /usr/share/wallpapers/joy_inksplat/contents/images/1920x1080.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1280x800.png to /usr/share/wallpapers/joy_inksplat/contents/images/1280x800.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Lines/contents/images/1280x1024.png to /usr/share/wallpapers/Lines/contents/images/1280x1024.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/screenshot.png to /usr/share/wallpapers/joy_inksplat/contents/screenshot.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/contents/images/1600x1200.png to /usr/share/wallpapers/joy/contents/images/1600x1200.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Lines/contents/images/1600x1200.png to /usr/share/wallpapers/Lines/contents/images/1600x1200.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1600x1200.png to /usr/share/wallpapers/joy_inksplat/contents/images/1600x1200.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Lines/contents/images/1920x1080.png to /usr/share/wallpapers/Lines/contents/images/1920x1080.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Elarun/contents/images/2560x1600.png to /usr/share/wallpapers/Elarun/contents/images/2560x1600.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1024x768.png to /usr/share/wallpapers/joy_inksplat/contents/images/1024x768.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Lines/contents/images/2560x1080.png to /usr/share/wallpapers/Lines/contents/images/2560x1080.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/contents/images/1280x800.png to /usr/share/wallpapers/joy/contents/images/1280x800.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/contents/images/1920x1200.png to /usr/share/wallpapers/joy/contents/images/1920x1200.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/kde4/apps/plasma-desktop/init/10-desktop-base.js to /usr/share/kde4/apps/plasma-desktop/init/10-desktop-base.js.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/metadata.desktop to /usr/share/wallpapers/joy/metadata.desktop.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/contents/screenshot.png to /usr/share/wallpapers/joy/contents/screenshot.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/contents/images/1366x768.png to /usr/share/wallpapers/joy/contents/images/1366x768.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy/contents/images/1024x768.png to /usr/share/wallpapers/joy/contents/images/1024x768.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Lines/metadata.desktop to /usr/share/wallpapers/Lines/metadata.desktop.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Lines/contents/images/1024x768.png to /usr/share/wallpapers/Lines/contents/images/1024x768.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Lines/contents/images/1920x1200.png to /usr/share/wallpapers/Lines/contents/images/1920x1200.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/metadata.desktop to /usr/share/wallpapers/joy_inksplat/metadata.desktop.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/Elarun/metadata.desktop to /usr/share/wallpapers/Elarun/metadata.desktop.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1366x768.png to /usr/share/wallpapers/joy_inksplat/contents/images/1366x768.png.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/kde4/apps/plasma-desktop/init/00-defaultLayout.js to /usr/share/kde4/apps/plasma-desktop/init/00-defaultLayout.js.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/kde4/apps/plasma-desktop/updates/addShowActivitiesManagerPlasmoid.js to /usr/share/kde4/apps/plasma-desktop/updates/addShowActivitiesManagerPlasmoid.js.divert by solydk-system-adjustments'
Removing 'diversion of /usr/share/wallpapers/joy_inksplat/contents/images/1920x1200.png to /usr/share/wallpapers/joy_inksplat/contents/images/1920x1200.png.divert by solydk-system-adjustments'
peng@solydpengteh ~ $  sudo apt-get 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:
  baloo
Use 'sudo apt autoremove' to remove it.
The following packages have been kept back:
  remmina remmina-common remmina-plugin-nx remmina-plugin-rdp remmina-plugin-secret
  remmina-plugin-vnc
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up solydk-system-adjustments-9 (2.9.7) ...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
update-initramfs: deferring update (trigger activated)
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.9.0-8-amd64
Found initrd image: /boot/initrd.img-4.9.0-8-amd64
Found linux image: /boot/vmlinuz-4.9.0-7-amd64
Found initrd image: /boot/initrd.img-4.9.0-7-amd64
Found linux image: /boot/vmlinuz-3.16.0-4-amd64
Found initrd image: /boot/initrd.img-3.16.0-4-amd64
Adding boot menu entry for EFI firmware configuration
done
dpkg-divert: error: mismatch on package
  when removing 'diversion of /usr/share/wallpapers/Quadros/contents/images/1440x900.jpg by solydk-system-adjustments-9'
  found 'diversion of /usr/share/wallpapers/Quadros/contents/images/1440x900.jpg to /usr/share/wallpapers/Quadros/contents/images/1440x900.jpg.divert by solydk-system-adjustments-8'
dpkg: error processing package solydk-system-adjustments-9 (--configure):
 subprocess installed post-installation script returned error exit status 2
Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.9.0-8-amd64
Errors were encountered while processing:
 solydk-system-adjustments-9
E: Sub-process /usr/bin/dpkg returned an error code (1)
 ~ $ 
J.M. Hardin

System:
ASUS X555LA notebook

User avatar
Arjen Balfoort
Site Admin
Posts: 9333
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Can't update solydxk-system

Postby Arjen Balfoort » 28 Nov 2018 10:30

Repeat the same line to remove all diversions from my previous post but replace solydk-system-adjustments with solydk-system-adjustments-8.


SolydXK needs you!
Development | Testing | Translations

User avatar
BostonPeng
Posts: 472
Joined: 28 Feb 2013 14:35
Location: Boston, MA
Contact:

Re: Can't update solydxk-system

Postby BostonPeng » 28 Nov 2018 21:30

That finally got things fixed. Thanks for the assists. I'll update the thread title to show it's resolved.
J.M. Hardin

System:
ASUS X555LA notebook


Return to “Software”

Who is online

Users browsing this forum: No registered users and 3 guests