Nemesis revival

Arch based Porteus community project
User avatar
francois
Contributor
Contributor
Posts: 5068
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Nemesis revival

Post#1 by francois » 11 Dec 2016, 17:47

I have been discussing with jack about reviving nemesis, now that porteus 3.2 is on the rail. We do not expect brokenman to take an active role in this initiative, unless he really insists. I think that our only developper and his wife merit a well desered holiday. :wink:

We would like from the nemesis iso, to be able to upgrade nemesis, and then as jack proposed to modify nemesis in the following way:
What I like to do is update the modules in 001, 002 and 003 but I'm not sure how to do it that way they would be current

Personally, I am going to try to update with cscs solution:
https://forum.manjaro.org/t/problem-wit ... on/11714/2
... sign in with username/pass
run these commands:

sudo pacman-mirrors -g
sudo pacman -Syyu

This does not work. :(

Your suggestions are welcomed.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
Blaze
DEV Team
DEV Team
Posts: 1496
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Nemesis revival

Post#2 by Blaze » 11 Dec 2016, 18:55

Don't forget about dcadec bug. A new plan

Code: Select all

root
toor
setup-pman
rm -rf /usr/lib/libdcadec.so.0
pacman -S dcadec
pacman-mirrors -g
pacman -Syyu
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Jack
Contributor
Contributor
Posts: 1172
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Nemesis revival

Post#3 by Jack » 11 Dec 2016, 21:43

I just try to upgrade Nemesis version 3.5 and receive this ERROR.
Image
And I even fixed this ERROR dcadec

What I want to do is upgrade all 001 modules. When I get done with 001 move to 002 and so on tell they are all up to date. If there was a script to download the files then do the upgrade.

I know in Slackware there is this.

Code: Select all

xzm2dir 001-core.xzm /tmp/unpacked
ROOT=/tmp/unpacked upgradepkg gimp
dir2xzm /tmp/unpacked /tmp/new-001-core.xzm
And there is this.

Code: Select all

xzm2dir 001-core.xzm /tmp/unpacked
ROOT=/tmp/unpacked removepkg gimp
dir2xzm /tmp/unpacked /tmp/new-001-core.xzm
Is there anything like this for Nemesis?
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
francois
Contributor
Contributor
Posts: 5068
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Nemesis revival

Post#4 by francois » 11 Dec 2016, 22:21

What is needed is the mksquashfs and unsquashfs command. They should be included in nemesis. I am no expert of the command. Here is some useful indications by fanthom and another additional link that I have found on the net:
http://porteus-kiosk.org/modules.html

http://tldp.org/HOWTO/SquashFS-HOWTO/cr ... using.html

More informed users should come to rescue. :wink:
Voltaire: Le mieux est l'ennemi du bien.

Jack
Contributor
Contributor
Posts: 1172
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Nemesis revival

Post#5 by Jack » 11 Dec 2016, 22:52

I all ready put 001, 002 and so on in there own directory by doing xzm2dir and I have a file list of each of them. Here is the files in 001-core.

Code: Select all

acl-2.2.52-2
acpid-2.0.25-1
acpid-openrc-20151014-1
archlinux-keyring-20151220-1
attr-2.4.47-1
bash-4.3.042-4
bzip2-1.0.6-5
ca-certificates-20150402-1
ca-certificates-cacert-20140824-2
ca-certificates-mozilla-3.20.1-1
ca-certificates-utils-20150402-1
cdrtools-3.02a03-1
cgmanager-0.39-2
cgmanager-openrc-20151014-1
consolekit-1.0.0-4
consolekit-openrc-20151020-1
coreutils-8.24-1
cower-14-2
cpio-2.12-2
cracklib-2.9.4-1
cronie-1.5.0-1
cronie-openrc-20151014-2
curl-7.46.0-1
db-5.3.28-3
dbus-glib-0.104-1
dbus-openrc-1.10.4-1
device-mapper-2.02.137-1
device-mapper-openrc-20151020-1
dhclient-4.3.3-2
dhcpcd-6.9.4-1
dhcpcd-openrc-20151014-1
dialog-1:1.2_20150920-1
diffutils-3.3-2
dmidecode-3.0-1
dnssec-anchors-20150403-1
dosfstools-3.0.28-1
downgrade-5.1.5-1
e2fsprogs-1.42.13-1
elfutils-0.164-2
eudev-3.1.5-2
eudev-systemdcompat-226-1
eventlog-0.2.12-4
expac-4-3
expat-2.1.0-4
file-5.25-1
filesystem-2015.09-1
findutils-4.4.2-6
fuse-2.9.4-1
gawk-4.1.3-1
gcc-libs-5.3.0-3
gdbm-1.11-1
gettext-0.19.6-2
glib-networking-2.46.1-1
glib2-2.46.2-2
glibc-2.22-3
glibc-openrc-20151014-1
gmp-6.1.0-2
gnupg-2.1.10-1
gnutls-3.4.7-2
gpgme-1.6.0-2
gpm-1.20.7-6
gpm-openrc-20151014-1
gptfdisk-1.0.1-2
grep-2.22-1
gsettings-desktop-schemas-3.18.1-1
gzip-1.6-1
haveged-1.9.1-2
haveged-openrc-20151014-1
hddtemp-0.3.beta15.52-2
hdparm-9.48-1
hwids-20150717-1
iana-etc-20151016-1
inetutils-1.9.4-2
inetutils-openrc-20151014-1
inotify-tools-3.14-4
inxi-2.2.31-1
iproute2-4.1.1-1
iptables-1.4.21-3
iptables-openrc-20151014-1
iputils-20140519.fad11dc-1
ipw2100-fw-1.3-7
ipw2200-fw-3.1-5
jansson-2.7-1
js17-17.0.0-3
json-c-0.12-2
kbd-2.0.3-1
kbproto-1.0.7-1
keyutils-1.5.9-1
kmod-22-1
krb5-1.13.2-1
ldns-1.6.17-3
less-481-2
libarchive-3.1.2-8
libassuan-2.4.2-1
libatomic_ops-7.4.2-1
libcap-2.24-2
libdaemon-0.14-3
libdbi-0.9.0-2
libdbus-1.10.4-1
libedit-20150325_3.1-2
libelf-0.164-2
libevdev-1.4.5-1
libffi-3.2.1-1
libgcrypt-1.6.4-1
libgpg-error-1.21-1
libgudev-230-1
libidn-1.32-1
libinput-1.1.4-1
libksba-1.3.3-1
libldap-2.4.42-2
libmm-glib-1.4.12-1
libndp-1.5-1
libnewt-0.52.18-3
libnih-1.0.3-2
libnl-3.2.26-1
libnm-glib-1.0.8-1
libpcap-1.7.4-1
libpgm-5.2.122-2
libproxy-0.4.11-8
libsasl-2.1.26-7
libseccomp-2.2.3-1
libsodium-1.0.7-1
libsoup-2.52.2-1
libssh2-1.6.0-1
libtasn1-4.7-1
libteam-1.22-1
libtirpc-1.0.1-2
libtool-2.4.6-4
libunistring-0.9.6-1
libusb-1.0.20-1
libutil-linux-2.27.1-1
libx11-1.6.3-1
libxau-1.0.8-2
libxcb-1.11.1-1
libxdmcp-1.1.2-1
libxml2-2.9.3-1
linux-api-headers-4.1.4-1
lm_sensors-3.4.0-1
logrotate-3.9.1-1
lsof-4.89-1
lynx-2.8.8-3
lz4-131-1
lzo-2.09-1
manjaro-keyring-20150809-1
mc-4.8.15-1
mdadm-3.3.4-1
mdadm-openrc-20151014-1
mpfr-3.1.3.p4-1
mtdev-1.1.5-1
nano-2.5.0-1
ncurses-6.0-4
net-tools-1.60.20130531git-1
netifrc-0.3.1-7
nettle-3.1.1-1
networkmanager-consolekit-1.0.8-2
networkmanager-openrc-20151014-1
npth-1.2-1
nspr-4.10.10-1
nss-3.20.1-1
ntfs-3g-fuse-2015.3.14-1
ntp-4.2.8.p4-1
ntp-openrc-20151014-2
openrc-0.19.1-1
openresolv-3.7.2-1
openssh-7.1p1-1
openssh-openrc-20151014-1
openssl-1.0.2.e-1
openvpn-2.3.8-2
openvpn-openrc-20151014-1
p11-kit-0.23.1-3
pacaur-4.4.3-1
package-query-1.6.2-1
pacman-4.2.1-4.1
pacman-mirrorlist-20151220-1
pam-1.2.1-3
pambase-20130928-1
parted-3.2-3
patch-2.7.5-1
pciutils-3.3.1-1
pcre-8.38-2
perl-5.22.0-1
pinentry-0.9.7-1
polkit-consolekit-0.113-4
popt-1.16-7
ppp-2.4.7-2
procps-ng-3.3.11-2
psmisc-22.21-3
python-3.5.1-1
readline-6.3.008-3
rfkill-0.5-1
rp-pppoe-3.11-7
rsync-3.1.1-4
run-parts-4.5.1-1
screen-4.3.1-2
sdparm-1.09-1
sed-4.2.2-3
shadow-4.2.1-3
slang-2.3.0-1
sqlite-3.9.2-1
squashfs-tools-4.3-4
sudo-1.8.15-1
sysfsutils-2.1.0-9
syslog-ng-3.6.3-1
syslog-ng-openrc-20151014-1
sysvinit-2.88-16
tar-1.28-1
tcl-8.6.4-1
texinfo-6.0-1
tzdata-2015g-1
udev-openrc-30-3
unrar-1:5.3.4-2
unzip-6.0-11
usb_modeswitch-2.2.6-1
usbutils-008-1
util-linux-2.27.1-1
vi-1:070224-2
wget-1.17.1-0.1
which-2.21-1
wpa_supplicant-1:2.5-1
xcb-proto-1.11-2
xfsprogs-4.2.0-1
xproto-7.0.28-1
xz-5.2.2-1
yajl-2.1.0-1
zd1211-firmware-1.5-1
zeromq-4.1.3-4
zip-3.0-6
zlib-1.2.8-4
And I have a list of each modules area.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
francois
Contributor
Contributor
Posts: 5068
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Nemesis revival

Post#6 by francois » 12 Dec 2016, 02:39

@blaze:
You procedure worked.

Thanks.

Code: Select all

su
toor
setup-pman
pacman -S dcadec

Code: Select all

rm -rf /usr/lib/libdcadec.so.0
pacman -S dcadec
pacman-mirrors -g
pacman -Syyu
Voltaire: Le mieux est l'ennemi du bien.

User avatar
francois
Contributor
Contributor
Posts: 5068
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Nemesis revival

Post#7 by francois » 12 Dec 2016, 03:43

@jack:
For the rebuilding of the packages maybe you should have a look at stifiling procedure:
viewtopic.php?f=114&t=2386

You can make your own .xzm modules and this is the way i've been doing it. It's really better to start from an absolute new installation, ...

Packages under manjaro or arch are located in:
/var/cache/pacman/pkg/
Voltaire: Le mieux est l'ennemi du bien.

Jack
Contributor
Contributor
Posts: 1172
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Nemesis revival

Post#8 by Jack » 12 Dec 2016, 10:56

I have this from brokenman made for Slackware and wish there was one for Nemesis. It will let you download each file one by one tell you get them all. viewtopic.php?f=75&t=5389&start=15#p41143 It would make life a little easy and easy to make new Nemesis.
francois

Packages under manjaro or arch are located in:
/var/cache/pacman/pkg/
Here is where I found my list of packages at.

/var/lib/pacman/local
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
francois
Contributor
Contributor
Posts: 5068
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Nemesis revival

Post#9 by francois » 12 Dec 2016, 14:41

It seems you have it better than me. You are right /var/cache/pacman/pkg/ is where the individual packages resides and these in nemesis have been striped out.

xzm2dir works in command line:

Code: Select all

root /mnt/sda5/1_nemesis/porteus/modules # xzm2dir xorg-utils-7.6-9-any.xzm xorg-utils-7.6-9-any

 $2 does not exist. 
root /mnt/sda5/1_nemesis/porteus/modules # mkdir xorg-utils-7.6-9-any
root /mnt/sda5/1_nemesis/porteus/modules # xzm2dir xorg-utils-7.6-9-any.xzm xorg-utils-7.6-9-any
Parallel unsquashfs: Using 4 processors
38 inodes (37 blocks) to write

[=================================================================|] 37/37 100%

created 38 files
created 25 directories
created 0 symlinks
created 0 devices
created 0 fifos
root /mnt/sda5/1_nemesis/porteus/modules #
Once the upgrade is done as proposed by blaze, I get a changes file of 835 Mb.

Maybe we should strip nemesis before xorg command line and functional to have a minimun of packages.

I wonder if pman could be used on changes files?
Voltaire: Le mieux est l'ennemi du bien.

User avatar
Blaze
DEV Team
DEV Team
Posts: 1496
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Nemesis revival

Post#10 by Blaze » 12 Dec 2016, 18:33

I tried my way from this post Cinnamon and Porteus Nemesis

Code: Select all

root
toor
setup-pman
rm -rf /usr/lib/libdcadec.so.0
pacman -S dcadec
pacman -R upower-pm-utils
pacman -S upower
pacman -Syu
pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils mesa

# If you use notebook touchpads, need to install xf86-input-synaptics
# pacman -S xf86-input-synaptics

# Find your video card and install driver
lspci | grep VGA
pacman -Ss | grep xf86-video

# I use VirtualBox
pacman -S xf86-video-vmware

# For example, if I use AMD/ATI Radeon video card (not VirtualBox)
# pacman -S xf86-video-ati

# I don't tried to install vesa
# pacman -S xf86-video-vesa

pacman -S cinnamon nemo-fileroller
echo exec cinnamon-session > ~/.xinitrc
startx
Without Cinnamon environment +

Code: Select all

dir2xzm /mnt/live/memory /tmp/nemesis.xzm
francois wrote:Once the upgrade is done as proposed by blaze, I get a changes file of 835 Mb.
I get 743 Mb.
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Jack
Contributor
Contributor
Posts: 1172
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Nemesis revival

Post#11 by Jack » 12 Dec 2016, 18:34

I see in pacman you can upgrade a file or files but how would I be able from a command line? I don't want to do it one at a time but I want to do it like in Update Manager dose.

Code: Select all

guest ~ $ pacman -h
usage:  pacman <operation> [...]
operations:
    pacman {-h --help}
    pacman {-V --version}
    pacman {-D --database} <options> <package(s)>
    pacman {-Q --query}    [options] [package(s)]
    pacman {-R --remove}   [options] <package(s)>
    pacman {-S --sync}     [options] [package(s)]
    pacman {-T --deptest}  [options] [package(s)]
    pacman {-U --upgrade}  [options] <file(s)>

use 'pacman {-h --help}' with an operation for available options
guest ~ $ 
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Blaze
DEV Team
DEV Team
Posts: 1496
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Nemesis revival

Post#12 by Blaze » 12 Dec 2016, 19:01

Jack, I think like this

Code: Select all

pacman -S acl acpid acpid-openrc archlinux-keyring attr bash bzip2
and etc from your packages list. Note. Do not specify a packages version.
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Jack
Contributor
Contributor
Posts: 1172
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Nemesis revival

Post#13 by Jack » 12 Dec 2016, 20:06

Blaze wrote:Jack, I think like this

Code: Select all

pacman -S acl acpid acpid-openrc archlinux-keyring attr bash bzip2
and etc from your packages list. Note. Do not specify a packages version.
It would take for ever with 391 files to upgrade.

I would like to do it this way and I try with Update Manager to do the upgrade of Nemesis version 3.5 and receive this ERROR.
Image
This is the easy way, but don't know how to fixed this ERROR. What should I be looking for? Anyone have any idea that could help me?
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
francois
Contributor
Contributor
Posts: 5068
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Nemesis revival

Post#14 by francois » 12 Dec 2016, 21:17

@blaze:
viewtopic.php?f=137&t=6462
upgrade-changes is 518 Mb 130 Mb. :( when I start nemesis with only 000-kernel.xzm 001-core.xzm

update at 19:43, Montreal, Quebec.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
Blaze
DEV Team
DEV Team
Posts: 1496
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus 3.2 Cinnamon x86_64
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Re: Nemesis revival

Post#15 by Blaze » 13 Dec 2016, 08:40

Jack, try these commands

Code: Select all

pacman -R upower-pm-utils
pacman -S upower
francois, excellent.
Linux porteus 4.13.3-porteus #1 SMP PREEMPT Sat Sep 23 18:22:13 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

Post Reply