Page 2 of 2

openrc the system behind nemesis: printing as an example

Posted: 27 Dec 2017, 22:27
by francois
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

openrc the system behind nemesis: printing as an example

Posted: 28 Dec 2017, 00:26
by francois
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. =@

openrc the system behind nemesis: printing as an example

Posted: 06 Jan 2018, 23:22
by francois
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?

openrc the system behind nemesis: printing as an example

Posted: 06 Jan 2018, 23:41
by ncmprhnsbl
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..

openrc the system behind nemesis: printing as an example

Posted: 07 Jan 2018, 02:10
by francois
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:

openrc the system behind nemesis: printing as an example

Posted: 07 Jan 2018, 06:49
by ncmprhnsbl
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..

openrc the system behind nemesis: printing as an example

Posted: 07 Jan 2018, 15:12
by francois
Same problem with pacman -Syy.

openrc the system behind nemesis: printing as an example

Posted: 08 Jan 2018, 00:33
by francois
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.

openrc the system behind nemesis: printing as an example

Posted: 10 Mar 2018, 02:27
by francois
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.

openrc the system behind nemesis: printing as an example

Posted: 14 Mar 2018, 11:02
by francois
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.

openrc the system behind nemesis: printing as an example

Posted: 14 Oct 2020, 02:44
by francois
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.

openrc the system behind nemesis: printing as an example

Posted: 15 Oct 2020, 02:01
by ncmprhnsbl
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..

openrc the system behind nemesis: printing as an example

Posted: 18 Oct 2020, 01:55
by francois
Blaze's iso works perfecly for me.

Printing is functional.

Thanks.