openrc the system behind nemesis: printing as an example

Arch based Porteus community project

Moderator: M. Eerie

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

openrc the system behind nemesis: printing as an example

Post#16 by francois » 27 Dec 2017, 22:27

Note:

Code: Select all

rc-update add avahi-daemon default
cupsd
rc-update add cupsd default
creates
/etc/runlevels/default/avahi-daemon link to /etc/init.d/avahi-daemon and /etc/runlevels/default/cupsd link to /etc/init.d/cupsd
/etc/cups/classes.cong and printers.conf
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

openrc the system behind nemesis: printing as an example

Post#17 by francois » 28 Dec 2017, 00:26

Scanning for brother did work the other day and now the debtap brscan4 module does not fit with simple-scan. :x

No way simple-scan will recognize my brother printer as a scanning device. =@
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

openrc the system behind nemesis: printing as an example

Post#18 by francois » 06 Jan 2018, 23:22

Building over the last base module and xfce desktop Xfce4 DE module

Code: Select all

[guest@porteus ~]$ sudo pman -S cups-openrc avahi-openrc simple-scan system-config-printer

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for guest: 
resolving dependencies...
looking for conflicting packages...

Packages (40) bc-1.07.1-1  colord-1.4.1+6+gf08c25d-1  cups-2.2.6-1
              cups-filters-1.17.9-3  gd-2.2.5-1
              gobject-introspection-runtime-1.54.1-1  ijs-0.35-1
              imagemagick-7.0.7.15-1  libgphoto2-2.5.16-1  libieee1284-0.2.11-5
              liblouis-3.3.0-1  liblqr-0.4.2-1  libmagick-7.0.7.15-1
              libpaper-1.1.24-10  libraqm-0.3.0-2  net-snmp-5.7.3-7.1
              poppler-0.61.1-1  pygobject-devel-3.26.1-1
              python-appdirs-1.4.3-1  python-cairo-1.15.4-1
              python-chardet-3.0.4-1  python-dbus-1.2.4-2
              python-dbus-common-1.2.4-2  python-gobject-3.26.1-1
              python-idna-2.6-1  python-packaging-16.8-2
              python-pycups-1.9.73-3  python-pycurl-7.43.0.1-1
              python-pyparsing-2.2.0-1  python-requests-2.18.4-1
              python-setuptools-1:38.2.4-1  python-six-1.11.0-1
              python-urllib3-1.22-1  python2-2.7.14-1  qpdf-7.0.0-3
              sane-1.0.27-1  avahi-openrc-20170704-1  cups-openrc-20170705-1
              simple-scan-3.26.2-1  system-config-printer-1.5.9-3

