Posts: 307
eugen-b
Joined: 23 Aug 2015
#1
I've instaled antiX 12 (EDIT: antiX 13) base on my Via thin client. Now before the first upgrade I would like to know whether I can uninstall systemd and if yes - how?
Does it play any role there or is it as a dependency for a package which cannot without?
Last edited by eugen-b on 11 Dec 2015, 10:17, edited 2 times in total.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
antiX-12 does not have systemd. It was IIRC abased on pre-wheezy which also doesn't have systemd.
Just don't use the testing repos.
Posts: 307
eugen-b
Joined: 23 Aug 2015
#3
It was typo! I installed antix 13.1 base. I have stable Wheezy repos. Is the repo deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antix.daveserver.info/stable"
linktext was:"http://antix.daveserver.info/stable"
====================================
stable main
ok for it, BTW?
I also found out that it you cannot put commit=180 into fstab options, the system will be read-only.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#4
If you don't mind install errors when a application install requires a systemd library.
You can try putting this in

Code: Select all

harry@biker:/ etc/apt/preferences.d
$ cat 00systemd 
Package: *systemd*
Pin: origin""
Pin-Priority: -1
harry@biker:/ etc/apt/preferences.d
You will have to make the 00systemd text file by hand. Save it and reboot. Then apt-get update && apt-get dist-upgrade in root terminal to see how well things pan out. It is how I break stuff in experiments. Daves stable repo you mentioned should be just fine. My suggestion is more of a experiment than anything else. It will lock down any systemd libs from downloading on your thin client I would think.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#5
If you keep to wheezy repos then you will not get systemd
Posts: 307
eugen-b
Joined: 23 Aug 2015
#6
Thanks for replies!

I only added the MEPIS repo after installing to get palemoon, checkaptpgp and some other goodies.
I don't have any repos higher than wheezy-backports. I will attach /var/log/apt/history.log to show that I didn't install systemd.
systemd version is 44-11 from wheezy and must have got installed by the installer.
Is it safe to remove systemd related packages at this point with Synaptic?
I checked manually the dependencies and only systemback stuff seems to depend on it heavily.
There is also udev, but it seems to damage systemd <28. This is not a problem, is it?

I'm gonna make a btrfs snapshot and then remove systemd and do the upgrades. If it fails, I'll try rokytnji's tip.
PS: Sorry, cannot upload any type of text file. __{{emoticon}}__

Code: Select all

Start-Date: 2015-11-28  00:58:27
Commandline: apt-get -f install checkaptgpg epdfview libpoppler-glib8 libpoppler19
Install: checkaptgpg:i386 (0.3mcr120+2), libpoppler19:i386 (0.18.4-6), libpoppler-glib8:i386 (0.18.4-6)
End-Date: 2015-11-28  00:58:42

Start-Date: 2015-11-28  01:02:16
Commandline: apt-get install antix-archive-keyring
Upgrade: antix-archive-keyring:i386 (2013.03.23, 20015.3.14)
End-Date: 2015-11-28  01:02:20

Start-Date: 2015-11-28  01:09:42
Commandline: apt-get install synaptic
Install: libept1.4.12:i386 (1.0.9, automatic), libvte9:i386 (0.28.2-5, automatic), libxapian22:i386 (1.2.12-2, automatic), synaptic:i386 (0.75.13), libvte-common:i386 (0.28.2-5, automatic)
End-Date: 2015-11-28  01:10:10

Start-Date: 2015-11-28  01:32:50
Commandline: synaptic
Upgrade: btrfs-tools:i386 (0.19+20120328-7.1, 3.17-1.1~bpo70+1)
End-Date: 2015-11-28  01:33:35

Start-Date: 2015-11-28  01:41:24
Commandline: synaptic
Remove: xulrunner-22.0:i386 (22.0~b1-1~bpo70+1)
Purge: gecko-mediaplayer:i386 (1.0.6-1), iceweasel:i386 (22.0~b1-1~bpo70+1), libmozjs22d:i386 (22.0~b1-1~bpo70+1)
End-Date: 2015-11-28  01:41:43

Start-Date: 2015-11-28  01:49:42
Commandline: synaptic
Install: libobrender29:i386 (3.5.2-6~bpo70+1), obconf:i386 (2.0.4-2~bpo70+1), tint2:i386 (0.11+svn20111022-3), openbox:i386 (3.5.2-6~bpo70+1), obmenu:i386 (1.0-2+nmu1), libobt2:i386 (3.5.2-6~bpo70+1)
End-Date: 2015-11-28  01:50:17

Start-Date: 2015-11-28  14:56:02
Commandline: synaptic
Install: palemoon:i386 (25.8.0-1mcr120+1), libdnet:i386 (2.60, automatic)
Upgrade: libnss3:i386 (3.14.3-1, 3.17-1mcr120+1)
End-Date: 2015-11-28  14:56:52

Start-Date: 2015-11-28  16:02:57
Commandline: apt-get install wmctrl
Install: wmctrl:i386 (1.07-7)
End-Date: 2015-11-28  16:03:09
Posts: 307
eugen-b
Joined: 23 Aug 2015
#7
I was able to remove most systemd stuff, but one last remained

