Re: List packages from non-default repositories

2023-10-03 Thread David Wright
On Wed 04 Oct 2023 at 09:22:06 (+0700), Max Nikulin wrote:
> On 04/10/2023 01:29, Jörg-Volker Peetz wrote:
> > Max Nikulin wrote on 03/10/2023 12:11:
> > > apt list '?narrow(~i, !~Astable|~Astable-backports|!~O^Debian$|~o|~c)'
> > 
> > In my experience the only tool that gives correct answers, is
> > apt-show-versions in the package of the same name:
> > 
> > $ apt-show-versions | grep -v '/stable '
> 
> Thanks.
> 
> Do you have an example of a case when apt-show-versions works better
> when the following command?
> 
>   apt list '~i' | grep -Ev '[/,]stable(-updates|-security)?,'
> 
> OK, it issues a warning
> 
> WARNING: apt does not have a stable CLI interface. Use with caution in
> scripts.
> 
> In my case apt list + grep  gives the same packages as "apt list" with
> the pattern I posted.

  $ apt-show-versions | grep -v '/bullseye'
  linux-image-5.10.0-24-amd64:amd64 5.10.179-5 installed: No available version 
in archive
  xtoolwait:amd64 1.3-6.2 installed: No available version in archive
  youtube-dl:all 2021.12.17-1~bpo11+1 newer than version in archive
  yt-dlp:all 2023.07.06-1~bpo12+1 installed: No available version in archive
  $ apt list '~i' | grep -Ev '[/,]oldstable(-updates|-security)?,'

  WARNING: apt does not have a stable CLI interface. Use with caution in 
scripts.

  Listing...
  linux-image-5.10.0-24-amd64/now 5.10.179-5 amd64 [installed,local]
  xtoolwait/now 1.3-6.2 amd64 [installed,local]
  youtube-dl/now 2021.12.17-1~bpo11+1 all [installed,local]
  yt-dlp/now 2023.07.06-1~bpo12+1 all [installed,local]
  $ 

So just a little more information in the first.

Explanations for these hits:
  linux-image is the previous kernel,
  xtoolwait is from squeeze,
  youtube-dl is the last I found before I started using yt-dlp,
  and I don't have backports in my sources.list.

Cheers,
David.



Re: Fstab, montage de répertoires distant (NAS)

2023-10-03 Thread Pierre Malard
Bonjour,

Visiblement à la lecture de la commande tu as fais une déclaration de ton 
montage dans le /etc/fstab pour indiquer les paramètres de montage. Regarde les 
paramètres que tu as indiqué.

Sinon, une bonne voie pour connaître ce qu’il est possible d’indiquer et tester 
si ça fonctionne c’est de lancer la commande « mount » directement et 
complètement en ligne de commande « mount -t cifs… »  et voir, si ça a 
fonctionné, ce que raconte le listage des montages.

Enfin, si c’est un montage de Linux à Linux, pourquoi passer par Samba ? Est-ce 
qu’un simple montage NFS ne serait pas plus simple et efficace ?


> Le 3 oct. 2023 à 21:57, Frederic Zulian  a écrit :
> 
> Bonjour,
> 
> J'ai deux répertoires sur un  NAS Openmediavault
> 
> Ces  2 répertoires  devraient se monter sur un PC client  via son  fstab.
> Seul 1 des 2 répertoires, se  monte (NAS-lettres) mais pas (NAS-photos).
> 
> J'ai le message d'erreur suivant  :
> root@bureau:~# mount /home/fred/NAS-photos
> mount: /home/fred/NAS-photos: impossible de monter 
> //192.168.1.79/Photos-videos/  en lecture 
> seule.
> 
> Mais les droits sont identiques pour les 2 répertoires du NAS :
> 
> fred@NAS:/export$ ls -al
> total 28
> drwxrwsrwx 90 fred users 16384  1 oct.  17:53 Lettres
> drwxrwsrwx  6 fred fred   4096 10 sept. 17:17 Photos-videos
> fred@NAS:/export$
> 
> Extrait du fstab du PC client :
> 
> //192.168.1.79/Lettres/  /home/fred/NAS-lettres 
>   cifs 
> guest,uid=nobody,gid=nogroup,iocharset=utf8,file_mode=0777,dir_mode=0777,noperm
>  0 0
> //192.168.1.79/Photos-videos/  
> /home/fred/NAS-photos  cifs 
> guest,uid=nobody,gid=nogroup,iocharset=utf8,file_mode=0777,dir_mode=0777,noperm
>  0 0
> #
> 
> Une idée ?
> 
> Frédéric ZULIAN

--
Pierre Malard



signature.asc
Description: Message signed with OpenPGP


Re: pam auth with ssh public key

2023-10-03 Thread jeremy ardley



On 4/10/23 11:12, Kushal Kumaran wrote:

Perhaps set AuthenticationMethods to publickey,keyboard-interactive in
sshd_config?  Do read the full description of that parameter in the
manpage for other things that might interest you.


I finally managed to get my desired public key and google authenticator 
combo


edit /etc/pam.d/sshd and comment out comon-auth

|# @include common-auth in /etc/ssh/sshd_config UsePAM yes ||ChallengeResponseAuthentication yes ||PasswordAuthentication no AuthenticationMethods 
publickey,keyboard-interactive |




Re: SMART error messages being sent to the wrong address

2023-10-03 Thread Charles Curley
On Tue, 3 Oct 2023 20:57:57 -0400
Gary Dale  wrote:

> I can't find where the e-mail address is being set. Tracing down the 
> smartmontools config files didn't turn up any obvious problems.

The email address is set with the -m option in the file
/etc/smartd.conf. I'd check that to see if you changed it from the
default ('root'). And you should be able to set it to what you want.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: pam auth with ssh public key

2023-10-03 Thread Kushal Kumaran
On Wed, Oct 04 2023 at 10:08:14 AM, jeremy ardley  
wrote:
> I have set up a server with sshd allowing public key access. I also
> set up google authenticator in pam by putting this line at the head of
> /etc/pam.d/sshd
>
> auth required pam_google_authenticator.so
>
> If I connect to the server without a public key I get the
> authenticator prompt and then password prompt. As expected.
>
> If I connect with a public key I don't get an authenticator or
> password prompt. However, I expected an authenticator prompt but not a
> password prompt
>
> As far as I can tell, sshd does all the public key authentication
> stuff, and there isn't any documented way for pam to check the result
> of the public key other than inspect an environment variable
> SSH_AUTH_INFO_0
>
> All the docs I've read say pam doesn't do that out of the box.
>
> Has pam been updated at or before Debian 11 ? If so, where can I
> manage its actions?

