You are not logged in.
Unfortunately responsible people don't want to or can't understand this when it comes to 'upgrading the existing lithium to the new beryllium':
full-upgrade/dist-upgrade works just like upgrade, except that it removes a package already installed on the system when the system upgrade requires it. The normal upgrade command, on the other hand, does not do this.
Therefore, is second command,
apt[-get] upgrade
as I said, is nonsense in this context.
Debian isn't a monolith - it's made of thousands of volunteers. The organization is very carefully put together so that packages get checked before they are added to the repositories, but maintainers do sometimes make mistakes with corner cases when upgrading, especially between package versions that are a more that one upgrade apart.
Users do sometimes build their own packages and forget they're installed, or install from backports or private repositories. Those packages' maintainer scripts might not exactly match.
All this - very slightly - increases the chance of an error when doing a 'full-upgrade'. On a server, even a tiny risk can't be taken, so Debian recommend the absolutely safest course they can think of. A very inexperienced user might also get into trouble.
For most people who know roughly what they're doing, with single-user systems that are regularly rebooted, it's probably fine to go straight from 'apt update' to 'apt full-upgrade', but the 'apt upgrade' in between does absolutely no harm, and in tutorials aimed at a wide range of users it's best to include it.
...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
1.3.2 Remove obsolete packages should happen in section 2 after the apt update/upgrade.
Of course it does no harm in section 1 too, if there are some long-standing obsolete packages on the system.
Now I think about it a bit more, removing obsolete packages should be done in section 1, before the system upgrade. The fewer doubtful packages there are on the system, the lower the chance of getting problems with the upgrade. In fact it's probably a good idea to uninstall all unnecessary or seldom-used packages before system upgrade - they can always be re-installed later.
But there's still a need to check for obsolete packages after system upgrade too. Changing the Debian repository will have resulted in some packages no longer being available. However, if they're installed on the system, 'apt full-upgrade' will only remove them if they're holding up some other package's upgrade. Otherwise they'll just remain, and should be removed by hand before they cause trouble.
...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
Now I think about it a bit more, removing obsolete packages should be done in section 1, before the system upgrade. The fewer doubtful packages there are on the system, the lower the chance of getting problems with the upgrade. In fact it's probably a good idea to uninstall all unnecessary or seldom-used packages before system upgrade - they can always be re-installed later.
Yes. Also, the upgrade will take less time. Run...
sudo apt update
If there is a package you recognize there... GIMP, Thunderbird, Synaptic, whatever... and you don't use it, don't run the upgrade yet. Remove the package first, then upgrade. Example...
sudo apt purge thunderbird
...or if you're sure you'll never use the package...
sudo apt purge --autoremove thunderbird
Then run...
sudo apt update && sudo apt upgrade
Or just sudo apt upgrade, I'm being cautious for this post.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
The Debian Wiki is a hot mess (try the Arch Wiki), but the Debian Handbook is solid as a rock (go Raphael Hertzog!)
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
Example...
sudo apt purge thunderbird
...or if you're sure you'll never use the package...
sudo apt purge --autoremove thunderbird
I would say, if you're not sure you'll never use the package again, better not to use 'purge' or else all the settings will be gone. Just:
sudo apt remove thunderbird
...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
^ Right
https://manual.siduction.org/sys-admin- … e-packages
I always purge --autoremove, I figure if I re-install I should start fresh. I hate that I have to check my Home folder for .config, .cache and .local.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
^Purge will only remove the system-wide settings. I don't think there's anything you can say to apt to get it to remove stuff in $HOME.
...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
^There isn't. Hence me hating looking in 3 locations. Catfish is nice for that, though. Just enable "Show hidden files", search for the program, ignore the icon results, done.
Of course, there are (more powerful) cli ways to do that as well.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
But there's still a need to check for obsolete packages after system upgrade too. Changing the Debian repository will have resulted in some packages no longer being available. However, if they're installed on the system, 'apt full-upgrade' will only remove them if they're holding up some other package's upgrade. Otherwise they'll just remain, and should be removed by hand before they cause trouble.
If you correct your command, then your statement is correct with apt[-get] upgrade.
To the further discussion:
I don't care in principle in the meantime which way one or the other chooses, with man apt; the debian-wiki or manual. I found my way thanks to siduction and its former developer, @agaida.
apt update
apt dist-upgrade
apt clean and, if necessary
apt autoremove
which happens almost every week because a new kernel appears (I only keep two).
(BTW, I practice this with every debian)
As for purge or remove packages, I always use purge.
Because, what do I have of configuration files in the system, which are obsolete anyway due to transitions (eg now perl).
And finally, since systemd I do it all on X, I no longer do it in tty. Because fortunately I never had nvidia in my computers.
Offline
If you correct your command, then your statement is correct with apt[-get] upgrade.
To the further discussion:
I don't care in principle in the meantime which way one or the other chooses, with man apt; the debian-wiki or manual. I found my way thanks to siduction and its former developer, @agaida.apt update apt dist-upgrade apt clean and, if necessary apt autoremove
which happens almost every week because a new kernel appears (I only keep two).
(BTW, I practice this with every debian)As for purge or remove packages, I always use purge.
Because, what do I have of configuration files in the system, which are obsolete anyway due to transitions (eg now perl).And finally, since systemd I do it all on X, I no longer do it in tty. Because fortunately I never had nvidia in my computers.
There is a lot more to upgrade from point release to point release than there is in regular sid upgrades.
Last edited by el_koraco (2022-11-21 15:02:21)
Offline
There is a lot more to upgrade from point release to point release than there is in regular sid upgrades.
Yes, and from one point release to the other point release a new installation is always recommended (at most with takeover of the own $HOME).
So, what's with the stinginess.
Offline
el_koraco wrote:There is a lot more to upgrade from point release to point release than there is in regular sid upgrades.
Yes, and from one point release to the other point release a new installation is always recommended (at most with takeover of the own $HOME).
Not according to the Bullseye release notes. The entire section linked here describes how to upgrade from Buster to Bullseye.
Offline
from one point release to the other point release a new installation is always recommended (at most with takeover of the own $HOME).
The Bunsenlabs team, recomends new install. But, it is possible to upgrade if you take precautions. There is advantages and disadvatages with both routes. Which you choose, is very depended of your situation.
Bunselabs team provides a tutorial based on debian recomendations howto upgrade from Lithium/Buster to Beryllium/Bullseye.
// 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
Ah, you meant for Bunsen. This is understandable, there is no way Bunsen can get enough users to test out an upgrade, at least until more people realize that this is the best Debian derivative.
Offline
Hello all! Just installed latest Bunsenlabs on the laptop with Ryzen 5500u, integrated amd graphics. Installation went smooth. Needed to fix tearing (amd tear free) and sleep (disable modern sleep in bios). Pretty much everything is fixed now.
Couple questions:
1) Watching YouTube is not as smooth as my Nvidia desktop, is there a way to make it better? (Vsync?)
2) Everything is too small on the display because of the higher dpi. Is there a quick way to adjust theme? Also with default theme chrome top icons (close, minimize) disappear when chrome is not active window. And in focus they look odd.
Offline
H
1) Watching YouTube is not as smooth as my Nvidia desktop, is there a way to make it better? (Vsync?)
Apply what is said here: https://wiki.archlinux.org/title/firefo … celeration
See also: https://wiki.debian.org/Firefox#Hardwar … celeration
Offline
A newer kernel than what's in stock Bullseye might help...
https://forums.linuxmint.com/viewtopic.php?t=365185
BunsenLabs still uses xorg (@ El_K), does it not?
For your second question, a screenshot would help us. Print screen button, then choose "Host on Imgur", copy and paste the thumbnail link and tell us what we're looking for.
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
Mint people. Radeon Vega 11 and 7 graphics have been in the mainline kernel since 5.2 or something. The amdgpu driver supports VA-API hardware acceleration, no issues there. What the OP needs to do is enable acceleration in Firefox itself. The Arch wiki article is good because it explains how to check whether Firefox is running the accelerated or software renderer, and the Debian wiki article explains Debian specific tweaks. The Debian wiki is catching up to the Arch one pretty good. There is also no need to install many additional packages for Debian, because most are all included in the default X install - libva-drm2 and libva-x11. The only package needed for VA-API on Radeons is mesa-va-drivers.
So, to summarize,
install mesa-va-drrivers
about:config tweaks are as follows:
gfx.webrender.all true
media.ffmpeg.vaapi.enabled true
Thsi should be enough, but additional tweaks are
media.ffvpx.enabled false
media.av1.enabled false
Add to /etc/environment
MOZ_X11_EGL=1
Restart X, this should be enough.
Last edited by el_koraco (2022-11-24 10:02:29)
Offline
WRT upgrading existing systems, here's an example of how even high-level Debian devs have to work to make dist-upgrades "more predictable and robust":
https://bugs.debian.org/cgi-bin/bugrepo … bug=986651
https://bugs.debian.org/cgi-bin/bugrepo … bug=993947
...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
Thank you all for your support! It took some time to test out. For some reason "tear free" hurts my eyes so I disabled it. But I fixed tearing in compositor and installed latest kernel + packages from the posts above. It's almost perfect now. Now I think how to reduce power consumption (possibly disable cores) and fix scaling because everything is too small.
Here are the screenshots of chrome title bar (gtk):
out of focus
How it looks in lithium:
Last edited by ekzotic (2022-12-08 13:02:03)
Offline