Total Download Size:    35.62 MiB
Total Installed Size:  167.95 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 poppler-0.61.1-1-x86_64 1046.9 KiB  1586K/s 00:01 [######################] 100%
 liblqr-0.4.2-1-x86_64     29.3 KiB  9.54M/s 00:00 [######################] 100%
 libraqm-0.3.0-2-x86_64    24.0 KiB  7.83M/s 00:00 [######################] 100%
error: failed retrieving file 'libmagick-7.0.7.15-1-x86_64.pkg.tar.xz' from mirror1.artixlinux.org : The requested URL returned error: 404
error: failed retrieving file 'libmagick-7.0.7.15-1-x86_64.pkg.tar.xz' from artix.wheaton.edu : The requested URL returned error: 404
error: failed retrieving file 'libmagick-7.0.7.15-1-x86_64.pkg.tar.xz' from mirror.strits.dk : The requested URL returned error: 404
error: failed retrieving file 'libmagick-7.0.7.15-1-x86_64.pkg.tar.xz' from mirrors.dotsrc.org : The requested URL returned error: 404
error: failed retrieving file 'libmagick-7.0.7.15-1-x86_64.pkg.tar.xz' from www.uex.dk : Failed to connect to www.uex.dk port 443: No route to host
warning: failed to retrieve some files
error: failed retrieving file 'imagemagick-7.0.7.15-1-x86_64.pkg.tar.xz' from mirror1.artixlinux.org : The requested URL returned error: 404
error: failed retrieving file 'imagemagick-7.0.7.15-1-x86_64.pkg.tar.xz' from artix.wheaton.edu : The requested URL returned error: 404
error: failed retrieving file 'imagemagick-7.0.7.15-1-x86_64.pkg.tar.xz' from mirror.strits.dk : The requested URL returned error: 404
error: failed retrieving file 'imagemagick-7.0.7.15-1-x86_64.pkg.tar.xz' from mirrors.dotsrc.org : The requested URL returned error: 404
error: failed retrieving file 'imagemagick-7.0.7.15-1-x86_64.pkg.tar.xz' from www.uex.dk : Failed to connect to www.uex.dk port 443: No route to host
warning: failed to retrieve some files
error: failed retrieving file 'liblouis-3.3.0-1-x86_64.pkg.tar.xz' from mirror1.artixlinux.org : The requested URL returned error: 404
error: failed retrieving file 'liblouis-3.3.0-1-x86_64.pkg.tar.xz' from artix.wheaton.edu : The requested URL returned error: 404
error: failed retrieving file 'liblouis-3.3.0-1-x86_64.pkg.tar.xz' from mirror.strits.dk : The requested URL returned error: 404
error: failed retrieving file 'liblouis-3.3.0-1-x86_64.pkg.tar.xz' from mirrors.dotsrc.org : The requested URL returned error: 404
error: failed retrieving file 'liblouis-3.3.0-1-x86_64.pkg.tar.xz' from www.uex.dk : Failed to connect to www.uex.dk port 443: No route to host
warning: failed to retrieve some files
error: failed retrieving file 'cups-filters-1.17.9-3-x86_64.pkg.tar.xz' from mirror1.artixlinux.org : The requested URL returned error: 404
error: failed retrieving file 'cups-filters-1.17.9-3-x86_64.pkg.tar.xz' from artix.wheaton.edu : The requested URL returned error: 404
error: failed retrieving file 'cups-filters-1.17.9-3-x86_64.pkg.tar.xz' from mirror.strits.dk : The requested URL returned error: 404
error: failed retrieving file 'cups-filters-1.17.9-3-x86_64.pkg.tar.xz' from mirrors.dotsrc.org : The requested URL returned error: 404
error: failed retrieving file 'cups-filters-1.17.9-3-x86_64.pkg.tar.xz' from www.uex.dk : Failed to connect to www.uex.dk port 443: No route to host
warning: failed to retrieve some files
 bc-1.07.1-1-x86_64        83.9 KiB   385K/s 00:00 [######################] 100%
 cups-2.2.6-1-x86_64        6.8 MiB  3.81M/s 00:02 [######################] 100%
 cups-openrc-2017070...     8.3 KiB  78.8K/s 00:00 [######################] 100%
 avahi-openrc-201707...     8.3 KiB  0.00B/s 00:00 [######################] 100%
 libgphoto2-2.5.16-1...  1311.3 KiB  2020K/s 00:01 [######################] 100%
 python2-2.7.14-1-x86_64   12.2 MiB  2.05M/s 00:06 [######################] 100%
 net-snmp-5.7.3-7.1-...  1644.6 KiB  1917K/s 00:01 [######################] 100%
 colord-1.4.1+6+gf08...  1572.1 KiB  2.03M/s 00:01 [######################] 100%
 python-dbus-common-...    25.3 KiB  12.4M/s 00:00 [######################] 100%
 python-dbus-1.2.4-2...    91.5 KiB  8.93M/s 00:00 [######################] 100%
 python-six-1.11.0-1-any   19.3 KiB  18.9M/s 00:00 [######################] 100%
error: failed retrieving file 'python-setuptools-1:38.2.4-1-any.pkg.tar.xz' from mirror1.artixlinux.org : The requested URL returned error: 404
error: failed retrieving file 'python-setuptools-1:38.2.4-1-any.pkg.tar.xz' from artix.wheaton.edu : The requested URL returned error: 404
error: failed retrieving file 'python-setuptools-1:38.2.4-1-any.pkg.tar.xz' from mirror.strits.dk : The requested URL returned error: 404
error: failed retrieving file 'python-setuptools-1:38.2.4-1-any.pkg.tar.xz' from mirrors.dotsrc.org : The requested URL returned error: 404
error: failed retrieving file 'python-setuptools-1:38.2.4-1-any.pkg.tar.xz' from www.uex.dk : Failed to connect to www.uex.dk port 443: No route to host
warning: failed to retrieve some files
 python-chardet-3.0....   152.4 KiB   465K/s 00:00 [######################] 100%
 python-idna-2.6-1-any     72.6 KiB  8.87M/s 00:00 [######################] 100%
 gobject-introspecti...   205.9 KiB  1760K/s 00:00 [######################] 100%
 pygobject-devel-3.2...     8.2 KiB  0.00B/s 00:00 [######################] 100%
 python-gobject-3.26...   208.6 KiB  1724K/s 00:00 [######################] 100%
 python-cairo-1.15.4...    46.5 KiB  9.07M/s 00:00 [######################] 100%
 qpdf-7.0.0-3-x86_64      515.1 KiB  1132K/s 00:00 [######################] 100%
 ijs-0.35-1-x86_64         50.6 KiB  12.4M/s 00:00 [######################] 100%
 libpaper-1.1.24-10-...    25.5 KiB  24.9M/s 00:00 [######################] 100%
 gd-2.2.5-1-x86_64        149.6 KiB  8.59M/s 00:00 [######################] 100%
 libieee1284-0.2.11-...    51.4 KiB  12.6M/s 00:00 [######################] 100%
 sane-1.0.27-1-x86_64       2.9 MiB  4.31M/s 00:01 [######################] 100%
 python-pycups-1.9.7...    55.3 KiB  13.5M/s 00:00 [######################] 100%
 python-pycurl-7.43....    82.7 KiB  8.97M/s 00:00 [######################] 100%
 python-urllib3-1.22...   152.7 KiB   873K/s 00:00 [######################] 100%
 python-pyparsing-2....    92.8 KiB  9.06M/s 00:00 [######################] 100%
 python-packaging-16...    29.5 KiB  28.9M/s 00:00 [######################] 100%
 python-appdirs-1.4....    14.0 KiB  0.00B/s 00:00 [######################] 100%
 python-requests-2.1...    93.0 KiB  9.08M/s 00:00 [######################] 100%
 system-config-print...   918.3 KiB  8.23M/s 00:00 [######################] 100%
 simple-scan-3.26.2-...   456.9 KiB  2.88M/s 00:00 [######################] 100%
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

 Multiple packages were detected. 

Would you like to merge them into one module? [y/n]^C[guest@porteus ~]$ 
Is this temporary problem or real problem?
Prendre son temps, profiter de celui qui passe.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

openrc the system behind nemesis: printing as an example

Post#19 by ncmprhnsbl » 06 Jan 2018, 23:41

could be a temporary thing.. did you pacman -Sy first?
a heads up: there are bunch of packages out of date in the base modules as of yesterday..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

openrc the system behind nemesis: printing as an example

Post#20 by francois » 07 Jan 2018, 02:10

1.0 Is there a way to flush changes without login out of nemesis? I find it much time consuming to do so to remove changes from another install like porteus for example.

2.0 Same result at second try. Impossible to build the printer module. Pacman -Sy will not be sufficient. :(

Heads up for you. :happy62:
Prendre son temps, profiter de celui qui passe.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

openrc the system behind nemesis: printing as an example

Post#21 by ncmprhnsbl » 07 Jan 2018, 06:49

looking at one package on one of the mirrors: imagemagick-7.0.7.19-1-x86_64.pkg.tar.xz is a different version to one you trying to get..
http://artix.wheaton.edu/repos/world/os ... pkg.tar.xz
so maybe

Code: Select all

pacman -Syy
to force rewriting the database
francois wrote:
07 Jan 2018, 02:10
1.0 Is there a way to flush changes without login out of nemesis?
don't know, havn't used changes for years..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

openrc the system behind nemesis: printing as an example

Post#22 by francois » 07 Jan 2018, 15:12

Same problem with pacman -Syy.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

openrc the system behind nemesis: printing as an example

Post#23 by francois » 08 Jan 2018, 00:33

Solution:
Always fresh (without changes) will yield the printing module as proposed in the first post. So in the future, I will be building only in only fresh mode.
Thanks.

Plank module though functional before reboot will not be functional without the changes. So lets dig it in the thread for plank.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

openrc the system behind nemesis: printing as an example

Post#24 by francois » 10 Mar 2018, 02:27

Having some printing and scanning problem since december with nemesis.

Finally, the solution for the printing was with missing ghostscript and its associate dependencies. I downloaded the package with and followed stifiling instructions:
Porteus/Arch aka Sensei (Porteus w/pacman package manager)

Code: Select all

pacman -Sw ghostscript
Here is an old link with a simple procedure to install brscan4 scanner driver. You need to have yaourt:
http://neithere.net/2013/02/18/archlinu ... _7860.html

Code: Select all

$ yaourt -S brscan4-network
$ sudo brsaneconfig4 -a name=Brother_MFC-7860DW model=MFC-7860DW ip=192.168.000.107
This link provides also the printer driver installation.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

openrc the system behind nemesis: printing as an example

Post#25 by francois » 14 Mar 2018, 11:02

Updated first post to build module instead of using pman. However, this is only temporary version. Though I have been able to obtain a functional module on another linux box. This time it did not work.

I know understand what is meant by necro bumping for the arch linux brains.The concept is important, especially for a rolling distro. :happy62:

Thus this thread will soon be closed to be replaced by a new one.
Prendre son temps, profiter de celui qui passe.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

openrc the system behind nemesis: printing as an example

Post#26 by francois » 14 Oct 2020, 02:44

Not yet to a more recent version of this thread:
I am still on nemesis-xfce-20.02.04-x86_64.iso trying to build printer module, I get:

Code: Select all

[porteus guest]# system-config-printer
/usr/bin/python3: /usr/lib/libc.so.6: version `GLIBC_2.32' not found (required by /usr/lib/libpython3.8.so.1.0)
and

Code: Select all

[porteus guest]# locate libc.so.6
/usr/lib/libc.so.6
[porteus guest]# 
What can I do?

Thank.
Prendre son temps, profiter de celui qui passe.

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

openrc the system behind nemesis: printing as an example

Post#27 by ncmprhnsbl » 15 Oct 2020, 02:01

francois wrote:
14 Oct 2020, 02:44
What can I do?
glibc is too old in that iso and i suspect just updating glibc would cause more problems than it would solve.
using the latest : 2020 Updated Nemesis Base Modules (Post by Blaze #79011) kindly provided by Blaze, would be the best approach..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

openrc the system behind nemesis: printing as an example

Post#28 by francois » 18 Oct 2020, 01:55

Blaze's iso works perfecly for me.

Printing is functional.

Thanks.
Prendre son temps, profiter de celui qui passe.

Post Reply