Perhaps set AuthenticationMethods to publickey,keyboard-interactive in
sshd_config?  Do read the full description of that parameter in the
manpage for other things that might interest you.

-- 
regards,
kushal



Re: How can I find packages manually installed using "dpkg -i"?

2023-10-03 Thread Mike Castle
Oops.  The 'grep -v -F' should be 'grep -v -f'.  Well, 'grep -v -F -f'
would probably be appropriate as well.

mrc

On Tue, Oct 3, 2023 at 7:58 PM Mike Castle  wrote:
>
> Some tools I've been using lately are apt-mark and "dpkg-query --show".
>
> The following UNTESTED commands (ran as a normal user):
>
> (apt-mark showauto ; apt-mark showmanual) > apt-thinks-you-installed.txt
> dpkg-query --show --showformat='${Package}\n' | grep -v -F
> apt-thinks-you-installed.txt > rest.txt
>
> The file "rest.txt" should have a list of packages installed that were
> NOT installed via apt.  With any luck, it is small enough to examine
> manually.
>
> You could do something like "apt list" to get a list of all packages
> known by apt and see if you'd prefer to use just use the Debian
> instead of Mint versions.  And anything not in that list *probably*
> came from other manual sources and you can do what you will with that
> information.
>
> You could poke around in /var/lib/apt/lists/ and see if the files from
> the mint repos you used in the past are still there (I don't know if
> they get cleaned up or not, might get lucky).
>
>
> Regarding the comment in the thread about packages that the installer
> added that show up as manual, you can do something like the following
> to at least make apt think they were auto:
>
> dpkg-query --show --showformat='${Package} ${Priority}\n' | awk '$2 ==
> required {print $1}' > required.txt
> sudo apt-mark auto $(apt-mark showmanual | grep -F required.txt)  #
> apt-mark will prompt, so you don't want to use xargs
>
> Again, the above is untested, so verify first!
>
> You might do the same for other priorities, like  standard or
> important.  If for no other reason than breaking the list of packages
> into smaller, digestible chunks that you can focus on.  For example,
> on my machine:
> $ dpkg-query --show --showformat='${Priority}\n' | sort | uniq -c | sort -n
>   5 extra
>  29 important
>  29 standard
>  33 required
>1472 optional
>
> I could probably handle going through those smaller collections to
> identify where they came from fairly easily.  But that big optional
> collection, not so much.  For something like that, I might add
> ${Section} to the --showformat option, and divide them up that way.
>
> Also, as a future project, you might consider creating metapackages to
> help organize your installation.  Again, for my machine:
> $ apt-mark showmanual | wc -l
> 1
> $ apt-mark showauto | wc -l
> 1563
>
> I have a handful of debian control files that I use (base, desktop,
> dev, serviceX, serviceY, machine1, machine2,...).  The machine ones
> depends on the services they host (NFS, LDAP, VMs), and whether they
> need a GUI (desktop), whether I build on them (dev), or play games,
> etc.  Then each machine, after a base install I do something like:
>
> apt-mark auto $(apt-mark showmanual)
> apt install machineN
> apt autoremove --purge
>
> Of course, I monitor that autoremove to make sure it doesn't do
> anything silly, and if it tries to remove a package I missed, I go add
> it to the appropriate control file.  My simple little way of doing
> this is:
>
> $ cat doit.sh
> #!/bin/bash
>
> for v in *.control; do
>   equivs-build $v > $v.log &
> done
>
> echo 'Waiting'
> wait
> echo 'Done waiting'
>
> OUTPUT=/srv/deb/packages
> rm -rf $OUTPUT
> mkdir -p $OUTPUT
> cp *.deb $OUTPUT
> cd $OUTPUT
>
> dpkg-scanpackages . > Packages
> $ cat /etc/apt/sources.list.d/mrc-home.list
> deb [trusted=yes] file:/srv/deb/packages ./
>
> And yes, I should do better than the [trusted=yes].
>
> Good luck on your upgrade!
> mrc



Re: How can I find packages manually installed using "dpkg -i"?

2023-10-03 Thread Mike Castle
Some tools I've been using lately are apt-mark and "dpkg-query --show".

The following UNTESTED commands (ran as a normal user):

(apt-mark showauto ; apt-mark showmanual) > apt-thinks-you-installed.txt
dpkg-query --show --showformat='${Package}\n' | grep -v -F
apt-thinks-you-installed.txt > rest.txt

The file "rest.txt" should have a list of packages installed that were
NOT installed via apt.  With any luck, it is small enough to examine
manually.

You could do something like "apt list" to get a list of all packages
known by apt and see if you'd prefer to use just use the Debian
instead of Mint versions.  And anything not in that list *probably*
came from other manual sources and you can do what you will with that
information.

You could poke around in /var/lib/apt/lists/ and see if the files from
the mint repos you used in the past are still there (I don't know if
they get cleaned up or not, might get lucky).


Regarding the comment in the thread about packages that the installer
added that show up as manual, you can do something like the following
to at least make apt think they were auto:

dpkg-query --show --showformat='${Package} ${Priority}\n' | awk '$2 ==
required {print $1}' > required.txt
sudo apt-mark auto $(apt-mark showmanual | grep -F required.txt)  #
apt-mark will prompt, so you don't want to use xargs

Again, the above is untested, so verify first!

You might do the same for other priorities, like  standard or
important.  If for no other reason than breaking the list of packages
into smaller, digestible chunks that you can focus on.  For example,
on my machine:
$ dpkg-query --show --showformat='${Priority}\n' | sort | uniq -c | sort -n
  5 extra
 29 important
 29 standard
 33 required
   1472 optional

I could probably handle going through those smaller collections to
identify where they came from fairly easily.  But that big optional
collection, not so much.  For something like that, I might add
${Section} to the --showformat option, and divide them up that way.

Also, as a future project, you might consider creating metapackages to
help organize your installation.  Again, for my machine:
$ apt-mark showmanual | wc -l
1
$ apt-mark showauto | wc -l
1563

I have a handful of debian control files that I use (base, desktop,
dev, serviceX, serviceY, machine1, machine2,...).  The machine ones
depends on the services they host (NFS, LDAP, VMs), and whether they
need a GUI (desktop), whether I build on them (dev), or play games,
etc.  Then each machine, after a base install I do something like:

apt-mark auto $(apt-mark showmanual)
apt install machineN
apt autoremove --purge

Of course, I monitor that autoremove to make sure it doesn't do
anything silly, and if it tries to remove a package I missed, I go add
it to the appropriate control file.  My simple little way of doing
this is:

$ cat doit.sh
#!/bin/bash

for v in *.control; do
  equivs-build $v > $v.log &
done

