You are not logged in.
^@johnraff, Gladly
--------------
After customizing the fstab with my swap and data partition, I ran the bl-welcome script today. The result of my first attempt (I had rejected developer packages and isenkram):
--]snip
After this operation, 347 MB of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
There were problems installing bunsen-apt-update-checker
bunsen-meta-bluetooth bunsen-meta-java
Press "d" for details (q to quit) d
ERROR MESSAGE:
Install Aborted
------------------------------------
Would you like to quit now, or continue anyway?
(Be careful!)
Enter "q" to quit, "c" to continue:
c
Failed to install bunsen-apt-update-checker bunsen-meta-bluetooth bunsen-meta-java.
There was a problem with package installation. Check
/home/unklar/.cache/bunsen-welcome/bl-welcome.log for possible hints, or ask
on the BunsenLabs forum.
Press any key to continue.
In the second attempt, only the update-checker installed without problems.
About the desktop view.
-tint2-bar could be narrower (on this machine), somewhere in the 64'er Feedback there were hints...
-I would have to install thinkfan, because the fan gets on my nerves
Last edited by johnraff (2023-09-29 05:01:06)
Offline
ERROR MESSAGE:
Install Aborted
Very strange! I dug out an old Lenovo Thinkcentre, Dual Intel Pentium core.
It had CB++ installation from 2015.
First boot, pc showed still CB++ grubb image, Culd not boot. Just hung.
Rebooted and choosed boot failsafe.
After loging in and running bl-welcome. script directly says it aborted.
Glanced through my list of virtual machines, could not find any for the 32 bit beta.Runing
Running he bl-welcome script is ok until running "Processing triggers for dbus".
Script anounces
There were Problems during the upgrade.
Press "d" for details (q to quit)
Pressing "d", only result of new "Press "d" for details (q to quit)". Third time pressing "d", I'm offered pressing "q" to quit.
// 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
I ran into some of these "aborted" errors on the 32bit build too. I don't know what's at the bottom of it, but it only seems to happen when the terminal emulator is urxvt. Try installing lxterminal, for example, and setting it as "x-terminal-emulator". Do the problems go away?
I hit these strange "aborted" messages when running an apt-get command installing a longish list of packages. When apt asks if you want to proceed, the terminal seems to generate a fake "NO" answer.
Got this in bl-welcome, also when installing some of the items on menu>system>Install Favourite packages.
It seems to be OK with individual packages, but fail when there is a long list.
Quite often, if you try a second time it goes OK.
And, as I said, only seems to be with urxvt.
I have no idea what's doing this.
Last edited by johnraff (2023-09-16 02:24:40)
...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
Try installing lxterminal, for example, and setting it as "x-terminal-emulator". Do the problems go away?
This reminds me of the problem with lxterminal and default x-terminal-emulator. After installing lxterminal, in galternatives, you have to unset lxterminal and then set it back.
When installing terminator, you don't need this workaround.
Yes, with terminator or lxterminal installed and set to default x-terminal-emulator, the bl-script runs ok.
Got this in bl-welcome, also when installing some of the items on menu>system>Install Favourite packages.
It seems to be OK with individual packages, but fail when there is a long list.
which "Favourite packages", gives a "long list"?
I will later test reinstall with 64 bit iso, uninstall lxterminal, install urxvt and then run bl-welcome.
// 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
Reinstalled BL boron alpha 1.
Before runing bl-welcome, installed urxvt, set it as default x-terminal.
Running bl-welcome was ok.
@johnraff, if we can't find the error in 32 bit iso, maybe we should swap urxvt for xterm or xfce4-terminal?
// 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
Reinstalled BL boron alpha 1.
Before runing bl-welcome, installed urxvt, set it as default x-terminal.Running bl-welcome was ok.
@johnraff, if we can't find the error in 32 bit iso, maybe we should swap urxvt for xterm or xfce4-terminal?
urxvt seemed like a good choice for old machines because it is fast, but if we can't pin down this bug (have to check behaviour on Beryllium) then let's go back to the default lxterminal. It's not particularly heavier than the other terminals.
I've never had issues like this with urxvt before - though it does have some other quirks.
...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
Got this in bl-welcome, also when installing some of the items on menu>system>Install Favourite packages.
It seems to be OK with individual packages, but fail when there is a long list.which "Favourite packages", gives a "long list"?
I just revisited this again in my 32bit VM with urxvt set as x-terminal-emulator.
I tried the longest list I could think of: menu > System Settings > Install Favourite Packages > Libreoffice > Install LIBREOFFICE FULL SUITE which tries to install a very long list of packages.
Sure enough, at the apt prompt
After this operation, 1,158 MB of additional disk space will be used.
Do you want to continue? [Y/n]
It immediately printed "Abort", exactly as if the user had pressed 'n'.
Press 'd' for details to see:
ERROR MESSAGE:
Install Aborted
I got this result three times in a row.
However, running this in a terminal succeeded:
bl-install-pipemenu --install libreoffice
(Although I declined the install at that point anyway.)
The difference between that and the menu item is of course that the latter is going via jgmenu. This content is generated by bl-install-pipemenu:
"""Web Browsers""",^checkout(browsers)
"""Terminal Emulators""",^checkout(terms)
"""Utilities""",^checkout(utils)
"""Multimedia Players""",^checkout(mmapps)
"""Multimedia Editors""",^checkout(mmeditors)
"""Multimedia Utilities""",^checkout(mmutils)
"""Graphics Apps""",^checkout(graphicapps)
"""Graphics Scrots""",^checkout(graphicscrots)
"""Libreoffice""",^checkout(libreo)
^tag(terms)
Back,^back()
"""Install Terminator""","""/usr/bin/bl-install-pipemenu --install terminator"""
"""Install Mate Terminal""","""/usr/bin/bl-install-pipemenu --install mate-terminal"""
"""Install Gnome Terminal""","""/usr/bin/bl-install-pipemenu --install gnome-terminal"""
"""Install Xfce4 Terminal""","""/usr/bin/bl-install-pipemenu --install xfce4-terminal"""
^tag(libreo)
Back,^back()
"""Install LibreOffice Writer""","""/usr/bin/bl-install-pipemenu --install libreoffice-writer"""
"""Install LibreOffice Calc""","""/usr/bin/bl-install-pipemenu --install libreoffice-calc"""
"""Install LibreOffice Impress""","""/usr/bin/bl-install-pipemenu --install libreoffice-impress"""
"""Install LibreOffice Draw""","""/usr/bin/bl-install-pipemenu --install libreoffice-draw"""
"""Install LibreOffice Base""","""/usr/bin/bl-install-pipemenu --install libreoffice-base"""
"""Install LIBREOFFICE FULL SUITE""","""/usr/bin/bl-install-pipemenu --install libreoffice"""
^tag(mmutils)
Back,^back()
"""Install Brasero""","""/usr/bin/bl-install-pipemenu --install brasero"""
"""Install k3b CD/DVD burner""","""/usr/bin/bl-install-pipemenu --install k3b"""
"""Install Simplescreenrecorder""","""/usr/bin/bl-install-pipemenu --install simplescreenrecorder"""
^tag(utils)
Back,^back()
"""Install hw-probe hardware checker""","""/usr/bin/bl-install-pipemenu --install hw-probe"""
"""Install Midnight Commander file manager""","""/usr/bin/bl-install-pipemenu --install mc"""
"""Install mdadm Multi-Disk (RAID) manager""","""/usr/bin/bl-install-pipemenu --install mdadm"""
"""Install Gnome Calculator""","""/usr/bin/bl-install-pipemenu --install gnome-calculator"""
"""Install Dropbox""","""bl-dropbox-pipemenu --install-dropbox"""
^tag(graphicapps)
Back,^back()
"""Install Mirage""","""/usr/bin/bl-install-pipemenu --install mirage"""
"""Install Viewnior""","""/usr/bin/bl-install-pipemenu --install viewnior"""
"""Install Gpicview""","""/usr/bin/bl-install-pipemenu --install gpicview"""
"""Install Geeqie""","""/usr/bin/bl-install-pipemenu --install geeqie"""
"""Install Gthumb""","""/usr/bin/bl-install-pipemenu --install gthumb"""
"""Install Gimp""","""/usr/bin/bl-install-pipemenu --install gimp"""
"""Install Inkscape""","""/usr/bin/bl-install-pipemenu --install inkscape"""
^tag(mmapps)
Back,^back()
"""Install Vlc""","""/usr/bin/bl-install-pipemenu --install vlc"""
"""Install Audacious""","""/usr/bin/bl-install-pipemenu --install audacious"""
"""Install Smplayer""","""/usr/bin/bl-install-pipemenu --install smplayer"""
"""Install Celluloid""","""/usr/bin/bl-install-pipemenu --install celluloid"""
^tag(mmeditors)
Back,^back()
"""Install Mhwaveedit""","""/usr/bin/bl-install-pipemenu --install mhwaveedit"""
"""Install Audacity""","""/usr/bin/bl-install-pipemenu --install audacity"""
"""Install Openshot""","""/usr/bin/bl-install-pipemenu --install openshot"""
^tag(graphicscrots)
Back,^back()
"""Install Xfce4 Screenshooter""","""/usr/bin/bl-install-pipemenu --install xfce4-screenshooter"""
^tag(browsers)
Back,^back()
"""Install Firefox Esr""","""/usr/bin/bl-install-pipemenu --install firefox-esr"""
"""Install Chromium""","""/usr/bin/bl-install-pipemenu --install chromium"""
I guess the next step might be to make a very small menu with only the LIBREOFFICE item and see how that behaves.
(Remembering that the issue seems to arise only with urxvt.)
...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 guess the next step might be to make a very small menu with only the LIBREOFFICE item and see how that behaves.
(Remembering that the issue seems to arise only with urxvt.)
urxvt is behaving oddly when trying to capture the standard error or output of an apt command in a variable.
Try this, even: EDIT: this command is not useful, see below.
apt_error=$( sudo apt-get install mirage 2>&1 )
echo $apt_error
The first line displays nothing because all the output goes into apt_error, but view the contents to see the apt command has aborted at the "Do you want to continue? [Y/n]" prompt.
This only seems to happen with urxvt, and of course
sudo apt-get install mirage 2>&1
runs normally.
EDIT: the command I posted yesterday was unhelpful because apt's stdout is being stored in the variable, not displayed on the terminal, so $USER cannot respond even if everything is working.
Try this instead:
apt_error=$( sudo apt-get install mirage 2>&1 1>/dev/tty )
echo $apt_error
Also try with (non-existent) 'mirag' instead. This time there's no prompt, and you'll see the error inside $apt_error.
For me this works fine even with urxvt on Beryllium/Bullseye, but not with any terminal emulator on Boron!
The plot thickens...
Last edited by johnraff (2023-09-24 04:48:07)
...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
Bit of news: on Boron try the above test again, with any terminal emulator, but using sh (ie dash) not bash.
sh # now using dash
apt_error=$( sudo apt-get install mirage 2>&1 1>/dev/tty )
echo $apt_error
For me, it now worked, even with urxvt, so it looks as if the behaviour of bash wrt redirections has changed between 5.1 and 5.2.15
...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
With help from the good people on the Debian Users mailing list we've got to the bottom of this.
tl:dr
An upgrade of bunsen-common: bunsen-common 12.1.4-1 is now available and expected to fix this issue.
Read on for details:
The behaviour of sudo changed in a subtle way between Bullseye and Bookworm, interfering with the apt functions in /usr/lib/bunsen/common/bl-includes which our scripts and pipemenus use. For whatever reason the problem arose only with urxvt, although the test commands posted above failed for any terminal emulator. The only shell found to be affected was bash - dash, ksh and zsh were OK. By modifying those apt functions in bl-includes to use a tempfile to capture error messages instead of redirection, everything seems to work as before. Tempfiles are not an elegant solution but wrangling with sudo, subshells and file descriptors didn't seem worth the effort.
Even more details:
https://lists.debian.org/debian-user/20 … 00479.html and following posts
https://bugs.debian.org/cgi-bin/bugrepo … bug=657784
https://bugs.debian.org/cgi-bin/bugrepo … ug=1011624
https://bugs.kde.org/show_bug.cgi?id=452532#c28
https://salsa.debian.org/sudo-team/sudo … 62e7f3d751
and our fix:
https://github.com/BunsenLabs/bunsen-co … 72dcd301f4
...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