You are not logged in.
johnraff wrote:Apt usually takes care of the architecture automatically, though.
How does Apt know? Do you think it inspects the response of:
dpkg --print-architecture
Could be - I haven't delved into apt's source code. But the important thing is that it does know the architecture of the system it's installing packages for.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
Then I basically rebuilt bunsen-meta-all without 4 packages using pbuilder and installed from a local directory/repo, probably some more could go (firmware related) but it doesn't really matter at this point.
After running:
sudo apt install bunsen-meta-all
I noticed that the 4 packages that are not installable are:
amd64-microcode
i965-va-driver
intel-microcode
xserver-xorg-video-intel
@cog - I now understand that your debian/control omits these 4 packages also.
However, I have no idea how to proceed. I have no knowledge of pbuilder or how to use it to re-build debian/control. I am assuming that you have built and hosted this somewhere separately (on your local machine), but does this mean you will have to update your /etc/apt/sources.list to point to a local directory, so that when you install bunsen-meta-all, it will install the dependencies from your local debian/control? But how to do this?
@damo @johnraff - perhaps it would be useful to have a `bunsen-meta-raspi` package in the repositories that omits the above packages ARM installations wouldn't require?
Alternatively, please provide some steps on how I can create my own. I'm willing to put in the time for this and document everything so that we can extend our support and documentation to supporting Pi and other ARM device installations.
EDIT: A quick scan of this would indicate that I need to obtain the source for the bunsenlabs packages. Would I achieve this by adding the following to /etc/apt/sources.list ?:
deb-src https://deb.debian.org/debian-security/ buster/updates main contrib non-free
Then getting the source for bunsen-meta-all ?:
sudo apt source bunsen-meta-all
Am I on the correct path? Even so, I still don't yet know how to proceed.
Last edited by jimjamz (2021-01-03 21:20:00)
Offline
EDIT: A quick scan of this would indicate that I need to obtain the source for the bunsenlabs packages. Would I achieve this by adding the following to /etc/apt/sources.list ?:
deb-src https://deb.debian.org/debian-security/ buster/updates main contrib non-free
Then getting the source for bunsen-meta-all ?:
sudo apt source bunsen-meta-all
Am I on the correct path?
If you want to download packages or source for Bunsenlabs, you must add Bunsenlab repo:
deb-src https://pkg.bunsenlabs.org/debian/ lithium main
But, I think beter would be to fork the repo on github: https://github.com/BunsenLabs
Even so, I still don't yet know how to proceed.
Yes, some trheshold there is... I have recently paid a years subsciption to Apress and downloaded two books about Git. Hope to get sone time to dive into it. I also fell perpelexed...
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
perhaps it would be useful to have a `bunsen-meta-raspi` package in the repositories that omits the above packages ARM installations wouldn't require?
Alternatively, please provide some steps on how I can create my own......Am I on the correct path?
Of course learning about how Debian packages are built is very valuable, also a grasp of git will always be useful.
But if your immediate goal is to install the full set of BunsenLabs packages on an arm system there's no need to make a custom metapackage. The bunsen-meta-* packages are just for convenience, but if you have a list of packages you want to install, you can just give it directly to apt. You have already been over the package list, so you could either write a very long command line:
sudo apt install thispackage thatpackage yetanotherpackage...
or maybe, more neatly, put the package list in a file, one package name on each line (or just space-separated):
somepackage
someotherpackage
...
and give it to apt like this
sudo apt install $( < path/to/packagelist )
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
If you want to download packages or source for Bunsenlabs, you must add Bunsenlab repo:
deb-src https://pkg.bunsenlabs.org/debian/ lithium main
D'oh! I didn't realise until I read your reply that, in my previous post, I had incorrectly pasted the wrong `deb-src` URL, pasting debian-security instead of the `lithium` one. Sorry for the confusion.
You have already been over the package list, so you could either write a very long command line:
sudo apt install thispackage thatpackage yetanotherpackage...
Yes, that is what I was afraid of being suggested. Indeed, it was what I was trying to avoid.
or maybe, more neatly, put the package list in a file, one package name on each line (or just space-separated):
somepackage someotherpackage ...
and give it to apt like this
sudo apt install $( < path/to/packagelist )
I did not know you could do that! As a software engineer, Git knowledge is not an issue, but unfortunately, my knowledge of Debian's package management and building my own distribution remains a weakness; something I am eager to improve.
I will give this a try (hopefully next week) and report back.
Last edited by jimjamz (2021-01-10 16:26:11)
Offline
johnraff wrote:...give it to apt like this
sudo apt install $( < path/to/packagelist )
I did not know you could do that! As a software engineer, Git knowledge is not an issue, but unfortunately, my knowledge of Debian's package management...
Actually, this isn't apt, it's a feature of Bash (the default shell).
$(<file)
is a way of reading a file into a string. As there are no quotes around the "variable" being dereferenced, the file content will be subject to the shell's word-splitting, ie the line-breaks in the file will be replaced by spaces. In this particular case, that's just what you want.
PS only bash and zsh (as far as I know) support that syntax.
...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )
Offline
I did not know you could do that! As a software engineer, Git knowledge is not an issue, but unfortunately, my knowledge of Debian's package management and building my own distribution remains a weakness;
This is simple shell command line and scripting knowledge. You'd do well to learn about it. You can use it with git as well, and in just about any situation.
Offline
I did another fresh install of Raspberry Pi OS Lite, updated and upgraded APT, then added the signing keys and updated /etc/apt/sources.list as before, with the necessary Debian and BunsenLabs repositories.
I then installed BunsenLabs with my own package list as @JohnRaff had suggested.
The install came in at around roughly 1704MB.
I rebooted and observed the following:
lvm2-monitor failed to start.
NetworkManager failed to start, despite several attempts during boot.
I wanted to check the stautus of these failures:
sudo systemctl status lv2-monitor.service
sudo systemctl status NetworkManager.service
but the response was empty.
Could these services be missing? But the <TAB> auto-complete found the .service
I tried to start the X window system with `startx` but received:
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Does the X server need to be configured separately?
Offline
when I run "systemctl status lv2-monitor.service", system reports: "Unit lv2-monitor.service could not be found". You should get that answer if the serice is missing or else a status report.
What do you mean with "But the <TAB> auto-complete found the .service".
Nowadays, you do not need to configure Xorg. But, you need drivers for the graphics. Have you run hw-probe?
Do you start up in multiuser or failsafe mode? If not starting in multiuser mode, the network and networkmanager will not start.
Last edited by rbh (2021-01-18 18:27:55)
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
jimjamz, so you are trying to make BL as lightweight as possible by removing packages?
It would appear that you removed one or two packages too many?
Does systemctl or journalctl react at all when invoked?
Did you mean lvm2-monitor? AFAIU it has something to do with encrypted partitions, do you even need that?
And networkmanager - if you have only one network connection (preferably wired) you don't need that either.
Offline
Did you mean lvm2-monitor? AFAIU it has something to do with encrypted partitions, do you even need that?
Yes, he wrote above lvm2-monitor failed to start.
● lvm2-monitor.service - Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
If LVM is used, it might be good to monitor...
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
`hw-probe` is not available on the distribution. Similarly, I cannot use `lspci -k`:
pcilib: Cannot open /proc/bus/pci
lscpi: Cannot find any working access method
`lshw -C display` also provides no information and the command does not respond correctly and just hangs.
From what I've read in other sources, all that I am missing is a desktop environment. I shouldn't have to install a graphics driver:
https://dustinpfister.github.io/2020/03 … rver-xorg/
https://raspberrytips.com/upgrade-raspb … nvironment
https://www.raspberrypi.org/forums/view … p?p=890408
openbox appears to already be installed from installing my own custom bunsen-meta package list.
Using this docker walkthrough as a guide on the steps I may be missing, I realised that I need to run `bunsenlabs-session` to create the necessary configuration, directories and environment variables. Everything seemed to go well, except:
xrdb: Can't open display ''
/usr/bin/bunsenlabs-session: cannot merge /home/pi/.Xresources
Openbox Message: Failed to open the display from the DISPLAY environment variable.
I have a local .Xauthority directory but it is empty.
Offline
Hmm, my post from yesterday evening around 22:30 does not seem to have made it to the forum.
Once again then, in brief:
when I run "systemctl status lv2-monitor.service", system reports: "Unit lv2-monitor.service could not be found". You should get that answer if the serice is missing or else a status report.
Sorry, typo. Missing 'm'. Should be `systemctl status lv2m-monitor.service`
What do you mean with "But the <TAB> auto-complete found the .service".
I was trying to say that when I start typing "systemctl status lvm-2" then hit the <TAB> key, it auto-completes the command to: "systemctl status lv2m
$ sudo systemctl status lv2m-monitor.service
$
-monitor.service", meaning that the service does exist, and isn't missing. Just an empty response when running it:
Sorry if it was confusing.
Do you start up in multiuser or failsafe mode? If not starting in multiuser mode, the network and networkmanager will not start.
Not sure. I would imagine it to be multiuser as I have to specify the username and password on startup.
jimjamz, so you are trying to make BL as lightweight as possible by removing packages?
It would appear that you removed one or two packages too many?
Not trying to be lightweight. I'm trying to install BunsenLabs from a Raspberry Pi OS distribution. The reason why I have chosen the 'Lite' variant over the 'Desktop' variant is because of the unnecessary desktop environment, configuration and apps not required from the 'Desktop' variant that the Raspberry Pi Foundation bundle in.
Does systemctl or journalctl react at all when invoked?
No.
Did you mean lvm2-monitor?
It's not about whether I need it. It's about recording the results I find during the process.
Offline
when I run "systemctl status lv2-monitor.service", system reports: "Unit lv2-monitor.service could not be found". You should get that answer if the serice is missing or else a status report.
Sorry, typo. Missing 'm'. Should be `systemctl status lv2m-monitor.service`
lv2 is an audioservice. Whichever service you ask for its status, you should get statusreport if present, else info that it is missing.
Do you start up in multiuser or failsafe mode? If not starting in multiuser mode, the network and networkmanager will not start.
Not sure. I would imagine it to be multiuser as I have to specify the username and password on startup.
You have set password to boot grub? That has nothing to do with what runlevel you achive. Run command "runlevel" in terminal. "N 5" is graphical multiuser mode.
Does systemctl or journalctl react at all when invoked?
No.
Then your system is broken. command "systemctl", should page through all services and devices.
Does comand "ls /lib/systemd/system/" give a lista of any services? Can you get status for any service, stop, start restart?
Is Pi your only computer? You should compare your system with a functional one...
It's not about whether I need it. It's about recording the results I find during the process.
If you do not need it, you can gain more free resources if you disable or uninstall...
Last edited by rbh (2021-01-19 20:42:45)
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
jimjamz, once again: Did you mean lvm2.service? Not lv2, not lv2m? your computer doesn't take kindly to typos, the command line hasn't mastered fuzzy logic yet.
Unfortunately it looks like this:
It would appear that you removed one or two packages too many?
I prefer to build my systems the other way round: basics first, and then put only what I really need on top.
Last edited by ohnonot (2021-01-20 06:40:37)
Offline
lv2 is an audioservice. Whichever service you ask for its status, you should get statusreport if present, else info that it is missing.
Another typo by me. It doesn't help I'm manually typing these out: lvm2-monitor.service
You have set password to boot grub? That has nothing to do with what runlevel you achive. Run command "runlevel" in terminal. "N 5" is graphical multiuser mode.
At what stage do you have to set the password for grub? This is not done during the Raspberry Pi OS installation and configuration stage. Neither, is this done during the bunsen-meta package install stage. Installing bunsenlabs packages this way does not mean that the usual BunsenLabs installation procedure is invoked. Therefore, I am unable to set password for grub or configure partitions for LUKS encryption like a user is able to during the setup stage.
What would be the BunsenLabs setup procedure post-package installation? So far, I have only run `bunsenlabs-session`. Perhaps there are some other steps I have missed?
ohnonot wrote:Does systemctl or journalctl react at all when invoked?
jimjamz wrote:No.
Then your system is broken. command "systemctl", should page through all services and devices.
Does comand "ls /lib/systemd/system/" give a lista of any services? Can you get status for any service, stop, start restart?
`ls /lib/systemd/system/` lists all services as expected. It is the response from the `systemctl` command that returns an empty response regardless of the service passed into the command.
Although `systemctl status NetworkManager.service` returns an empty response, systemctl must be functioning in some capacity.
If I start to type `systemctl stat<TAB>` it will complete the command parameter to `systemctl status `. If systemctl was completely broken and not active, it wouldn't be able to successfully auto-complete.
Is Pi your only computer? You should compare your system with a functional one...
No, I have BL on several different devices.
Offline
rbh wrote:You have set password to boot grub? That has nothing to do with what runlevel you achive. Run command "runlevel" in terminal. "N 5" is graphical multiuser mode.
At what stage do you have to set the password for grub?
I never set a password for Grub... Do not recall the option to be in standard Debian installer.
I am unable to set password for grub or configure partitions for LUKS encryption like a user is able to during the setup stage.
? You wrote that you give password for booting. Have you installed and run "grub-mkpasswd-pbkdf2" or some other tool?
What would be the BunsenLabs setup procedure post-package installation? So far, I have only run `bunsenlabs-session`. Perhaps there are some other steps I have missed?
?? how can you run bunsenlabs-session, when you can't start X?
Often I don't run bl-welcome script. Before I should run it, I have to edit sources to poinht to my local server, where I mirror sources. So, I just kill that terminal window and continue to install services and applications I want. I think that is sufficient.
Have you installed all bunsen-specific applications you want?
`ls /lib/systemd/system/` lists all services as expected. It is the response from the `systemctl` command that returns an empty response regardless of the service passed into the command.
But, as I wrote before, your core function, systemd, is broken. Do you realy think it meningfull, to work on a system that is broken? Is it not beter to start anew?
Although `systemctl status NetworkManager.service` returns an empty response, systemctl must be functioning in some capacity.
But severely crippled.
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
If you start anew, maybe you could test work with grml-debootstrap?
Bunsenlabs Lithium Package lists Full package list (64 bit), needs to be tweaked.
Thinking to by an Pi in spring.
Last edited by rbh (2021-01-21 18:25:47)
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline
jimjamz wrote:I am unable to set password for grub or configure partitions for LUKS encryption like a user is able to during the setup stage.
? You wrote that you give password for booting. Have you installed and run "grub-mkpasswd-pbkdf2" or some other tool?
I stated that I could not set a password for grub, because I thought you were referring to the password created for LUKS encryption after grub starts. OK, I think we're getting our wires crossed somewhat here, and also losing focus of the problem at hand. Let's forget about the grub issue as I don't think it is key to solving the issue.
?? how can you run bunsenlabs-session, when you can't start X?
How could you have it the opposite? The bunsenlabs-session is what creates all the necessary configuration and home profile directories, along with the .xresources and .xsession configuration. How could X be started without those?
Often I don't run bl-welcome script. Before I should run it, I have to edit sources to poinht to my local server, where I mirror sources. So, I just kill that terminal window and continue to install services and applications I want. I think that is sufficient.
Have you installed all bunsen-specific applications you want?
I have installed only the packages that are part of the bunsen-meta-all package, with the exception of the 4 packages that are AMD64 related:
amd64-microcode
i965-va-driver
intel-microcode
xserver-xorg-video-intel
To keep it simple, I have taken the following steps:
1. Flash Raspi lite base image to the SD card.
2. Add bunsen and debian signing keys to keyring.
3. Add debian and bunsen sources to /etc/apt/sources.list
4. Apt update.
5. Apt install $( < path/to/MyCustomPackageList ) # which is bunsen-meta-all minus the 4 AMD 64 packages.
6. bunsenlabs-session
systemctl is working normally until after step 5. Then, always an empty response from systemctl.
jimjamz wrote:`ls /lib/systemd/system/` lists all services as expected. It is the response from the `systemctl` command that returns an empty response regardless of the service passed into the command.
But, as I wrote before, your core function, systemd, is broken. Do you realy think it meningfull, to work on a system that is broken? Is it not beter to start anew?
I am starting anew, every time I run into an error. I re-flash the SD card from the base Raspi image and start again - as described in the above steps. The information I gave was in in regards to the result of `ls /lib/systemd/system/`, was in response to what you asked me for:
Does comand "ls /lib/systemd/system/" give a lista of any services?
I was reporting the diagnosis of the response and my observations, not using it as justification to continue with a broken system.
Last edited by jimjamz (2021-01-22 15:54:29)
Offline
I was reporting the diagnosis of the response and my observations, not using it as justification to continue with a broken system.
I read that you could not start X, neither with startx, nor with bunsenlab-session...
But.. You have reinstalled several times. Every time you get problem.
Systemctl works as expected until you install Bunsenlab packages!
If you uninstall them, one at a time, and test systemctl? Restart systemd and ask status for one service? or opposite, add bunsen apps one a time and test systemctl...
Just for the sake of it, should you not also install all debian packages, not just the BL-packages? The full list is here Bunsenlabs Lithium Package lists
Du you have a harddrive attached to your Pi, or a big flashcard, så you can work with (grml-)debootstrap?
Last edited by rbh (2021-01-22 17:07:04)
// Regards rbh
Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu
Offline