echo 'Waiting'
wait
echo 'Done waiting'

OUTPUT=/srv/deb/packages
rm -rf $OUTPUT
mkdir -p $OUTPUT
cp *.deb $OUTPUT
cd $OUTPUT

dpkg-scanpackages . > Packages
$ cat /etc/apt/sources.list.d/mrc-home.list
deb [trusted=yes] file:/srv/deb/packages ./

And yes, I should do better than the [trusted=yes].

Good luck on your upgrade!
mrc



Re: SMART error messages being sent to the wrong address

2023-10-03 Thread Greg Wooledge
On Tue, Oct 03, 2023 at 09:02:39PM -0500, John Hasler wrote:
> Add a CNAME record to your DNS.

Mail delivery is supposed to ignore CNAME records.  Perhaps you meant
to say an MX record.  But either way, the OP's question is still not
answered -- where is the recipient address configured?

My guess would be "in the system's MTA".  I'm guessing the SMART tools
are simply sending to "root" with no domain, and relying on the system's
MTA to fill in the recipient domain.  I'm guessing this MTA is not
configured properly.

The OP should verify this by running something like:

echo test | mailx -s test root

And see how the message headers get written, and where the message goes.
If it turns out my guesses are right and the MTA is misconfigured, then
we'll know the next steps.

If it turns out my guesses are wrong, and the MTA is fine, then we'll
have to figure out how these SMART tools are configured.



Re: List packages from non-default repositories

2023-10-03 Thread Max Nikulin

On 04/10/2023 01:29, Jörg-Volker Peetz wrote:

Max Nikulin wrote on 03/10/2023 12:11:

apt list '?narrow(~i, !~Astable|~Astable-backports|!~O^Debian$|~o|~c)'


In my experience the only tool that gives correct answers, is 
apt-show-versions in the package of the same name:


$ apt-show-versions | grep -v '/stable '


Thanks.

Do you have an example of a case when apt-show-versions works better 
when the following command?


  apt list '~i' | grep -Ev '[/,]stable(-updates|-security)?,'

OK, it issues a warning

WARNING: apt does not have a stable CLI interface. Use with caution in 
scripts.


In my case apt list + grep  gives the same packages as "apt list" with 
the pattern I posted.





Re: SMART error messages being sent to the wrong address

2023-10-03 Thread John Hasler
Add a CNAME record to your DNS.
-- 
John Hasler 
j...@sugarbit.com
Elmwood, WI USA



pam auth with ssh public key

2023-10-03 Thread jeremy ardley
I have set up a server with sshd allowing public key access. I also set 
up google authenticator in pam by putting this line at the head of 
/etc/pam.d/sshd


auth required pam_google_authenticator.so

If I connect to the server without a public key I get the authenticator 
prompt and then password prompt. As expected.


If I connect with a public key I don't get an authenticator or password 
prompt. However, I expected an authenticator prompt but not a password 
prompt


As far as I can tell, sshd does all the public key authentication stuff, 
and there isn't any documented way for pam to check the result of the 
public key other than inspect an environment variable SSH_AUTH_INFO_0


All the docs I've read say pam doesn't do that out of the box.

Has pam been updated at or before Debian 11 ? If so, where can I manage 
its actions?





SMART error messages being sent to the wrong address

2023-10-03 Thread Gary Dale
I'm running Debian/Bookworm on a headless server. The box has had a 
variety of roles and names. At one time it was called fanny after the 
groundbreaking rock band and because it had a lot of fans in it. This 
latter attribute led to it being made into a file server and renamed 
BigData.


The problem I'm having is that SMART error messages are being sent to 
root@fanny. instead of to me. /etc/aliases has all mail to 
root going to me, but because this addressed to root on a machine with a 
different name, it goes out and I only get the message when it bounces 
(because the machine name no longer exists).


I can't find where the e-mail address is being set. Tracing down the 
smartmontools config files didn't turn up any obvious problems.


Can anyone point in the right direction?

Thanks




Re: XFCE4 without panels

2023-10-03 Thread Dan Ritter
pa...@quillandmouse.com wrote: 
> On Tue, 3 Oct 2023 17:20:01 +0100
> Joe  wrote:
> 
> I believe The XFCE panel will go vertical, but it doesn't work right. I
> just want a row of icons, period. But I can't figure out how to make
> that happen; I get huge spaces between the icons. If you know how
> that's done, let me know.

Rightclick on the panel, choose Panel Settings, turn off
automatic expansion.

-dsr-



Re: Update on problem mounting NFS share

2023-10-03 Thread David Christensen

On 10/3/23 12:03, Steve Matzura wrote:
I gave up on the NFS business and went back to good old buggy but 
reliable SAMBA (LOL), which is what I was using when I was on Debian 8, 
and which worked fine. Except for one thing, everything's great.



In /etc/fstab, I have:


//192.168.1.156/BigVol1 /mnt/bigvol1 civs 
vers=2.0,credentials=/root/smbcreds,ro



That should work, right? Well, it does, but only sometimes. If I boot 
the system, the remote share isn't there. If I unmount everything with 
'umount -a', wait a few seconds, then remount everything with 'mount 
-a', I sometimes have to do it twice. Sometimes, the first time I get a 
message from mount about error -95, but if I wait the space of a couple 
heartbeats and try 'mount -a' again, the share mounts. If I look through 
/var/kern.log for errors, I don't find anything that stands out as 
erroneous, but would be glad to supply extracts here that might help me 
to trace this down and fix it.



Using Samba to share files over the network requires various steps and 
settings on both the server and on the clients.  I put a lot of effort 
into Samba back in the day, and only went far enough to get basic file 
sharing working.  Since then, I have copied-and-pasted.  But Microsoft 
has not stood still, nor has Samba.



I have attempted to document the current state of Samba on my SOHO, 
below.  But beware -- my Samba setup is insecure and has issues.



My username is "dpchrist" on all computers and on Samba.


My primary group is "dpchrist" on all Unix computers.


My UID and GID are both "12345" (redaction) on all Unix computers.


The server is FreeBSD (I previously used Debian, but switched to get 
native ZFS):


2023-10-03 12:20:58 toor@f3 ~
# freebsd-version -kru
12.4-RELEASE-p5
12.4-RELEASE-p5
12.4-RELEASE-p5


The latest version of Samba seemed to want Kerberos, so I chose an older 
version that does not:


2023-10-03 12:25:25 toor@samba ~
# pkg version | grep samba
samba413-4.13.17_5 =


I configured Samba to share files:

2023-10-03 14:49:00 toor@samba ~
# cat /usr/local/etc/smb4.conf
[global]
local master = Yes
netbios name = SAMBA
ntlm auth = ntlmv1-permitted
passdb backend = tdbsam
preferred master = Yes
security = USER
server string = Samba Server Version %v
wins support = Yes
workgroup = WORKGROUP

