Thanks to Alan Pope that explained so clearly the Run ‘apt modernize-sources’ to do so issue at discourse.ubuntu.com:
Continue readingUbuntu
Ubuntu? I don’t know you!
Ubuntu 23.10 Planning To Ship With The Linux 6.5 Kernel. Sorry Ubuntu, I don’t like you anymore, since you decided that your New Software App Will Demote DEBs…
I’ll keep using Debian, thanks…
Debian: programs from stable, testing, unstable and even experimental without trauma
I originally wrote this in Italian but I think that it may be more useful translated into English
In daily use of computers it often happens that you need a stable base and at the same time use recent, very recent or even ‘beta/alpha/experimental’ versions of some specific programs.
Debian users are no less, indeed! It also apply to all its derivatives, starting from Ubuntu.
Matteo Galacci suggest (in an italian article) – like many others – to use Debian’s “pinning” capability.
In reality, if the need is to have ‘almost all’ stable programs, some more recent and a few ‘very recent’ it is possible to obtain this behavior by exploiting the basic algorithm of the Debian package manager apt. Consulting the man-pages that tells us how to set up our sources (man sources.list
) we read:
The source list /etc/apt/sources.list and the files contained in /etc/apt/sources.list.d/ are designed to support any number of active sources and a variety of source media. The files list one source per line (one-line style) or contain multiline stanzas defining one or more sources per stanza (deb822 style), with the most preferred source listed first (in case a single version is available from more than one source). The information available from the configured sources is acquired by apt-get update (or by an equivalent command from another APT front-end).
The ‘trick’ is in the part in bold. Matteo first proposes testing, then unstable and finally stable. So apt will almost never choose stable releases. I use a /etc/apt/sources.list like this:
deb http://ftp.it.debian.org/debian/ stable main contrib non-free
# stable-updates, previously known as 'volatile'
deb http://ftp.it.debian.org/debian/ stable-updates main contrib non-free
# if something is not in stable look in testing
deb http://ftp.it.debian.org/debian/ testing main contrib non-free
# then search for it in unstable
deb http://ftp.it.debian.org/debian/ unstable main contrib non-free
# as an extrema ration look in experimental
deb http://ftp.it.debian.org/debian/ experimental main contrib non-free
Putting stable first, and then testing, unstable and also experimental in this order
So when we don’t need particular versions, just ask for ‘apt install package
‘ and the most stable version possible will be chosen: if it’s in stable, otherwise it will take the one in testing, therefore it will search into unstable and finally experimental.
Easy, fast, practical. And above all it works, and it works well. With this APT setup, I’ve been using the Radeon card drivers from experimental for years without any other programs being upgraded to experimental versions.
Then if we wanted a particular version just run ‘apt install package unstable
‘ and the unstable one will be installed.
In the case of updates, APT will remember our choice and continue to update the ‘package’ from the source indicated by us. If over time the version we wanted should (as we all hope) enter testing and then stable, just re-launch ‘apt install package/stable
‘ to go back to updating from stable.
If we then wanted to ‘go down’ in version just add an --allow-downgrade
.
Vanilla OS: More Than Just Vanilla GNOME With Ubuntu
Vanilla OS is Ubuntu on stock GNOME with on-demand immutability and package selection freedom. Sounds fun? Read more here.
Source: Vanilla OS: More Than Just Vanilla GNOME With Ubuntu
Fix Missing GPG Key Apt Repository Errors (NO_PUBKEY)
You might see a missing public GPG key error (“NO_PUBKEY”) on Debian, Ubuntu or Linux Mint when running apt update / apt-get update. This can happen when you add a repository, and you forget to add its public key, or maybe there was a temporary key server error when trying to import the GPG key.
Source: Fix Missing GPG Key Apt Repository Errors (NO_PUBKEY) – Linux Uprising Blog
Quick’n’dirty solution:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys THE_MISSING_KEY_HERE
sudo
apt update 2>&1 1>/dev/null | sed -ne 's/.<em>NO_PUBKEY //p' |
while read key; do if ! [[ ${keys[</em>]} =~ "$key" ]]; then sudo apt-key
adv --keyserver keyserver.ubuntu.com --recv-keys "$key"; keys+=("$key");
fi; done
Yes, I know apt-key is being deprecated…
Warpinator – Send and Receive Files Across a Network
Warpinator is a free, open-source tool for sending and receiving files between computers that are on the same network.
Source: Warpinator – Send and Receive Files Across a Network
Segreterie
Don Pietro ha ricevuto un paio di computer dismessi dalla oramai “defunta” casa editrice Hobby&Work. Normali, normalissimi scatolotti desktop, dei Dell Vostro con su Windows 7.
Ora ancora per poco è possibile aggiornarli a Windows 10 senza scucire un tallero ed in modo legalissimo percui l’ho fatto….
Avevo anche un paio di necessità:
- avere un utente “segreteria” che fosse usabile senza password. Sì, davvero. Ovvio, un utente senza privilegi. Ed ho usato questa guida http://ubuntuhandbook.org/index.php/2019/02/enable-passwordless-login-ubuntu-18-04/
- non mostrare la mia login nella schermata ma soltanto quella di “segreteria” e di Don Pietro. Per questo ho seguito la prima parte di questa guida https://swatij.me/hacks/ubuntu/hide-user-from-login-screen-in-ubuntu-14-04.html ; ho tralasciato la seconda perché ad oggi Ubuntu non usa più
lightdm
magdm3
- Magari mettere un bello sfondo del’oratorio nella schermata di login: https://vitux.com/how-to-change-login-lock-screen-background-in-ubuntu/
Anbox – Android in a Box
Anbox – Android in a Box
Anbox puts the Android operating system into a container, abstracts hardware access and integrates core system services into a GNU/Linux system. Every Android application will behave integrated into your operating system like any other native application.
Edizione 2017 – DUCC-IT
Oh my! On 6th may I’ve some duties in the morning that I can’t postpone!
Let’s hope they are not early risers and that most interesting stuffs happen in the afternoon as I hope to be there after 14:00
Installing PHP 5 and 7 on the same server
Installing PHP 5.6.x and 7.0.x with Ubuntu 14.04 and Virtualmin 5.0gpl using a PPA — 23Systems
I suspect I’ll have to follow him to re-enable the aging StatusNet microblog installation at work, before upgrading it to Gnu Social