systemd-logind: Failed to start session scope session-2.scope: Connection timed out

2022-02-09 Thread Vincent Lefevre
After rebooting with the latest kernel under Debian/unstable (5.16.0-1-amd64) and logging in via lightdm, the machine got frozen. I managed to get my desktop by switching to a text console (Ctrl-Alt-F1), then back to VT7 (where Xorg is running). In the journalctl logs: [...] Feb 09 13:56:28 cvent

Re: system lock up, not sure if related to "your system is too slow"

2022-03-07 Thread Vincent Lefevre
On 2022-03-06 07:12:10 -0500, songbird wrote: > when i search for this kind of problem on the internet i come > up with: > > https://itectec.com/ubuntu/ubuntu-why-am-i-getting-event-processing-lagging-behind-msg-in-ubuntu-20-10/ > > which says ignore it > > while the following two give me the ho

Re: system lock up, not sure if related to "your system is too slow"

2022-03-09 Thread Vincent Lefevre
On 2022-03-07 20:55:52 -0500, songbird wrote: > right now it locks solid and i can't get a core file at all. > all my log files are not giving me any clues either the Xorg > one is the only one that's telling me anything relating to > what is happening (some kind of IO issue). > > it happens w

Re: linux kernel and nvidia - never ending story

2022-03-09 Thread Vincent Lefevre
On 2022-03-07 18:25:54 -0500, Stefan Monnier wrote: > Obviously it depends who you ask. The kernel side doesn't consider > itself to blame because they do expose a "stable" API which Nvidia > could use. But note that the Xorg API is not stable. The 340 branch can no longer be used at least becaus

Re: cleanly getting rid of manually installed transitional packages due to rename

2022-04-06 Thread Vincent Lefevre
Replying to this old mail, as I have new information... On 2020-04-21 19:09:32 +0200, Sven Joachim wrote: > On 2020-04-21 17:07 +0200, Vincent Lefevre wrote: > > Sometimes packages get renamed. A renamed package becomes a > > "transitional package", which can be tracked

file born 30 seconds after its creation on ext4 - bug?

2022-04-26 Thread Vincent Lefevre
On an ext4 filesystem, I got a file born 30 seconds after its actual creation. Is this a bug? I know that such issues can be observed with NFS, but here this is just a local ext4 filesystem. Here are the details. I started a shell script: cventin:~> ps -p 667828 -o lstart,cmd S

Re: email lacks sender address

2022-04-26 Thread Vincent Lefevre
On 2022-04-26 09:25:48 -0400, Haines Brown wrote: > What I get out of this is that my MUA (mutt) might generate a message > that lacks a local account name (I assume it is defined by the content > of /etc/mailname, whicn in my case happens to be lenin.histomat.net). No, /etc/mailname is just th

Re: email lacks sender address

2022-04-26 Thread Vincent Lefevre
On 2022-04-24 23:30:34 -0400, Haines Brown wrote: > I placed these two lines in ~./muttrc/muttrc > > set envelope_from_address=hai...@histomat.net > set use_envelope_from=hai...@histomat.net > > but still get 521 5.5.1 Protocol error om outgoing messages. Note that use_envelope_from is a boo

Re: file born 30 seconds after its creation on ext4 - bug?

2022-04-26 Thread Vincent Lefevre
On 2022-04-26 19:01:26 +0200, Thomas Schmitt wrote: > It looks as if the file indeed does not exist when you inquire it. > So if it got created by the script, maybe it was deleted or renamed > shortly afterwards and created again 30 seconds later ? The script doesn't do that. The file is created w

Re: file born 30 seconds after its creation on ext4 - bug?

2022-04-26 Thread Vincent Lefevre
On 2022-04-26 12:47:53 -0500, Nicholas Geovanis wrote: > On Tue, Apr 26, 2022 at 12:37 PM Nicholas Geovanis > wrote: > > > On Tue, Apr 26, 2022 at 8:45 AM Vincent Lefevre > > wrote: > > > >> On an ext4 filesystem, I got a file born 30 seconds after its

Re: file born 30 seconds after its creation on ext4 - bug?

2022-04-26 Thread Vincent Lefevre
On 2022-04-26 14:18:58 -0400, Stefan Monnier wrote: > > On an ext4 filesystem, I got a file born 30 seconds after its > > actual creation. Is this a bug? > > I doubt it. > Note that a file's atime/mtime/ctime is a property of the file itself, > whereas "appearing" is defined by when the name you'r

Re: file born 30 seconds after its creation on ext4 - bug?

2022-04-27 Thread Vincent Lefevre
Hi, On 2022-04-27 09:07:37 +0200, Thomas Schmitt wrote: > i wrote: > > > So if it got created by the script, maybe it was deleted or renamed > > > shortly afterwards and created again 30 seconds later ? > > Vincent Lefevre wrote: > > The script doesn&#x

Re: email lacks sender address

2022-04-27 Thread Vincent Lefevre
On 2022-04-27 09:19:38 -, Curt wrote: > On 2022-04-26, David Wright wrote: > > Well, the simple way, which is why I use it, is to put: > > > > set envelope_from_address="someuser@somedomain" > > set use_envelope_from > > The OP sent me an email off-list in which he informed me he was doin

