The officially official Devuan Forum!

You are not logged in.

#2201 Re: Installation » [SOLVED] startx fails since upgrade to 4.9 kernel » 2018-01-03 16:38:18

You can do one of two things to fix this.

1. Install a display manager.
or
2. Install xserver-xorg-legacy and add the following line to /etc/X11/Xwrapper.config

needs_root_rights=yes

#2202 Re: Installation » [CLOSED] <Ascii> Minimal Install - OB - Issues » 2018-01-03 14:25:56

You won't see this in an upgrade:

lrwxrwxrwx   1 root root         7 Nov 10 10:44 bin -> usr/bin
lrwxrwxrwx   1 root root         7 Nov 10 10:44 lib -> usr/lib
lrwxrwxrwx   1 root root         9 Nov 10 10:44 lib32 -> usr/lib32
lrwxrwxrwx   1 root root         9 Nov 10 10:44 lib64 -> usr/lib64
lrwxrwxrwx   1 root root        10 Nov 10 10:44 libx32 -> usr/libx32
lrwxrwxrwx   1 root root         8 Nov 10 10:44 sbin -> usr/sbin

#2203 Re: Installation » [CLOSED] <Ascii> Minimal Install - OB - Issues » 2018-01-02 23:02:30

How to get a clean ascii install. (maybe even clean enough for greenjeans)

