:: Re: [DNG] We need upgrade reports
Inizio della pagina
Delete this message
Reply to this message
Autore: Florian Zieboll
Data:  
To: dng
Nuovi argomenti: [DNG] mount.cifs fix (was: Re: We need upgrade reports)
Oggetto: Re: [DNG] We need upgrade reports
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


On Tue, 31 Dec 2019 14:58:10 -0500
fsmithred via Dng <dng@???> wrote:

> Please upgrade




Devuan ASCII (originating from the Devuan Jessie "beta2" iso) to Beowulf
upgrade report: Lenovo ThinkPad X200 with slim login manager and a
customized LXqt desktop environment (not all lxqt-core dependencies are
installed). 


tl;dr: - The upgrade has been largely successful (besides cifs mounts!).

       - These notes might help with elogind/consolekit, busybox-syslogd
         and firefox-esr profile issues. 

       - A simple "low diskspace" workaround is provided.

       - libsystemd0 is obsolete again.

       - There is one issue with cifs-utils left for further
         investigation: Two fstab-mounted (remote) samba 4.2 shares,
         formerly writable, have turned read-only - while my ascii
         desktop has still r/w access. (As first client-side attempts
         have not been successful yet, I will look at it another day,
         together with the server.)


mentionable services, basic functionality tested OK: 
    - wicd
    - cupsd
    - libvirtd
    - bluez
    - tor
    - opensshd
    - exim4 (localhost)


additional notes: 
    - session and power management work fine
    - /etc/default/grub modified (unasked?)
    - firefox-esr refuses to start the existing profile "with an
      older version of Firefox" creating a new profile results in:
                # diff ~/.mozilla/firefox/*/compatibility.ini
    - some desktop icons (adwaita) broken
    - lxqt-powermangement now works for me, but seems to conflict
      (on hibernation only) with xfce4-powermanagement (which I had
      to use on ascii): the system /boots/ from not cleanly
      unmounted partitions with a "Read-error on swap-device", when
      both are installed.


the log:

edit /etc/apt/sources.list:

    #deb cdrom:[Debian GNU/Linux 1.0 _Jessie_ - Official Beta2 amd64 DVD Binary-1 20161128-18:28]/ jessie contrib main non-free

    deb http://pkgmaster.devuan.org/merged/ beowulf main contrib non-free
    deb-src http://pkgmaster.devuan.org/merged/ beowulf main contrib non-free
    
    deb http://pkgmaster.devuan.org/merged/ beowulf-security main contrib non-free
    deb-src http://pkgmaster.devuan.org/merged beowulf-security main contrib non-free
    
    deb http://pkgmaster.devuan.org/merged/ beowulf-updates main contrib non-free
    deb-src http://pkgmaster.devuan.org/merged beowulf-updates main contrib non-free

update package index and start upgrade process:

    # apt update && apt upgrade 
        (SNIP)
        1570 upgraded, 251 newly installed, 0 to remove, and 206 not upgraded.
        Need to get 1,489 MB of archives.
        After this operation 1,746 MB of additional disk space will be used.
        (SNIP)
    [^C]

canceled, check free disk space:

    # df -h | grep -e '\ \/$'| awk '{print $4}'
        2.1 GB

disk space is quite low, so I temporarily move apt's cache to another
partition:

    # mv /var/cache/apt/archives/* /home/florian/Desktop/apt_achives.tmp/
    # mount -o bind /home/florian/Desktop/apt_achives.tmp/ /var/cache/apt/archives/ 
    # apt upgrade
        (SNIP)
        Errors were encounted while processing:
         busybox-syslogd
        E: Sub-process /usr/bin/dpkg returned an error code (1)