Re: file born 30 seconds after its creation on ext4 - bug?

2022-04-27 Thread Vincent Lefevre
On 2022-04-27 11:39:17 +0200, Thomas Schmitt wrote: > If it has indeed to do with the CPU cache then a particular cache would have > delayed its writing to RAM for 30 seconds but would have served its own CPU > with the full results of file system driver and virtual memory activities > around the n

Re: Crucial SSDs and Debian Bullseye

2022-04-27 Thread Vincent Lefevre
On 2022-04-27 17:08:04 +0500, Alexander V. Makartsev wrote: > I've never heard anything like that and I've worked with many > consumer-grade SSDs. > Usually all SSDs "just work". They may come pre-partitioned and > pre-formatted, but this could be reconfigured with any standard utility > programs.

Re: Crucial SSDs and Debian Bullseye

2022-04-27 Thread Vincent Lefevre
On 2022-04-27 07:46:27 -0500, Tom Browder wrote: > And for future reference, what brand of SSDs (and memory) do you use? A few months ago, when I looked at what was recommended to change the SSD disk of my laptop, I found that the Samsung 870 EVO 1TB was generally recommended. So this is what I ch

Re: file born 30 seconds after its creation on ext4 - bug?

2022-04-27 Thread Vincent Lefevre
On 2022-04-27 09:26:50 -0400, Greg Wooledge wrote: > Are you able to reproduce the issue at all, even like 1% of the time? In the past 11 years, I may have ran the script (and looked at the output just after that) hundreds or thousands of times; the commands to look at the output have been in my s

Re: email lacks sender address

2022-04-27 Thread Vincent Lefevre
On 2022-04-27 08:05:46 -0400, Haines Brown wrote: > If I understand correctly, which is always in serious doubt, it is > exim that constructs the Sender: line by combining /etc/mailname and > $LOCALHOST. Is this so? On my machine that uses exim (used to send this mail), exim does not add a "Send

Re: email lacks sender address

2022-04-27 Thread Vincent Lefevre
On 2022-04-27 09:36:22 -0400, Haines Brown wrote: > On Wed, Apr 27, 2022 at 01:42:05PM +0100, Brian wrote: > > On Wed 27 Apr 2022 at 08:05:46 -0400, Haines Brown wrote: > > > > If I understand correctly, which is always in serious doubt, it is > > > exim that constructs the Sender: line by combin

Re: email lacks sender address

2022-04-27 Thread Vincent Lefevre
On 2022-04-25 11:39:01 -0400, Haines Brown wrote: > Incidentally, I get > > $ hostname -A > lenin-16.home > > that's strange. Should be lenin.histomat.net About this point, you should not use "hostname -A", but "hostname -f" (or "hostname --fqdn"). The -A option will just give you the FQDN

Re: email lacks sender address

2022-04-27 Thread Vincent Lefevre
On 2022-04-27 11:29:17 -0400, Greg Wooledge wrote: > So if your /etc/mailname contains lenin.histomat.net then mail sent by > john on your system may(!) have a default(!) from/sender address of > j...@lenin.histomat.net. Unless it's overridden. > > If what you WANT is for your outgoing mail to ap

Re: email lacks sender address

2022-04-27 Thread Vincent Lefevre
On 2022-04-27 13:46:01 -0400, Haines Brown wrote: > On Wed, Apr 27, 2022 at 11:29:17AM -0400, Greg Wooledge wrote: > > If what you WANT is for your outgoing mail to appear to come from > > j...@histomat.net then you should have histomat.net in that file instead. > > Thanks for the clarifation. I c

Re: email lacks sender address

2022-04-27 Thread Vincent Lefevre
On 2022-04-27 15:30:33 -0400, Greg Wooledge wrote: > On Wed, Apr 27, 2022 at 07:26:31PM +0100, Brian wrote: > > On Wed 27 Apr 2022 at 08:05:46 -0400, Haines Brown wrote: > > > A message that you sent could not be delivered to one or more of its > > > recipients. This is a permanent error. The f

Re: email lacks sender address

2022-04-27 Thread Vincent Lefevre
On 2022-04-27 14:31:51 -0400, Greg Wooledge wrote: > Funny thing, though... I'm not sure that /etc/mailname actually does > anything other than sit there looking cute. Reading farther along in > , it says: > > Exim (i.e. exim 3.x) doesn't read /etc/mailname

Re: file born 30 seconds after its creation on ext4 - bug?

2022-04-28 Thread Vincent Lefevre
On 2022-04-27 22:45:09 -0400, Stefan Monnier wrote: > Another option might be that your system's time was "reset". > This shouldn't happen, but it can happen if your NTP was down, the > machine got out-of-sync over time and you restart the NTP server at > which point it may(!) decide to jump the cl

Re: file born 30 seconds after its creation on ext4 - bug?