[dpchrist]
force user = dpchrist
path = /var/local/samba/dpchrist
read only = No
valid users = dpchrist



I validate the configuration file with testparm(1):

2023-10-03 13:37:31 toor@samba ~
# testparm
Load smb config files from /usr/local/etc/smb4.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
ntlm auth = ntlmv1-permitted
preferred master = Yes
security = USER
server string = Samba Server Version %v
wins support = Yes
idmap config * : backend = tdb

[dpchrist]
force user = dpchrist
path = /var/local/samba/dpchrist
read only = No
valid users = dpchrist



I created a Samba user account:

root@samba:~ # pdbedit -a dpchrist
new password:
retype new password:


Whenever I change anything related to Samba on the server, I reboot and 
verify before I attempt to connect from a client.



On Debian clients:

2023-10-03 12:44:39 root@taz ~
# cat /etc/debian_version ; uname -a
11.7
Linux taz 5.10.0-25-amd64 #1 SMP Debian 5.10.191-1 (2023-08-16) x86_64 
GNU/Linux



I installed the Samba client file sharing package:

2023-10-03 12:55:06 root@taz ~
# dpkg-query -W cifs-utils
cifs-utils  2:6.11-3.1+deb11u1


I created a mount point for the incoming share:

2023-10-03 12:58:13 root@taz ~
# ls -ld /samba/dpchrist
drwxr-xr-x 2 dpchrist dpchrist 0 Jun 18 14:31 /samba/dpchrist


I created an /etc/fstab entry for the incoming share:

2023-10-03 12:59:41 root@taz ~
# grep samba\/dpchrist /etc/fstab
//samba/dpchrist	/samba/dpchrist		cifs	 
noauto,vers=3.0,user,username=dpchrist		0	0



I mount the incoming share manually:

2023-10-03 13:01:07 dpchrist@taz ~
$ mount /samba/dpchrist
Password for dpchrist@//samba/dpchrist:

2023-10-03 13:01:46 dpchrist@taz ~
$ mount | grep samba\/dpchrist
//samba/dpchrist on /samba/dpchrist type cifs 
(rw,nosuid,nodev,relatime,vers=3.0,cache=strict,username=dpchrist,uid=12345,forceuid,gid=12345,forcegid,addr=192.168.5.24,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,user=dpchrist)



Note that there is a maddening issue with Samba on Unix clients -- the 
Unix execute bits vs. MS-DOS System, Hidden, and Archive bits:


https://unix.stackexchange.com/questions/103415/why-are-files-in-a-smbfs-mounted-share-created-with-executable-bit-set


On Windows 7 clients, I needed to change a Registry entry to allow 
Windows to use 

Re: XFCE4 without panels

2023-10-03 Thread paulf
On Tue, 3 Oct 2023 21:53:36 +0100
Joe  wrote:

 
> I use the Third Option, the deskbar, which gives vertical panels at
> the side and as far as I can see, no spaces between anything, unless
> you actually place a separator. I use 36 pixels for the launcher
> panel and 44 pixels, on the other side, for open applications and
> notifications. The Applications icon has to be renamed to no more
> than four letters, as the text is horizontal in 36 pixels width, I
> call mine 'Main'. The panels can be set to a fixed size or to
> autosize, and I keep the right-hand one down a bit from the top. Some
> applications don't know to keep the panel area clear, and if it's
> right at the top, I lose the close widget as the panel stays on top
> of the application. The panels can be set to autohide, but I prefer
> to keep them open all the time.
> 
> The analogue clock is 60 pixels wide to make it useful, and I leave it
> unlocked. Wherever it is placed it will obscure something at some
> time, so I leave it movable.

Not sure what the "deskbar" is. However, I tried one last time to get
XFCE's panel to act right vertically on the left, it looks fine. So I
added polybar, and it's pretty much what I was looking for.

Paul

-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster



Re: Update on problem mounting NFS share

2023-10-03 Thread piorunz

On 03/10/2023 20:03, Steve Matzura wrote:

I gave up on the NFS business


Why?


and went back to good old buggy but reliable SAMBA (LOL)


:o

Sorry but I think you created bigger problem that you already had. NFS
works great, I've been using it for years and it never failed me. I
cannot image what was not working for you. Anyway, good luck.

--
With kindest regards, Piotr.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄



Re: XFCE4 without panels

2023-10-03 Thread Joe
On Tue, 3 Oct 2023 14:58:48 -0400
 wrote:

> On Tue, 3 Oct 2023 17:20:01 +0100
> Joe  wrote:
> 
> > Is this a matter of principle for the OP, or does the panel
> > interfere with something else? I have three panels, and for me they
> > are the main point of running a DE rather than just a window
> > manager. But one of them contains an analogue clock and nothing
> > else (because I want it wider than the other two panels), and if
> > the OP just wants to get rid of the program launchers and other
> > widgets in the usual panel(s), this could be done to satisfy the
> > 'at least one panel' requirement. Or a CPU monitor or something
> > else useful if the clock isn't wanted. And it can be set to
> > auto-hide so you don't even see it unless you deliberately tickle
> > it.  
> 
> Motivation: I came from i3, where I had a "status bar" at the bottom
> of the screen. I want that back, and I can use polybar for that. Since
> I have a 1920x1080 monitor, and I want icons for my frequently used
> apps on the left, vertically. Tint2 will do that. I use XFCE4 for two
> reasons: 1) it is one of the least memory hungry window
> managers/desktops environments, 2) it has a path toward Wayland,
> which I would like to switch to some day.
> 
> I believe The XFCE panel will go vertical, but it doesn't work right.
> I just want a row of icons, period. But I can't figure out how to make
> that happen; I get huge spaces between the icons. If you know how
> that's done, let me know.
> 

I use the Third Option, the deskbar, which gives vertical panels at the
side and as far as I can see, no spaces between anything, unless you
actually place a separator. I use 36 pixels for the launcher panel and
44 pixels, on the other side, for open applications and notifications.
The Applications icon has to be renamed to no more than four letters,
as the text is horizontal in 36 pixels width, I call mine 'Main'. The
panels can be set to a fixed size or to autosize, and I keep the
right-hand one down a bit from the top. Some applications don't know to
keep the panel area clear, and if it's right at the top, I lose the
close widget as the panel stays on top of the application. The panels
can be set to autohide, but I prefer to keep them open all the time.

The analogue clock is 60 pixels wide to make it useful, and I leave it
unlocked. Wherever it is placed it will obscure something at some time,
so I leave it movable.

See if something like that works for you.

