The officially official Devuan Forum!

You are not logged in.

#176 Other Issues » Where does 'apt-cache search' searchs? » 2021-11-09 10:59:08

chomwitt
Replies: 4

Initially i thought that is searches package names (by that i mean 'Package' field's value).
But it also searches Description field.
But as we can find by an example as :

$ apt-cache --names-only search "^ff.*"
ffado-dbus-server - FFADO D-Bus server
ffado-mixer-qt4 - FFADO D-Bus mixer applets
ffado-tools - FFADO debugging and firmware tools
....
sfftw-dev - library for computing Fast Fourier Transforms
sfftw2 - library for computing Fast Fourier Transforms
$ apt-cache show sfftw2
Package: sfftw2
Version: 2.1.5-4.2+b1
Installed-Size: 554
Maintainer: Debian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Architecture: amd64
Provides: fftw2-single
....

it's obviously searches the 'Provide' field too.

$ man apt-cache
search regex...
           search performs a full text search on all available package lists for the POSIX regex pattern given, see regex(7). It searches the package names and the
           descriptions for an occurrence of the regular expression and prints out the package name and the short description, including virtual package names.

  --names-only, -n
           Only search on the package and provided package names, not the long descriptions. Configuration Item: APT::Cache::NamesOnly.

But

$ apt-cache show librust-pango-sys-dev
Package: librust-pango-sys-dev
Version: 0.9.0-2
Installed-Size: 158
Maintainer: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Architecture: amd64
Provides: librust-pango-sys+default-dev (= 0.9.0-2), librust-pango-sys+dox-dev (= 0.9.0-2), ......

and i think that i could search librust-pango-sys+default-dev  but:

$ apt-cache search 'librust-pango-sys+default-dev'

returns nothing

So if apt-cache search 'Provides:' why would that fail?

#177 Re: Installation » Issues with booting a fresh Beowulf install » 2021-07-12 16:11:48

Well. i tried Chimaera and the installation and reboot was smooth!!
Meaning  , no grub prompt , no tty drop (due to lack of firmware missing) but low res GUI,

So i write this from my Devuan 4 + LXqt using luakit .

So i guess it was an old kernel that couldnt  handle nvme boot , sth that reinforces a heuristic of mine, about using only 2-3 year old harwdware in linux.

It wasnt a strange uefi bios quirk or a grub issue.

I wish only that grub or kernel would issue a related error to make resulution faster,

#178 Re: Installation » Issues with booting a fresh Beowulf install » 2021-07-11 19:41:37

Finally!! As it turns out, that black screen must have been gui that couldnt start due to amd non firware missing.
I changed to  a virtual console and login!

#179 Re: Installation » Issues with booting a fresh Beowulf install » 2021-07-11 18:12:42

I did a couple more tries ,i double checked bios that nvme ssd is first in boot order ,and again happened the same.
Beowulf + LXqt will install successfully in nvme but after reboot will stop to a grub prompt with no error .
I managed to boot the kernel with:

grub> set root=(hd3,gpt2)
grub> set prefix=(hd3,gpt2)/boot/grub
grub> insmod normal
grub> normal

but the kernel booting suddenly stops in a blank screen with a curson on top left where i can see letters i press.

The same procedure as above will work if i try Beowulf + XFCE .

Also there is no problem so ever if try a sata ssd.

#180 Re: Installation » Issues with booting a fresh Beowulf install » 2021-07-11 08:56:28

I installed Beowulf+LXqt  in an ssd storage and it booted with no problem. So it seems the nvme is the problem.

#181 Re: Installation » Issues with booting a fresh Beowulf install » 2021-07-11 06:24:33

I will be patient. Also i want to add that the error message error no such device xxxxxxxxx..... (that is the UUID of the partition that was holding my previous debian system ) was appearing also just after grub menu when  i was booting with debian. But i didnt dwell over it because my system was booting ok. Also that debian systen was my fiirst try to install in a nvme storage.

So i suspect that that nvme storage of mine maybe is  related here.

#182 Re: Installation » Issues with booting a fresh Beowulf install » 2021-07-11 00:56:07

I tried again from the start to install devuan with no GUI and choosing  YES to ''Force grub into EFI removable media path'' but
still the installaltion was a success but after reboot i am into grub again.

#183 Re: Installation » Issues with booting a fresh Beowulf install » 2021-07-11 00:03:34

Ok, i managed to boot folllowing different instructions in grub2.

grub> set root=(hd3,gpt2)
grub> insmod linux
grub> insmod normal
grub> normal

After booting into (just after grub menu goes away i see:
error no such device 1fe9bf88-.....  (that id is from my new devuan partition)
but after some seconds it goes away.

in my text only Beowulf system i give:
# update-grub

and
# apt-get install firmware-amd-graphics

Now i booted in XFCE , i dont have connectivity!! (i had in text mode previously!)

#184 Re: Installation » Issues with booting a fresh Beowulf install » 2021-07-10 23:46:06

I managed to boot linux from grub

grub> ls
(hd3,gpt2) ...            // i have installed in my PC a sdd, a hdd and a nvme sdd (where i installed devuan)

grub> set root=(hd3,gpt2)
grub> linux /boot/vmlinuz-...  root=/dev/sdd2
grub> initrd /boot/initrd.img-...
grub> boot

Grub2 seems to yield control to a kernel that starts booting but it stops for not
beiing able to find sdd2 (maybe its wrong the part 'root=/dev/sdd2

#185 Installation » Issues with booting a fresh Beowulf install » 2021-07-10 23:02:13

chomwitt
Replies: 13

Installation medium: Beowulf netinstall.
Computer: Physical PC
All installations are NOT expert mode.
All installations succeed. The issues appear after i reboot.
In the 'Install Grub' step i selected NO to 'Force grub into EFI removable media path'

First i tried to install Devuan+LXqt but after reboot it throughs me to a black screen (no prompt symbol) where i can type .

Then i tried to iinstall with no GUI but instead of login promt i see the grub prompt symbol.

Finally i tried with XFCE but still i see the grub prompt.

#186 Re: Other Issues » Runit » 2021-01-26 09:49:44

# pstree
runit─┬─apache2───2*[apache2───26*[{apache2}]]
      ├─avahi-daemon───avahi-daemon
      ├─cron
      ├─cups-browsed───2*[{cups-browsed}]
      ├─cupsd
      ├─dbus-daemon
      ├─dhclient
      ├─elogind-daemon
      ├─rsyslogd───3*[{rsyslogd}]
      ├─runsvdir─┬─5*[runsv───fgetty]
      │          └─runsv───bash
      ├─saned───saned
      ├─sshd───sshd───bash───pstree
      └─udevd

So only fgetty is supervised by runsv processes.
Trying to found how runit starts the other processes.

So i am pondering if runit cant handle a process , and it uses sysvinit script to start it , that means that this process hasnt a supervisor and if it fails it wont start automatically ?

#187 Re: Other Issues » Runit » 2021-01-25 09:42:13

Installation medium: Beowulf netinstall
Host: a headless vps somewhere north europe !

I installed runit .
But only gettys run under runsv . Does that mean that apache , rsyslogd , sshd , dhclient as services do not have a runit ''interface''?
----------------------
I found a page with runit runscripts scripts. Should i use those?

-----------------------

Ok, they helped me at #devuan irc.
If i got it, runit defaults in sysvinit when it wont find runit scripts.

#189 DIY » Install runit in Beowulf. » 2021-01-11 09:10:15

chomwitt
Replies: 0

Do i have to follow those instructionshttp://smarden.org/runit/replaceinit.html  or installation script will cover that?

Board footer

Forum Software