trying to solve this:
    # apt --fix-broken install
        (SNIP)
        0 upgraded, 0 newly installed, 0 to remove and 206 not upgraded.
        1 not fully installed or removed.
        After this operation, 0 B of additional disk space will be used.
        Setting up busybox-syslogd (1:1.30.1-4) ...
        [....] Restarting busybox' syslogd implementation: syslogdStarting /sbin/syslogd...
        3898 (syslogd)
        . ok
        [....] Restarting busybox' klogd implementation: klogdNo klogd found running; none killed.
        Starting /sbin/klogd...
        3945 (klogd)
         failed!
        invoke-rc.d: initscript busybox-klogd, action "restart" failed.
        dpkg: error processing package busybox-syslogd (--configure):
         installed busybox-syslogd package post-installation script subprocess returned error exit status 1
        Errors were encountered while processing:
         busybox-syslogd
        E: Sub-process /usr/bin/dpkg returned an error code (1)
    # tail -l 15 /var/log/apt/term.log
        Log started: 2020-01-06  12:11:42
        Setting up busybox-syslogd (1:1.30.1-4) ...
        [....] Restarting busybox' syslogd implementation: syslogdStarting /sbin/syslogd...
        3898 (syslogd)
        ?[?25l?[?1c?7?[1G[?[32m ok ?[39;49m?8?[?25h?[?0c.
        [....] Restarting busybox' klogd implementation: klogdNo klogd found running; none killed.
        Starting /sbin/klogd...
        3945 (klogd)
        ?[?25l?[?1c?7?[1G[?[31mFAIL?[39;49m?8?[?25h?[?0c ?[31mfailed!?[39;49m
        invoke-rc.d: initscript busybox-klogd, action "restart" failed.
        ?[1mdpkg:?[0m error processing package busybox-syslogd (--configure):
         installed busybox-syslogd package post-installation script subprocess returned error exit status 1
        Errors were encountered while processing:
         busybox-syslogd
        Log ended: 2020-01-06  12:12:05
    # dpkg -P busybox-syslogd
    # apt install busybox-syslogd
    # apt upgrade
        (SNIP)
        0 upgraded, 0 newly installed, 0 to remove and 206 not upgraded.
    [exit 0]

That's fine, so:
    # reboot
    # apt dist-upgrade
        (SNIP)
        The following packages will be REMOVED:
          claws-mail-fancy-plugin cups-pdf elogind gnome-themes-standard-data libboost-python1.62.0 libclamav7 libclamunrar7 libcupscgi1 libcupsmime1 libcupsppdc1 libcurl3 libgsl2 libllvm3.8 libllvm3.9 libpam-elogind libqalculate5-data libqalculate5v5 libqt5scintilla2-12v5 libqt5scintilla2-l10n libreoffice-style-galaxy libsensors4
    [^C]

cancel and check for alternatives with aptitude (the accepted one comes
quite late):

    # aptitude dist-upgrade
        Accept this solution? [Y/n/q/?] n
        The following actions will resolve these dependencies:
        
              Remove the following packages:
        1)      claws-mail-fancy-plugin [3.14.1-3+b1 (now)]
        2)      consolekit [1.2.1-8~beowulf1 (now, testing)]
        3)      cups-pdf [2.6.1-22 (now)]
        4)      libclamav7 [0.100.3+dfsg-0+deb9u1 (now)]
        5)      libclamunrar7 [0.100.1-0+deb9u1 (now)]
        6)      libllvm3.8 [1:3.8.1-24 (now)]
        7)      libpam-elogind [234.4-2 (now)]
        8)      libpolkit-backend-consolekit-1-0 [0.105-25+devuan0~bpo2+1 (now)]
        9)      libpolkit-gobject-consolekit-1-0 [0.105-25+devuan8 (now, testing)]
        10)     libreoffice-style-galaxy [1:5.2.7-1+deb9u11 (now)]
        
              Install the following packages:
        11)     libpolkit-backend-elogind-1-0 [0.105-25+devuan8 (testing)]
        12)     libpolkit-gobject-elogind-1-0 [0.105-25+devuan8 (testing)]
        
              Keep the following packages at their current version:
        13)     elogind [234.4-2 (now)]
        14)     libelogind0 [234.4-2 (now)]
    [^C]

cancelled and try manually
    # apt install libpolkit-backend-elogind-1-0 libpolkit-gobject-elogind-1-0
        The following packages were automatically installed and are no longer required:
        (SNIP)
        Use 'sudo apt autoremove' to remove them.
        The following packages will be REMOVED:
          consolekit libpolkit-backend-consolekit-1-0 libpolkit-gobject-consolekit-1-0
        The following NEW packages will be installed:
         libpolkit-backend-elogind-1-0 libpolkit-gobject-elogind-1-0
        0 upgraded, 2 newly installed, 3 to remove and 204 not upgraded.
        (SNIP)
    [exit 0]

consolekit has been replaced by elogind, now again:
    # apt dist-upgrade
        (SNIP)
        The following packages will be REMOVED:
         claws-mail-fancy-plugin cups-pdf gnome-themes-standard-data libboost-python1.62.0 libclamav7 libclamunrar7 libcupscgi1 libcupsmime1 libcupsppdc1 libcurl3 libgsl2 libllvm3.8 libllvm3.9 libqalculate5-data libqalculate5v5 libqt5scintilla2-12v5 libqt5scintilla2-l10n libreoffice-style-galaxy libsensors4
        (SNIP)
        The following packages have been kept back:
         elogind libelogind0 libpam-elogind
    [^C]

cancelled, force upgrade of "kept back" packages (surprise!):
    # apt install --reinstall elogind libelogind0 libpam-elogind
        (SNIP)
        The following packages will be REMOVED:
          libsystemd0
        The following packages will be upgraded:
          elogind libelogind0 libpam-elogind
        3 upgraded, 0 newly installed, 1 to remove and 201 not upgraded.
    [exit 0]

once again:
    # apt dist-upgrade
        (SNIP)
        The following packages will be REMOVED:
         claws-mail-fancy-plugin cups-pdf gnome-themes-standard-data libboost-python1.62.0 libclamav7 libclamunrar7 libcupscgi1 libcupsmime1 libcupsppdc1 libcurl3 libgsl2 libllvm3.8 libllvm3.9 libqalculate5-data libqalculate5v5 libqt5scintilla2-12v5 libqt5scintilla2-l10n libreoffice-style-galaxy libsensors4
        (SNIP)
        201 upgraded, 242 newly installed, 19 to remove and 0 not upgraded.
    [exit 0]

cleanup, reboot:
    # apt autoremove
    # reboot

trying to install previously removed packages:
    # apt install claws-mail-fancy-plugin cups-pdf gnome-themes-standard-data libboost-python1.62.0 libclamav7 libclamunrar7 libcupscgi1 libcupsmime1 libcupsppdc1 libcurl3 libgsl2 libllvm3.8 libllvm3.9 libqalculate5-data libqalculate5v5 libqt5scintilla2-12v5 libqt5scintilla2-l10n libreoffice-style-galaxy libsensors4
        (SNIP)
        Package gnome-themes-standard-data is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or is only available from another source
        However the following packages replace it:
          gnome-themes-extra-data adwaita-icon-theme

        Package libcurl3 is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or is only available from another source
        However the following packages replace it:
          libcurl4

        Package libqalculate5v5 is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or is only available from another source
        However the following packages replace it:
          libqalculate20-data libqalculate20

        Package libqalculate5-data is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or is only available from another source
        However the following packages replace it:
          libqalculate20-data

        Package libqt5scintilla2-12v5 is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or is only available from another source
        However the following packages replace it:
          libqscintilla2-qt5-dev

        Package libqt5scintilla2-l10n is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or is only available from another source
        However the following packages replace it:
          libqscintilla2-qt5-l10n

        Package libreoffice-style-galaxy is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or is only available from another source

        Package libsensors4 is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or is only available from another source
        However the following packages replace it:
          libsensors-config

        Package libllvm3.8 is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or is only available from another source

        Package libllvm3.9 is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or is only available from another source

        Package libboost-python1.62.0 is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or is only available from another source

        Package claws-mail-fancy-plugin is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or is only available from another source
    
    looking around shows, besides claws-mail-fancy-plugin, all
    these packages are no longer required ("apt-mark auto $PKGNAME"
    to revert a packages state therby changed to "manually
    installed" back to "auto") - so I cancel this step. Good bye
    "fancy" claws-mail -_-

cleanup:
    # debfoster -o UseSuggests=yes

Finally, I looked through the dependencies of lxqt-core and its
recommends/suggests and installed a couple of reasonable, new lxqt-*
and *-qt packages like lxqt-powermanagement (mentioned above).



Libre Grüße and the very best regards,
Florian



-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEELAr/aHjRNwfZVZJo7kVJef5EH9YFAl4TrW4ACgkQ7kVJef5E
H9Yy7g/5AWxKTHoZHuVFzLM+uqABUJGcRCxmquCrton1Q8t+nYu7zSG2oapkQhcq
ufdVoGbACM5vqkg+TQdoUm6TSKthUE0tgk2ogqNquZHaoeAx5xmi37g6tHKc3kYf
pGQ41sxUwmFLf1rfkDkdL8ox5lN08nJ8tUG9GF5mGRBxR82koPxALPUxWO+WFSfA
wZrakSqJls37H86Lz/T7uWqQ/mLGHwOgtMRFENz85O4mW/ygn+RqWNJPMsftxSmy
i7oT4Xf6r3Hd79NZMMsV6Tt4Jb2BT0UOUMJUURb+Gz/qeL9y4qKmlA4+Uty28T06
oGy7fzrN5EoVMccb2+oLdK9pV4qJp/ozK/oRnD5VpXQKHa5H6FgtucIYGRlpQPpo
izQ2aj6SIZsnXwdFG0LqftWLS7y0Wz73m/hao+cEkb1dZ5q2OTUD1b8ZlKWDu/w9
t5DtzsnWswDsEyeKmpJBXU5RMlAQmZwY89lP9ltjtqIr2B43bfeSZb2PSmdfGxl0
tI1/0IBbLWGqKkrFZYEHmHDOtQVxu2Aw2gYuO6zcEjfD5BCMPOpecm+F0s4P2vWA
Vbjoy4D4fEQhA3e4lC0glMA5kKiTYX0qVtAoXwLAZyP95cMfRt8FIYwZt7ikeeS2
SOT/vrw31i6yKzs/6GbsUYtbnj51vbaAfGMCcEtqWGXuKgVYBR4=
=OgNN
-----END PGP SIGNATURE-----