Code: Select all

root@antiX13:/home/eugen# LC_ALL=en aptitude purge libsystemd-login0
The following packages will be REMOVED:  
  libsystemd-login0{p} 
0 packages upgraded, 0 newly installed, 1 to remove and 219 not upgraded.
Need to get 0 B of archives. After unpacking 86.0 kB will be freed.
The following packages have unmet dependencies:
 dbus : Depends: libsystemd-login0 (>= 31) but it is not going to be installed.
The following actions will resolve these dependencies:
      Remove the following packages:
1)      antix-cc-base-antix         
2)      consolekit                  
3)      dbus                        
4)      dbus-x11                    
5)      exit-antix                  
6)      gconf2                      
7)      gksu                        
8)      libgksu2-0                  
9)      slim                        
10)     udisks                      
11)     upower                      
12)     user-management-antix       
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:
     Upgrade the following packages:                              
1)     libsystemd-login0 [44-11 (now) -> 44-11+deb7u4 (oldstable)]
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:
     Keep the following packages at their current version:
1)     libsystemd-login0 [44-11 (now)]                    
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:
     Upgrade the following packages:                                       
1)     libsystemd-login0 [44-11 (now) -> 204-14~bpo70+1 (wheezy-backports)]
Accept this solution? [Y/n/q/?] n
*** No more solutions available ***
The following actions will resolve these dependencies:
     Upgrade the following packages:                                       
1)     libsystemd-login0 [44-11 (now) -> 204-14~bpo70+1 (wheezy-backports)]
Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.
Posts: 307
eugen-b
Joined: 23 Aug 2015
#8

Code: Select all

eugen@antiX13:~
$ inxi -F
System:    Host: antiX13 Kernel: 4.2.1-antix.2-486-smp i686 (32 bit) 
           Desktop: Openbox 3.5.2 Distro: antiX-13.1_386-base Luddite 19 June 2013
Machine:   Mobo: VIA model: VX800 version: 1.0 Bios: Phoenix version: 6.00 PG date: 09/15/2010
CPU:       Single core VIA Eden (-UP-) cache: 128 KB flags: (nx pae sse sse2 sse3) clocked at 1000.00 MHz 
Graphics:  Card: VIA VX800/VX820 Chrome 9 HC3 Integrated Graphics 
           X.Org: 1.12.4 drivers: openchrome (unloaded: fbdev,vesa) Resolution: 1366x768@60.0hz 
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 0x209) GLX Version: 2.1 Mesa 8.0.5
Audio:     Card: VIA VT8237A/VT8251 HDA Controller driver: snd_hda_intel Sound: ALSA ver: k4.2.1-antix.2-486-smp
Network:   Card-1: Realtek RTL-8110SC/8169SC Gigabit Ethernet driver: r8169 
           IF: eth0 state: down mac: 00:1f:1e:02:63:31
           Card-2: Ralink RT2790 Wireless 802.11n 1T/2R PCIe driver: rt2800pci 
           IF: wlan0 state: up mac: 00:15:af:7a:2a:d9
Drives:    HDD Total Size: 36.0GB (4.6% used) 1: id: /dev/sda model: LITEONIT_LSS size: 32.0GB 
           2: id: /dev/sdb model: SanDisk_SDCFH size: 4.0GB 
Partition: ID: / size: 3.8G used: 1.6G (48%) fs: btrfs 
Sensors:   System Temperatures: cpu: 37.0C mobo: N/A 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 109 Uptime: 1 min Memory: 77.4/2779.3MB Client: Shell (bash) inxi: 1.9.9
But RAM started with 67MB, my record!
I installed 4.2.1-antix.2-486-smp kernel from antiX stable repo, to have a pure antiX experience, not the Liquirix pae kernel I use to install. Will tell, if I see any difference, also between pae and non-pae.
Perhaps I can live with one systemd library. But if you know a way to get rid of libsystemd-login0 please tell me.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#9
As far as I know there are no backported nosystemd debs for wheezy, since wheezy by default shipped with sysvinit and some *harmless* systemd libs. That means you cannot get a nosystemd dbus for example, unless you upgrade to jessie. But if you did that, you might as well start with antiX-15.
Posts: 307
eugen-b
Joined: 23 Aug 2015
#10
anticapitalista wrote:As far as I know there are no backported nosystemd debs for wheezy, since wheezy by default shipped with sysvinit and some *harmless* systemd libs. That means you cannot get a nosystemd dbus for example, unless you upgrade to jessie. But if you did that, you might as well start with antiX-15.
Thanks for the info. For me materially important question was whether antiX 13 will run if I uninstall systemd - it does. And if there were some antiX 13 scripts that relied on systemd you would have told me. Having one library is as good as it gets. Backporting udev or installing it from Jessie - a technological challenge, but no need.
(I installed on wattOS some LXDE packages from Jessie like the lxpanel, it works but takes >150MB disk space with the additional Angst that these packages will break my system some time in the future. Since I discovered tint2 on Openbox, I don't need the new, fixed LXDE panel from Jessie. Tint2 works perfectly in vertical position!)
I will mark this as solved after I have observed the system without systemd packages a day or two.