:: Re: [devuan-dev] [DNG] Migrating fr…
Top Pagina
Delete this message
Reply to this message
Auteur: José Marinho
Datum:  
Aan: Mark Hindley, devuan developers internal list, Dng
Onderwerp: Re: [devuan-dev] [DNG] Migrating from Buster to Beowulf - feedback needed
Hi all,

>From a brand new debian server installation on Virtualbox I install desktop stuff by installing task-xfce-destop metapackage and try your instructions. I don't know if I miss or misunderstand something. What I got was this:


After installing devuan-keyring, changing apt sources, updating apt sources, editing /var/lib/dpkg/status file for removing systemd-sysv of the end of the line, do an "apt install --purge sysvinit-core dbus dbus-x11 libnss-systemd" and rebooting the system, when I rebooted I notice that
when the system start after the reboot, it gets stuck on dbus and avahi-daemon delaying init much more than usual. Besides this, it delays too a lot when I try to log in the system by console or ssh. When I finally reach a root console and issue : "apt install --purge policykit-1" I get this
output:

apt install --purge policykit-1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
 policykit-1 : Depends: libpolkit-agent-1-0 (= 0.105-25+devuan4) but 0.105-25 is to be installed
               Depends: libpolkit-backend-1-0 (= 0.105-25+devuan4)
               Depends: libpolkit-gobject-1-0 (= 0.105-25+devuan4)
E: Unable to correct problems, you have held broken packages.


I hope this will help

Jose

> ----------------------------------------
> From: Mark Hindley <mark@???>
> Sent: Tue Sep 10 13:59:58 CEST 2019
> To: devuan developers internal list <devuan-dev@???>, Dng <dng@???>
> Subject: Re: [DNG] [devuan-dev] Migrating from Buster to Beowulf - feedback needed
>
>
> I have been further testing ways of migrating buster to beowulf.
>
> With a install of xfce4 and lightdm, the cleanest way I can come up with is:
>
> # Migrate from Debian buster to Devuan beowulf
>
> # Install devuan-keyring
> wget http://pkgmaster.devuan.org/devuan/pool/main/d/devuan-keyring/devuan-keyring_2017.10.03_all.deb
> dpkg -i devuan-keyring_2017.10.03_all.deb
>
> # Change APT sources
> cat > /etc/apt/sources.list <<EOF
> deb http://pkgmaster.devuan.org/merged beowulf main
> deb http://pkgmaster.devuan.org/merged beowulf-security main
> EOF
>
> apt update
>
> # If you have libpam-systemd installed this is an optional and very hackish fix
> # for Debian #935304 which is now closed with wontfix.
> #
> # Don't do this if you are at all unsure.
> #
> # 1) Ensure you create a backup!
> # 2) Open /var/lib/dpkg/status with an editor
> # 3) Find libpam-systemd Depends. The line looks like
> #     Depends: libc6 (>= 2.28), libpam0g (>= 0.99.7.1), systemd (= 241-7~deb10u1), libpam-runtime (>= 1.0.1-6), dbus, systemd-sysv
> # 4) Remove ', systemd-sysv from the end of the line, leaving the rest of the line intact
> # 5) Save file
> cp /var/lib/dpkg/status /var/lib/dpkg/status.save
> editor /var/lib/dpkg/status

>
> # Install new init and dbus.
> # Ensure we will have dbus-x11 to provide dbus-session-bus after systemd is gone.
> # Remove libnss-systemd to avoid delays on nss lookups after reboot.
> apt install --purge sysvinit-core dbus dbus-x11 libnss-systemd-
>
> reboot
>
> # If you have policykit-1 installed, update it.
> # This will also purge systemd* and install libpam-elogind
> apt install --purge policykit-1
>
> # The rest of the migration (base-files, eudev, etc)
> # This will also purge sytemd* if not already done.
> apt --purge full-upgrade
>
> # Optionally, if you didn't edit /var/lib/dpkg/status above
> # Reinstall whatever desktop and display manager was removed
> # apt install xfce4 lightdm
>
> # Change ens3 to eth0 in /etc/network/interfaces
> sed s/ens3/eth0/ -i /etc/network/interfaces
>
> reboot
>
> # Remove cruft
> apt autoremove --purge
>
> Done!
>
> The transitional systemd-sysv package I talked about a few days ago to smooth
> over #935304 isn't going to work as I had forgotten that sysvinit-core conflicts
> with systemd-sysv.
>
> The hack to work around #935304 by editing /var/lib/dpkg/status is not pretty at
> all. If you don't want it you will have to accept removal of some GUI components
> with libpam-systemd and then reinstall them after libpam-elogind is in place.
>
> I hope the instructions are reasonably clear.
>
> Do give feedback.
>
> Thanks
>
> Mark
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng



-- 
Sent with https://mailfence.com
Secure and private email