aboutsummaryrefslogtreecommitdiffstats

GPLv3
DR by Jean-Christophe Manciot is licensed under a GPLv3 License.

Table of Contents

About Me

I have performed the following steps for this DR:

DR Contents

Any source package listed in the links below is built, tested (during the build process) & uploaded into this DR only when the sources have a fresher version than what is available at that time for the corresponding binaries on the official Debian repositories of the latest development distribution. This means that this DR does not mirror the official Debian repositories of the latest development distribution, but rather enhances them with more recent releases.

The packages built and tested for Debian 11.0 Bullseye on x86_64 architectures which are available on this dynamic DR can be divided into the following collections:

Developer

Developer

Drive

Drive

GNS3

GNS3

KVM

KVM

Network

Network

Security

Security

System

System

Wireshark

Wireshark

Requirements

Installing this dynamic Debian repository on your system to benefit from the latest stable & unstable packages requires the following pre-conditions to be met:

  • your system must be running the latest Debian testing distribution (currently bullseye (11.0))
  • at least the following repositories should be declared in your etc/apt/sources.list file:
    • deb http://deb.debian.org/debian testing main contrib non-free
    • deb http://security.debian.org/ testing/updates main contrib non-free

Any other list of repositories has not been tested in conjunction with this DR.

Installing

This DR is operational for the latest Debian testing release bullseye (11.0) only. All packages (with very few exceptions) have been built for this specific environment.

The steps to add the DR on your system are described below.

My PGP Key

You need to import my public PGP key into your gpg public keyring and apt dedicated keyring with:

sudo gpg --keyserver keys.openpgp.org --receive-keys DF7396D82BBA3684FCCADD4DB063838ED13997FD
sudo gpg --export --armor DF7396D82BBA3684FCCADD4DB063838ED13997FD > /etc/apt/trusted.gpg.d/JC_Manciot_DR.asc

Other public key servers can be used as well, such as:

  • pgpkeys.mit.edu
  • keyserver.ubuntu.com
  • keys.gnupg.net

N.B: apt-key has been deprecated.

DR Stable Component

Installing the stable DR for Debian bullseye (11.0) using one of the following methods, CLI or GUI (Synaptic):

CLI Stable

sudo bash -c $'echo "deb https://git.sdxlive.com/DR/plain/Debian bullseye stable #JC Manciot's stable DR" > /etc/apt/sources.list.d/jean-christophe-manciot.list'
sudo apt update
sudo apt upgrade
sudo apt --show-progress install <package>

GUI Stable

  • Synaptic --> Settiungs --> Repositories --> Other Software --> Add deb https://git.sdxlive.com/DR/plain/Debian bullseye stable #JC Manciot's stable DR
  • Reload
  • Mark all Upgrades
  • Apply
  • Search <package>
  • Mark for Installation
  • Apply

DR Unstable Component

Installing the unstable DR for Debian bullseye (11.0) using one of the following methods, CLI or GUI (Synaptic):

CLI Unstable

sudo bash -c $'echo "deb https://git.sdxlive.com/DR/plain/Debian bullseye unstable #JC Manciot's unstable DR" >> /etc/apt/sources.list.d/jean-christophe-manciot.list'
sudo apt update
sudo apt upgrade
sudo apt --show-progress install <package>

GUI Unstable

  • Synaptic --> Settiungs --> Repositories --> Other Software --> Add deb https://git.sdxlive.com/DR/plain/Debian bullseye unstable #JC Manciot's unstable DR
  • Reload
  • Mark all Upgrades
  • Apply
  • Search <package>
  • Mark for Installation
  • Apply

Debian Buster Administrator’s Handbook

This Debian Buster from Discovery to Mastery book has been written by Raphaël Hertzog and Roland Mas and is available as a:

Notes

Build Tools

All the packages are built with the following tools, with a top-down priority list:

  1. gbp buildpackage: when the source git repository offers a correctly maintained pristine-tar or upstream branch. The packages version numbers are not modified.
  2. debuild: when the sources offer a debian folder. The packages version numbers end with +11.0.
  3. fpm/checkinstall: all other cases. The packages version numbers end with -11.0.

Unstable Packages Name Format

The unstable packages which appear in the unstable component of the DR have different name formats to distinguish them from previous stable releases, for those who accept to live closer to the edge. You can be confident that they have passed a minimal testing. Some of them solve some issues discovered in previous stable versions. You can also always go back to the previous stable package if necessary. The name formats differ depending on the tool used to build them:

  • built with debuild:
    • <package_name>_<unstable_release_number>~git<commit_date>.<short_hash_id>+11.0_amd64.deb
  • built with fpm/checkinstall:
    • <package_name>_<unstable_release_number>~git<commit_date>.<short_hash_id>-11.0_amd64.deb
    • <package_name>_<git describe --tags>-11.0_amd64.deb

