Re: backup directory/file exclusion pattern list for borgbackup
Default User wrote: > Hello! > > I want to try using borgbackup to do backups of my (only) user directory: > /home/debian-user > > I just want to do so using Vorta, a GUI for borgbackup. > > But I just need a good, general list of directory and file type > exclusions that I can just cut and paste into the Exclude Patterns > window in Vorta. Something like the default list of exclusions that > appears by default in the Backintime backup program. > I use this. For file type I do not know borg create --progress --stats --compression zstd,10 \ -e 'pp:/sys' \ -e 'pp:/proc' \ -e 'pp:/dev' \ -e 'pp:/run' \ -e 'pp:/tmp' \ -e 'pp:/var/tmp' \ -e 'pp:/var/log'
Re: Problème avec un Lenovo Thinkpad 15v gen1
Bonsoir Nicolas, Nicolas FRANCOIS, on 2021-09-26: > Mon lycée m'a confié la bête sus-mentionnée. J'ai un gros problème avec > cette bestiole, initialement fournie avec Window$ 10 : son écran. C'est > un écran UHD, de résolution 3840*2160 (ils sont cinglés de mettre un > tel écran, ça sert à RIEN sur un écran de 15.6" !!!). > > Résultat : avec XFCE, tout est MICROSCOPIQUE :-( Et je n'ai pas trouvé > de solutions tout à fait satisfaisantes sur le net. J'ai réussi à > forcer Grub à se lancer avec une police et une résolution correctes, > mais le bureau XFCE reste quasiment illisible. Si je modifie certains > réglages dans les paramètres (DPI, taille des polices système), cela > change certaines choses, mais pas tout, donc c'est pas utilisable tel > quel. > > Certains d'entre vous ont-ils réussi à rendre ce portable utilisable ? Avec la dernière mouture de xfce4 pour debian 11, il y a une option pour multiplier par deux la taille de la quasi-totalité des éléments graphiques. C'est un peu caché : - il faut lancer `xfce4-appearance-settings` - et dans l'onglet "Paramètres" ("Settings"), - passer le menu déroulant "Mise à l'échelle des fenêtres" ("Window Scaling") sur "2×". Ceci dit, certaines bibliothèques graphique ne prennent pas en charge la densité de pixels de l'écran, et peuvent donc avoir tendance à rester illisibles ; je pense notamment à quelques applications écrites en java, du type jconsole, mais j'en ai peut-être loupé d'autres. Bonne soirée, :) -- .''`. Étienne Mollier : :' : gpg: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da `. `' sent from /dev/pts/2, please excuse my verbosity `- signature.asc Description: PGP signature
Re: Debian 11: Unable to detect wireless interface on an old laptop computer
On Mon, Sep 27, 2021 at 09:01:32PM +0200, Stella Ashburne wrote: > Hello Henning, > > Thanks for your reply. > [...] > > nmcli is from the package network-manager, yes? If it is, I'd prefer not to > install it. Why? Many VPN providers/vendors recommend against using Network > Manager to connect to OpenVPN servers because the former is buggy and leaks > details about the user. > Oh boy. Yes, nmcli is the command line interface to the network-manager service. "Many VPN providers" - that is so vague, I do not even know what to say to that. However "many VPN provider" are full of $#!1 and mainly use FUD to sell their "service", which in most cases will not provide you what you would expect. If you use VPN services for privacy purposes, you will be discusted by some of these provider's TOS. They basically collect and sell your connection data to data brokers as much as your ISP they promise to protect you from. But I degress. And N-M is not "buggy". It is IMO one of the better way for the general PC user to manage their physical connections. I however have never used it to set up openvpn or wireguard. I use both currently, but will most likely phase out openvpn. > I just came to know that there is a much better wireless daemon called iwd. > On the internet it's said that iwd performs better and faster than the > tradition wpasupplicant. What's more iwd was conceptualized by someone at > Intel. Never used iwd, can't comment. > > If you do know how to make changes to the settings of iwd configuration > files, I wish to seek your help. You see, I'd to learn how to make use of > this wonderful new technology. I have googled the internet and most of them > don't provide detailed tutorials on how to set up for a home user. Sure, for > example on ArchLinux's wiki pages, there are tutorials on how to set EAP-TTLS > etc. I don't even know what EAP-TTLS stands for. Then it's great that you can use it :P. Like M. Ali said: "I maybe do not know what I am talking about, but I am right!" > > Some of the links that I have surfed to are the following: > > https://wiki.archlinux.org/title/Iwd > https://unix.stackexchange.com/questions/477488/connect-to-wifi-from-command-line-on-linux-systems-through-the-iwd-wireless-dae > https://docs.voidlinux.org/config/network/iwd.html > -H -- Henning Follmann | hfollm...@itcfollmann.com
Re: _INTRODUCTION_ to installing/using Wine?
On Mon 27 Sep 2021 at 14:28:37 -0500, Richard Owlett wrote: > On 09/26/2021 08:54 AM, piorunz wrote: > > On 26/09/2021 14:42, Richard Owlett wrote: > > > I have not used any version of Windows since WinXP and have the AMD64 > > > flavor of Debian 10.7 installed on the relevant machine. > > > > > > I wish to do two things: > > > 1. Explore some text manipulation applications I used then > > > (obviously 32 bit apps). > > > 2. Explore Bible study tools used by others at church > > > (32 or 64 bit ???). > > > > > > I have found references [1][2] suitable for addressing specific detailed > > > questions. I'm looking for introductory material -- especially such that > > > would cause me to think of questions I should consider before proceeding. > > > Suggestions? > > > TIA > > > > > > References: > > > 1. https://wiki.debian.org/Wine > > > 2. https://www.winehq.org/ > > > Goes into much detail but does not have an "overview only" page. > > > > After you install Wine (your reference materials covers that), simply > > execute in terminal "wine name_of_your_exe" from the folder where .exe is. > > > > That's all. > > I *DOUBT* it as: > 1. I'm well past "three score and ten" ;} Of what possible relevance is that? There are other users who use the same argument, often giving extensive excrutiating biographical details. A user may doubt the advice given, but I thought piorunz's helpful post deserved a less ageist response. > 2. [1] explicitly states: > > Users on a 64-bit system should make sure that both wine32 > > and wine64 (...) are installed ... > > Careful reading of [1] and [2] {w/apologies to J. Caesar} suggests: > " All .exe are divided into three flavors: > 1. pure 32 bit > 2. pure 64 bit > 3. pure hodgepodge > " > > > > If something doesn't work, install required components using winetricks. > > Simply install package winetricks, open it, and navigate graphically to > > install .Net Frameworks, C++ redistributables and whatever else your > > Windows app needs to operate. > > Is not that paragraph sufficient justification for my question? Without a doubt it is. -- Brian.
Re: _INTRODUCTION_ to installing/using Wine?
On 27/09/2021 20:28, Richard Owlett wrote: That's all. I *DOUBT* it as: 1. I'm well past "three score and ten" ;} 2. [1] explicitly states: > Users on a 64-bit system should make sure that both wine32 > and wine64 (...) are installed ... Yes, you have problem with that? Careful reading of [1] and [2] {w/apologies to J. Caesar} suggests: " All .exe are divided into three flavors: 1. pure 32 bit 2. pure 64 bit 3. pure hodgepodge Not sure what are you on about here. If something doesn't work, install required components using winetricks. Simply install package winetricks, open it, and navigate graphically to install .Net Frameworks, C++ redistributables and whatever else your Windows app needs to operate. Is not that paragraph sufficient justification for my question? YMMV ROFL YMMV, yeah. Works perfectly fine for me though. I use Wine profiles, Wine devel from WineHQ, Lutris Wine, Steam Proton Wine. Everything polished and purposely used, no problems whatsoever, I use Forex trading program 24/7/365 in Wine, among many other things. My "mileage" is great. Let me know if you have any real questions. -- With kindest regards, Piotr. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄
Re: _INTRODUCTION_ to installing/using Wine?
On 09/26/2021 08:54 AM, piorunz wrote: On 26/09/2021 14:42, Richard Owlett wrote: I have not used any version of Windows since WinXP and have the AMD64 flavor of Debian 10.7 installed on the relevant machine. I wish to do two things: 1. Explore some text manipulation applications I used then (obviously 32 bit apps). 2. Explore Bible study tools used by others at church (32 or 64 bit ???). I have found references [1][2] suitable for addressing specific detailed questions. I'm looking for introductory material -- especially such that would cause me to think of questions I should consider before proceeding. Suggestions? TIA References: 1. https://wiki.debian.org/Wine 2. https://www.winehq.org/ Goes into much detail but does not have an "overview only" page. After you install Wine (your reference materials covers that), simply execute in terminal "wine name_of_your_exe" from the folder where .exe is. That's all. I *DOUBT* it as: 1. I'm well past "three score and ten" ;} 2. [1] explicitly states: > Users on a 64-bit system should make sure that both wine32 > and wine64 (...) are installed ... Careful reading of [1] and [2] {w/apologies to J. Caesar} suggests: " All .exe are divided into three flavors: 1. pure 32 bit 2. pure 64 bit 3. pure hodgepodge " If something doesn't work, install required components using winetricks. Simply install package winetricks, open it, and navigate graphically to install .Net Frameworks, C++ redistributables and whatever else your Windows app needs to operate. Is not that paragraph sufficient justification for my question? YMMV ROFL ;} -- With kindest regards, Piotr. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄
Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card to a 16Gb Class 10 A1 MicroSD card?
Oops. I didn't fully answer all the questions, On Sat, 18 Sept 2021 at 20:20, David Christensen wrote: > On 9/18/21 4:35 AM, Myron wrote: > > Never done this one with Linux before. I know that there is less than > 16Gb > > of data written to the Class 10 32Gb MicroSD card which is used as the > > primary system storage on a single board system-on-a-chip computer. What > > I'm after is getting a 16 Gb Class 10 A1 MicroSD card and clone the > entire > > system from the 32Gb card to the 16Gb card. > > > > What I'm after is when I start the SOC computer from the replacement 16Gv > > Class 10 A1 MicroSD card, it will just start like there have been no > > changes, well, apart from there being 16Gb storage and not slower 32Gb > > storage. > > > > This is relatively easy to do on Windows. No clue how to do this with > > Linux. > > > > > Backup your data. I would take a raw binary image of the entire 32 GB > MicroSD card as well. > Done that. Sector-by-sector back-up. My guess is that you should resize the contents of the 32 GB MicroSD > card to fit onto the 16 GB MicroSD card, and then clone. > Yes. This is how I would like to do this. Is it possible to do this while the SBC is online? It resized the image online on first install from about a 4Gb partition to a 32Gb partition. It was a pre-built image. Download, write image to SD card, insert card in SBC, turn on and follow instructions. > But, the devil is in the details and it would be helpful if we had more > information... > > > What is the make and model of your "single board system-on-a-chip > computer" (SBC)? What CPU, memory, or other options does it have? What > is the technical support URL? > http://www.lemaker.org/product-bananapro-index.html I followed the Armbian link as it's the only up-to-date and supported distro on offer. Is the SBC connected to a keyboard, mouse, and monitor, to a serial > console, or to some other console? Can you SSH into it? > Yep. I can SSH into it. I have a USB to 3v3 TTL RS232 board and can connect to the serial debug port and also the ability to connect USB keyboard and mouse and a HDMI monitor. > How did you create a working Debian (?) GNU/Linux instance on the 32 GB > MicroSD card? If you followed some instructions, what is the URL? > >From here: https://www.armbian.com/banana-pi-pro/ Followed instructions when the USB to 3v3 TTL RS232 board arrived as it appears this is how to start and complete the initial start-up otherwise the SBC appears to be dead.If it's in the instructions then I missed that and nearly threw the SBC in the trash. Glad I didn't as it appears to be quite reliable. > On the 32 GB MicroSD card Debian instance, please login as root, run the > following commands, and reply with the complete console session -- > prompts, commands entered, output obtained: > > # /bin/bash -l > # export PS1='\n\D{%Y-%m-%d %H:%M:%S} \u@\h \w\n\$ ' > # cat /etc/debian_version ; uname -a > # egrep 'vendor_id|model name' /proc/cpuinfo | head -n 2 > # grep MemTotal /proc/meminfo > # fdisk -l > [[[ root@loki:~# /bin/bash -l Here lie dragons. Careful where you tread! root@loki:~# export PS1='\n\D{%Y-%m-%d %H:%M:%S} \u@\h \w\n\$ ' 2021-09-27 20:19:28 root@loki ~ # cat /etc/debian_version ; uname -a bullseye/sid Linux loki 5.10.60-sunxi #21.08.2 SMP Tue Sep 14 16:28:44 UTC 2021 armv7l armv7l armv7l GNU/Linux 2021-09-27 20:19:42 root@loki ~ # egrep 'vendor_id|model name' /proc/cpuinfo | head -n 2 model name : ARMv7 Processor rev 4 (v7l) model name : ARMv7 Processor rev 4 (v7l) 2021-09-27 20:19:50 root@loki ~ # grep MemTotal /proc/meminfo MemTotal: 990484 kB 2021-09-27 20:19:59 root@loki ~ # fdisk -l Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/mmcblk0: 29.74 GiB, 31914983424 bytes, 62333952 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xe069b87e Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 8192 61702143 61693952 29.4G 83 Linux Disk /dev/zram0: 483.65 MiB, 507129856 bytes, 123811 sectors Units: sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical):
Re: Debian 11: Unable to detect wireless interface on an old laptop computer
Hi David, It's reassuring to know that you're still around and thanks for replying to my original post. > > And also any output from: > > # dmesg | grep iwl > username@hostname:~$ sudo dmesg|grep iwl [sudo] password for username: [9.169801] iwlwifi :07:00.0: enabling device ( -> 0002) [9.170310] iwlwifi :07:00.0: firmware: failed to load iwlwifi-3160-17.ucode (-2) [9.170402] iwlwifi :07:00.0: Direct firmware load for iwlwifi-3160-17.ucode failed with error -2 [9.170405] iwlwifi :07:00.0: iwlwifi-3160-17 is required [9.170434] iwlwifi :07:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git username@hostname:~$ It's my terrible mistake. After installing the package firmware-iwlwifi, the command "ip link show" displayed the name of the wireless interface. (I thought I had installed firmware-iwlwifi on this machine but I was wrong. In fact I installed it on my sister's newer computer but not on this one.)
Re: Debian 11: Unable to detect wireless interface on an old laptop computer
> > This one looks like it might be your friend. AFAIK the firmware for that > is in the firmware-iwlwifi package. > > What does `lsmod | grep iwl' say? username@hostname:~$ lsmod|grep iwl iwlwifi 294912 0 cfg80211 970752 1 iwlwifi username@hostname:~$ But you are right. After installing the package firmware-iwlwifi, the command "ip link show" displays the name of the wireless interface. (I thought I had installed firmware-iwlwifi but I was wrong. In fact I installed it on my sister's newer computer but not on this one.) Thanks for your reply.
Re: Debian 11: Unable to detect wireless interface on an old laptop computer
Hello Henning, Thanks for your reply. > Sent: Tuesday, September 28, 2021 at 1:09 AM > From: "Henning Follmann" > To: debian-user@lists.debian.org > Subject: Re: Debian 11: Unable to detect wireless interface on an old laptop > computer > > And after that device shows up nmcli can be very useful: > nmcli device > > will list your network devices > > if it is not enabled - unless it it is physically switched off - > you can unblock it with > > nmcli radio wifi on > > and to connect > nmcli --ask dev wifi connect > > it will ask for your wpa password and by default will remember it. nmcli is from the package network-manager, yes? If it is, I'd prefer not to install it. Why? Many VPN providers/vendors recommend against using Network Manager to connect to OpenVPN servers because the former is buggy and leaks details about the user. I just came to know that there is a much better wireless daemon called iwd. On the internet it's said that iwd performs better and faster than the tradition wpasupplicant. What's more iwd was conceptualized by someone at Intel. If you do know how to make changes to the settings of iwd configuration files, I wish to seek your help. You see, I'd to learn how to make use of this wonderful new technology. I have googled the internet and most of them don't provide detailed tutorials on how to set up for a home user. Sure, for example on ArchLinux's wiki pages, there are tutorials on how to set EAP-TTLS etc. I don't even know what EAP-TTLS stands for. Some of the links that I have surfed to are the following: https://wiki.archlinux.org/title/Iwd https://unix.stackexchange.com/questions/477488/connect-to-wifi-from-command-line-on-linux-systems-through-the-iwd-wireless-dae https://docs.voidlinux.org/config/network/iwd.html
Re : Problème avec un Lenovo Thinkpad 15v gen1
Bonjour François. Le problème des écrans 4K n'est pas encore pris en compte par Debian, je m'en suis aperçu. Il y a plusieurs manières d'améliorer le problème. Tout d'abord au démarrage avec Grub, il faut modifier dans /etc/default/ le fichier grub : À la ligne qui traite de la résolution il faut mettre la variable GRUB_GFXPAYLOAD à 1280x720 ou 1024x768 ou 800x600 selon le résultat Exemple : GRUB_GFXPAYLOAD=1024x768 Puis une fois l'identification faite, il faut aller dans les réglages du panneau de configuration. Régler l'échelle à 300x comme cela a été dit est une solution, mais tu peux descendre car pour ma part à 175x, cela donne un bon résultat. Il faut aussi trouver à régler les polices et là tu peux y aller en passant les polices de 10pt à 16pt et les petites polices de 8pt à 14pt Puis il faut trouver les réglages des icônes et des curseurs pour les grossir. Selon les bureaux (KDE, XFCE, Gnome, ..., ces paramètres ne sont pas aux aux mêmes endroits. Cela ne t'empêchera pas d'avoir à régler certaines applications comme Inkscape pour laquelle, il faut régler la taille des icônes via le préférences de l'application. Bon courage Cassis - Mail d'origine - De: Nicolas FRANCOIS À: debian-user-french Envoyé: Sun, 26 Sep 2021 21:11:05 +0200 (CEST) Objet: Problème avec un Lenovo Thinkpad 15v gen1 Bonsoir. Mon lycée m'a confié la bête sus-mentionnée. J'ai un gros problème avec cette bestiole, initialement fournie avec Window$ 10 : son écran. C'est un écran UHD, de résolution 3840*2160 (ils sont cinglés de mettre un tel écran, ça sert à RIEN sur un écran de 15.6" !!!). Résultat : avec XFCE, tout est MICROSCOPIQUE :-( Et je n'ai pas trouvé de solutions tout à fait satisfaisantes sur le net. J'ai réussi à forcer Grub à se lancer avec une police et une résolution correctes, mais le bureau XFCE reste quasiment illisible. Si je modifie certains réglages dans les paramètres (DPI, taille des polices système), cela change certaines choses, mais pas tout, donc c'est pas utilisable tel quel. Certains d'entre vous ont-ils réussi à rendre ce portable utilisable ? Si oui, vos lumières sont les bienvenues, et ma gratitude éternelle promise ;-) \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin
Re: Debian 11: Unable to detect wireless interface on an old laptop computer
On Mon, Sep 27, 2021 at 10:30:06AM -0500, David Wright wrote: > On Mon 27 Sep 2021 at 16:52:03 (+0200), to...@tuxteam.de wrote: > > On Mon, Sep 27, 2021 at 04:43:44PM +0200, Stella Ashburne wrote: > > > I have a dual-boot OS configuration on my HDD: Debian 11 and Microsoft > > > Windows 10. > > > > > > My CPU belongs to Intel 4th generation (Haswell) and I even installed > > > packages such as firmware-misc-nonfree firmware-iwlwifi firmware-realtek > > > > > > Microsoft Windows 10 is able to detect and makes use of the wireless > > > chipset on my computer's motherboard. > > > > > > However, Debian 11 is unable to detect it (wireless chipset). I only > > > installed the bare minimum lxqt-core and lightdm packages (no fanciful > > > stuff). > > > > > > I issued the command: > > > > > > ip link show > > > > > > and there is not a line that says something like wlan or wl01 etc... > > > > > > Below is the output of lspci: > > > > > > > [...] > > > > > 07:00.0 Network controller: Intel Corporation Wireless 3160 (rev 83) > > > > This one looks like it might be your friend. AFAIK the firmware for that > > is in the firmware-iwlwifi package. > > > > What does `lsmod | grep iwl' say? > > And also any output from: > > # dmesg | grep iwl > And after that device shows up nmcli can be very useful: nmcli device will list your network devices if it is not enabled - unless it it is physically switched off - you can unblock it with nmcli radio wifi on and to connect nmcli --ask dev wifi connect it will ask for your wpa password and by default will remember it. -H -- Henning Follmann | hfollm...@itcfollmann.com
Re: Problème avec un Lenovo Thinkpad 15v gen1
Le Mon, 27 Sep 2021 11:57:13 +, Hugues Larrive a écrit : > Le plus simple c'est probablement de configurer l'affichage en > 1920x1080, comme c'est pile la moitié ça devrait rester > parfaitement net. C'est une excellente idée, je m'étonne de ne pas l'avoir eue moi-même :-) Merci à tous les contributeurs pour leurs lumières. Et oui, j'ai des yeux qui vieillissent :-( \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin
Re: Debian 11: Unable to detect wireless interface on an old laptop computer
On Mon 27 Sep 2021 at 16:52:03 (+0200), to...@tuxteam.de wrote: > On Mon, Sep 27, 2021 at 04:43:44PM +0200, Stella Ashburne wrote: > > I have a dual-boot OS configuration on my HDD: Debian 11 and Microsoft > > Windows 10. > > > > My CPU belongs to Intel 4th generation (Haswell) and I even installed > > packages such as firmware-misc-nonfree firmware-iwlwifi firmware-realtek > > > > Microsoft Windows 10 is able to detect and makes use of the wireless > > chipset on my computer's motherboard. > > > > However, Debian 11 is unable to detect it (wireless chipset). I only > > installed the bare minimum lxqt-core and lightdm packages (no fanciful > > stuff). > > > > I issued the command: > > > > ip link show > > > > and there is not a line that says something like wlan or wl01 etc... > > > > Below is the output of lspci: > > > > [...] > > > 07:00.0 Network controller: Intel Corporation Wireless 3160 (rev 83) > > This one looks like it might be your friend. AFAIK the firmware for that > is in the firmware-iwlwifi package. > > What does `lsmod | grep iwl' say? And also any output from: # dmesg | grep iwl Cheers, David.
Re: Keep config?
On Mon, Sep 27, 2021 at 12:02:52PM +0200, Hans wrote: > Hi folks, > > just an easy question: How can I force to keep or overwrite a configuration > during an upgrade? As I do not want it set fixed, I am searching for a > solution by setting a command. [...] In addition to the other responses in this thread, I'll put in a plug for the etckeeper package. I'm a big fan of keeping versioned history of my configs in a local git repo. > Best regards > Hans --Gregory
Re: What happened to cal?
On Mon, Sep 27, 2021 at 07:16:23AM -0400, Greg Wooledge wrote: That second sentence is incorrect. unicorn:~$ dpkg -s bsdmainutils | grep Depends: Depends: bsdutils (>= 3.0-0), debianutils (>= 1.8), bsdextrautils (>= 2.35.2-7), ncal Sorry, you're right. I eye-balled the control file here [1] and missed that the Depends: field was line-wrapped. [1] https://tracker.debian.org/media/packages/b/bsdmainutils/control-12.1.7nmu3 -- Please do not CC me for listmail. Jonathan Dowland ✎j...@debian.org https://jmtd.net
Re: Debian 11: Unable to detect wireless interface on an old laptop computer
On Mon, Sep 27, 2021 at 04:43:44PM +0200, Stella Ashburne wrote: > I have a dual-boot OS configuration on my HDD: Debian 11 and Microsoft > Windows 10. > > My CPU belongs to Intel 4th generation (Haswell) and I even installed > packages such as firmware-misc-nonfree firmware-iwlwifi firmware-realtek > > Microsoft Windows 10 is able to detect and makes use of the wireless chipset > on my computer's motherboard. > > However, Debian 11 is unable to detect it (wireless chipset). I only > installed the bare minimum lxqt-core and lightdm packages (no fanciful stuff). > > I issued the command: > > ip link show > > and there is not a line that says something like wlan or wl01 etc... > > Below is the output of lspci: > [...] > 07:00.0 Network controller: Intel Corporation Wireless 3160 (rev 83) This one looks like it might be your friend. AFAIK the firmware for that is in the firmware-iwlwifi package. What does `lsmod | grep iwl' say? Cheers - t signature.asc Description: Digital signature
Debian 11: Unable to detect wireless interface on an old laptop computer
I have a dual-boot OS configuration on my HDD: Debian 11 and Microsoft Windows 10. My CPU belongs to Intel 4th generation (Haswell) and I even installed packages such as firmware-misc-nonfree firmware-iwlwifi firmware-realtek Microsoft Windows 10 is able to detect and makes use of the wireless chipset on my computer's motherboard. However, Debian 11 is unable to detect it (wireless chipset). I only installed the bare minimum lxqt-core and lightdm packages (no fanciful stuff). I issued the command: ip link show and there is not a line that says something like wlan or wl01 etc... Below is the output of lspci: 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06) 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06) 00:01.1 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x8 Controller (rev 06) 00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06) 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06) 00:04.0 Signal processing controller: Intel Corporation Device 0c03 (rev 06) 00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05) 00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04) 00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05) 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05) 00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5) 00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5) 00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5) 00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05) 00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 05) 00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05) 00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05) 00:1f.6 Signal processing controller: Intel Corporation 8 Series Chipset Family Thermal Management Controller (rev 05) 06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10) 07:00.0 Network controller: Intel Corporation Wireless 3160 (rev 83) 0a:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 950M] (rev a2) Could someone help me please? Thanks.
Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card to a 16Gb Class 10 A1 MicroSD card?
Hi. Please do not top-post. On Mon, Sep 27, 2021 at 01:36:59PM +0100, Myron wrote: > This is on a Lemaker BananaPro SoC board running on Armbian. I.e. - not Debian, but Debian derivative. In this particular case it actually matters. > There is one partition on it and it's EXT4 that takes up the entire 32Gb > MicroSD card. 1) Locate u-boot install script on a source filesystem, usually it is /usr/lib/u-boot/platform_install.sh. Read it, understand it. It's a fancy wrapper to dd(1). 2) Proceed with copying filesystem contents as outlined in previous e-mail. 3) Run /usr/lib/u-boot/platform_install.sh on a target SD card. Reco
Re: upgrading and stuff
On Sunday 26 September 2021 01:59:05 pm Andrew M.A. Cater wrote: > Follow the clues form the blog below: > > https://economictheoryblog.com/2015/11/08/how-to-enable-gui-root-login-in-debian-8/ > > Edit /etc/gdm3/daemon.conf and add > > AllowRoot=true under [security] > > Then edit /etc/pam.d/gdm-password and comment out (with a #) the line > > auth required pam_succeed_if.so.user != root quiet_success That stuff is already done on this system. I looked over that post and several related ones, and it's apparent to me that the steps required are different from one version to another. Given that, I'm beginning to think that a textmode login might be my best choice, followed by startx, to simplify things. -- Member of the toughest, meanest, deadliest, most unrelenting -- and ablest -- form of life in this section of space, a critter that can be killed but can't be tamed. --Robert A. Heinlein, "The Puppet Masters" - Information is more dangerous than cannon to a society ruled by lies. --James M Dakin
Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card to a 16Gb Class 10 A1 MicroSD card?
Hello Andei. As requested. What I've got running Armbian Linux on is . . . https://linux-sunxi.org/LeMaker_Banana_Pro root@loki:~# fdisk -l Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/mmcblk0: 29.74 GiB, 31914983424 bytes, 62333952 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xe069b87e Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 8192 61702143 61693952 29.4G 83 Linux Disk /dev/zram0: 483.64 MiB, 507117568 bytes, 123808 sectors Units: sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical): 4096 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/zram1: 50 MiB, 52428800 bytes, 12800 sectors Units: sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical): 4096 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes root@loki:~# lsblk -f NAMEFSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT mmcblk0 └─mmcblk0p1 ext4 dffd2ee5-5480-480b-9853-7884f8ba5e47 23G 18% / zram0 [SWAP] zram1 21.7M 48% /var/log root@loki:~# On Sun, 19 Sept 2021 at 05:58, Andrei POPESCU wrote: > On Sb, 18 sep 21, 12:35:13, Myron wrote: > > Never done this one with Linux before. I know that there is less than > 16Gb > > of data written to the Class 10 32Gb MicroSD card which is used as the > > primary system storage on a single board system-on-a-chip computer. What > > I'm after is getting a 16 Gb Class 10 A1 MicroSD card and clone the > entire > > system from the 32Gb card to the 16Gb card. > > > > What I'm after is when I start the SOC computer from the replacement 16Gv > > Class 10 A1 MicroSD card, it will just start like there have been no > > changes, well, apart from there being 16Gb storage and not slower 32Gb > > storage. > > > > This is relatively easy to do on Windows. No clue how to do this with > > Linux. > > Do you have another Linux (capable) system to work with? In this case > try GParted, possibly from a live Linux if all your other systems are > Windows: > > > https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/11.0.0-live+nonfree/amd64/iso-hybrid/ > > If all you have to work with is the Linux system itself you need to do > an "online resize" of the filesystem(s) and then adjust the partition > table to match[1]. > > Before starting the operation make sure you are shrinking to the correct > size, because many SD cards are slightly smaller than advertised. If in > doubt shrink more, copy and then grow (online grow is mostly the same as > shrink -- in reverse order -- and will be much faster as there is no > data to move around). > > Please post the full output of: > > fdisk -l > lsblk -f > > (use sudo or root as needed) > > with both SD cards plugged in case you need assistance with the manual > method. > > [1] yes, the partition and the filesystem within it can be adjusted > independently, even for NTFS. The graphical tools (GParted included) > just show this to be one operation. > > Hope this helps, > Andrei > -- > http://wiki.debian.org/FAQsFromDebianUser >
Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card to a 16Gb Class 10 A1 MicroSD card?
Hello David. As requested . . . . 2021-09-27 13:49:50 root@loki ~ # cat /etc/debian_version ; uname -a bullseye/sid Linux loki 5.10.60-sunxi #21.08.2 SMP Tue Sep 14 16:28:44 UTC 2021 armv7l armv7l armv7l GNU/Linux 2021-09-27 13:50:06 root@loki ~ # egrep 'vendor_id|model name' /proc/cpuinfo | head -n 2 model name : ARMv7 Processor rev 4 (v7l) model name : ARMv7 Processor rev 4 (v7l) 2021-09-27 13:50:53 root@loki ~ # fdisk -l Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/mmcblk0: 29.74 GiB, 31914983424 bytes, 62333952 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xe069b87e Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 8192 61702143 61693952 29.4G 83 Linux Disk /dev/zram0: 483.64 MiB, 507117568 bytes, 123808 sectors Units: sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical): 4096 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/zram1: 50 MiB, 52428800 bytes, 12800 sectors Units: sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical): 4096 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes On Sat, 18 Sept 2021 at 20:20, David Christensen wrote: > On 9/18/21 4:35 AM, Myron wrote: > > Never done this one with Linux before. I know that there is less than > 16Gb > > of data written to the Class 10 32Gb MicroSD card which is used as the > > primary system storage on a single board system-on-a-chip computer. What > > I'm after is getting a 16 Gb Class 10 A1 MicroSD card and clone the > entire > > system from the 32Gb card to the 16Gb card. > > > > What I'm after is when I start the SOC computer from the replacement 16Gv > > Class 10 A1 MicroSD card, it will just start like there have been no > > changes, well, apart from there being 16Gb storage and not slower 32Gb > > storage. > > > > This is relatively easy to do on Windows. No clue how to do this with > > Linux. > > > > > Backup your data. I would take a raw binary image of the entire 32 GB > MicroSD card as well. > > > My guess is that you should resize the contents of the 32 GB MicroSD > card to fit onto the 16 GB MicroSD card, and then clone. > > > But, the devil is in the details and it would be helpful if we had more > information... > > > What is the make and model of your "single board system-on-a-chip > computer" (SBC)? What CPU, memory, or other options does it have? What > is the technical support URL? > > > Is the SBC connected to a keyboard, mouse, and monitor, to a serial > console, or to some other console? Can you SSH into it? > > > How did you create a working Debian (?) GNU/Linux instance on the 32 GB > MicroSD card? If you followed some instructions, what is the URL? > > > On the 32 GB MicroSD card Debian instance, please login as root, run the > following commands, and reply with the complete console session -- > prompts, commands entered, output obtained: > > # /bin/bash -l > > # export PS1='\n\D{%Y-%m-%d %H:%M:%S} \u@\h \w\n\$ ' > > # cat /etc/debian_version ; uname -a > > # egrep 'vendor_id|model name' /proc/cpuinfo | head -n 2 > > # grep MemTotal /proc/meminfo > > # fdisk -l > > > David > >
Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card to a 16Gb Class 10 A1 MicroSD card?
It's Armbian Focal on a Lemaker BananaPro AllWinner ARM A20 SoC device. Boots off the card and is also the root filesystem. No other physical storage is attached to. On Sat, 18 Sept 2021 at 13:02, The Wanderer wrote: > On 2021-09-18 at 07:53, Reco wrote: > > > Hi. > > > > On Sat, Sep 18, 2021 at 12:35:13PM +0100, Myron wrote: > >> This is relatively easy to do on Windows. > > > > This is true only if you're using that sad excuse for a filesystem > > called NTFS. > > > >> No clue how to do this with Linux. > > > > 1) Plug-in source card, use dump(8) to backup the contents of its > > filesystem. > > 2) Plug-in target card, create appropriate partition(s) on it. > > 3) Make the needed amount of filesystems on a target SD card. > > For ext4 you'll want to use -U option of mkfs to clone filesystem UUIDs > > (i.e. UUID on the target card must be the same compared to the source > > one). > > 4) Use restore(8) to recreate filesystem(s) contents on a target card. > > 5) Unmount filesystems made on a target card. > > Will this really be enough? > > I'd expect that you'd also need to bring across the bootability > configuration, which - depending on how it's set up on that particular > device - might well require additional steps. > > For hard-drive installs you're likely to have a GRUB installation, which > wouldn't be brought across by a measure like this. For a SD-card-based > install I'm not sure, but I'd be a bit surprised to learn that no such > non-filesystem-based configuration is necessary. > > -- >The Wanderer > > The reasonable man adapts himself to the world; the unreasonable one > persists in trying to adapt the world to himself. Therefore all > progress depends on the unreasonable man. -- George Bernard Shaw > >
Re: How do I clone a Debian Distro from a 32Gb Class 10 MicroSD card to a 16Gb Class 10 A1 MicroSD card?
This is on a Lemaker BananaPro SoC board running on Armbian. There is one partition on it and it's EXT4 that takes up the entire 32Gb MicroSD card. Not NTFS. There are some more replies on this thread I need to read after I send this, but this SoC card boots off this MicroSD card and the entire root filesystem is on it. The MicroSD card is the boot and system drive. On Sat, 18 Sept 2021 at 12:53, Reco wrote: > Hi. > > On Sat, Sep 18, 2021 at 12:35:13PM +0100, Myron wrote: > > This is relatively easy to do on Windows. > > This is true only if you're using that sad excuse for a filesystem > called NTFS. > > > No clue how to do this with Linux. > > 1) Plug-in source card, use dump(8) to backup the contents of its > filesystem. > 2) Plug-in target card, create appropriate partition(s) on it. > 3) Make the needed amount of filesystems on a target SD card. > For ext4 you'll want to use -U option of mkfs to clone filesystem UUIDs > (i.e. UUID on the target card must be the same compared to the source > one). > 4) Use restore(8) to recreate filesystem(s) contents on a target card. > 5) Unmount filesystems made on a target card. > > Reco > >
Re: Keep config?
Hans wrote: > Hi folks, > > thanks for the answwers, but I believe, my question was not clear enough. > > What I wanted to know, if there is an option, like > > apt-get upgrade --keep-my-configs (or --overwrite-my-config) > > or > > aptitude upgrade --keep-my-configs (or overwrite-my-config) > > or similar, to let my changed configs be overwritten (i.e. by the maintainers > config), or left it kept. I do not want the interactive dialog, which is > questioning me during an upgrade. > > Please note, I do not want interactive question fully deactivated (which is > possible), just deactivate it for own edited configs. > It's a dpkg config option set: /etc/dpkg/dpkg.cfg confnew: If a conffile has been modified and the version in the package did change, always install the new version without prompting, unless the --force-confdef is also specified, in which case the default action is preferred. confold: If a conffile has been modified and the version in the package did change, always keep the old version without prompting, unless the --force-confdef is also specified, in which case the default action is preferred. confdef: If a conffile has been modified and the version in the package did change, always choose the default action without prompting. If there is no default action it will stop to ask the user unless --force-confnew or --force-confold is also been given, in which case it will use that to decide the final action. -dsr-
Re: Keep config?
Hi folks, thanks for the answwers, but I believe, my question was not clear enough. What I wanted to know, if there is an option, like apt-get upgrade --keep-my-configs (or --overwrite-my-config) or aptitude upgrade --keep-my-configs (or overwrite-my-config) or similar, to let my changed configs be overwritten (i.e. by the maintainers config), or left it kept. I do not want the interactive dialog, which is questioning me during an upgrade. Please note, I do not want interactive question fully deactivated (which is possible), just deactivate it for own edited configs. Hope, that makes it clearer. Is there any tag, which can be set using apt or aptitude in commandline? Best Hans
Re : Re: Problème avec un Lenovo Thinkpad 15v gen1
Le lundi 27 septembre 2021 à 05:52, Basile Starynkevitch a écrit : > On 26/09/2021 21:11, Nicolas FRANCOIS wrote: > > > Bonsoir. > > > > Mon lycée m'a confié la bête sus-mentionnée. J'ai un gros problème avec > > > > cette bestiole, initialement fournie avec Window$ 10 : son écran. C'est > > > > un écran UHD, de résolution 3840*2160 (ils sont cinglés de mettre un > > > > tel écran, ça sert à RIEN sur un écran de 15.6" !!!). > > Je suis en désaccord. Avec de bon yeux et pour certaines applications > > graphiques (par exemple la CAO ou le dessin), une haute résolution est > > utile. > Ça fait des pixels de 0,9mm discernables jusqu'à une distance de 31cm avec une acuité de 10/10. Non seulement c'est inutile mais c'est même mauvais pour la santé (mettez le portable sur vos genoux et placez vos yeux à 30 cm de l'écran afin de distinguer les détails...) Pour la CAO ? Si on vous vendais une imprimante A4 en vous disant qu'elle a la même résolution qu'une A2 vous diriez probablement "non, A4 c'est trop petit pour mes plans". En 15,6" 1920x1080 c'est déjà limite pour la plupart des gens avec de bons yeux. Le plus simple c'est probablement de configurer l'affichage en 1920x1080, comme c'est pile la moitié ça devrait rester parfaitement net. publickey - hlarrive@pm.me - 0xE9429B87.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature
Re: Keep config?
On 9/27/21 7:15 AM, Henning Follmann wrote: On Mon, Sep 27, 2021 at 12:02:52PM +0200, Hans wrote: Hi folks, just an easy question: How can I force to keep or overwrite a configuration during an upgrade? As I do not want it set fixed, I am searching for a solution by setting a command. I am sure, this can be done with setting a tag (so that I am not asked, if I want to overwrite or keep), and searched through the manual of apt, aptitude and dpkg, but somehow I must have something overseen (or misundertood). Sure way to do this: make a backup. for those you chose, restore the config from backup. It's also a great way to do away with old cruft. Sometimes programs evolve, become more capable, which also means it might be a good time for checking the config again. Best example /e/a/sources.list :) What is the solution and where is this described? Thanks for your help to this silly problem. Cheers, -H Let me echo this. This is also why I don't automatically copy my backup configs to the live system. It has happened that a package changed its defaults or the syntax of its config, and copying the old config over the installed one would be problematic. If possible, doing a diff might be a good idea. Then edit/overwrite as feasible. Paul
Re: What happened to cal?
On 9/27/21 3:45 AM, Jonathan Dowland wrote: /usr/bin/cal moved to its own package (ncal) in bsdmainutils upload 12.1.3. This is the version included in current stable and newer; but it's after the version in oldstable (buster). IOW, On buster, if you had installed bsdmainutils, you would get /usr/bin/cal. bsdmainutils is Priority: important in buster but only Priority: optional in stable onwards. That priority applies to all the binary packages built from the source, including ncal. Quoting the Debian FAQ: https://www.debian.org/doc/manuals/debian-faq/pkg-basics.en.html#priority If you do a default Debian installation all the packages of priority Standard or higher will be installed in your system. If you select pre-defined tasks you will get lower priority packages too. So installing Buster, you would get /usr/bin/cal by default. Installing anything newer, and you don't. On upgrade from Buster, bsdmainutils will no longer provide /usr/bin/cal. There's no dependency in place to automatically pull in the ncal package, you have to do that yourself. Thanks for the further info. Paul
Re: What happened to cal?
On Mon, Sep 27, 2021 at 08:45:03AM +0100, Jonathan Dowland wrote: > On upgrade from Buster, bsdmainutils will no longer provide > /usr/bin/cal. There's no dependency in place to automatically pull in > the ncal package, you have to do that yourself. That second sentence is incorrect. unicorn:~$ dpkg -s bsdmainutils | grep Depends: Depends: bsdutils (>= 3.0-0), debianutils (>= 1.8), bsdextrautils (>= 2.35.2-7), ncal I can also confirm that I have ncal installed on bullseye after an upgrade from buster, and I did not need to install it by hand.
Re: Keep config?
On Mon, Sep 27, 2021 at 12:02:52PM +0200, Hans wrote: > Hi folks, > > just an easy question: How can I force to keep or overwrite a configuration > during an upgrade? As I do not want it set fixed, I am searching for a > solution by setting a command. > > I am sure, this can be done with setting a tag (so that I am not asked, if I > want to overwrite or keep), and searched through the manual of apt, aptitude > and dpkg, but somehow I must have something overseen (or misundertood). > Sure way to do this: make a backup. for those you chose, restore the config from backup. It's also a great way to do away with old cruft. Sometimes programs evolve, become more capable, which also means it might be a good time for checking the config again. Best example /e/a/sources.list :) > What is the solution and where is this described? > > Thanks for your help to this silly problem. > Cheers, -H -- Henning Follmann | hfollm...@itcfollmann.com
Re: Keep config?
> > > > just an easy question: How can I force to keep or overwrite a > configuration > during an upgrade? As I do not want it set fixed, I am searching for a > solution by setting a command. There are options for dpkg: --force-{confdef,confold,confnew} etc. See ``dpkg(1)``. Here are some examples: $ apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade https://raphaelhertzog.com/2010/09/21/debian-conffile-configuration-file-managed-by-dpkg/
Re: silence audio on locked screen?
Richard Hector wrote: > I'm using buster with xfce4, pulseaudio, and (I think) light-locker. > > When I lock my screen, audio continues to play (and system sounds are still > heard). > > This seems to me like a way to leak information, and is also annoying to > anyone nearby. It's then annoying for me when I discover somebody has > unplugged my headphones to make them shut up :-) > > Any suggestions for making it be quiet? Perhaps a wishlist bug for > light-locker? I don't know if it's even feasible, given the various > combinations of audio system and screen lockers. One option is to run a mute and stop-playing command immediately on screensaver interaction. For XFCE4, that's as easy as adding a panel object which runs an application, pointing that at a script, and adding an appropriate icon. Install xmacro. ~/bin/quiet-and-dark #!/bin/sh #not actually tested echo 'KeyStrPress XF86AudioPlay KeyStrRelease XF86AudioPlay' | xmacroplay :0 echo 'KeyStrPress XF86AudioMute KeyStrRelease XF86AudioMute' | xmacroplay :0 xscreensaver -command activate You can also assign it to run as a keyboard shortcut. -dsr-
Keep config?
Hi folks, just an easy question: How can I force to keep or overwrite a configuration during an upgrade? As I do not want it set fixed, I am searching for a solution by setting a command. I am sure, this can be done with setting a tag (so that I am not asked, if I want to overwrite or keep), and searched through the manual of apt, aptitude and dpkg, but somehow I must have something overseen (or misundertood). What is the solution and where is this described? Thanks for your help to this silly problem. Best regards Hans
Re: static photo album generator
On Sun, Sep 26, 2021 at 09:47:25AM +0200, Emanuel Berg wrote: Is there a static photo album generator in the Debian repos? Many! The last one I used and liked was "lazygal", so called because if you re-invoke it, it tries to only do the work necessary to update the generated files to reflect changes, unlike "llgal" for example, which will re-generate every thumbnail (I think). In that family/style of solution there is at least lazygal, llgal and igal2 packaged. -- Please do not CC me for listmail. Jonathan Dowland ✎j...@debian.org https://jmtd.net
Re: What happened to cal?
/usr/bin/cal moved to its own package (ncal) in bsdmainutils upload 12.1.3. This is the version included in current stable and newer; but it's after the version in oldstable (buster). IOW, On buster, if you had installed bsdmainutils, you would get /usr/bin/cal. bsdmainutils is Priority: important in buster but only Priority: optional in stable onwards. That priority applies to all the binary packages built from the source, including ncal. Quoting the Debian FAQ: https://www.debian.org/doc/manuals/debian-faq/pkg-basics.en.html#priority If you do a default Debian installation all the packages of priority Standard or higher will be installed in your system. If you select pre-defined tasks you will get lower priority packages too. So installing Buster, you would get /usr/bin/cal by default. Installing anything newer, and you don't. On upgrade from Buster, bsdmainutils will no longer provide /usr/bin/cal. There's no dependency in place to automatically pull in the ncal package, you have to do that yourself. -- Please do not CC me for listmail. Jonathan Dowland ✎j...@debian.org https://jmtd.net
Re: Problème avec un Lenovo Thinkpad 15v gen1
Le dimanche 26 septembre 2021 à 21:11 +0200, Nicolas FRANCOIS a écrit : > Bonsoir. > > Mon lycée m'a confié la bête sus-mentionnée. J'ai un gros problème > avec > cette bestiole, initialement fournie avec Window$ 10 : son écran. > C'est > un écran UHD, de résolution 3840*2160 (ils sont cinglés de mettre un > tel écran, ça sert à RIEN sur un écran de 15.6" !!!). Qui peut le plus peut le moins, je suppose qu'on peut avoir un meilleur piqué, et ça a peut-être plus d'intérêt associé à un grand écran externe dans la même résolution. Bref, une résolution ça se change, si tu n'en n'a pas l'usage, plutôt que bricoler les tailles, tu peux baisser la résolution, les écrans et cartes graphiques savent gérer plusieurs résolutions. Enfin, je ne sais pas si sur XFCE tu as ce paramètre, mais il doit se trouver dans Gnome et Cinnamon : Double (Hi-DPI)
Re: static photo album generator
Charles Curley wrote: >> Hm, one of these perhaps >> >> album- HTML photo album generator with theme support >> fgallery - static HTML+JavaScript photo album generator >> >> This >> >> pelican - blog aware, static website generator >> >> was recommended to my on #debian at Libera. >> >> Anyone has experience from them or any other software to >> this end? > > I use both album and pelican. Both take some setup. Album is > closer to your original requirement, and should fulfill it > nicely one you have it set up. Thanks! -- underground experts united https://dataswamp.org/~incal
Re: Problème avec un Lenovo Thinkpad 15v gen1
On 26/09/2021 21:11, Nicolas FRANCOIS wrote: Résultat : avec XFCE, tout est MICROSCOPIQUE :-( Et je n'ai pas trouvé de solutions tout à fait satisfaisantes sur le net. J'ai réussi à forcer Grub à se lancer avec une police et une résolution correctes, mais le bureau XFCE reste quasiment illisible. Dans ton .bashrc, tu peux utiliser: xrandr --scale-from -- Fabien
Re: static photo album generator
Eduardo M KALINOWSKI wrote: >> fgallery - static HTML+JavaScript photo album generator Hm, >> HTML and JavaScript, doesn't sound so static ... > > Static means no server side processing is required (no CGI, > PHP or similar), any web server that can just serve files > is enough. Yeah, but JavaScript, is that executed by the client you mean? Maybe it is, I did it only once and don't remember where it executed now that you say it ... for some reason I just thought it was on the server ... OK, so it is on the client :) -- underground experts united https://dataswamp.org/~incal
Re: silence audio on locked screen?
On 27.09.2021 07:20, Richard Hector wrote: Hi all, I'm using buster with xfce4, pulseaudio, and (I think) light-locker. When I lock my screen, audio continues to play (and system sounds are still heard). This seems to me like a way to leak information, and is also annoying to anyone nearby. It's then annoying for me when I discover somebody has unplugged my headphones to make them shut up :-) Any suggestions for making it be quiet? Perhaps a wishlist bug for light-locker? I don't know if it's even feasible, given the various combinations of audio system and screen lockers. Cheers, Richard You can assign a special key to mute\unmute sound in xfce 'Keyboard' settings and mute audio manually before you lock screen. Pressing the same key again will unmute audio. Choose among one of the F* keys or a key combination. Exact command will be: pactl set-sink-mute @DEFAULT_SINK@ toggle Note: "@DEFAULT_SINK@" is a special variable for pulseaudio that points to default sink. (duh..) -- With kindest regards, Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