Page 1 of 2

finding my way back with nemesis: an Alzheimer's journal

Posted: 01 Aug 2018, 01:15
by francois
It has been sometime that I worked with nemesis. My brain seems to have some holes. I will us this thread to fill the missing information on various topics. So this should be an organized summary of my late knowledge to get nemesis working out. Here are a few topics where the knowledge is missing:

1.0 Starting nemesis.
1.111 Starting nemesis frugal install (hdd install) with grub2 installed on debian partition:
Work in progress:
grub2 menu entry (bis)
1.112 Updating grub on debian installation from nemesis:

Code: Select all

mkdir /mnt/chroot &&
mount /dev/sdb3 /mnt/chroot &&
mount --bind /dev /mnt/chroot/dev &&
mount --bind /proc /mnt/chroot/proc &&
mount --bind /sys /mnt/chroot/sys &&
chroot /mnt/chroot
1.12 Installing grub2 with blaze strategy from porteus: ***find the link***
1.2 setup-pman to update database

Code: Select all

setup-pman
2.0 Installing additional packages.
Just try porteus packages some of them might work directly under nemesis. this is the case for libre-office B)
2.1 Error message of the kind: Errors occurred, no packages were upgraded.

Code: Select all

[guest@porteus ~]$ sudo pman -S midori  
[sudo] password for guest: 
resolving dependencies...
looking for conflicting packages...

Packages (21) aria2-1.34.0-1  aspell-0.60.6.1-5  brotli-1.0.5-1
              c-ares-1.14.0-1  enchant-2.2.3-1  geoclue2-2.4.11-1
              gst-plugins-base-libs-1.14.2-1  gstreamer-1.14.2-1
              harfbuzz-icu-1.8.4-1  hspell-1.4-1  hunspell-1.6.2-1
              hyphen-2.8.8-2  libvoikko-4.1.1-1  libxslt-1.1.32+3+g32c88216-1
              libxss-1.2.2-3  telepathy-glib-0.24.1-2  webkit2gtk-2.20.3-1
              woff2-1.0.2-1  xapian-core-1:1.4.6-1  zeitgeist-1.0+1+g1bcc8585-1
              midori-0.5.11-8