-- 
Joe



Re: Fstab, montage de répertoires distant (NAS)

2023-10-03 Thread Yannick

Le 03/10/2023 à 21:57, Frederic Zulian a écrit :


drwxrwsrwx 90 fred users 16384  1 oct.  17:53 Lettres
drwxrwsrwx  6 fred fred   4096 10 sept. 17:17 Photos-videos
fred@NAS:/export$


Bonsoir,

Tu as fred users et fred fred donc c'est différent.

Peut-être la source de ton problême.

Amitiés
--
Yannick VOYEAUD
Nul n'a droit au superflu tant que chacun n'a pas son nécessaire
(Camille JOUFFRAY 1841-1924, maire de Vienne)
http://www.voyeaud.org
Créateur CimGenWeb: http://www.francegenweb.org/cimgenweb/
Journées du Logiciel Libre: http://jdll.org
Généalogie en liberté avec Ancestris https://www.ancestris.org



OpenPGP_signature.asc
Description: OpenPGP digital signature


Fstab, montage de répertoires distant (NAS)

2023-10-03 Thread Frederic Zulian
Bonjour,


J'ai deux répertoires sur un NAS Openmediavault


Ces 2 répertoires devraient se monter sur un PC client via son fstab.

Seul 1 des 2 répertoires, se monte (NAS-lettres) mais pas (NAS-photos).


J'ai le message d'erreur suivant :

root@bureau:~# mount /home/fred/NAS-photos
mount: /home/fred/NAS-photos: impossible de monter //
192.168.1.79/Photos-videos/ en lecture seule.


Mais les droits sont identiques pour les 2 répertoires du NAS :


fred@NAS:/export$ ls -al
total 28
drwxrwsrwx 90 fred users 16384  1 oct.  17:53 Lettres
drwxrwsrwx  6 fred fred   4096 10 sept. 17:17 Photos-videos
fred@NAS:/export$


Extrait du fstab du PC client :


//192.168.1.79/Lettres/ /home/fred/NAS-lettres   cifs
guest,uid=nobody,gid=nogroup,iocharset=utf8,file_mode=0777,dir_mode=0777,noperm
0 0
//192.168.1.79/Photos-videos/ /home/fred/NAS-photos  cifs
guest,uid=nobody,gid=nogroup,iocharset=utf8,file_mode=0777,dir_mode=0777,noperm
0 0
#


Une idée ?

Frédéric ZULIAN


Re: XFCE4 without panels

2023-10-03 Thread paulf
On Tue, 3 Oct 2023 17:20:01 +0100
Joe  wrote:

> Is this a matter of principle for the OP, or does the panel interfere
> with something else? I have three panels, and for me they are the main
> point of running a DE rather than just a window manager. But one of
> them contains an analogue clock and nothing else (because I want it
> wider than the other two panels), and if the OP just wants to get rid
> of the program launchers and other widgets in the usual panel(s), this
> could be done to satisfy the 'at least one panel' requirement. Or a
> CPU monitor or something else useful if the clock isn't wanted. And
> it can be set to auto-hide so you don't even see it unless you
> deliberately tickle it.

Motivation: I came from i3, where I had a "status bar" at the bottom
of the screen. I want that back, and I can use polybar for that. Since
I have a 1920x1080 monitor, and I want icons for my frequently used
apps on the left, vertically. Tint2 will do that. I use XFCE4 for two
reasons: 1) it is one of the least memory hungry window
managers/desktops environments, 2) it has a path toward Wayland, which I
would like to switch to some day.

I believe The XFCE panel will go vertical, but it doesn't work right. I
just want a row of icons, period. But I can't figure out how to make
that happen; I get huge spaces between the icons. If you know how
that's done, let me know.

Paul

-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster



Update on problem mounting NFS share

2023-10-03 Thread Steve Matzura
I gave up on the NFS business and went back to good old buggy but 
reliable SAMBA (LOL), which is what I was using when I was on Debian 8, 
and which worked fine. Except for one thing, everything's great.



In /etc/fstab, I have:


//192.168.1.156/BigVol1 /mnt/bigvol1 civs 
vers=2.0,credentials=/root/smbcreds,ro



That should work, right? Well, it does, but only sometimes. If I boot 
the system, the remote share isn't there. If I unmount everything with 
'umount -a', wait a few seconds, then remount everything with 'mount 
-a', I sometimes have to do it twice. Sometimes, the first time I get a 
message from mount about error -95, but if I wait the space of a couple 
heartbeats and try 'mount -a' again, the share mounts. If I look through 
/var/kern.log for errors, I don't find anything that stands out as 
erroneous, but would be glad to supply extracts here that might help me 
to trace this down and fix it.



TIA


Re: How can I get verbose shutdown from the GUI (Mate)?

2023-10-03 Thread debian-user
Ottavio Caruso  wrote:
> Am 03/10/2023 um 10:43 schrieb Bret Busby:
> > Also, why do you not use, instead of the command that you specified,
> > shutdown -h
> > or, (if instead, wanted, for example, after doing a kernel update)
> > shutdown -r
> > ?  
> 
> Because all of these are just an alias to systemctl poweroff as per 
> systemctl man page.

But shutdown -h or halt or reboot is less to type, so your explanation
explains the effect but not the reason for using the longer version.



Re: List packages from non-default repositories

2023-10-03 Thread Jörg-Volker Peetz

Max Nikulin wrote on 03/10/2023 12:11:

apt list '?narrow(~i, !~Astable|~Astable-backports|!~O^Debian$|~o|~c)'


In my experience the only tool that gives correct answers, is apt-show-versions 
in the package of the same name:


$ apt-show-versions | grep -v '/stable '

Beware, that it works with a database which should be updated before asking 
something.


Regards,
Jörg.




Re: XFCE4 without panels

2023-10-03 Thread Joe
On Tue, 3 Oct 2023 16:39:11 +0300
Roland Mueller  wrote:

> XFCE4 panel ca be manually recreated by (as far as I remember)
> right-clicking into empty desktop space and then opening settings.
> 
> Other option is mentioned here:
> https://docs.xfce.org/xfce/xfce4-panel/getting-started:
> 
> Quote: "The panel will usually be started automatically as part of
> your Xfce session when you start the Xfce Desktop Environment.
> To manually start the panel, you can run xfce4-panel in a terminal."
> 
> After starting the new panel you should able to add items and these
> should appear the next time you start XFCE desktop.
> 
> 
> ti 3. lokak. 2023 klo 6.30 Mike Castle (dalgoda+deb...@gmail.com)
> kirjoitti:
> 
> > I just tried this in a VM and it seemed to work.
> >  
> > >From a command line:  
> > xfce4-panel -q
> > find ~/.config | grep panel
> >
> > Remove the xfce4-panel.xml   (I also removed the empty directory
> > just named panel.)
> >
> > The lack of panels seems to have survived a reboot.
> >
> > I don't know if it is sufficient for every variation involving
> > saving session state or what not.  But might get you started in the
> > right direction.
> >
> > If worst comes to pass, you might be able to put the xfce4-panel -q
> > command in a shell script that automatically launches when you log
> > in.
> >
> > Good luck!
> > mrc
> >
> >  