Upgrading Safely From a Debian Release to Another One

In order to avoid any issue during the distribution upgrade process, I suggest that you perform the following tasks prior to the distribution upgrade: (replace for instance <new_os_release_number> with 11.0; <previous_os_release_number> with 10.0; <new_os_code_name> with bullseye; <previous_os_code_name> with buster)

  • reload all packages information: sudo apt update
  • upgrade your packages: sudo apt upgrade
  • backup your whole system:
    • from another system such as a USB flash drive: fsarchiver should come in handy
    • or with a LVM snapshot
    • or with a Btrfs snapshot
    • ...
  • reboot if necessary
  • comment out all third-party Debian repositories in /etc/apt/sources.list.d/*.list
  • check the instructions specific to the current distribution release.
  • once the upgrade process is done, reselect and upgrade the distribution/release name of all third-party Debian repositories (for instance from buster to bullseye) in /etc/apt/sources.list.d
  • reload package information and upgrade all updated packages: sudo apt update; sudo apt upgrade
  • make sure that the packages which have been built for the previous Debian release have been upgraded:
    • sudo apt list --installed | grep -P -- "\+<previous_os_release_number>"
    • sudo apt list --installed | grep -P -- "-<previous_os_release_number>"
  • for those which have not been upgraded (all those listed in the 2 previous commands), you may downgrade them to the latest version available from the Debian archive or wait until a new version is available from this DR. Cf. Downgrading Packages
  • check how the distribution upgrade performed by reading the logs in /var/log/dist-upgrade and solve all remaining issues:
    • reinstall all necessary packages which have been removed and listed in history.log in the Remove: paragraph.
    • reinstall all necessary packages which could not be installed due to errors and listed in apt.log and apt-term.log
  • reboot when done

Downgrading Packages

If necessary, it is of course possible to downgrade the packages installed from this DR to the ones available in the official repositories.

In order to automate this process for all installed packages, the following bash scripts are provided:

  • apt-downgrade-bin-packages-to-official-archive.sh:
    • downgrading some (light mode) or all (full mode) installed binary packages with a version ending with +<os_version> or -<os_version> to the package version provided by the official Debian repositories.
    • please consult the help (-h) for details, especially regarding the differences between both modes.
    • it is possible to pass perl regular expressions to narrow the search for installed binary packages which need to be downgraded.
  • apt-update-perl-bin-packages-to-official-archive.sh:
    • there has been an issue regarding the dependencies of the latest perl packages retraining them to older perl-modules-5.28, despite the presence of the latest perl-modules-5.30. This situation prevented some of them to be correctly upgraded to their latest release.
    • this script allows to update all perl installed binary packages with a version ending with + to the package version provided by the official Debian repositories.
    • please consult the help (-h) for details, especially regarding the differences between both <auto> modes.
  • dpkg-lock.sh: dpkg semaphore used in previous scripts.

Removing obsolete Packages

Packages which have no installation candidate can be removed/purged with the help of a script:

  • apt-remove-obsolete-bin-packages.sh:
    • removing/purging all obsolete installed binary packages, i.e. all packages which have no installation candidate.
    • it is possible to pass perl regular expressions to narrow the search for installed binary packages which need to be removed.
    • please consult the help (-h) for details, especially regarding the differences between both <auto> modes.
  • dpkg-lock.sh: dpkg semaphore used in previous script.

Known Error Messages And Workaround

If you encounter the following error messages during sudo apt update, it means that the DR is currently being refreshed with new releases; this process happens relatively often, mostly potentially during week-ends and every week day between ~ 6 am and 1 pm CET:

  • "Failed to fetch https://git.sdxlive.com/DR/plain/Debian/dists/bullseye/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Some index files failed to download. They have been ignored, or old ones used instead."
  • "Packages
    • Hash Sum mismatch
    • Hashes of expected file:
    • ..
    • Hashes of received file:
    • ..."

In order to avoid any issue about index files not being synced during the DR maintenance, the visiblity of the DR repository is now private when the index files are being updated with new package(s) and back to public when the update is done. During that very short time frame, accessing the repository is not possible anymore and you get one of the error messages described above.

Just wait to be outside the refresh time frame so that the DR index has been completely updated and retry your sudo apt update and sudo apt upgrade or sudo apt --show-progress install <package>.

Filing Issues

Please let me know if you ever experience any other issue(s) at support@sdxlive.com.