2022-04-28 Thread Vincent Lefevre
On 2022-04-27 11:39:17 +0200, Thomas Schmitt wrote: > It is normal that data get onto the physical storage medium only quite a > long time after a program wrote them. But this is supposed to be kept > consistent by the VFS and virtual memory of the Linux kernel. [...] > I understand that the filesy

Re: file born 30 seconds after its creation on ext4 - bug?

2022-04-28 Thread Vincent Lefevre
Hi, On 2022-04-28 11:26:36 +0200, Thomas Schmitt wrote: > Vincent Lefevre wrote: > > and one with > > openat(AT_FDCWD, "….out", O_WRONLY|O_CREAT|O_APPEND, 0666 > > <... openat resumed>) = 3 > > about 30 seconds later. > > Oh. So the script

Re: file born 30 seconds after its creation on ext4 - bug?

2022-05-01 Thread Vincent Lefevre
On 2022-04-30 14:06:53 +0200, to...@tuxteam.de wrote: > On Sat, Apr 30, 2022 at 10:33:34AM +0200, Thomas Schmitt wrote: > > I understand that Vincent Lefevre suspects these discrepancies to be a bug > > in the ext4 driver. I rather suspect that ext4 is ok and that we observe >

Re: file born 30 seconds after its creation on ext4 - bug?

2022-05-01 Thread Vincent Lefevre
On 2022-04-30 15:19:21 +0200, Thomas Schmitt wrote: > An explanation of the observed problem would need: > - a mechanism which delayed the content production of the inode while it > was already in use for open and write, > - or a mechanism which caused ext4 to hide the inode to other processes >

Re: Alternatives to ISC dhcp-client ?

2022-05-08 Thread Vincent Lefevre
On 2022-05-08 11:19:33 +0800, Jeremy Ardley wrote: > Of note: Using systemd-networkd you should not use NetworkManager or > networking services. I think both use the ISC dhcp client And what about NetworkManager users? Note: it has its own internal DHCP client, but it is not robust on buggy netwo

ogg123, ALSA and Pulseaudio

2022-05-15 Thread Vincent Lefevre
In the recent past, I could run ogg123 with the alsa device, and the sound was played via Pulseaudio. But this almost no longer works. The cause may be that I had run the latest VLC (3.0.17.4-2). Otherwise I don't see what could have broken the audio system. Using Pulseaudio directly (e.g. with de

Re: Editing the DNS with Network Manager Non Root

2022-05-15 Thread Vincent Lefevre
On 2022-05-13 23:31:44 -0500, David Wright wrote: > Well, I've looked at these pages in the past, but never in any depth > because pkg resolvconf has been a luxury (originally installed IIRC > when I was playing with free vpns to download the odd BBC programme). > It always worked with wicd running

Re: ogg123, ALSA and Pulseaudio

2022-05-17 Thread Vincent Lefevre
On 2022-05-17 00:43:32 -0400, Charles Kroeger wrote: > from a google search: > > In Debian 10, PipeWire 0.2. 5 is available, and should not need to manually > be installed, as it's usually brought in as a dependency by applications > that make use of it. In Debian 11, PipeWire 0.3. 19 is available

Re: OpenSSH: cause of random kex_exchange_identification errors?

2022-06-07 Thread Vincent Lefevre
On 2022-02-05 18:39:27 -0300, Henrique de Moraes Holschuh wrote: > If it is sshd, ensure it is actually logging all you need, and carefully > study the logs. Nothing interesting in the logs, according to the admins of the server. > If nothing helps, packet-dump both sides (client and server) and

Re: OpenSSH: cause of random kex_exchange_identification errors?

