debian

Check for non-interactive mode in Debian package maintainer scripts

Check for non-interactive mode in Debian package maintainer scripts If I’m writing a Debian package maintainer script (such as a pre-install script) for a package I create, how can I make the script determine if it is supposed to be running in non-interactive mode (e.g. if apt-get install was invoked with -y, and things like …

Total answers: 1

How to config SSH authentication with all 3 components: publickey, password and OTP

How to config SSH authentication with all 3 components: publickey, password and OTP Update 1: I’m able to apply all publickey + password + OTP with this basic config in /etc/pam.d/common-auth. auth [success=ok] pam_unix.so auth [success=1] pam_google_authenticator.so nullok echo_verification_code [authtok_prompt=Enter your OTP:] auth requisite pam_deny.so auth required pam_permit.so I will try to apply pam_faillock.so to …

Total answers: 1

Package maintainer pre-inst script `install` vs `upgrade`

Package maintainer pre-inst script `install` vs `upgrade` According to the Debian package maintainer script documentation, the pre-install script can be called with either the install or the upgrade first argument: The preinst script may be called in the following ways: new-preinst install new-preinst install old-version new-version new-preinst upgrade old-version new-version What is the difference between …

Total answers: 2

How do I reassign a bug to another package in the Debian bug tracker?

How do I reassign a bug to another package in the Debian bug tracker? How to change the software package an issue is filed under in the Debian bug tracker? The help page has these instructions: In case you need to write a message to the bug and also manipulate the bug’s metadata, the commands …

Total answers: 1

Boot a kernel of debian installer with expert mode

Boot a kernel of debian installer with expert mode I want to reinstall my VPS with the debian’s official repository, instead of with the image provided by the VPS operator(I don’t trust the VPS operator). On original system I installed debian-installer by apt install debian-installer debian-installer-12-netboot-amd64, and taked the kernel that comes with debian-installer as …

Total answers: 1

How to uninstall a package from Debian backports (not a duplicate Q)

How to uninstall a package from Debian backports (not a duplicate Q) I know there are a few Questions here which ask the same question I appear to be asking. I have tried those suggestions 1 & 2, but they do not work in this case. Here’s what has happened: pi@raspberrypi0w:~ $ sudo apt -t …

Total answers: 1

Debian backports: How do I list all available upgrades from bullseye-backports

Debian backports: How do I list all available upgrades from bullseye-backports I’ve searched unsuccessfully for a method to list all of the upgrades available from Debian’s backports (specifically bullseye-backports): I’ve added deb http://deb.debian.org/debian bullseye-backports main contrib non-free to /etc/apt/sources.list. I’ve run sudo apt update successfully I’ve run sudo apt list –upgradeable bullseye-backports with an "empty" …

Total answers: 1

Shouldn't files in /etc/xdg/autostart/ be removed when removing a package?

Shouldn't files in /etc/xdg/autostart/ be removed when removing a package? I came across the messages below with sudo journalctl –since today | tail -n 3000. Shouldn’t autostart entries be removed from there when removing a package? It seems like general good practice to remove autostart entries if the package has been removed (or to prompt …

Total answers: 1

Unable to uninstall virtualenv from debian 11

Unable to uninstall virtualenv from debian 11 My debian OS has been through a few upgrades and is now on 11 (Bullseye). I initially started out with python2 and now I no longer want it – I just want python3. I installed virtualenv a long while back when I was still working with python2. I …

Total answers: 1

How to reliably determine the name of an application for use in Gnome: Favorite Applications?

How to reliably determine the name of an application for use in Gnome: Favorite Applications? I have ran the following command to setup my Favorite Applications menu: gsettings set org.gnome.shell favorite-apps "[ ‘docker-desktop.desktop’, ‘org.gnome.Nautilus.desktop’, ‘firefox-esr.desktop’, ‘github-desktop.desktop’, ‘gnome-system-monitor.desktop’, ‘org.gnome.Terminal.desktop’, ‘gnome-tweaks.desktop’ ]" This is working perfectly (after working out the precise application names). However I can’t work …

Total answers: 1

GlobalProtect VPN disables wifi on debian12

GlobalProtect VPN disables wifi on debian12 I’m running Debian 12 with KDE Plasma Version: 5.27.5. I have trouble using GlobalProtect VPN by Palo Alto. ("GlobalProtect_deb-6.1.4.0-711.deb") The package was installed using the instructions from the Website: When connected by LAN, the VPN works just fine. But when on wifi, a loop is created. First, the wired …

Total answers: 1

The hostname command outputs two IP addresses when one is expected

The hostname command outputs two IP addresses when one is expected # hostname –help | grep ip -i, –ip-address addresses for the host name -I, –all-ip-addresses all addresses for the host According to the above, -i should output just one IP address, while -I should output all. In my case, it works the other way …

Total answers: 1

Install failed when installing PDO sqlsrv on debian 12 with PHP 8.3

Install failed when installing PDO sqlsrv on debian 12 with PHP 8.3 I want to install pdo_sqlsrv on a Debian 12 server with PHP 8.3. I’m following the documentation available here. The latest version seems to be perfect (5.12.0), but I can’t install it. After doing this as the doc said: apt-get install curl apt-transport-https …

Total answers: 1

Can I make Gnome behave and look more like a traditional desktop?

Can I make Gnome behave and look more like a traditional desktop? Can I modify Gnome so it behaves more like Gnome2 and other desktops? One has to go to the activities menu in the corner, click, then click the buckshot pattern at the bottom then see this. Is there something we can tweak in …

Total answers: 2

I have deleted systemd

I have deleted systemd I am a Debian user. I deleted systemd without installing anything else. I ran sudo apt remove systemd. After that, I ran sudo apt autoremove systemd. After that, my laptop can’t connect to the internet, and it doesn’t get me to use the GUI; I’m stuck in the command line interface …

Total answers: 1

Debian unstable repository and *t64 packages

Debian unstable repository and *t64 packages Why is Debian renaming some unstable packages from orig_name to orig_namet64? Some other questions: Where can I find the Official Policy for Debian Unstable? Where can I find out what is going on with the Debian user community as a whole? Recent renamings: $ dpkg -l "*t64" |head -n …

Total answers: 1