Boot a Refracta iso. (if it's a jessie iso, run 'apt-get update && apt-get install devuan-keyring' to get the new keyring.)
Or, install debootstrap in your existing jessie if you want to install ascii to another partition.

Create partition
Format partition

mount  <your new partition>  /mnt
debootstrap --arch amd64 --exclude systemd-sysv,alsa-base ascii /mnt http://pkgmaster.devuan.org/merged

I'm not sure if the excludes are necessary anymore. There is no alsa-base package in ascii/stretch, so if something still depends on it, and it's not excluded, debootstrap fails.

Copy files to the new system:

cp /boot/grub/splash.png /mnt/boot/grub/
cp /whatever/you/want /mnt/wherever/you/want/it

Chroot into the new system to make additions and changes.
You can use the shortcut method or run all the commands manually.

----------
Shortcut:

bind-mounts /mnt

(answer yes to enter the chroot)

Install kernel and other packages
Edit configs
Create root password
Create user
Install grub or other bootloader

grub-install  [/dev/sdX if bios boot]
update-grub
exit
unbind-mounts /mnt

---------

Manual method:

mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
mount --bind /dev /mnt/dev
mount --bind /dev/pts /mnt/dev/pts

chroot /mnt

Install stuff, edit configs, *create root password*, create user

grub-install
update-grub

exit

umount -l /mnt/dev/pts
umount -l /mnt/dev/
umount -l /mnt/sys
umount -l /mnt/proc
umount -l /mnt

Reboot into your new system.

#2204 Re: Off-topic » [Solved] Bash: Behavior of `test -x` » 2018-01-02 14:48:03

Well, without the quotes it tells me that gedit is found/executable, but gedit is not installed here. I'l take a guess and say that -x is testing the executability of the command substitution. When you quote it, you're telling the shell to expand what's inside the quotes, so -x tests the result of that.

For more complication, try it with double-brackets for test:

if [[ -x $(type -p gedit) ]]; then echo "found executable"; else echo "command not found/not an executable"; fi
command not found/not an executable

#2205 Re: Devuan Derivatives » New Refracta Isos » 2017-12-30 21:36:46

I don't know the answers to most of your questions. I do know that there are some packages in ceres that are behind versions in ascii and even jessie.

Experimental should not interfere - you must use '-t experimental' to get anything from there. I'm not sure what ascii-proposed will do, but I think it works like experimental, and  I know it contains some new versions of packages that need to be tested before they move into the main repo.

With ceres, it's possible to try to install something at the wrong time, and deps are not available. That is usually cured by waiting a little while and doing another update. The package manager generally does a good job of warning you before letting you do something bad, and the warnings get noticeably longer in proportion to the damage you could do. (to the point of making you type a couple lines of text just to say "yes".)

Oh yeah, almost forgot this. Get the newer installer. More info on the first post of this thread.
https://sourceforge.net/projects/refrac … .3_all.deb

#2206 Re: Devuan Derivatives » New Refracta Isos » 2017-12-30 19:19:54

Something else must be going on for you. I used the onion address posted on devuan.org main page and just changed jessie to ascii. It worked fine here.

Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  libcurses-perl libcurses-ui-perl libterm-readkey-perl
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libeinfo1 librc1
Suggested packages:
  policycoreutils
The following packages will be REMOVED:
  sysv-rc sysv-rc-conf
The following NEW packages will be installed:
  libeinfo1 librc1 openrc
0 upgraded, 3 newly installed, 2 to remove and 0 not upgraded.
Need to get 174 kB of archives.
After this operation, 1394 kB of additional disk space will be used.
Do you want to continue? [Y/n] Get:1 tor+http://devuanfwojg73k6r.onion/merged ascii/main amd64 libeinfo1 amd64 0.23-1+b1 [15.7 kB]
Get:2 tor+http://devuanfwojg73k6r.onion/merged ascii/main amd64 librc1 amd64 0.23-1+b1 [33.2 kB]
Get:3 tor+http://devuanfwojg73k6r.onion/merged ascii/main amd64 openrc amd64 0.23-1+b1 [126 kB]
ii  openrc                   0.23-1+b1         amd64

#2207 Re: Devuan Derivatives » New Refracta Isos » 2017-12-30 02:32:35

I tried to reproduce your errors, but I didn't run into any problems.

Installed refracta9_nox_amd64 in virtualbox.
Added xorg, openbox and a few other things.
Installed openrc and rebooted with the special command.
Got the ascii versions: 0.23-1+b1  (not a surprise - I only have ascii repos enabled.)

Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  libcurses-perl libcurses-ui-perl libterm-readkey-perl
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  libeinfo1 librc1
Suggested packages:
  policycoreutils
The following packages will be REMOVED:
  sysv-rc sysv-rc-conf
The following NEW packages will be installed:
  libeinfo1 librc1 openrc
0 upgraded, 3 newly installed, 2 to remove and 0 not upgraded.
Need to get 174 kB of archives.
After this operation, 1,394 kB of additional disk space will be used.
Do you want to continue? [Y/n] 

<snip>

 [ ok ]
**********************************************************************
*** WARNING: if you are replacing sysv-rc by OpenRC, then you must ***
*** reboot immediately using the following command:                ***
for file in /etc/rc0.d/K*; do s=`basename $(readlink "$file")` ; /etc/init.d/$s stop; done
**********************************************************************

And it reboots.

#2208 Re: Desktop and Multimedia » LXDE user upgrades to Devuan Jessie » 2017-12-28 02:45:02

thierrybo wrote:

Hi,

although for me it is safe to have libsystemd0 (but not systemd init), I did not understand how you can avoid installing it. It is a dependency of xserver-xorg-core, and unless you are running a server, any desktop environment or window manager will have  xserver-xorg-core package.

Easy. Install jessie. That dependency doesn't come up until ascii.

#2209 Re: Devuan Derivatives » New Refracta Isos » 2017-12-28 02:41:41

No, that does not look right. Some of the versions mention on needed packages could be satisfied by jessie versions, some by ascii versions. I don't know what's going on with your system, but I will point out that as time goes on, ascii/stretch and ceres/sid will grow farther apart. You're really mixing stable with unstable, not testing and stable.

#2210 Re: Devuan Derivatives » New Refracta Isos » 2017-12-27 19:35:16

gnupg is installed. I don't think I could have installed any packages from the main repo without it.

user@refracta:~$ whereis gpg
gpg: /usr/bin/gpg /usr/share/man/man1/gpg.1.gz

user@refracta:~$ gpg --list-keys
gpg: directory '/home/user/.gnupg' created
gpg: keybox '/home/user/.gnupg/pubring.kbx' created
gpg: /home/user/.gnupg/trustdb.gpg: trustdb created

user@refracta:~$ dpkg -l gnupg
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                     Version           Architecture      Description
+++-========================-=================-=================-=====================================================
ii  gnupg                    2.1.18-8          amd64             GNU privacy guard - a free PGP replacement

What was missing that you had to pull from ceres? I've been using ascii, and it seems fine. There are a few more devuanized packages that need to get into the repo, but it's based on stretch, so just about everything should be working correctly.

#2211 Re: Hardware & System Configuration » [Solved] Remove xfce desktop » 2017-12-27 19:07:37

If task-mate-desktop is installed, it will probably keep you from losing all the stuff that comes with the task metapackage. Use the -s/--simulate option with apt-get to see ahead of time what it wants to remove. Note that apt-get will only mark packages for autoremoval, but it won't remove them. If you install any of those packages, they will be marked as manually installed, and they will be removed from the autoremove list. On the other hand,  aptitude will autoremove them when it removes the task package.

#2212 Devuan Derivatives » New Refracta Isos » 2017-12-26 18:28:53

fsmithred
Replies: 17

I've uploaded new refracta-9 no-X isos:
https://sourceforge.net/projects/refrac … s/testing/

Based on Devuan-2.0 ASCII (pre-beta by probably a few days)

No-X does not mean minimal. It's crammed with a lot of extra utilities, as usual.

login:password    user:user    root:root

No refracta9 desktop isos yet. I might upload ones made from systems upgraded from jessie, but they are bigger than CD size. I haven't decided yet how to get them down to CD size. I'll take suggestions on what packages to leave out.

Update (2017-12-30): Newer installer fixes some bugs. Also includes partial German translation.
https://sourceforge.net/projects/refrac … b/download

* select_grub_dev if grub-pc is copied to /target and installed. (Fixes no bootloader installed on bios system)
* Fixed disable autologin when sudo is default.
* Include preliminary (partial) German translation file. refractainstaller-base (9.3.2)

#2213 Re: Documentation » are the details of the Devuan (Debian?) installer public? » 2017-12-24 01:58:30

1. Install wicd-curses or wicd-cli or connman or setnet. (setnet is in the experimental repo)
2.

dpkg-reconfigure locales
dpkg-reconfigure keyboard-configuration

Install task-french. (and maybe task-french-desktop - check the dependencies)
3.

dpkg-reconfigure tzdata

#2214 Re: Installation » grub-PC and splash screen » 2017-12-24 01:39:31

Copy a jpg or png image file into /boot/grub/
Run 'update-grub'

You'll see the background image on the next boot.

#2215 Re: Installation » sans-dbus, Questions, Tips and Tricks on its Implementation » 2017-12-22 22:27:00

Pinning systemd-sysv to -1 is sufficient to prevent installation of systemd. In fact, you don't even need that. I just tried installing systemd after removing /etc/apt/preferences.d/avoid-systemd and it's not possible.

root@ascii:/home/user# aptitude -s install systemd
No candidate version found for systemd   
Unable to apply some actions, aborting
root@ascii:/home/user# aptitude -s install systemd-sysv
No candidate version found for systemd-sysv
Unable to apply some actions, aborting

#2216 Re: Hardware & System Configuration » Frequent indexing thrashes HDD » 2017-12-22 12:40:21

You could try editing /etc/xdg/tumbler/tumbler.rc to reduce the priority of the image thumbnailers. The range is -20 to 19. Try something like -17. (or +17 if I'm wrong about which way the scale goes.)

#2217 Re: Other Issues » Software packages aging issue » 2017-12-22 12:06:34

hd_scania wrote:

I have tried to upgrade to ASCII and PLENTIES of my detailed desktop features are hence lost, esp I should mostly need suspension, which I wanna take a rest for my machine but dnt wanna reboot, so I will remian Jessie and will try OpenRC in my Jessie system. smile

Any problems with ascii that we don't know about will not get fixed. Any problems caused by misconfiguration on your end won't get fixed until you seek help.

BTW, suspend works fine here. What destkop are you using?

#2218 Re: Desktop and Multimedia » Screen goes mad - ascii » 2017-12-21 17:25:15

If I typed <ctl><alt><f1> it switches to tty1 with the login prompt, but after a few seconds a couple of system messages flash up, making it difficult to log in. Typing <ctl><alt><f1> again would get me to the login prompt, but it proved too hard for me to actually log in.

If you haven't typed anything yet, presssing ENTER will give you another login prompt. Then, do not look at the screen while you are typing. Just log in normally. (give it a couple seconds to prompt you for the password.)

Alternatively, you could turn off those messages by editing /etc/sysctl.conf:

# Uncomment the following to stop low-level messages on console
#kernel.printk = 3 4 1 3

#2219 Re: Hardware & System Configuration » Frequent indexing thrashes HDD » 2017-12-21 01:19:45

Keep a terminal open with top running and look at it when the thrashing starts. Or click on the cpu activity monitor in the panel - it will open a terminal with top.

#2220 Re: Desktop and Multimedia » Screen goes mad - ascii » 2017-12-20 17:57:23

You should put your own configs in /etc/X11/xorg.conf.d so they won't be overwritten on upgrades. Quote from 'man xorg.conf' (I don't know why they list the dir twice. They do that in a few places.)

Finally,  configuration  files  will  also be searched for in directories reserved for system use. These are to
       separate configuration files from the vendor or 3rd party packages from those of local  administration.   These
       files are found in the following directories:

           /usr/share/X11/xorg.conf.d
           /usr/share/X11/xorg.conf.d

#2221 Re: Hardware & System Configuration » nvdia driver installation issues » 2017-12-20 12:29:01

I found this. It's from 2014, so it may no longer be accurate. Also, please run the grep command I posted above to see if you get the same output that I got.

https://devtalk.nvidia.com/default/topi … 0/#4385920

#2222 Re: Hardware & System Configuration » nvdia driver installation issues » 2017-12-20 11:02:25

OK, then, that's a weird message to get.
4.9.0-4-amd64 is not a realtime kernel.
4.9.0-4-rt-amd64 is a realtime kernel.

grep PREEMPT /boot/config*

That gives me the same thing for 4.9 in ascii and for 3.16 in jessie:

CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set

I don't have a 4.9 kernel on the box with the nvidia graphics right now, so I can't test this.

#2223 Re: Other Issues » Becoming a Devuan Maintainer (cut) » 2017-12-19 15:52:06

I haven't heard much discussion of perl among the devuan devs. Maybe it just hasn't come up, or maybe we don't have any avid perl programmers. I think a lot of the package management stuff in debian (and consequently in devuan) is written in perl.

You can do a ./configure and make on a source package. Then run it from there. Don't do a 'make install' or you may screw up the system and confuse apt. Figure out what you need to do to get it to work. If you have to install other libraries, you should install them from the repo. After that, you can figure out how to get it into a debian package.  The basic steps for that are pretty simple. The devil is in the details. And looking at the current debian source to see how it was done should be helpful.

#2224 Re: Devuan » openssh issue on ascii » 2017-12-19 13:57:10

It should be safe to wait. I've been using the older version in ascii until a few minutes ago. I upgraded to the newer package (the one you can't get) and so far, it seems to be working. It can be installed without the recommended packages. I don't know if that breaks anything.

apt-get --no-install-recommends install openssh-server

If there are any problems using the newer version, it's possible to revert by installing the older .deb package in /var/cache/apt/archives

#2225 Re: Hardware & System Configuration » nvdia driver installation issues » 2017-12-19 12:57:33

What kernel are you using? The message is clear. Either use a rt kernel or use nvidia driver, but you can't use both together. Which one is more important?

Edit: How are you installing the nvidia driver? Package from repo or binary from nvidia?

Board footer

Forum Software