Is this a matter of principle for the OP, or does the panel interfere
with something else? I have three panels, and for me they are the main
point of running a DE rather than just a window manager. But one of
them contains an analogue clock and nothing else (because I want it
wider than the other two panels), and if the OP just wants to get rid of
the program launchers and other widgets in the usual panel(s), this
could be done to satisfy the 'at least one panel' requirement. Or a CPU
monitor or something else useful if the clock isn't wanted. And it can
be set to auto-hide so you don't even see it unless you deliberately
tickle it.

-- 
Joe



Re: Does anyone own and use a Kindle Scribe?

2023-10-03 Thread Joe
On Tue, 03 Oct 2023 11:38:02 +0100
Eric S Fraga  wrote:

> On Tuesday,  3 Oct 2023 at 08:32, Sharon Kimble wrote:
> > Yes, calibre is very good, and I've at last managed to get it to
> > acknowledge the kindle scribe, but only by deleting most of the mtp
> > programs that I'd been installing to try and get the scribe and my
> > computer communicating with each  
> 
> [...]
> 
> > QMessageBox, QLabel,
> >   ModuleNotFoundError: No module named 'PyQt4'
> >   Device 0 (VID=1949 and PID=9981) is UNKNOWN in libmtp v1.1.20.
> >   Please report this VID/PID and the device model to the libmtp
> > development team  
> 
> It looks like there's still some mtp stuff potentially causing
> problems?
> 
> How did you install calibre?  From the website directly or via apt?
> Depending on the version of Debian you are using, the calibre from apt
> may be more than good enough.  The version on Debian 12 (Buster? 
> Bullseye?  I cannot remember) is quite recent.
> 

No. Trixie (testing) and sid (unstable) have an mtp-compatible version
of Calibre, nothing earlier does.

-- 
Joe



Re: How can I get verbose shutdown from the GUI (Mate)?

2023-10-03 Thread David Wright
On Tue 03 Oct 2023 at 13:15:48 (+), Ottavio Caruso wrote:
> Am 03/10/2023 um 11:47 schrieb Ottavio Caruso:
> > Am 03/10/2023 um 10:43 schrieb Bret Busby:
> > > Also, why do you not use, instead of the command that you specified,
> > > shutdown -h
> > > or, (if instead, wanted, for example, after doing a kernel update)
> > > shutdown -r
> > > ?
> > 
> > Because all of these are just an alias to systemctl poweroff as
> > per systemctl man page.
> 
> Sorry I said alias, I mean link.
> 
> $ ls -l `which shutdown`
> lrwxrwxrwx 1 root root 14 Jun 18 15:55 /usr/sbin/shutdown -> /bin/systemctl
> $ ls -l `which poweroff`
> lrwxrwxrwx 1 root root 14 Jun 18 15:55 /usr/sbin/poweroff -> /bin/systemctl
> $ ls -l `which halt`
> lrwxrwxrwx 1 root root 14 Jun 18 15:55 /usr/sbin/halt -> /bin/systemctl

And observe that:

  $ ls -l /usr/sbin/reboot 
  lrwxrwxrwx 1 root root 14 Jun 18 09:55 /usr/sbin/reboot -> /bin/systemctl
  $ 

but one of the first things systemctl will do is to find out by which
name it was called, and act accordingly. That's pretty common
behaviour in un*x (think busybox).

Cheers,
David.



Re: Does anyone own and use a Kindle Scribe?