2022-06-14 Thread Vincent Lefevre
On 2022-06-07 17:19:12 +0100, Tim Woodall wrote: > On Tue, 7 Jun 2022, Vincent Lefevre wrote: > > I eventually did a packet capture on the client side as I was able to > > reproduce the problem. When it occurs, I get the following sequence: > > > > Client ? Server: [SYN

Re: which X11 app can show wifi info

2022-06-14 Thread Vincent Lefevre
On 2022-06-11 19:10:09 +0800, lou wrote: > On 6/11/22 7:00 PM, Brian wrote: > > > > You are associating with a wireless access point. You must be using > > wpasupplicant. Have you tried installing wpagui? > > Thanks, wpagui seems to work for me. wpagui doesn't work at all for me. It doesn't show

Re: which X11 app can show wifi info

2022-06-14 Thread Vincent Lefevre
On 2022-06-14 15:43:40 +0100, Brian wrote: > On Tue 14 Jun 2022 at 13:15:56 +0200, Vincent Lefevre wrote: > > No issues with iwlist and nmcli. > > /usr/sbin/wpa_gui and /sbin/wpa_cli should both give sensible outputs > when run as root. For security reasons, I don't want t

Re: OpenSSH: cause of random kex_exchange_identification errors?

2022-06-14 Thread Vincent Lefevre
On 2022-06-14 19:17:01 +0100, Tim Woodall wrote: [MaxStartups limit] > In the case where I hit it it was a cron job starting an ssh connection > from multiple machines - 'out of hours' where 'convenience' was more > valuable than 'performance'. Note that I get the errors at random times of the day

Re: which X11 app can show wifi info

2022-06-15 Thread Vincent Lefevre
On 2022-06-15 00:19:54 -0500, David Wright wrote: > On Wed 15 Jun 2022 at 03:30:53 (+0200), Vincent Lefevre wrote: > > On 2022-06-14 15:43:40 +0100, Brian wrote: > > > On Tue 14 Jun 2022 at 13:15:56 +0200, Vincent Lefevre wrote: > > > > No issues with iwlist and

Re: which X11 app can show wifi info

2022-06-15 Thread Vincent Lefevre
On 2022-06-15 09:43:50 +0300, Reco wrote: > Hi. > > On Wed, Jun 15, 2022 at 03:30:53AM +0200, Vincent Lefevre wrote: > > On 2022-06-14 15:43:40 +0100, Brian wrote: > > > On Tue 14 Jun 2022 at 13:15:56 +0200, Vincent Lefevre wrote: > > > > No issues with

Re: which X11 app can show wifi info

2022-06-15 Thread Vincent Lefevre
On 2022-06-15 10:32:58 +0100, Brian wrote: > On Wed 15 Jun 2022 at 11:16:40 +0200, Vincent Lefevre wrote: > > The OP wanted an X11 app, while iwlist and nmcli are just command-line > > utilities (though one may want to write a script to show information > > in an X11 ap

Re: which X11 app can show wifi info

2022-06-15 Thread Vincent Lefevre
On 2022-06-15 12:14:19 +0100, Brian wrote: > On Wed 15 Jun 2022 at 12:45:23 +0200, Vincent Lefevre wrote: > > > On 2022-06-15 10:32:58 +0100, Brian wrote: > > > On Wed 15 Jun 2022 at 11:16:40 +0200, Vincent Lefevre wrote: > > > > The OP wanted an X11 app, while

Re: which X11 app can show wifi info

2022-06-15 Thread Vincent Lefevre
On 2022-06-15 13:59:44 +0300, Reco wrote: > On Wed, Jun 15, 2022 at 11:33:00AM +0200, Vincent Lefevre wrote: > > On 2022-06-15 09:43:50 +0300, Reco wrote: > > > First example they provide in wpa_supplicant.conf(5) shows the way to > > > use wpa_cli sensibly without being

Re: OpenSSH: cause of random kex_exchange_identification errors?

2022-06-15 Thread Vincent Lefevre
On 2022-06-15 03:48:38 +0200, Vincent Lefevre wrote: > The source from misc.c is > > int > unset_nonblock(int fd) > { > int val; > > val = fcntl(fd, F_GETFL); > if (val < 0) { > error("fcntl(%d, F_GETFL): %s", fd,

Re: OpenSSH: cause of random kex_exchange_identification errors?

2022-06-15 Thread Vincent Lefevre
On 2022-06-15 15:10:17 +0200, Vincent Lefevre wrote: > They set LogLevel to DEBUG, which explains that the debug3() message > doesn't appear. They can see debug lines when my connection succeeds, > but nothing in case of immediate failure. So this would mean that it > i

Re: X coordinates displayed interactively.

2022-06-21 Thread Vincent Lefevre
On 2022-06-19 18:38:50 +0200, Andreas Rönnquist wrote: > A simple solution would be something like the one described in > > https://askubuntu.com/questions/346913/show-realtime-mouse-cursor-coordinates-cursor-mod-overlay-also-copy-to-c I've added my own, complete solution: xterm -geometry 9x1+

Re: issue with purging an old kernel

2022-06-21 Thread Vincent Lefevre
On 2022-06-21 12:09:00 -0600, D. R. Evans wrote: > DdB wrote on 6/20/22 10:07: > > Since i am running dozens of VM's, i can say: > > Me2 am running into this regularly, when i am trying to purge old > > kernels. I am seeing this so frequently, that i even wrote a script > > (meant to be run inside

Re: Has anybody replaced pulseaudio with pipewire on Debian 11...

2022-06-26 Thread Vincent Lefevre
On 2022-06-25 09:55:00 +0100, Ottavio Caruso wrote: > I have some BT headphones (Anker Soundcore Q30) which work beautifully on > Android devices but are an absolute pain on Debian 11. > > I have to constantly "reinstall -- purge" the whole bluethooth/pulseaudio > stack to make it work and I have

Re: where does `hostname -f` derive the domainname from?

2022-06-26 Thread Vincent Lefevre
On 2022-06-26 21:07:13 +, tuxi...@posteo.de wrote: > I checked using strace and it's appearently going through the following: > > 1. uname This is due to the call to gethostname(), as seen with "hostname" without any option. The following is due to the call to getaddrinfo() on the node name

Re: how find name of terminal emulator?

2022-06-28 Thread Vincent Lefevre
On 2022-06-28 10:14:48 -0400, Greg Wooledge wrote: > On Tue, Jun 28, 2022 at 01:53:17PM +, visqa...@yahoo.com wrote: > > so if i start uxterm or xterm, how do i find name using command? > > ps -p "$PPID" But note that you won't be able to tell the difference between xterm and uxterm like that

which package provides kde-config?

2022-08-03 Thread Vincent Lefevre
I'm wondering which package provides kde-config[*]. "apt-file search kde-config" doesn't give any answer. Note: I currently don't have KDE installed. That's why I'm asking. I just want to do some check of the kde-config behavior (and possibly, its code). [*] https://techbase.kde.org/Development/T

Re: closing Bullseye bugs pointing to a fix in Unstable?

2022-08-03 Thread Vincent Lefevre
On 2022-07-23 09:29:33 -0400, Greg Wooledge wrote: > Sometimes, the only way to fix security bugs is to use a newer upstream > version. The Debian teams try hard to avoid it, but it has happened > before, and it will happen again. Yes, they did that with firefox in the past, with a major conseque

Re: How do you mount a solid state drive? ...

2022-08-03 Thread Vincent Lefevre
On 2022-07-27 15:20:19 -0500, Albretch Mueller wrote: > https://wiki.debian.org/SSDOptimization I'm wondering whether information is obsolete. At least for the "Low-Latency IO-Scheduler" section, it talks about the cfq vs deadline scheduler, but it seems that they no longer exist: zira:~> cat /s

Re: which package provides kde-config?

2022-08-03 Thread Vincent Lefevre
On 2022-08-03 20:02:39 +0200, hého wrote: > on an old debian stretch > with only kde plasma-desktop installed > no kde-config to be found but a kde4-config > > I get this > $ dpkg -S /usr/bin/kde4-config > kdelibs-bin: /usr/bin/kde4-config Thanks. The xdg-utils package uses kde-config, so I've ju

terminfo descriptions (was: from screen to tmux)

2020-09-09 Thread Vincent Lefevre
Sorry, that's a bit old, but could solve your problem... On 2020-06-24 11:13:06 +0700, Victor Sudakov wrote: [...] > I have a reason but not Debian-related. Since some version, screen has > started enforcing the "screen.xterm-256color" (sic!) terminal type which > is missing from FreeBSD's termina

Re: Python 3 wicd

2021-01-22 Thread Vincent Lefevre
On 2021-01-19 22:09:49 +0200, Andrei POPESCU wrote: > While it might have had its toothing problems in the beginning > NetworkManager has been reliable for me since switching from Wicd (some > time around the wheezy release I believe). I use Debian/unstable, and I've also switched to NetworkMana

Re: Too many levels of symbolic links

2021-01-22 Thread Vincent Lefevre
On 2021-01-22 08:08:57 +0100, steve wrote: > Le 21-01-2021, à 09:45:18 +0200, Andrei POPESCU a écrit : > > > On Jo, 21 ian 21, 08:34:34, steve wrote: > > > I have rebooted with udev_log=debug in /etc/udev/udev.conf. I see > > > > > > Jan 21 08:15:28 box systemd-udevd[607]: sdc6: Failed to update

command to build a Debian package

2021-01-22 Thread Vincent Lefevre
I'm surprised to see on https://wiki.debian.org/SimpleBackportCreation that the recommended command to build a Debian package is dpkg-buildpackage. I had problems with it in the past as it doesn't clean up the environment (and some packages are very sensitive to some environment variables), and

Re: Too many levels of symbolic links

2021-01-23 Thread Vincent Lefevre
On 2021-01-23 09:38:52 +0100, steve wrote: > ❯ stat /dev/sdc6 > Fichier : /dev/sdc6 >Taille : 0 Blocs : 0 Blocs d'E/S : 4096 fichier > spécial de blocs > Périphérique : 5h/5dInœud : 266 Liens : 1 Type de périph. : > 8,26 > Accès : (0660/brw-rw) UID 

Re: Can I remove i386 packages?

2021-01-23 Thread Vincent Lefevre
On 2021-01-23 15:47:09 +0100, steve wrote: > # apt-get purge ".*:i386" > WARNING: The following essential packages will be removed. > This should NOT be done unless you know exactly what you are doing! > libgcc-s1:i386 gcc-10-base:i386 (due to libgcc-s1:i386) libc6:i386 (due to > libgcc-s1:i386)

Re: problem with wget -O

2021-01-26 Thread Vincent Lefevre
On 2021-01-25 17:42:51 -0500, Gene Heskett wrote: > On Monday 25 January 2021 17:04:23 Greg Wooledge wrote: > > > On Mon, Jan 25, 2021 at 04:07:33PM -0500, Gene Heskett wrote: > > > gene@coyote:~/src/build$ cd .. && wget -O opencv.zip > > > https://github.com/opencv/opencv/archive/master.zip Canno

Re: problem with wget -O

2021-01-26 Thread Vincent Lefevre
On 2021-01-26 10:40:01 +0100, Vincent Lefevre wrote: > On 2021-01-25 17:42:51 -0500, Gene Heskett wrote: > > On Monday 25 January 2021 17:04:23 Greg Wooledge wrote: > > > > > On Mon, Jan 25, 2021 at 04:07:33PM -0500, Gene Heskett wrote: > > > > gene@coyote:~/sr

Re: problem with wget -O

2021-01-26 Thread Vincent Lefevre
On 2021-01-26 06:27:40 -0500, Gene Heskett wrote: > The thing I don't get was that is the direct command from their > buildit page. If they did not specify a --no-config option, their buildit page is buggy. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML -

Re: problem with wget -O

2021-01-26 Thread Vincent Lefevre
On 2021-01-26 07:36:46 -0500, Greg Wooledge wrote: > On Tue, Jan 26, 2021 at 06:27:40AM -0500, Gene Heskett wrote: > > The thing I don't get was that is the direct command from their buildit > > page. You would think that would lead to such a common failure that it > > would be documented. > > N

Re: URL to source file

2021-01-27 Thread Vincent Lefevre
On 2021-01-27 12:02:53 +0100, Emanuel Berg wrote: > > Or even better, with dpkg-query(1) > > > > file-url () { > > local debian=https://sources.debian.org/src > > local pack=$1 > > local ver=$(dpkg-query -f '${Version}\n' -W $pack) > > local file=$2 > > local url=$debian/$pack/$

Re: URL to source file

2021-01-27 Thread Vincent Lefevre
On 2021-01-27 14:46:14 +0100, Emanuel Berg wrote: > Vincent Lefevre wrote: > > > With zsh, you can avoid the pipe with zsh expansions: > > > > local ver=${${(M)${(f)"$(aptitude show $pack)"}:#Version:*}#* } > > > > or with apt-cache (which is fas

Re: URL to source file

2021-01-28 Thread Vincent Lefevre
On 2021-01-28 08:07:51 -0500, Greg Wooledge wrote: > On Thu, Jan 28, 2021 at 02:26:47AM +0100, Vincent Lefevre wrote: > > print -r ${${(M)${(f)"$(aptitude show units)"}:#Version:*}#* } > > I have one major objection to this: how do you handle a package that > has mor

Re: About mouse settings

2021-01-30 Thread Vincent Lefevre
On 2021-01-30 19:58:13 +0100, hdv@gmail wrote: > I use xinput and xbindkeys to solve issues with mice and keyboards. Had to > to get my Logitech MX Ergo Trackball and MX Keys to do what I wanted them to > do. Works remarkably well, ... if the mouse and keyboard events are > recognized that is. At

Re: Insidious systemd

2019-05-29 Thread Vincent Lefevre
On 2019-05-28 22:16:27 +0100, Liam O'Toole wrote: > On 2019-05-27, Patrick Bartek wrote: > > Hi, all! > > > > Needing to convert this box from wired ethernet to wireless, I searched > > for a suitable network manager and wicd looked good: No desktop > > environment dependencies (I use a window ma

Re: lightweight wifi UI (Was: Insidious systemd)

2019-05-29 Thread Vincent Lefevre
On 2019-05-28 11:18:39 -0700, Patrick Bartek wrote: > On Tue, 28 May 2019 20:39:53 +0300 > Reco wrote: > > > On Tue, May 28, 2019 at 09:49:45AM -0700, Patrick Bartek wrote: > > > On Tue, 28 May 2019 18:56:44 +0300 > > > Reco wrote: > > > apt/apt-get already by default set NOT to install Recommen

Re: Insidious systemd

2019-06-01 Thread Vincent Lefevre
On 2019-05-29 12:01:44 -0700, Patrick Bartek wrote: > On Wed, 29 May 2019 17:43:49 +0200 > Vincent Lefevre wrote: > > He shouldn't. I've a machine that is still under sysvinit, and > > I can install wicd without any dependency issue. > > What version OS you ru

Re: lightweight wifi UI (Was: Insidious systemd)

2019-06-01 Thread Vincent Lefevre
On 2019-05-29 20:47:06 +0300, Reco wrote: > Hi. > > On Wed, May 29, 2019 at 05:39:05PM +0200, Vincent Lefevre wrote: > > On 2019-05-28 11:18:39 -0700, Patrick Bartek wrote: > > > On Tue, 28 May 2019 20:39:53 +0300 > > > Reco wrote: > > > > &

cleanly getting rid of manually installed transitional packages due to rename

2020-04-21 Thread Vincent Lefevre
Sometimes packages get renamed. A renamed package becomes a "transitional package", which can be tracked by deborphan and can safely removed if it no longer has any reverse dependencies. The issue is that if this was a manually installed package, typically with no past dependencies on it (i.e. no

Re: The simpliest way to automatically rebuild few Debian packages ?

2020-04-21 Thread Vincent Lefevre
Hi, On 2020-04-21 16:44:57 +0300, Reco wrote: > On Tue, Apr 21, 2020 at 03:23:37PM +0200, Thomas Martin wrote: > > My goal is simple : I'm applying few modifications on some Debian > > packages and would like those packages to be rebuilt with my changes > > when a new package version is available.

Re: The simpliest way to automatically rebuild few Debian packages ?

2020-04-21 Thread Vincent Lefevre
On 2020-04-21 18:37:03 +0300, Reco wrote: > On Tue, Apr 21, 2020 at 05:31:38PM +0200, Vincent Lefevre wrote: > > On 2020-04-21 16:44:57 +0300, Reco wrote: > > > apt install apt-build > > > > > > Requires some scripting to run without a human interv

Re: cleanly getting rid of manually installed transitional packages due to rename

2020-04-21 Thread Vincent Lefevre
On 2020-04-21 17:39:55 +0200, n...@dismail.de wrote: > On Tue, Apr 21, 2020 at 17:07:52 +0200, Vincent Lefevre wrote: > > Sometimes packages get renamed. [...] > > > > [...] if one > > wants to remove it, then apt or aptitude will also want to remove > > the new

Re: The simpliest way to automatically rebuild few Debian packages ?

2020-04-21 Thread Vincent Lefevre
On 2020-04-21 20:53:42 +0200, deloptes wrote: > Vincent Lefevre wrote: > > > Patches don't add log messages in general. I meant like what dch > > does. > yes because you are working outside of debuild. debuild creates a build file > that includes all the steps to

Re: cleanly getting rid of manually installed transitional packages due to rename

2020-04-21 Thread Vincent Lefevre
On 2020-04-21 21:02:42 +0200, deloptes wrote: > Vincent Lefevre wrote: > > > On 2020-04-21 17:39:55 +0200, n...@dismail.de wrote: > >> On Tue, Apr 21, 2020 at 17:07:52 +0200, Vincent Lefevre wrote: > >> > Sometimes packages get renamed. [...] > >> >

Re: The simpliest way to automatically rebuild few Debian packages ?

2020-04-22 Thread Vincent Lefevre
On 2020-04-22 08:29:09 +0200, deloptes wrote: > OK I understand now. I did not have a problem to add a new section in the > changelog with > dch -v "4:$BUILDISTRO_NAME" -D "$DISTRO_NAME" -c $debian/changelog \ > "Autogenerated by building script" > > $BUILDISTRO_NAME is the release number (14.

Re: cleanly getting rid of manually installed transitional packages due to rename

2020-04-22 Thread Vincent Lefevre
On 2020-04-22 08:33:23 +0200, deloptes wrote: > Vincent Lefevre wrote: > > > You did not understand. Doing this removes both the transitional > > package *and* the new (renamed) package... unless one marks the new > > package as manually installed (which is the thing that

Re: cleanly getting rid of manually installed transitional packages due to rename

2020-04-22 Thread Vincent Lefevre
On 2020-04-22 12:39:35 +0300, Andrei POPESCU wrote: > You might want to file a wishlist bug against 'apt' to request such a > feature (if not requested already). A reliable implementation probably > requires a new package field, something like: > > Package: foo > Superseded-By: bar Inde

Re: The simpliest way to automatically rebuild few Debian packages ?

2020-04-22 Thread Vincent Lefevre
On 2020-04-22 22:18:19 +0200, deloptes wrote: > Vincent Lefevre wrote: > > > On 2020-04-22 08:29:09 +0200, deloptes wrote: > >> OK I understand now. I did not have a problem to add a new section in the > >> changelog with > >> dch -v "4:$BUILDISTRO_

Re: cleanly getting rid of manually installed transitional packages due to rename

2020-04-22 Thread Vincent Lefevre
On 2020-04-22 16:07:28 -0500, David Wright wrote: > For trivial renames, which yours looks like, as do those I've done, > it would be pretty easy to script. I've never made the effort, > because it's not something I do frequently enough, usually just once, > soon after I start running a new release

Re: aptitude doesn't remove unused packages

2020-04-22 Thread Vincent Lefevre
On 2020-04-22 16:39:00 -0400, The Wanderer wrote: > I don't find 'aptitude why' very reliable in a lot of cases. Ditto. > One thing I habitually do nowadays, to minimize this type of problem, is > to also run > > # apt-get remove $(deborphan) > > and interleave that back and forth with 'apt-get

Re: aptitude doesn't remove unused packages

2020-04-23 Thread Vincent Lefevre
On 2020-04-23 09:19:10 +0300, Andrei POPESCU wrote: > This is controlled by the apt configuration options > > APT::AutoRemove::RecommendsImportant > APT::AutoRemove::SuggestsImportant > > See apt.conf(5) for how to adjust these. The user may want to keep Recommends. -- Vincent Lefèvre

Re: The simpliest way to automatically rebuild few Debian packages ?

2020-04-23 Thread Vincent Lefevre
On 2020-04-23 08:31:32 +0200, deloptes wrote: > Vincent Lefevre wrote: > > > I was wondering whether apt-build could automate things even more > > than my current solution, but it seems that my current solution can > > do more, at least for the goal of just patc

Re: cleanly getting rid of manually installed transitional packages due to rename

2020-04-24 Thread Vincent Lefevre
On 2020-04-23 13:59:29 -0500, David Wright wrote: > On Thu 23 Apr 2020 at 02:53:06 (+0200), Vincent Lefevre wrote: > > On 2020-04-22 16:07:28 -0500, David Wright wrote: > > > For trivial renames, which yours looks like, as do those I've done, > > > it would be p

Re: cleanly getting rid of manually installed transitional packages due to rename

2020-04-25 Thread Vincent Lefevre
On 2020-04-24 23:48:16 -0500, David Wright wrote: > On Fri 24 Apr 2020 at 21:07:31 (+0200), Vincent Lefevre wrote: > > > Since you don't want to purge pdftk, why did you decide to purge it > > above? > > Because in Real Life, pdftk is an empty transitional package. &

Re: cleanly getting rid of manually installed transitional packages due to rename

2020-05-06 Thread Vincent Lefevre
On 2020-04-28 10:21:16 -0500, David Wright wrote: > On Sat 25 Apr 2020 at 21:41:09 (+0200), Vincent Lefevre wrote: > > I think that you are over-optimistic. Imagine the following case. > > The pdftk package has been manually installed in the past and is > > now a transitional

Re: cleanly getting rid of manually installed transitional packages due to rename

2020-05-12 Thread Vincent Lefevre
On 2020-05-07 18:24:59 -0500, David Wright wrote: > On Wed 06 May 2020 at 12:31:35 (+0200), Vincent Lefevre wrote: > > I use unstable. I doubt that packages get renamed in stable > > (except between full upgrades, where the issue has already > > been solved with the oldlibs s

dual screen: some operations are slow (nouveau driver)

2020-05-18 Thread Vincent Lefevre
Hi, I have a laptop with a 3200x1800 screen, and I now have a 4K external monitor (3840x2160). I'm currently using the following configuration (which is the default one, at least with lightdm): xrandr --output DP-3 --auto --output eDP-1 --auto --right-of DP-3 The problem is that some particula

Re: dual screen: some operations are slow (nouveau driver)

2020-05-18 Thread Vincent Lefevre
Some additional information... When I change the configuration to xrandr --output DP-3 --auto --output eDP-1 --auto --right-of DP-3 (usual dual screen settings), /var/log/Xorg.0.log shows: modeset(0): Allocate new frame buffer 7040x2160 stride because 3840 + 3200 = 7040 and max(2160,1800)

Re: dual screen: some operations are slow (nouveau driver)

2020-05-18 Thread Vincent Lefevre
On 2020-05-18 19:53:11 +0300, Andrei POPESCU wrote: > On Lu, 18 mai 20, 15:57:05, Vincent Lefevre wrote: > > > > I use Debian/unstable with the nouveau driver and the 5.6.0-1-amd64 > > kernel. Switching to the stable kernel does not seem to change > > anything. >

Re: dual screen: some operations are slow (nouveau driver)

2020-05-18 Thread Vincent Lefevre
On 2020-05-18 20:49:21 +0300, Andrei POPESCU wrote: > On Lu, 18 mai 20, 19:11:04, Vincent Lefevre wrote: > > On 2020-05-18 19:53:11 +0300, Andrei POPESCU wrote: > > > On Lu, 18 mai 20, 15:57:05, Vincent Lefevre wrote: > > > > > > > > I use Debian/unstab

Re: dual screen: some operations are slow (nouveau driver)

2020-05-18 Thread Vincent Lefevre
Something interesting: using a compositor (compton) with only one screen also makes moving windows rather slow (not as much as with 2 screens, though). -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - co

Re: dual screen: some operations are slow (nouveau driver)

2020-05-18 Thread Vincent Lefevre
On 2020-05-18 20:49:21 +0300, Andrei POPESCU wrote: > You should probably try the Nvidia proprietary driver. The solves the performance issue. But * With light-locker, I can't blank the screen with "xset dpms force off". Actually it gets blanked, but there's something that unblank it 6 s

Re: More on locale

2018-07-11 Thread Vincent Lefevre
On 2018-07-09 18:37:19 +0100, John wrote: > A short time ago I sought your advice about messages I am getting > about locales I thought I did what was suggested but I still see > > CC libclamav_internal_utils_nothreads_la-strlcat.lo > ../libtool: line 1748: warning: setlocale: LC_CTYPE:

Re: More on locale

2018-07-11 Thread Vincent Lefevre
On 2018-07-10 19:50:40 +0100, jpff wrote: > I have those files except the last htl one. > > I should have added that I have been running this macine for years and this > started recently, a month or two I think. > > On Tue, 10 Jul 2018, Zenaan Harkness wrote: > > I'm not sure, but try running loc

Re: More on locale

2018-07-11 Thread Vincent Lefevre
On 2018-07-10 19:50:40 +0100, jpff wrote: > I should have added that I have been running this macine for years > and this started recently, a month or two I think. What is the output of "locale" and "locale -a" on this machine? -- Vincent Lefèvre - Web: 100% accessible

Re: More on locale

2018-07-12 Thread Vincent Lefevre
On 2018-07-11 17:38:18 +0100, John wrote: > >> What is the output of "locale" and "locale -a" on this machine? > snout:~> locale > LANG=en_GB.UTF-8 > LANGUAGE=en_GB:en > LC_CTYPE="en_GB.UTF-8" > LC_NUMERIC="en_GB.UTF-8" > LC_TIME="en_GB.UTF-8" > LC_COLLATE="en_GB.UTF-8" > LC_MONETARY="en_GB.UTF-8"

<    1   2   3   4   5   6   7   8   9   10   >