Total Download Size:    37.05 MiB
Total Installed Size:  203.84 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 libxss-1.2.2-3-x86_64     13.4 KiB  0.00B/s 00:00 [######################] 100%
 libxslt-1.1.32+3+g3...   361.9 KiB  3.61M/s 00:00 [######################] 100%
 aspell-0.60.6.1-5-x...   584.2 KiB  8.04M/s 00:00 [######################] 100%
 hunspell-1.6.2-1-x86_64  235.6 KiB  8.85M/s 00:00 [######################] 100%
 hspell-1.4-1-x86_64      657.3 KiB  8.23M/s 00:00 [######################] 100%
 libvoikko-4.1.1-1-x...   131.0 KiB  9.14M/s 00:00 [######################] 100%
 enchant-2.2.3-1-x86_64    38.8 KiB  9.47M/s 00:00 [######################] 100%
 geoclue2-2.4.11-1-x...   153.9 KiB  8.84M/s 00:00 [######################] 100%
 gstreamer-1.14.2-1-...  1935.2 KiB  8.08M/s 00:00 [######################] 100%
 gst-plugins-base-li...     2.0 MiB  8.08M/s 00:00 [######################] 100%
 harfbuzz-icu-1.8.4-...     6.9 KiB  0.00B/s 00:00 [######################] 100%
 hyphen-2.8.8-2-x86_64     15.3 KiB  0.00B/s 00:00 [######################] 100%
 woff2-1.0.2-1-x86_64      52.5 KiB  10.2M/s 00:00 [######################] 100%
 telepathy-glib-0.24...  1604.5 KiB  7.83M/s 00:00 [######################] 100%
 xapian-core-1:1.4.6...  1762.8 KiB  8.08M/s 00:00 [######################] 100%
 c-ares-1.14.0-1-x86_64   103.6 KiB   488K/s 00:00 [######################] 100%
 webkit2gtk-2.20.3-1...    24.8 MiB  6.94M/s 00:04 [######################] 100%
 zeitgeist-1.0+1+g1b...   345.3 KiB  7.84M/s 00:00 [######################] 100%
 aria2-1.34.0-1-x86_64   1191.1 KiB  5.31M/s 00:00 [######################] 100%
 brotli-1.0.5-1-x86_64    301.1 KiB  7.95M/s 00:00 [######################] 100%
 midori-0.5.11-8-x86_64  1004.8 KiB  4.74M/s 00:00 [######################] 100%
(21/21) checking keys in keyring                   [######################] 100%
(21/21) checking package integrity                 [######################] 100%
(21/21) loading package files                      [######################] 100%
(21/21) checking for file conflicts                [######################] 100%
error: failed to commit transaction (conflicting files)
libxss: /usr/lib/libXss.so exists in filesystem
libxss: /usr/lib/libXss.so.1 exists in filesystem
libxss: /usr/lib/libXss.so.1.0.0 exists in filesystem
Errors occurred, no packages were upgraded.

 Multiple packages were detected. 

Would you like to merge them into one module? [y/n]
Solution:

2.2 Build modules with pacman -Uddr and mksquashfs commands.
This is stifiling or ncmprhnsbl solution to build modules without pman, at least for the most fundamental one to your installation:
Porteus/Arch aka Sensei (Porteus w/pacman package manager)
Example to build gimp.

3.0 The printing and scanning solution: installing scanner for brother printer with debtap which needs base-devel and yaourt openrc the system behind nemesis: printing as an example

Do not forget to start the avahi-daemon and cups.
viewtopic.php?f=137&t=6909

Code: Select all

rc-update add avahi-daemon default &&
rc-service cupsd start &&
rc-update add cupsd default
4.0 Installing an automatic package installer: I like octopi Octopi package manager gui front-end: nemesis-artix

***to be developped****

finding back my way with nemesis: an Alzheimer's journal

Posted: 01 Aug 2018, 02:42
by ncmprhnsbl
francois wrote:
01 Aug 2018, 01:15
error: failed to commit transaction (conflicting files)
libxss: /usr/lib/libXss.so exists in filesystem
libxss: /usr/lib/libXss.so.1 exists in filesystem
libxss: /usr/lib/libXss.so.1.0.0 exists in filesystem
from: 2018 Updated Nemesis Base Modules (Post by neko #65467)
nemesis-xfce-18.07.07-x86_64@porteus/modules/libxss-1.2.2-x86_64-3.xzm]
libxss-1.2.2-x86_64-3.xzm includes the google-chrome dependency libraries (libXss.so libXss.so.1 libXss.so.1.0.0).
i don't think nekos module (from aporteus) has packages that pacman tracks..(hence the 'exists in filesystem' messages)
so in this case, just deactivating that module before pman'ing would have worked.

finding back my way with nemesis: an Alzheimer's journal

Posted: 01 Aug 2018, 11:52
by neko
libxss-1.2.2-x86_64-3 was obtained by APorteus tool, not pacman.
Therefor this libxss-1.2.2-x86_64-3 is out of the control of pacman.
If pacman will be used, delete (deactivate) this libxss-1.2.2-x86_64-3 and obtain one by packman.

Excuse me, that I don't know how to use pacman well.

Thanks.

finding back my way with nemesis: an Alzheimer's journal

Posted: 03 Aug 2018, 03:06
by francois
I will download ncmprhnsbl module.
Thanks for the information.

finding back my way with nemesis: an Alzheimer's journal

Posted: 05 Sep 2018, 02:44
by francois
Neko:
I am still your version. Will it work only in guest mode?

Code: Select all

login=root
cheatcode does not work.

ncmp...
Will trading your xfce4 module be enough to work in root mode?

Nemesis is really fast on my old dell desktop.

Thanks.

finding back my way with nemesis: an Alzheimer's journal

Posted: 05 Sep 2018, 03:26
by ncmprhnsbl
nekos' iso is made from my base modules(including xfce4) with chrome and libxss added as modules in the module folder, so such a trade will accomplish nothing :) note that nekos' iso is not currently up to date with my updated modules(which i'm due to update again, probly next week)
the login= cheatcode is not functional
so either:
boot to text mode(i think that works? maybe not..) login to root then startx
or
if you want to autologin to root> edit /etc/conf.d/agetty.tty1 > change line 8: agetty_options="--autologin=guest" to root and
copy bash_profile from /home/guest to /root
an idea might be to create a module(say called root.xzm) with those files/settings and put it in optional and use cheatcode load=root

finding my way back with nemesis: an Alzheimer's journal

Posted: 07 Sep 2018, 02:09
by francois
Good or just put these files in rootcopy.

Thanks.

finding my way back with nemesis: an Alzheimer's journal

Posted: 08 Sep 2018, 04:58
by neko
@francois & @ncmprhnsbl
I studied
/etc/rc.d/rc.4 of 003-xfce.xzm of Porteus 4.0
and
/etc/init.d/prelogin of 001-core-20180706.xzm of nemesis.

Then I understood that ncmprhnsbl's answer is the best.
I too made xfce-root-home.xzm.

Code: Select all

# lsxzm xfce-root-home.xzm
/etc
/etc/conf.d
/etc/conf.d/agetty.tty1
/root
/root/.bash_profile
/root/.config
/root/.config/autostart
/root/.config/autostart/volumeicon.desktop
/root/.config/mimeapps.list
/root/.config/volumeicon
/root/.config/volumeicon/volumeicon
/root/.config/xfce4
/root/.config/xfce4/desktop
/root/.config/xfce4/desktop/icons.screen0-1350x723.rc
/root/.config/xfce4/panel
/root/.config/xfce4/panel/launcher-7
/root/.config/xfce4/panel/launcher-7/14063964301.desktop
/root/.config/xfce4/panel/launcher-9
/root/.config/xfce4/panel/launcher-9/14063965033.desktop
/root/.config/xfce4/terminal
/root/.config/xfce4/terminal/accels.scm
/root/.config/xfce4/terminal/terminalrc
/root/.config/xfce4/xfconf
/root/.config/xfce4/xfconf/xfce-perchannel-xml
/root/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml
/root/.config/xfce4/xfconf/xfce-perchannel-xml/thunar-volman.xml
/root/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml
/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-appfinder.xml
/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml
/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-notifyd.xml
/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml
/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml
/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-settings-manager.xml
/root/.config/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml
/root/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
/root/.config/xfce4/xfwm4
/root/.gtkrc-2.0
/root/.local
/root/.local/share
Note:
Owner & Groop properties of all files under /root are root.

Thanks.

finding my way back with nemesis: an Alzheimer's journal

Posted: 11 Sep 2018, 18:15
by francois
agetty.tty1
bash_profile
to rootcopy with necessary folders worked great.

Thanks.

Re: finding my way back with nemesis: an Alzheimer's journal

Posted: 14 Dec 2018, 03:49
by francois
With the chrismas holiday coming. This will be an opportunity to work some time on nemesis, porteus and portubuntu. :happy62:

Added in the first link the solution for the scanner, compatibility with porteus (slackware modules).

finding my way back with nemesis: an Alzheimer's journal

Posted: 15 Dec 2019, 03:02
by francois
@ncmprhnsbl:
I have been running with same nemesis since last march. But not used it for many months. Chromium works fine. What can I do to keep the same setting up-to-date?

Thanks.

finding my way back with nemesis: an Alzheimer's journal

Posted: 15 Dec 2019, 12:13
by ncmprhnsbl
do you have a changes folder?

finding my way back with nemesis: an Alzheimer's journal

Posted: 15 Dec 2019, 12:57
by francois
Yes I do, but I try to do without it. For example, I build modules with the -Uddr method (2.2 Build modules with pacman -Uddr and mksquashfs commands) in first post.

finding my way back with nemesis: an Alzheimer's journal

Posted: 16 Dec 2019, 03:38
by ncmprhnsbl
well .. i'd try swapping out the base modules with the latest 2019 Updated Nemesis Base Modules and see what happens .. back up the old ones just in case ..

finding my way back with nemesis: an Alzheimer's journal

Posted: 18 Oct 2020, 02:09
by francois
For some reason, I am unable to run plank at bootup:
First method:
mnt/sdb3/1_nemesis/changes/etc/xdg/autostart/plank.desktop (file from /usr/share/applications was transfered to /xdg/autostart)
Second method:
Added plank thru nemesis menu < settings < sessions and startup < applications autostart < plank (has been added as a command)

Code: Select all

[guest@porteus ~]$ sudo plank
[sudo] password for root: 
[WARN 07:59:48.144835] [Environment:165] XDG_SESSION_CLASS not set in this environment!
[WARN 07:59:48.144897] [Environment:183] Neither of XDG_SESSION_DESKTOP, XDG_CURRENT_DESKTOP or DESKTOP_SESSION is set in this environment!
[WARN 07:59:48.144933] [Environment:196] XDG_SESSION_TYPE not set in this environment!
[WARN 07:59:48.738694] [Environment:183] Neither of XDG_SESSION_DESKTOP, XDG_CURRENT_DESKTOP or DESKTOP_SESSION is set in this environment!
Command line under guest mode will not start plank, only under root will it start.

Any guess will be appreciated.
Thanks.