2023-10-03 Thread Curt
On 2023-10-03, Sharon Kimble  wrote:
>
> File "calibre/customize/__init__.py", line 662, in load_actual_plugin
> File "importlib/__init__.py", line 126, in import_module
> File "", line 1050, in _gcd_import
> File "", line 1027, in _find_and_load
> File "", line 1006, in 
> _find_and_load_unlocked
> File "", line 688, in _load_unlocked
> File "calibre/customize/zipplugin.py", line 206, in exec_module
> File "calibre_plugins.bbcgf_ebook.ui", line 17, in 
>   from calibre_plugins.bbcgf_ebook.main import BBCGFDialog
> File "calibre/customize/zipplugin.py", line 206, in exec_module
> File "calibre_plugins.bbcgf_ebook.main", line 17, in 
>   from PyQt4.Qt import (QDialog, QGridLayout, QPushButton, QMessageBox, 
> QLabel,
>   ModuleNotFoundError: No module named 'PyQt4'
>   Device 0 (VID=1949 and PID=9981) is UNKNOWN in libmtp v1.1.20.
>   Please report this VID/PID and the device model to the libmtp development 
> team
>=
>
> So now my obvious question is what do I need to install to satisfy the 
> 'ModuleNotFoundError: No module named 'PyQt4'' requirement please?
>

Out of date plugins?



Re: Same Debian, different hardware = different OpenGL version?

2023-10-03 Thread Sven Joachim
On 2023-10-03 02:43 +0200, Anders Andersson wrote:

> I recently installed Debian stable on my old desktop and my trusty old
> Thinkpad X200, without messing with any driver settings. Both are
> running the default gnome desktop with the same kernel.
>
> I installed the terminal emulator 'kitty' from the main repository on
> both machines but it only works on my desktop.
>
> The relevant bug report for kitty
> (https://github.com/kovidgoyal/kitty/issues/2536) tells me that kitty
> requires OpenGL 3.3, and to check with "glxinfo | grep OpenGL
> version".
>
> On my desktop I get: OpenGL version string: 4.6 (Compatibility
> Profile) Mesa 22.3.6
> On my thinkpad: OpenGL version string: 2.1 Mesa 22.3.6
>
> Is there anything I can do about this using open source drivers?

The only option, already mentioned in the above bug report, is to use
the llvmpipe renderer by setting LIBGL_ALWAYS_SOFTWARE=1 which makes
kitty start at the cost of high CPU load and bad performance.

> I don't know enough about OpenGL, if it's a software issue or if it's
> simply that the old intel GPU in the Thinkpad X200 can not work with
> new OpenGL, while the AMD RX460 in my desktop can?

That's it, the GPU in your Thinkpad most likely only supports OpenGL
2.1.  Intel provides a table at [1], and while I could not find the
Thinkpad's GMA 4500M HD listed there, its age makes a maximum OpenGL
version of 2.1 plausible.

Cheers,
   Sven


1. 
https://www.intel.com/content/www/us/en/support/articles/05524/graphics.html



Re: XFCE4 without panels

2023-10-03 Thread Roland Mueller
XFCE4 panel ca be manually recreated by (as far as I remember)
right-clicking into empty desktop space and then opening settings.

Other option is mentioned here:
https://docs.xfce.org/xfce/xfce4-panel/getting-started:

Quote: "The panel will usually be started automatically as part of your
Xfce session when you start the Xfce Desktop Environment.
To manually start the panel, you can run xfce4-panel in a terminal."

After starting the new panel you should able to add items and these should
appear the next time you start XFCE desktop.


ti 3. lokak. 2023 klo 6.30 Mike Castle (dalgoda+deb...@gmail.com) kirjoitti:

> I just tried this in a VM and it seemed to work.
>
> >From a command line:
> xfce4-panel -q
> find ~/.config | grep panel
>
> Remove the xfce4-panel.xml   (I also removed the empty directory just
> named panel.)
>
> The lack of panels seems to have survived a reboot.
>
> I don't know if it is sufficient for every variation involving saving
> session state or what not.  But might get you started in the right
> direction.
>
> If worst comes to pass, you might be able to put the xfce4-panel -q
> command in a shell script that automatically launches when you log in.
>
> Good luck!
> mrc
>
>


Re: usrmerge on root NFS will not be run automatically

2023-10-03 Thread Marco
On Thu, 14 Sep 2023 22:17:35 +0200
Marco  wrote:

> If I screw with this I'd prefer to do it at night or on a weekend to
> keep the systems running during business hours.

Followup:

I went through the list and resolved each conflict manually. I
launched usrmerge after every change and deleted/merged the
offending files.

Note that I ran usrmerge on the individual hosts themselves, on NFS
root. Although usrmerge complained that this won't work, it somehow
did. Systems rebooted, all came up fine, no broken packages and the
programs are working.

Thanks for all the support. Case solved.

Marco



Re: How can I get verbose shutdown from the GUI (Mate)?

2023-10-03 Thread Bret Busby

On 3/10/23 17:14, Ottavio Caruso wrote:

Hi,

if  open a terminal window and type:

$ sudo systemctl poweroff

I can see what is going on and sometimes it takes almost a minute to 
power the laptop off.


If I press CTRL+ALT+DELETE from the GUI (Mate), the screen goes 
completely blank and I have no idea if the laptop is completely off or 
just thinking about it.


Is there a way to force verbosity during shutdown without opening a 
terminal window or creating a keyboard shortcut?


Thanks

It is not the answer to your question, but, it may be the answer that 
you seek;


"the screen goes completely blank and I have no idea if the laptop is 
completely off or just thinking about it."


Does your laptop not have, either in the power switch, or, elsewhere, an 
LED, that is lit when the computer is powered on, and, is dark when the 
computer is powered off?


I note that you do not specify the model of laptop that you have, but, 
on the two laptops that I currently have running - an HP laptop and an 
Acer Aspire V3-772G, the power switch incorporates an LED that acts as I 
have described. Also, on the Acre, at the front of the base, is a set of 
three LED's that clearly show whether the computer is powered on.


In Mate 1.26.0, I have a functionality to add functions to the panel, 
including "Shut down the computer", which has an icon like an electric 
light switch, that I sometimes use.


Also, why do you not use, instead of the command that you specified,
shutdown -h
or, (if instead, wanted, for example, after doing a kernel update)
shutdown -r
?

..
Bret Busby
Armadale
West Australia
(UTC+0800)
..



Re: Does anyone own and use a Kindle Scribe?

2023-10-03 Thread Eric S Fraga
On Tuesday,  3 Oct 2023 at 08:32, Sharon Kimble wrote:
> Yes, calibre is very good, and I've at last managed to get it to
> acknowledge the kindle scribe, but only by deleting most of the mtp
> programs that I'd been installing to try and get the scribe and my
> computer communicating with each

[...]

> QMessageBox, QLabel,
>   ModuleNotFoundError: No module named 'PyQt4'
>   Device 0 (VID=1949 and PID=9981) is UNKNOWN in libmtp v1.1.20.
>   Please report this VID/PID and the device model to the libmtp
> development team

It looks like there's still some mtp stuff potentially causing problems?

How did you install calibre?  From the website directly or via apt?
Depending on the version of Debian you are using, the calibre from apt
may be more than good enough.  The version on Debian 12 (Buster? 
Bullseye?  I cannot remember) is quite recent.

Alternatively, you could post on the mobilread.com forum devoted to all
things calibre: https://www.mobileread.com/forums/forumdisplay.php?f=166
It's a very helpful community, I have found.

-- 
Eric S Fraga via gnus (Emacs 30.0.50 2023-06-19) on Debian 12.0



Re: Debian live boot corrupting secure boot

2023-10-03 Thread Valerio Vanni

Il 03/10/2023 04:01, Jeffrey Walton ha scritto:


Does it mean that you can not boot your *old* Clonezilla live after booting a 
latest Clonezilla? If so, it is better to discuss the issue with shim or grub 
developers.


Yes. If I load a Clonezilla live newer than 3.1.0-11, then I cannot boot
anymore 2.8.1-12.


I would probably bet if you booted to Windows, the OS would check the
Forbidden Signature/Secure Boot DBX and (re)apply KB5012170 [0] as
required.


No, it hasn't happen. If you read entire discussion, it hasn't happen 
nieither with Windows 10 nor Windows 11.
The only action that breaks secure boot of Clonezilla 2.8.1-12 is 
reaching the page of Grub entries in recent Clonezilla and Debian live.



So you are probably going to have to deal with this sooner rather than
later. Both OSes are going to try to update the database with
signatures of the bad grub programs. Or I would not bet against it.

Jeff

[0] 
https://support.microsoft.com/en-gb/topic/kb5012170-security-update-for-secure-boot-dbx-72ff5eed-25b4-47c7-be28-c42bd211bb15


Yes, no one can tell... but this update has more than six months.
So far it seems that Linux has a larger revocation database.

And, even if Windows would adobt this larger database, I keep on 
considering it bad in a live environment. Be it Live Windows or Live Linux.




List packages from non-default repositories

2023-10-03 Thread Max Nikulin

Hi,

What is the recommended way to find deb packages installed from 
repositories other than stable? My current variant is


  apt list '?narrow(~i, !~Astable|~Astable-backports|!~O^Debian$|~o|~c)'

I can not say that I fully understand how apt-patterns(7) work, so I am 
afraid that I may miss some cases in the expression above. It sounds 
like a FAQ, but have not found a ready to use solution.


A workaround is to remove extra repositories from sources.list and get 
the list by "apt list '~o'", however, I hope, it is not necessary.


Reasons why I have added more repositories are described below.

Till Firefox-115 appeared in bookworm, I had it installed from trixie. 
Fortunately it required just a few packages from testing, so it was 
safe. Now I want to be sure that I have reinstalled versions from stable 
for all of them.


'~i~Atesting' gives a long list filled with false positives because 
currently most of packages have same versions in trixie and bookworm.


In addition I have tried backports kernel to try if Intel wifi driver is 
better there.


Actually I still have a couple of packages from trixie, but they have no 
binary dependencies.




Re: How can I get verbose shutdown from the GUI (Mate)?

2023-10-03 Thread Max Nikulin

On 03/10/2023 16:14, Ottavio Caruso wrote:


$ sudo systemctl poweroff

...
Is there a way to force verbosity during shutdown without opening a 
terminal window or creating a keyboard shortcut?


Perhaps all you need is

sudo journalctl -b -1 -e

when you boot your machine next time. Likely some systemd unit can not 
be properly stopped and it cause 1.5 min pause before killing of 
remaining processes.





Re: Does anyone own and use a Kindle Scribe?

2023-10-03 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Eric S Fraga  writes:

> On Sunday,  1 Oct 2023 at 15:25, Joe wrote:
>> Calibre converts/creates ebooks and is generally a useful accessory for
>> a Kindle or other hardware reader. No, I'm not on commission.
>
> +1 for calibre!
>
> I use it for managing my Kobo devices.  Works very well.

Thanks for replying Eric and Joe.

Yes, calibre is very good, and I've at last managed to get it to acknowledge 
the kindle scribe, but only by deleting most of the mtp programs that I'd been 
installing to try and get the scribe and my computer communicating with each
  other! And finally I closed my file manager and restarted calibre for the 
umph time, and it displayed ... but I still can't copy files to it. The error 
report is shown below -

=
  calibre
  Traceback (most recent call last):
File "calibre/gui2/ui.py", line 140, in __init__
File "calibre/gui2/ui.py", line 158, in init_iaction
File "calibre/customize/__init__.py", line 662, in load_actual_plugin
File "importlib/__init__.py", line 126, in import_module
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "calibre/customize/zipplugin.py", line 206, in exec_module
File "calibre_plugins.bbcgf_ebook.ui", line 17, in 
  from calibre_plugins.bbcgf_ebook.main import BBCGFDialog
File "calibre/customize/zipplugin.py", line 206, in exec_module
File "calibre_plugins.bbcgf_ebook.main", line 17, in 
  from PyQt4.Qt import (QDialog, QGridLayout, QPushButton, QMessageBox, 
QLabel,
  ModuleNotFoundError: No module named 'PyQt4'
  Device 0 (VID=1949 and PID=9981) is UNKNOWN in libmtp v1.1.20.
  Please report this VID/PID and the device model to the libmtp development 
team
=

So now my obvious question is what do I need to install to satisfy the 
'ModuleNotFoundError: No module named 'PyQt4'' requirement please?

I've tried installing 'python3-anyqt' but I'm still getting the same error 
report as shown above, meanwhile calibre is unable to show me what books are on 
the device!

Computers? Grrh!

Thanks for listening
Sharon.
- -- 
A taste of linux = http://www.sharons.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 12, fluxbox 1.3.7, emacs 30.0.50, org 9.5.5 
-BEGIN PGP SIGNATURE-

iQJRBAEBCgA7FiEELSc/6QwVBIYugJDbNoGAGQr4g1sFAmUbw5odHGJvdWRpY2Nh
c0Bza2ltYmxlMDkucGx1cy5jb20ACgkQNoGAGQr4g1swrA/7BjpgMMlDPeagpc+k
EqTCy0fN555F/n/3CiaaK6vIx4MhcHQfdoXvnJvPMX3lY4ccOIBKe2/Gth3XPNya
XwIw0jEB670J4GbX5qvv5hPNCznCHg/d9FP/q7ULo0cJfIBU3vB1Xn0zYjYJYNjW
n6TSdC3hEx7Qt7m2xkQuG3e8kZAOugVDhXMkQ59B1l7lDoLvkJ6uZc1PAsVct3KB
CVyWK6Kc7qbeuw0vSvokQ/eT64a8Gf0+A5w2YXALUySf2NIf19B1Iu47cV7CbkeB
i37XW6RloR7lTJ41wlLgOI5GPJU5P+eOnnrrpZmsM+jvO96XNChRpvHo911fvmIA
WXAmj6vIxEdo63hYmi9q+CaF0hGZFMzV3jeZMgV7xWMyRaJi/+tZFokRG3F4tqkE
HY/AUbjObDJKUNdsMvHEXsghcHmrrScpMwJFzBsYV9cjvj7dg/W3xxgKZdO42VcD
WoM3JpUrW6HXQpgBjt2etoga68d8yxUVlCR2M4DwSra9sQb+KEtI092SphZOPwNS
h3R3r6Kb20QX5sxQMtVM3MoLWEj1yYc+hd/1VlFo0Ajj8n6qf/DGTX2hlcfZxu8v
hDqje7efJuE7QUjbHgtbEbIEDIlcjnZvt8h3XFyxkvrn3Edu6W3ToMHhWI4u4oqG
pBeLU0NigmKWBF1LOuG6GaDUVvg=
=XeCe
-END PGP SIGNATURE-



Re: How can I find packages manually installed using "dpkg -i"?

2023-10-03 Thread tomas
On Mon, Oct 02, 2023 at 11:24:04PM -0500, David Wright wrote:

[...]

> If you have complete logs and try this, presumably coming up with a
> sorted list of apt-installed packages (remembering --unique) from its
> history, and a similar list from the ' install ' lines in dpkg.log*,
> bear in mind that you need to ignore the dpkg.log until about when
> locales is installed, as APT never sees a load of packages installed
> before that point.

[...]

Very good points you make, all of them. Thanks.
> 
> Also be careful if you're tempted to sort dpkg.log's install lines
> by time, instead of grepping the logs in the correct (non-collating)
> order, because for people in the western hemisphere, the packages you
> want to ignore will have UTC timestamps, placing them in the midst
> of packages installed after the d-i has finished. (The timestamps
> jump from UTC to localtime after locales is installed.)

Eek. And as I've seen they have no time offset indicators, so
the times even can be ambiguous (winter to summer transition).
I always thought it's a bad idea to use anything else than UTC
in logs.

Cheers
-- 
t


signature.asc
Description: PGP signature