Re: Need help with PGP signature verification

2023-10-08 Thread Tom Browder
On Sun, Oct 8, 2023 at 14:39 Thomas Schmitt  wrote:

> Hi,


Thanks, Thomas.

I did get the signers key fingeprints from their personal github pages. I
would go the full security route if it were only my use I'm concerned with,
but I'm working on a Raku module for others and I don't want them to be
held up by having to fumble with key trust before at least downloading the
files with a first order check with data I can provide.

I'll make sure to document exactly what I'm providing.

Best regards,

-Tom


Re: Need help with PGP signature verification

2023-10-08 Thread debian-user
"Thomas Schmitt"  wrote:
> Hi,
> 
> Tom Browder wrote:
> > I'm willing to trust published PGP key fingerprints for signers of
> > Rakudo downloadable files.  
> 
> Do i get it right that you talk about https://rakudo.org/downloads ?
> 
> > Question:  How can I get the fingerprint from the downloads? 
> > The products I download are (1) the file of interest, (2) a PGP
> > signed checksums file with various shaX hashes for the file, and
> > (3) a separate file containing a PGP signature.  
> 
> The "Verify" button at above web page leads to
>   https://rakudo.org/downloads/verifying
> which explains how to use sha256 and gpg2 for verification.
> Most importantly it lists the fingerprints of the four "Keys of the
> releasers". If gpg2 --verify reports any other fingerprint, then
> the .asc file cannot be trusted.
> 
> (It is not overly trustworthy that fingerprints and the signed files
> are offered on the same web site. Once the site is compromised, both
> can be manipulated by the attacker.)

That's why the page suggests that the developers' also list their
fingerprints on their github pages, I suspect. Which they do.



Re: Need help with PGP signature verification

2023-10-08 Thread Thomas Schmitt
Hi,

Tom Browder wrote:
> I found a usable answer. Run "gpg file.asc" and the output shows the two
> fingerprints: the primary key fingerprint and the subkey fingerprint.

Wow, that's surprising.

But indeed the man page says:

  COMMANDS
   ...
   gpg  may  be run with no commands, in which case it will perform a rea‐
   sonable action depending on the type of file it is given as  input  (an
   encrypted  message  is  decrypted, a signature is verified, a file con‐
   taining keys is listed).


Have a nice day :)

Thomas



Re: Need help with PGP signature verification

2023-10-08 Thread Tom Browder
On Sun, Oct 8, 2023 at 05:13 Tom Browder  wrote:

> On Sun, Oct 8, 2023 at 3:29 AM DdB
>  wrote:
> > Am 08.10.2023 um 01:16 schrieb Tom Browder:
> > > I'm willing to trust published PGP key fingerprints for signers of
> > > Rakudo downloadable files.
> > > Question:  How can I get the fingerprint from the downloads?


I found a usable answer. Run "gpg file.asc" and the output shows the two
fingerprints: the primary key fingerprint and the subkey fingerprint.

I wish there was a PGP cookbook around somewhere.

Thanks, all.

-Tom


Re: Need help with PGP signature verification

2023-10-08 Thread Thomas Schmitt
Hi,

maybe

  gpg --keyid-format long --verify signature_file.asc /some/dummy/file

this gives me the last 16 characters of the fingerprint. Like:

  gpg:using  key E9CBDFC0ABC0A854

with a matching payload file i get something like:

  Primary key fingerprint: 44BC 9FD0 D688 EB00 7C4D D029 E9CB DFC0 ABC0 A854


Have a nice day :)

Thomas



Re: Need help with PGP signature verification

2023-10-08 Thread Dan Purgert
On Oct 08, 2023, Tom Browder wrote:
> On Sun, Oct 8, 2023 at 3:29 AM DdB
>  wrote:
> > Am 08.10.2023 um 01:16 schrieb Tom Browder:
> > > I'm willing to trust published PGP key fingerprints for signers of
> > > Rakudo downloadable files.
> > > Question:  How can I get the fingerprint from the downloads?
> > There is more than just one way to archieve this, first result from
> 
> I should have been more specific. I have the following:
> 
> -BEGIN PGP SIGNATURE-
> 
> iHUEABYKAB0WIQTdpb2j9c3OmfntVsEsxulzgY84awUCZQ1GBgAKCRAsxulzgY84
> a+jhAQCZ0lLh1EnB1AwrgW0zPBp801OOeJ2QUiDBOGXBbrl/7QD/ZQe738sF2tCR
> 43SAvJOfT3b4YpGdfSUj9F7XNDoovQM=
> =mNqK
> -END PGP SIGNATURE-
> 
> I need the fingerprint from that to compare with the fingerprints I
> know from Github to see if it's from the same key.

No, you just need the key(s) from the developer(s).  Assuming you've not
accidentally tampered with the files, you'll be able to verify this
signature with a command like "gpg --verify shasum.txt.gpg shasum.txt".

You'll get a message to the effect of 

  Signature made [some-date-here]
  using RSA Key [fingerprint-here]
  Good signature from "Some Person's GPG Key Name"

NOTE -- you MAY also receive some lines to the effect of 

  WARNING: This key is not trusted, the authenticity of the signature
  cannot be verified.

As with checking a Debian ISO (or other Linux distro that uses this
style of verification), this is nothing to be worried about, it's just
GPG informing you that it doesn't have any information as to whether you
actually "trust" the key (either through you explicitly signing /
trusting the key, or trust being derived through the GPG Web of Trust).
It's roughly the GPG equivalent of a web browser going "WARNING - Self
Signed Certificate".


Anyway, once you're done with this; then you know the sha256 checksum
file is the one the developers intended you to get; and you can use it
to check the *iso file.  Probably something like "sha256sum
--ignore-missing -c sha256sum.txt"

HTH :)

-- 
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1  E067 6D65 70E5 4CE7 2860


signature.asc
Description: PGP signature


Re: Need help with PGP signature verification

2023-10-08 Thread Tom Browder
On Sun, Oct 8, 2023 at 3:29 AM DdB
 wrote:
> Am 08.10.2023 um 01:16 schrieb Tom Browder:
> > I'm willing to trust published PGP key fingerprints for signers of
> > Rakudo downloadable files.
> > Question:  How can I get the fingerprint from the downloads?
> There is more than just one way to archieve this, first result from

I should have been more specific. I have the following:

-BEGIN PGP SIGNATURE-

iHUEABYKAB0WIQTdpb2j9c3OmfntVsEsxulzgY84awUCZQ1GBgAKCRAsxulzgY84
a+jhAQCZ0lLh1EnB1AwrgW0zPBp801OOeJ2QUiDBOGXBbrl/7QD/ZQe738sF2tCR
43SAvJOfT3b4YpGdfSUj9F7XNDoovQM=
=mNqK
-END PGP SIGNATURE-

I need the fingerprint from that to compare with the fingerprints I
know from Github to see if it's from the same key.

I think using openssl might be the easiest, but all the tools seem to
have a huge number of options and a vocabulary that's very malleable.

Thanks.

-Tom



Re: Need help with PGP signature verification

2023-10-08 Thread Thomas Schmitt
Hi,

Tom Browder wrote:
> I'm willing to trust published PGP key fingerprints for signers of Rakudo
> downloadable files.

Do i get it right that you talk about https://rakudo.org/downloads ?

> Question:  How can I get the fingerprint from the downloads? 
> The products I download are (1) the file of interest, (2) a PGP signed
> checksums file with various shaX hashes for the file, and (3) a separate
> file containing a PGP signature.

The "Verify" button at above web page leads to
  https://rakudo.org/downloads/verifying
which explains how to use sha256 and gpg2 for verification.
Most importantly it lists the fingerprints of the four "Keys of the
releasers". If gpg2 --verify reports any other fingerprint, then the .asc
file cannot be trusted.

(It is not overly trustworthy that fingerprints and the signed files
are offered on the same web site. Once the site is compromised, both can
be manipulated by the attacker.)


Have a nice day :)

Thomas



Re: Need help with PGP signature verification

2023-10-07 Thread DdB
Am 08.10.2023 um 01:16 schrieb Tom Browder:
> I'm willing to trust published PGP key fingerprints for signers of
> Rakudo downloadable files.
> 
> Question:  How can I get the fingerprint from the downloads? 
> 
> The products I download are (1) the file of interest, (2) a PGP signed
> checksums file with various shaX hashes for the file, and (3) a separate
> file containing a PGP signature.
> 
> Thanks so much.
> 
> -Tom
> 
> 
> 
There is more than just one way to archieve this, first result from
G**-search returns:
https://superuser.com/questions/1297670/how-do-i-check-gpg-signature-given-only-the-fingerprint-and-key-id
which also contains security related warnings and hints.
HTH, DdB



Need help with PGP signature verification

2023-10-07 Thread Tom Browder
I'm willing to trust published PGP key fingerprints for signers of Rakudo
downloadable files.

Question:  How can I get the fingerprint from the downloads?

The products I download are (1) the file of interest, (2) a PGP signed
checksums file with various shaX hashes for the file, and (3) a separate
file containing a PGP signature.

Thanks so much.

-Tom


Re: I need help with my var partition.

2023-05-02 Thread songbird
Maureen L Thomas wrote:
> Unfortunately I cannot install anything.  I used the command line and 
> the app but neither of them will work.  I have no idea what to do next.  
> I used su and sudo first.  It just keeps saying it cannot connect with 
> the base from which I get updates, etc.  I used the reinstall on brasero 
> and it just said that it was up to date.  I am so confused.

  at this point i think it is more time efficient to 
install to a new partition and then work on restoring 
the data for each main program you use.

  if you do not have good backups this is not fun, but 
it does teach a lesson to keep good backups.

  i have done a full recovery on a running system where
i accidentally deleted my entire /var but it wasn't quick
and i did have a current list of all packages installed
so i could reinstall each of them.  it's not an experience
i ever hope to have to do again.  since the version of 
apt was also wrong and wouldn't work i had to go back
to using dpkg repeatedly in a loop of all packages until
the dependencies would all be installed and then it got
them all up to date at last.

  it would have been much quicker in the end had i just
set up a new partition and installed from scratch.


  songbird



Re: I need help with my var partition.

2023-05-02 Thread David Christensen

On 5/1/23 18:51, Maureen L Thomas wrote:
Unfortunately I cannot install anything.  I used the command line and 
the app but neither of them will work.  I have no idea what to do next. 
I used su and sudo first.  It just keeps saying it cannot connect with 
the base from which I get updates, etc.  I used the reinstall on brasero 
and it just said that it was up to date.  I am so confused.



Repairing a damaged OS instance is tough; even when the damage mechanism 
is known (deleting /var/log/, /var/tmp/ and /var/cores/).  Recovery 
requires a lot of expertise.



Other readers have posted long listings and ACL dumps of their 
corresponding directories.  Is this approach too advanced for you?



Do you have an image of your system disk taken before the disaster?


As Brasero is not working, I suggest that you get a large USB HDD and 
back up onto that.  Hopefully, your computer has a desktop environment 
that displays an icon when the USB HDD is plugged in, you can use the 
icon to mount the USB HDD file system, and you can back up with a file 
manager via drag and drop.  If this is not the case, try a root terminal 
and suitable commands.  Back up your home directory and any data 
directories you have created.  Be sure to unmount the USB HDD before you 
unplug it.



If there are more user accounts on the system, you will want to log in 
to each of those accounts and backup their home directory and data.



If you know how to take an image of the system drive and save it on the 
USB HDD, do so.  If not, now would be a good time to learn.  Clonezilla 
is the obvious choice:


https://clonezilla.org/


If you have access to another computer with a CD/DVD/BD burner, burning 
archival optical discs would be a good idea.



The most direct path to a working Debian system is a fresh install onto 
a zeroed drive.  Next, install the applications you want.  Then connect 
the USB HDD, mount the file system, and restore your data.  Restoring 
application-specific data, such as a Thunderbird profile, may require 
additional steps.



Please post if you need help with any of the above.


David



Re: I need help with my var partition.

2023-05-02 Thread Thomas Schmitt
Hi,

Maureen L Thomas wrote:
> I used the reinstall on brasero and it just said that it was up to date.

What error message does Brasero issue before refusing to work ?
What optical medium type do you give Brasero for burning ?

I can probably help with composing a xorriso run which performs a similar
backup as you normally do with Brasero. (I am not aware that xorriso would
try to access /var. So a try might succeed or tell us how deep the problem
is located in the software stack from kernel to desktop applications.)

Roadmap:
1: Check whether xorriso is installed.
   - Install if not yet there.
 - If apt does not install it, try the GNU xorriso source tarball.
2: Describe which hard disk directory trees or single files get normally
   backed up and to what paths on the backup medium they get copied.
3: Create a shell script with the necessary xorriso commands.

If the steps under "1:" don't work or if you want to stay with Brasero,
consider to get a Debian Live system like
  
https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-11.7.0-amd64-lxde.iso
and to put it on a USB stick as described in
  https://www.debian.org/CD/faq/#write-usb
After booting from the USB stick the system should be able to install
xorriso or Brasero, so that you can backup your data.

Maybe you can even use the /var directory of the running Debian Live as
template to recreate the damaged /var tree on hard disk.


Have a nice day :)

Thomas



Re: I need help with my var partition.

2023-05-02 Thread Tom Dial




On 5/1/23 19:51, Maureen L Thomas wrote:

Unfortunately I cannot install anything.  I used the command line and the app 
but neither of them will work.  I have no idea what to do next. I used su and 
sudo first.  It just keeps saying it cannot connect with the base from which I 
get updates, etc.  I used the reinstall on brasero and it just said that it was 
up to date.  I am so confused.


The earlier reply by The Wanderer to this post may well be the correct in 
suggesting use of dpkg rather than apt. Apt is usually preferable if it will 
work, but dpkg sometimes will work when apt will not.

There could be several files in /var/cache/apt/archives that are base-files 
packages for different Debian releases or updates. You should take some care to 
use the right one. The correspondence between the file to use and the contents 
of /etc/debian_version is straightforward. I have:

# ls -l /var/cache/apt/archives/base-files*
-rw-r--r-- 1 root root 70140 Dec 11 14:13 
/var/cache/apt/archives/base-files_11.1+deb11u6_amd64.deb
-rw-r--r-- 1 root root 70132 Apr 23 14:57 
/var/cache/apt/archives/base-files_11.1+deb11u7_amd64.deb

# cat /etc/debian_version
11.7

So: this system is Release 11 update 7, and the corresponding base-files 
package is
/var/cache/apt/archives/base-files_11.1+deb11u7_amd64.deb

Using the wrong one by mistake might not be very noticeable, as base files 
probably change little from release to release;

In any follow up messages, please copy and paste the actual commands used and 
their output in addition to any description of the results. Descriptions may 
omit useful details. And prefer the command line to graphical applications 
because it usually contains more detailed and useful information and is easier 
to copy and paste into an email.

Regards,
Tom Dial



On 5/1/23 9:15 PM, Tom Dial wrote:

This Debian-user thread seems to have gone silent, but it is not clear whether 
your problem is solved. If it is, just ignore this and move on. If not:

The Wanderer, in an earlier post (04/28/2023 at 19;02), suggested reinstalling 
the base-files package. I believe this is the correct procedure, at least to 
start with. It should be relatively free from any risk of doing further damage 
to your system. The same post also suggested you might need to reinstall other 
packages if they had created subdirectories under /var that are not included in 
the base-files package, That also should not significantly risk any further 
damage. Reinstalling installed packages sometimes helps and in my experience 
(almost 30 years now) is unlikely to be harmful. Reinstalling base-files (and 
other packages as needed) also should correct any permission problems that may 
have crept in.

How to reinstall a package depends on how you maintain or upgrade your system.

If you use synaptic or aptitude, both have reinstall options that you can 
choose from the menu or submenu you would use for a new package installation.

If you log in as root on a terminal or terminal emulator to install and upgrade 
software, the command would be

apt install --reinstall  - for example,
apt install --reinstall base-files

If you use sudo in a terminal or terminal emulator to maintain software, use the above 
commands prefixed by "sudo" as you normally would for actions that need 
administrator privileges.

This should reinstall the version of the base-files (or other named package) 
that matches the most recently installed version.

I think the reinstall process might sometimes pause to ask you to choose 
between installing the default configuration file from the package or keeping 
an existing one that you might have changed. It should be safe to keep the one 
already installed.

If you have questions about any of this, feel free to ask, either privately or 
on the list.

Regards,
Tom Dial



On 4/28/23 20:36, Maureen L Thomas wrote:

Here is what I got.

root@debian:/var# /bin/ls -ld */
drwxr-xr-x  2 root root   4096 Apr 28 15:46 backups/
drwxr-xr-x 19 root root   4096 Apr 12 20:20 cache/
drwxr-xr-x  2 root root   4096 Apr 28 20:59 cores/
drwxr-xr-x  2 root root   4096 Nov 13  2020 games/
drwxr-xr-x 62 root root   4096 Apr 12 20:20 lib/
drwxrwsr-x  2 root staff  4096 Sep 19  2020 local/
drwxrwxrwt  3 root root    100 Apr 28 21:13 lock/
drwxr-xr-x  8 root root   4096 Apr 28 21:36 log/
drwx--  2 root root  16384 Nov 12  2020 lost+found/
drwxrwsr-x  2 root mail   4096 Nov 12  2020 mail/
drwxr-xr-x  2 root root   4096 Nov 12  2020 opt/
drwxr-xr-x 27 root root    760 Apr 28 22:31 run/
drwxr-xr-x 14 root root   4096 Apr 27 22:58 snap/
drwxr-xr-x  7 root root   4096 Nov 12  2020 spool/
drwxr-xr-x  8 root root   4096 Apr 28 22:32 tmp/
root@debian:/var#


Reinstalling the base-files package should create or correct the following 
directories under /var:
/var
/var/backups
/var/cache
/var/lib
/var/lib/dpkg
/var/lib/misc
/var/local
/var/lock
/var/log
/var/run
/var/spool
/var/tmp




On 4/28/23 10:17 PM, Greg Wooledge wrote:

On Fri, Apr 

Re: I need help with my var partition.

2023-05-01 Thread The Wanderer
On 2023-05-01 at 21:51, Maureen L Thomas wrote:

> Unfortunately I cannot install anything.  I used the command line and
> the app but neither of them will work.

I suspect that if you don't have the various directories under /var/,
you may not be able to use apt or aptitude or synaptic or the like, but
dpkg (in the form of 'dpkg -i /path/to/filename.deb') may still work.

If it doesn't, the only fallbacks that I can think of that would be
*more* likely to work - short of reinstalling Debian, anyway - involve
carefully extracting the .deb's contents into the correct root path, and
running any necessary follow-on scripts, *by hand*. And that would be
daunting even to me, though I understand that it's certainly possible.

> I have no idea what to do next. I used su and sudo first.  It just
> keeps saying it cannot connect with the base from which I get
> updates, etc.  I used the reinstall on brasero and it just said that
> it was up to date.  I am so confused.

This description seems to suggest that you're using a tool which is
trying to download the .deb file from a remote location. Those tools are
fairly likely to have problems if the directories under /var/ don't
exist.

Instead, I suggest that you try:

$ su -
# dpkg -i /var/cache/apt/archives/base-files_12_amd64.deb

(Or whatever the version number and architecture of your base-files
package may be; that's the oldest one I have on hand myself, from August
of 2021. You should probably be able to tab-complete the filename from
before the first underscore, but that depends on how your system is set
up.)

dpkg should, I think, have fewer dependencies on directory structure (et
cetera) than anything APT-based will have. It still might not be few
*enough*, but it's worth a shot.

-- 
   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



signature.asc
Description: OpenPGP digital signature


Re: I need help with my var partition.

2023-05-01 Thread Maureen L Thomas
Unfortunately I cannot install anything.  I used the command line and 
the app but neither of them will work.  I have no idea what to do next.  
I used su and sudo first.  It just keeps saying it cannot connect with 
the base from which I get updates, etc.  I used the reinstall on brasero 
and it just said that it was up to date.  I am so confused.


On 5/1/23 9:15 PM, Tom Dial wrote:
This Debian-user thread seems to have gone silent, but it is not clear 
whether your problem is solved. If it is, just ignore this and move 
on. If not:


The Wanderer, in an earlier post (04/28/2023 at 19;02), suggested 
reinstalling the base-files package. I believe this is the correct 
procedure, at least to start with. It should be relatively free from 
any risk of doing further damage to your system. The same post also 
suggested you might need to reinstall other packages if they had 
created subdirectories under /var that are not included in the 
base-files package, That also should not significantly risk any 
further damage. Reinstalling installed packages sometimes helps and in 
my experience (almost 30 years now) is unlikely to be harmful. 
Reinstalling base-files (and other packages as needed) also should 
correct any permission problems that may have crept in.


How to reinstall a package depends on how you maintain or upgrade your 
system.


If you use synaptic or aptitude, both have reinstall options that you 
can choose from the menu or submenu you would use for a new package 
installation.


If you log in as root on a terminal or terminal emulator to install 
and upgrade software, the command would be


apt install --reinstall  - for example,
apt install --reinstall base-files

If you use sudo in a terminal or terminal emulator to maintain 
software, use the above commands prefixed by "sudo" as you normally 
would for actions that need administrator privileges.


This should reinstall the version of the base-files (or other named 
package) that matches the most recently installed version.


I think the reinstall process might sometimes pause to ask you to 
choose between installing the default configuration file from the 
package or keeping an existing one that you might have changed. It 
should be safe to keep the one already installed.


If you have questions about any of this, feel free to ask, either 
privately or on the list.


Regards,
Tom Dial



On 4/28/23 20:36, Maureen L Thomas wrote:

Here is what I got.

root@debian:/var# /bin/ls -ld */
drwxr-xr-x  2 root root   4096 Apr 28 15:46 backups/
drwxr-xr-x 19 root root   4096 Apr 12 20:20 cache/
drwxr-xr-x  2 root root   4096 Apr 28 20:59 cores/
drwxr-xr-x  2 root root   4096 Nov 13  2020 games/
drwxr-xr-x 62 root root   4096 Apr 12 20:20 lib/
drwxrwsr-x  2 root staff  4096 Sep 19  2020 local/
drwxrwxrwt  3 root root    100 Apr 28 21:13 lock/
drwxr-xr-x  8 root root   4096 Apr 28 21:36 log/
drwx--  2 root root  16384 Nov 12  2020 lost+found/
drwxrwsr-x  2 root mail   4096 Nov 12  2020 mail/
drwxr-xr-x  2 root root   4096 Nov 12  2020 opt/
drwxr-xr-x 27 root root    760 Apr 28 22:31 run/
drwxr-xr-x 14 root root   4096 Apr 27 22:58 snap/
drwxr-xr-x  7 root root   4096 Nov 12  2020 spool/
drwxr-xr-x  8 root root   4096 Apr 28 22:32 tmp/
root@debian:/var#


Reinstalling the base-files package should create or correct the 
following directories under /var:

/var
/var/backups
/var/cache
/var/lib
/var/lib/dpkg
/var/lib/misc
/var/local
/var/lock
/var/log
/var/run
/var/spool
/var/tmp




On 4/28/23 10:17 PM, Greg Wooledge wrote:

On Fri, Apr 28, 2023 at 10:05:01PM -0400, Maureen L Thomas wrote:
Yes my figures are very similar to yours.  But even after a reboot 
I still

cannot burn a back up disk.

Do not look at the NUMBERS.

OWNER.

GROUP.

PERMISSIONS.

The numbers mean nothing.


On 4/28/23 9:04 PM, Greg Wooledge wrote:

Make sure you get the ownership and permissions correct.

unicorn:/var$ /bin/ls -ld */
drwxr-xr-x  2 root root  4096 Apr 22 06:25 backups/
drwxr-xr-x 12 root root  4096 Jul 31  2022 cache/
drwxr-xr-x  3 root root  4096 Mar  3  2018 games/
drwxr-xr-x 50 root root  4096 Jul 31  2022 lib/
drwxrwsr-x  2 root staff 4096 Nov 19  2017 local/
See that?  Group write.  Set-group-id.  Group staff.  Probably not a 
big

deal, because who the hell uses /var/local for anything, but there is
no excuse for not checking the OWNER, GROUP and PERMISSIONS.


drwxrwxrwt  3 root root    80 Mar 25 16:03 lock/

Group and world write.  Sticky bit.


drwxr-xr-x 15 root root  4096 Apr 24 08:12 log/
drwxrwsr-x  2 root mail  4096 Oct 28  2021 mail/

Group write, setgid.


drwxr-xr-x  2 root root  4096 Jan 11  2018 opt/
drwxr-xr-x 10 root qmail 4096 Jan 12  2018 qmail/
drwxr-xr-x 26 root root   760 Mar 27 15:39 run/
drwxr-xr-x  6 root root  4096 Jan 29  2021 spool/
drwxrwxrwt  6 root root  4096 Apr 28 21:02 tmp/

Group and world write.  Sticky bit.

THIS is what matters.





Re: I need help with my var partition.

2023-05-01 Thread Tom Dial

This Debian-user thread seems to have gone silent, but it is not clear whether 
your problem is solved. If it is, just ignore this and move on. If not:

The Wanderer, in an earlier post (04/28/2023 at 19;02), suggested reinstalling 
the base-files package. I believe this is the correct procedure, at least to 
start with. It should be relatively free from any risk of doing further damage 
to your system. The same post also suggested you might need to reinstall other 
packages if they had created subdirectories under /var that are not included in 
the base-files package, That also should not significantly risk any further 
damage. Reinstalling installed packages sometimes helps and in my experience 
(almost 30 years now) is unlikely to be harmful. Reinstalling base-files (and 
other packages as needed) also should correct any permission problems that may 
have crept in.

How to reinstall a package depends on how you maintain or upgrade your system.

If you use synaptic or aptitude, both have reinstall options that you can 
choose from the menu or submenu you would use for a new package installation.

If you log in as root on a terminal or terminal emulator to install and upgrade 
software, the command would be

apt install --reinstall  - for example,
apt install --reinstall base-files

If you use sudo in a terminal or terminal emulator to maintain software, use the above 
commands prefixed by "sudo" as you normally would for actions that need 
administrator privileges.

This should reinstall the version of the base-files (or other named package) 
that matches the most recently installed version.

I think the reinstall process might sometimes pause to ask you to choose 
between installing the default configuration file from the package or keeping 
an existing one that you might have changed. It should be safe to keep the one 
already installed.

If you have questions about any of this, feel free to ask, either privately or 
on the list.

Regards,
Tom Dial



On 4/28/23 20:36, Maureen L Thomas wrote:

Here is what I got.

root@debian:/var# /bin/ls -ld */
drwxr-xr-x  2 root root   4096 Apr 28 15:46 backups/
drwxr-xr-x 19 root root   4096 Apr 12 20:20 cache/
drwxr-xr-x  2 root root   4096 Apr 28 20:59 cores/
drwxr-xr-x  2 root root   4096 Nov 13  2020 games/
drwxr-xr-x 62 root root   4096 Apr 12 20:20 lib/
drwxrwsr-x  2 root staff  4096 Sep 19  2020 local/
drwxrwxrwt  3 root root    100 Apr 28 21:13 lock/
drwxr-xr-x  8 root root   4096 Apr 28 21:36 log/
drwx--  2 root root  16384 Nov 12  2020 lost+found/
drwxrwsr-x  2 root mail   4096 Nov 12  2020 mail/
drwxr-xr-x  2 root root   4096 Nov 12  2020 opt/
drwxr-xr-x 27 root root    760 Apr 28 22:31 run/
drwxr-xr-x 14 root root   4096 Apr 27 22:58 snap/
drwxr-xr-x  7 root root   4096 Nov 12  2020 spool/
drwxr-xr-x  8 root root   4096 Apr 28 22:32 tmp/
root@debian:/var#


Reinstalling the base-files package should create or correct the following 
directories under /var:
/var
/var/backups
/var/cache
/var/lib
/var/lib/dpkg
/var/lib/misc
/var/local
/var/lock
/var/log
/var/run
/var/spool
/var/tmp




On 4/28/23 10:17 PM, Greg Wooledge wrote:

On Fri, Apr 28, 2023 at 10:05:01PM -0400, Maureen L Thomas wrote:

Yes my figures are very similar to yours.  But even after a reboot I still
cannot burn a back up disk.

Do not look at the NUMBERS.

OWNER.

GROUP.

PERMISSIONS.

The numbers mean nothing.


On 4/28/23 9:04 PM, Greg Wooledge wrote:

Make sure you get the ownership and permissions correct.

unicorn:/var$ /bin/ls -ld */
drwxr-xr-x  2 root root  4096 Apr 22 06:25 backups/
drwxr-xr-x 12 root root  4096 Jul 31  2022 cache/
drwxr-xr-x  3 root root  4096 Mar  3  2018 games/
drwxr-xr-x 50 root root  4096 Jul 31  2022 lib/
drwxrwsr-x  2 root staff 4096 Nov 19  2017 local/

See that?  Group write.  Set-group-id.  Group staff.  Probably not a big
deal, because who the hell uses /var/local for anything, but there is
no excuse for not checking the OWNER, GROUP and PERMISSIONS.


drwxrwxrwt  3 root root    80 Mar 25 16:03 lock/

Group and world write.  Sticky bit.


drwxr-xr-x 15 root root  4096 Apr 24 08:12 log/
drwxrwsr-x  2 root mail  4096 Oct 28  2021 mail/

Group write, setgid.


drwxr-xr-x  2 root root  4096 Jan 11  2018 opt/
drwxr-xr-x 10 root qmail 4096 Jan 12  2018 qmail/
drwxr-xr-x 26 root root   760 Mar 27 15:39 run/
drwxr-xr-x  6 root root  4096 Jan 29  2021 spool/
drwxrwxrwt  6 root root  4096 Apr 28 21:02 tmp/

Group and world write.  Sticky bit.

THIS is what matters.





Re: I need help with my var partition.

2023-04-29 Thread David Christensen

On 4/28/23 17:25, Maureen L Thomas wrote:
I am 72 and have forgotten a few things.  I looked up debian/var and was 
told I could delete /var/log/


and /var/tmp/ and /var/cores/.  I left cores alone and deleted the other 
two.  Now I cannot burn a backup, download files and even go to web 
sites from my nord vpn which was working great until I deleted the above 
files.  I really want to upgrade to debian 11.  I am using debian 10, on 
a Lonovo all in one and have had no problems.  I followed the directions 
for var that I found and now have a screwed up machine.  Is there any 
help available. I was thinking of upgrading online but don't want to 
loose my data.  Please help this old lady.



On 4/28/23 17:57, Maureen L Thomas wrote:
> OK so I went looking on the net /debian/var to find out why it is
> running out of room.  All I could find is the directions to delete said
> files.  I will put them back, now.


On 4/28/23 19:05, Maureen L Thomas wrote:
> ... I still cannot burn a back up disk.


On 4/28/23 19:36, Maureen L Thomas wrote:
> Here is what I got.
>
> root@debian:/var# /bin/ls -ld */
> drwxr-xr-x  2 root root   4096 Apr 28 15:46 backups/
> drwxr-xr-x 19 root root   4096 Apr 12 20:20 cache/
> drwxr-xr-x  2 root root   4096 Apr 28 20:59 cores/
> drwxr-xr-x  2 root root   4096 Nov 13  2020 games/
> drwxr-xr-x 62 root root   4096 Apr 12 20:20 lib/
> drwxrwsr-x  2 root staff  4096 Sep 19  2020 local/
> drwxrwxrwt  3 root root100 Apr 28 21:13 lock/
> drwxr-xr-x  8 root root   4096 Apr 28 21:36 log/
> drwx--  2 root root  16384 Nov 12  2020 lost+found/
> drwxrwsr-x  2 root mail   4096 Nov 12  2020 mail/
> drwxr-xr-x  2 root root   4096 Nov 12  2020 opt/
> drwxr-xr-x 27 root root760 Apr 28 22:31 run/
> drwxr-xr-x 14 root root   4096 Apr 27 22:58 snap/
> drwxr-xr-x  7 root root   4096 Nov 12  2020 spool/
> drwxr-xr-x  8 root root   4096 Apr 28 22:32 tmp/
> root@debian:/var#


I assume you have a Lenovo computer.  What is the model name and number? 
 What processor?  How much memory?  How many drives, what type, and 
what size?



What backup software are you using?  Do you have recent backups?  Do you 
know how to restore?



What other resources do you have available -- computers, network, USB 
flash drives, external HDD's, spare SSD/HDD's?



When I break an OS instance, or when I want to re-install or do a major 
version upgrade, I back up the system configuration files and data 
files, remove the system disk, install a (zeroed) replacement system 
disk, do a fresh install, manually merge the old configuration settings 
into the new configuration files, and restore the data.  So long as I do 
each step correctly, I end up with a correct result.



Disaster preparedness and disaster recovery are easier if your OS is on 
one disk and your data is on another disk.  What is your layout?



David



Re: I need help with my var partition.

2023-04-29 Thread David Wright
On Fri 28 Apr 2023 at 22:36:39 (-0400), Maureen L Thomas wrote:
> Here is what I got.
> 
> root@debian:/var# /bin/ls -ld */
> drwxr-xr-x  2 root root   4096 Apr 28 15:46 backups/
> drwxr-xr-x 19 root root   4096 Apr 12 20:20 cache/
> drwxr-xr-x  2 root root   4096 Apr 28 20:59 cores/
> drwxr-xr-x  2 root root   4096 Nov 13  2020 games/
> drwxr-xr-x 62 root root   4096 Apr 12 20:20 lib/
> drwxrwsr-x  2 root staff  4096 Sep 19  2020 local/
> drwxrwxrwt  3 root root    100 Apr 28 21:13 lock/
> drwxr-xr-x  8 root root   4096 Apr 28 21:36 log/
> drwx--  2 root root  16384 Nov 12  2020 lost+found/
> drwxrwsr-x  2 root mail   4096 Nov 12  2020 mail/
> drwxr-xr-x  2 root root   4096 Nov 12  2020 opt/
> drwxr-xr-x 27 root root    760 Apr 28 22:31 run/
> drwxr-xr-x 14 root root   4096 Apr 27 22:58 snap/
> drwxr-xr-x  7 root root   4096 Nov 12  2020 spool/
> drwxr-xr-x  8 root root   4096 Apr 28 22:32 tmp/
> root@debian:/var#

You've effectively got no /tmp available for most users.

  drwxrwxrwt  6 root root  4096 Apr 28 21:02 tmp/

On Sat 29 Apr 2023 at 07:12:13 (+0200), to...@tuxteam.de wrote:
> On Fri, Apr 28, 2023 at 10:05:01PM -0400, Maureen L Thomas wrote:
> > Yes my figures are very similar to yours.  But even after a reboot I still
> > cannot burn a back up disk.
> 
> One problem may be that /var/log has subdirectories which don't
> belong to root. Applications trying to write their logs might
> fail, either because they can't create "their" log subdirectory
> or because they even don't try (because they rely on the install
> process having done that).
> 
> Here's an example, but note that your package set will differ
> from mine, so take this as illustrative:

Can I also add to your listing (as a systemd-user):

  drwxr-sr-x+  3 root  systemd-journal 4096 Jan  1  2022 /var/log/journal

$ getfacl -p /var/log/journal/
# file: /var/log/journal/
# owner: root
# group: systemd-journal
# flags: -s-
user::rwx
group::r-x
group:adm:r-x
mask::r-x
other::r-x
default:user::rwx
default:group::r-x
default:group:adm:r-x
default:mask::r-x
default:other::r-x

$ 

Cheers,
David.



Re: I need help with my var partition.

2023-04-29 Thread Thomas Schmitt
Hi,

Maureen L Thomas wrote:
> even after a reboot I still cannot burn a back up disk.

In case the crisis lasts longer or you need to make a backup before its
solution:
What program do you use to burn your backups and what does it report
when failing ?
What kind of media shall be burnt ?


Have a nice day :)

Thomas



Re: I need help with my var partition.

2023-04-28 Thread tomas
On Fri, Apr 28, 2023 at 10:05:01PM -0400, Maureen L Thomas wrote:
> Yes my figures are very similar to yours.  But even after a reboot I still
> cannot burn a back up disk.

One problem may be that /var/log has subdirectories which don't
belong to root. Applications trying to write their logs might
fail, either because they can't create "their" log subdirectory
or because they even don't try (because they rely on the install
process having done that).

Here's an example, but note that your package set will differ
from mine, so take this as illustrative:

  tomas@trotzki:~$ find /var/log -maxdepth 1 -type d -exec ls -ld {} +
  drwxr-xr-x 20 root  root  12288 Apr 29 06:00 /var/log
  drwxr-xr-x  2 root  root   4096 Apr 26 20:49 /var/log/apt
  drwxr-sr-x  2 apt-cacher-ng apt-cacher-ng 40960 Apr 29 06:05 
/var/log/apt-cacher-ng
  drwxr-xr-x  2 root  root   4096 Apr 29 06:54 /var/log/atop
  drwxr-s---  2 Debian-exim   adm4096 Apr 29 06:54 /var/log/exim4
  drwxr-xr-x  2 root  root   4096 Oct 30  2017 /var/log/fsck
  drwxr-xr-x  3 root  root   4096 Nov 10  2021 /var/log/guix
  drwxr-xr-x  3 root  root   4096 Oct 30  2017 
/var/log/installer
  drwxrwx---  2 jvb   jitsi  4096 Jan 22  2020 /var/log/jitsi
  drwxr-x---  2 www-data  www-data   4096 Apr 26 06:31 /var/log/lighttpd
  drwxr-s---  2 mysql adm4096 Nov  9  2021 /var/log/mysql
  drwxr-xr-x  2 root  adm4096 Jan 22  2020 /var/log/nginx
  drwxr-xr-x  2 ntp   ntp4096 Feb 15  2018 /var/log/ntpstats
  drwxr-xr-x  2 root  root   4096 Feb 20  2019 /var/log/openvpn
  drwxrwxr-t  2 root  postgres   4096 Apr 23 07:06 
/var/log/postgresql
  drwxr-x---  2 prosody   adm4096 Apr 23 07:06 /var/log/prosody
  drwxr-xr-x  4 root  root   4096 Nov  9  2021 /var/log/runit
  drwxr-x---  2 root  adm4096 May  8  2019 /var/log/samba
  drwxr-xr-x  2 stunnel4  stunnel4   4096 Apr 16  2020 /var/log/stunnel4

One thing you might try to rescue the situation would be
to chmod go+w /var/log. Note that this makes your system
somewhat... insecure (that's an euphemism :-)

Perhaps the failing apps do create their log subdirs.

Don't forget to do chmod go-w after the dust has settled.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: I need help with my var partition.

2023-04-28 Thread Maureen L Thomas

Here is what I got.

root@debian:/var# /bin/ls -ld */
drwxr-xr-x  2 root root   4096 Apr 28 15:46 backups/
drwxr-xr-x 19 root root   4096 Apr 12 20:20 cache/
drwxr-xr-x  2 root root   4096 Apr 28 20:59 cores/
drwxr-xr-x  2 root root   4096 Nov 13  2020 games/
drwxr-xr-x 62 root root   4096 Apr 12 20:20 lib/
drwxrwsr-x  2 root staff  4096 Sep 19  2020 local/
drwxrwxrwt  3 root root    100 Apr 28 21:13 lock/
drwxr-xr-x  8 root root   4096 Apr 28 21:36 log/
drwx--  2 root root  16384 Nov 12  2020 lost+found/
drwxrwsr-x  2 root mail   4096 Nov 12  2020 mail/
drwxr-xr-x  2 root root   4096 Nov 12  2020 opt/
drwxr-xr-x 27 root root    760 Apr 28 22:31 run/
drwxr-xr-x 14 root root   4096 Apr 27 22:58 snap/
drwxr-xr-x  7 root root   4096 Nov 12  2020 spool/
drwxr-xr-x  8 root root   4096 Apr 28 22:32 tmp/
root@debian:/var#

On 4/28/23 10:17 PM, Greg Wooledge wrote:

On Fri, Apr 28, 2023 at 10:05:01PM -0400, Maureen L Thomas wrote:

Yes my figures are very similar to yours.  But even after a reboot I still
cannot burn a back up disk.

Do not look at the NUMBERS.

OWNER.

GROUP.

PERMISSIONS.

The numbers mean nothing.


On 4/28/23 9:04 PM, Greg Wooledge wrote:

Make sure you get the ownership and permissions correct.

unicorn:/var$ /bin/ls -ld */
drwxr-xr-x  2 root root  4096 Apr 22 06:25 backups/
drwxr-xr-x 12 root root  4096 Jul 31  2022 cache/
drwxr-xr-x  3 root root  4096 Mar  3  2018 games/
drwxr-xr-x 50 root root  4096 Jul 31  2022 lib/
drwxrwsr-x  2 root staff 4096 Nov 19  2017 local/

See that?  Group write.  Set-group-id.  Group staff.  Probably not a big
deal, because who the hell uses /var/local for anything, but there is
no excuse for not checking the OWNER, GROUP and PERMISSIONS.


drwxrwxrwt  3 root root80 Mar 25 16:03 lock/

Group and world write.  Sticky bit.


drwxr-xr-x 15 root root  4096 Apr 24 08:12 log/
drwxrwsr-x  2 root mail  4096 Oct 28  2021 mail/

Group write, setgid.


drwxr-xr-x  2 root root  4096 Jan 11  2018 opt/
drwxr-xr-x 10 root qmail 4096 Jan 12  2018 qmail/
drwxr-xr-x 26 root root   760 Mar 27 15:39 run/
drwxr-xr-x  6 root root  4096 Jan 29  2021 spool/
drwxrwxrwt  6 root root  4096 Apr 28 21:02 tmp/

Group and world write.  Sticky bit.

THIS is what matters.





Re: I need help with my var partition.

2023-04-28 Thread Greg Wooledge
On Fri, Apr 28, 2023 at 10:05:01PM -0400, Maureen L Thomas wrote:
> Yes my figures are very similar to yours.  But even after a reboot I still
> cannot burn a back up disk.

Do not look at the NUMBERS.

OWNER.

GROUP.

PERMISSIONS.

The numbers mean nothing.

> On 4/28/23 9:04 PM, Greg Wooledge wrote:
> > Make sure you get the ownership and permissions correct.
> > 
> > unicorn:/var$ /bin/ls -ld */
> > drwxr-xr-x  2 root root  4096 Apr 22 06:25 backups/
> > drwxr-xr-x 12 root root  4096 Jul 31  2022 cache/
> > drwxr-xr-x  3 root root  4096 Mar  3  2018 games/
> > drwxr-xr-x 50 root root  4096 Jul 31  2022 lib/
> > drwxrwsr-x  2 root staff 4096 Nov 19  2017 local/

See that?  Group write.  Set-group-id.  Group staff.  Probably not a big
deal, because who the hell uses /var/local for anything, but there is
no excuse for not checking the OWNER, GROUP and PERMISSIONS.

> > drwxrwxrwt  3 root root80 Mar 25 16:03 lock/

Group and world write.  Sticky bit.

> > drwxr-xr-x 15 root root  4096 Apr 24 08:12 log/
> > drwxrwsr-x  2 root mail  4096 Oct 28  2021 mail/

Group write, setgid.

> > drwxr-xr-x  2 root root  4096 Jan 11  2018 opt/
> > drwxr-xr-x 10 root qmail 4096 Jan 12  2018 qmail/
> > drwxr-xr-x 26 root root   760 Mar 27 15:39 run/
> > drwxr-xr-x  6 root root  4096 Jan 29  2021 spool/
> > drwxrwxrwt  6 root root  4096 Apr 28 21:02 tmp/

Group and world write.  Sticky bit.

THIS is what matters.



Re: I need help with my var partition.

2023-04-28 Thread Maureen L Thomas
Yes my figures are very similar to yours.  But even after a reboot I 
still cannot burn a back up disk.


On 4/28/23 9:04 PM, Greg Wooledge wrote:

On Fri, Apr 28, 2023 at 08:57:47PM -0400, Maureen L Thomas wrote:

OK so I went looking on the net /debian/var to find out why it is running
out of room.  All I could find is the directions to delete said files.  I
will put them back, now.

Make sure you get the ownership and permissions correct.

unicorn:/var$ /bin/ls -ld */
drwxr-xr-x  2 root root  4096 Apr 22 06:25 backups/
drwxr-xr-x 12 root root  4096 Jul 31  2022 cache/
drwxr-xr-x  3 root root  4096 Mar  3  2018 games/
drwxr-xr-x 50 root root  4096 Jul 31  2022 lib/
drwxrwsr-x  2 root staff 4096 Nov 19  2017 local/
drwxrwxrwt  3 root root80 Mar 25 16:03 lock/
drwxr-xr-x 15 root root  4096 Apr 24 08:12 log/
drwxrwsr-x  2 root mail  4096 Oct 28  2021 mail/
drwxr-xr-x  2 root root  4096 Jan 11  2018 opt/
drwxr-xr-x 10 root qmail 4096 Jan 12  2018 qmail/
drwxr-xr-x 26 root root   760 Mar 27 15:39 run/
drwxr-xr-x  6 root root  4096 Jan 29  2021 spool/
drwxrwxrwt  6 root root  4096 Apr 28 21:02 tmp/

Ignore "qmail" unless you happen to be using qmail, which is unlikely.
The rest should look like this.

In particular, note the permissions on /var/tmp.  That's "chmod 1777"
to get the sticky bit.





Re: I need help with my var partition.

2023-04-28 Thread Greg Wooledge
On Fri, Apr 28, 2023 at 08:57:47PM -0400, Maureen L Thomas wrote:
> OK so I went looking on the net /debian/var to find out why it is running
> out of room.  All I could find is the directions to delete said files.  I
> will put them back, now.

Make sure you get the ownership and permissions correct.

unicorn:/var$ /bin/ls -ld */
drwxr-xr-x  2 root root  4096 Apr 22 06:25 backups/
drwxr-xr-x 12 root root  4096 Jul 31  2022 cache/
drwxr-xr-x  3 root root  4096 Mar  3  2018 games/
drwxr-xr-x 50 root root  4096 Jul 31  2022 lib/
drwxrwsr-x  2 root staff 4096 Nov 19  2017 local/
drwxrwxrwt  3 root root80 Mar 25 16:03 lock/
drwxr-xr-x 15 root root  4096 Apr 24 08:12 log/
drwxrwsr-x  2 root mail  4096 Oct 28  2021 mail/
drwxr-xr-x  2 root root  4096 Jan 11  2018 opt/
drwxr-xr-x 10 root qmail 4096 Jan 12  2018 qmail/
drwxr-xr-x 26 root root   760 Mar 27 15:39 run/
drwxr-xr-x  6 root root  4096 Jan 29  2021 spool/
drwxrwxrwt  6 root root  4096 Apr 28 21:02 tmp/

Ignore "qmail" unless you happen to be using qmail, which is unlikely.
The rest should look like this.

In particular, note the permissions on /var/tmp.  That's "chmod 1777"
to get the sticky bit.



Re: I need help with my var partition.

2023-04-28 Thread The Wanderer
On 2023-04-28 at 20:46, Jeremy Ardley wrote:

> On 29/4/23 08:25, Maureen L Thomas wrote:
>
>> I am 72 and have forgotten a few things.  I looked up debian/var and 
>> was told I could delete /var/log/
>>
>> and /var/tmp/ and /var/cores/.

I'd guess that this was *probably* meant as a direction to delete *files
from inside* those directories. Deleting the directories themselves, or
even deleting their contents wholesale, can - as you've discovered -
create a problematic circumstance.

>> I left cores alone and deleted the other two.  Now I cannot burn a
>> backup, download files and even go to web sites from my nord vpn
>> which was working great until I deleted the above files.  I really
>> want to upgrade to debian 11. I am using debian 10, on a Lonovo all
>> in one and have had no problems.  I followed the directions for var
>> that I found and now have a screwed up machine.  Is there any help
>> available. I was thinking of upgrading online but don't want to
>> loose my data. Please help this old lady.
>>
>>
> Deleting /var/log etc is at best unhelpful.
> 
> I can't think of any procedure that would require deleting those 
> directories. Perhaps someone was fooling with you?
> 
> Without knowing what else you have done or why, it's probably a good 
> idea to recreate the directories
> 
> cd /var
> 
> mkdir log
> 
> mkdir tmp

That won't necessarily bring back the correct directory permissions, or
any needed subdirectory structure under these two locations.

I'm not *positive* that this won't break anything, but I think the
safest thing to do would probably be to reinstall the 'base-files'
package, which can *probably* still be done - even on a system with
those directories missing - with 'dpkg -i' from the copy in
/var/cache/apt/archives/.

That should, I think, bring back both directories with any needed
permissions. It will not, however, re-create any subdirectories (e.g.
under /var/log/) which were created by other packages; for that, you'd
have to reinstall those packages as well.

Given that one of the directories on my own system is /var/log/apt/,
it's not impossible that much of the package-management system may not
work (fully) correctly until you've identified and reinstalled the
correct packages.

-- 
   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



signature.asc
Description: OpenPGP digital signature


Re: I need help with my var partition.

2023-04-28 Thread Maureen L Thomas
OK so I went looking on the net /debian/var to find out why it is 
running out of room.  All I could find is the directions to delete said 
files.  I will put them back, now.



On 4/28/23 8:46 PM, Jeremy Ardley wrote:


On 29/4/23 08:25, Maureen L Thomas wrote:
I am 72 and have forgotten a few things. I looked up debian/var and 
was told I could delete /var/log/


and /var/tmp/ and /var/cores/.  I left cores alone and deleted the 
other two.  Now I cannot burn a backup, download files and even go to 
web sites from my nord vpn which was working great until I deleted 
the above files.  I really want to upgrade to debian 11. I am using 
debian 10, on a Lonovo all in one and have had no problems.  I 
followed the directions for var that I found and now have a screwed 
up machine.  Is there any help available. I was thinking of upgrading 
online but don't want to loose my data. Please help this old lady.




Deleting /var/log etc is at best unhelpful.

I can't think of any procedure that would require deleting those 
directories. Perhaps someone was fooling with you?


Without knowing what else you have done or why, it's probably a good 
idea to recreate the directories


cd /var

mkdir log

mkdir tmp

Before you do a reboot, perhaps explain what else you have done and why?







Re: I need help with my var partition.

2023-04-28 Thread Byung-Hee HWANG
Dear Mrs. Thomas,

Maureen L Thomas  writes:

> (...)
> I was thinking of upgrading
> online but don't want to loose my data.

First of all, please do back-up your *important* data.
Such as pictures, video clips, diary, some text docs, etc.

(Also i'm Debian user with Debian Bullseye under ThinkPad notebook)


Sincerely, Byung-Hee from South Korea

-- 
^고맙습니다 _布德天下_ 감사합니다_^))//



Re: I need help with my var partition.

2023-04-28 Thread Jeremy Ardley



On 29/4/23 08:25, Maureen L Thomas wrote:
I am 72 and have forgotten a few things.  I looked up debian/var and 
was told I could delete /var/log/


and /var/tmp/ and /var/cores/.  I left cores alone and deleted the 
other two.  Now I cannot burn a backup, download files and even go to 
web sites from my nord vpn which was working great until I deleted the 
above files.  I really want to upgrade to debian 11. I am using debian 
10, on a Lonovo all in one and have had no problems.  I followed the 
directions for var that I found and now have a screwed up machine.  Is 
there any help available. I was thinking of upgrading online but don't 
want to loose my data. Please help this old lady.




Deleting /var/log etc is at best unhelpful.

I can't think of any procedure that would require deleting those 
directories. Perhaps someone was fooling with you?


Without knowing what else you have done or why, it's probably a good 
idea to recreate the directories


cd /var

mkdir log

mkdir tmp

Before you do a reboot, perhaps explain what else you have done and why?



--
Jeremy
(Lists)



I need help with my var partition.

2023-04-28 Thread Maureen L Thomas
I am 72 and have forgotten a few things.  I looked up debian/var and was 
told I could delete /var/log/


and /var/tmp/ and /var/cores/.  I left cores alone and deleted the other 
two.  Now I cannot burn a backup, download files and even go to web 
sites from my nord vpn which was working great until I deleted the above 
files.  I really want to upgrade to debian 11.  I am using debian 10, on 
a Lonovo all in one and have had no problems.  I followed the directions 
for var that I found and now have a screwed up machine.  Is there any 
help available. I was thinking of upgrading online but don't want to 
loose my data.  Please help this old lady.





Re: Need help to install gnucobol

2023-04-18 Thread Timothy M Butterworth
On Tue, Apr 18, 2023 at 2:55 PM Jerry Mellon  wrote:

> Hi,
>
> I am new to Debian and I would like to install gnucobol. I see it is in
> Debian 10 but not 11. I tried to download the Debian 10 gnucobol, but I
> get a message that the package is broken. Could you tell me where else I
> might obtain a compatible cobol compiler?
>

GNUCobol is packaged in Debian 12 Bookworm:

gnucobol/testing 5 amd64
 compiler package for default GnuCOBOL

gnucobol3/testing 3.1.2-5+b1 amd64
 COBOL compiler

gnucobol4/testing 4.0~early~20200606-6+b1 amd64
 COBOL compiler

Tim


> --
> Jerry Mellon
> 501 Los Caminos St.
> St Augustine, FL 32095
> 407.461.9216
> jfmel...@netscape.net
>
>

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


Re: Need help to install gnucobol

2023-04-18 Thread Jerry Mellon

Hi,

I am new to Debian and I would like to install gnucobol. I see it is in 
Debian 10 but not 11. I tried to download the Debian 10 gnucobol, but I 
get a message that the package is broken. Could you tell me where else I 
might obtain a compatible cobol compiler?


--
Jerry Mellon
501 Los Caminos St.
St Augustine, FL 32095
407.461.9216
jfmel...@netscape.net



Re: Need help to install gnucobol

2023-02-08 Thread Richmond
Amine Derk  writes:

> Hello,
>
> I'm trying to use debian for the first time. and I'm not able to
> install Gnucobol.
>
> aderkaoua@LAPTOP-6B841S0M:~$ sudo apt-get install gnucobol
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> E: Unable to locate package gnucobol
>
> please advise?
>
> Amine. 
> Cobol Developer 
> 571 234 9827

I compiled gnu-cobol and have it working. I obtained:

gnucobol-3.1.2.tar.xz

tar axvf gnucobol-3.1.2.tar.xz
cd gnucobol-3.1.2
./configure
make

Probably there were errors which I fixed by installing things. See how
far you get.



Re: Need help to install gnucobol

2023-02-07 Thread Amine Derk
Thanks, I'll check it out.

Update you soon.

On Tue, Feb 7, 2023, 8:35 AM  wrote:

> On 2023-02-04 20:20, Cyril Brulebois wrote:
> > Hi Amine,
> >
> > Amine Derk  (2023-02-04):
> >> I'm trying to use debian for the first time. and I'm not able to
> >> install
> >> Gnucobol.
> >>
> >> aderkaoua@LAPTOP-6B841S0M:~$ sudo apt-get install gnucobol
> >> Reading package lists... Done
> >> Building dependency tree... Done
> >> Reading state information... Done
> >> *E: Unable to locate package gnucobol*
> >>
> >> *please advise?*
> >>
> >> Amine.
> >> Cobol Developer
> >> 571 234 9827
> >
> > You contacted the installer team. Redirecting to the user support list.
> >
> >
> > Cheers,
>
> gnucobol DEB is not available in Debian 11 (Bullseye). It is,
> notwithstanding, available from older Debian 10 (Buster) and/or newer
> Debian 12 (Bookworm).
>
> --
> Best Professional Regards.
>
> --
> Jose R R
> http://metztli.it
>
> -
> Download Metztli Reiser4: Debian Buster w/ Linux 5.16.20 AMD64
>
> -
> feats ZSTD compression https://sf.net/projects/metztli-reiser4/
>
> ---
> Official current Reiser4 resources: https://reiser4.wiki.kernel.org/
>


Re: Need help to install gnucobol

2023-02-07 Thread jose . r . r

On 2023-02-04 20:20, Cyril Brulebois wrote:

Hi Amine,

Amine Derk  (2023-02-04):
I'm trying to use debian for the first time. and I'm not able to 
install

Gnucobol.

aderkaoua@LAPTOP-6B841S0M:~$ sudo apt-get install gnucobol
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
*E: Unable to locate package gnucobol*

*please advise?*

Amine.
Cobol Developer
571 234 9827


You contacted the installer team. Redirecting to the user support list.


Cheers,


gnucobol DEB is not available in Debian 11 (Bullseye). It is, 
notwithstanding, available from older Debian 10 (Buster) and/or newer 
Debian 12 (Bookworm).


--
Best Professional Regards.

--
Jose R R
http://metztli.it
-
Download Metztli Reiser4: Debian Buster w/ Linux 5.16.20 AMD64
-
feats ZSTD compression https://sf.net/projects/metztli-reiser4/
---
Official current Reiser4 resources: https://reiser4.wiki.kernel.org/



RE: Need help to install gnucobol

2023-02-04 Thread Ming Kuang
On Sunday, February 5, 2023 12:21 PM, Amine Derk wrote:
> > I'm trying to use debian for the first time. and I'm not able to install
> > Gnucobol.
> >
> > aderkaoua@LAPTOP-6B841S0M:~$ sudo apt-get install gnucobol
> > Reading package lists... Done
> > Building dependency tree... Done
> > Reading state information... Done
> > *E: Unable to locate package gnucobol*
> >
> > *please advise?*
> [...]

Hi, Amine,

Did you run apt update before apt install ?
sudo apt-get update

This command downloads and builds a local cache of the list of available
packages.
When you use the apt install command, apt package manager searches
the cache to get the package and version information and then download
it from its repositories over the network. If the package is not in this cache,
your system won’t be able to install it.


openpgp-digital-signature.asc
Description: PGP signature


Re: Need help to install gnucobol

2023-02-04 Thread Andika Triwidada
> Amine Derk  (2023-02-04):
> > I'm trying to use debian for the first time. and I'm not able to install
> > Gnucobol.
> >
> > aderkaoua@LAPTOP-6B841S0M:~$ sudo apt-get install gnucobol
> > Reading package lists... Done
> > Building dependency tree... Done
> > Reading state information... Done
> > *E: Unable to locate package gnucobol*
> >
> > *please advise?*
> >
> > Amine.
> > Cobol Developer
> > 571 234 9827


https://packages.debian.org/search?keywords=gnucobol

package gnucobol only available for Debian Buster, Testing, and Sid.
Current Debian Stable (Bullseye doesn't have it).



Re: Need help to install gnucobol

2023-02-04 Thread Cyril Brulebois
Hi Amine,

Amine Derk  (2023-02-04):
> I'm trying to use debian for the first time. and I'm not able to install
> Gnucobol.
> 
> aderkaoua@LAPTOP-6B841S0M:~$ sudo apt-get install gnucobol
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> *E: Unable to locate package gnucobol*
> 
> *please advise?*
> 
> Amine.
> Cobol Developer
> 571 234 9827

You contacted the installer team. Redirecting to the user support list.


Cheers,
-- 
Cyril Brulebois (k...@debian.org)
D-I release manager -- Release team member -- Freelance Consultant


signature.asc
Description: PGP signature


Re: need help on setup netgear adapter

2021-12-01 Thread Andrew M.A. Cater
On Wed, Dec 01, 2021 at 10:35:49AM +, Long Wind wrote:
> Thank Andy! i've just installed bullseye again, and can't get it to work with 
> netgear wn111. its problem is same as fresh install of buster. actually i've 
> complained this before: if wifi adapter isn't set up by installer, then i'm 
> unable to get it to work after installation 
> 
> i always use same procedure to get connected: edit /etc/network/interfaces, 
> then run ifup/ifdown to take effect, i'm not aware of network manager
> 
>  allow-hotplug wlxe091f5061648
> iface wlxe091f5061648 inet dhcp
>     wpa-ssid mice
>     wpa-key-mgmt NONE
> 
> my old bullseye works, ifup looks like this:
> 
> Internet Systems Consortium DHCP Client 4.4.1
> Copyright 2004-2018 Internet Systems Consortium.
> All rights reserved.
> For info, please visit https://www.isc.org/software/dhcp/
> 
> Listening on LPF/wlxe091f5061648/e0:91:f5:06:16:48
> Sending on   LPF/wlxe091f5061648/e0:91:f5:06:16:48
> Sending on   Socket/fallback
> DHCPDISCOVER on wlxe091f5061648 to 255.255.255.255 port 67 interval 5
> DHCPDISCOVER on wlxe091f5061648 to 255.255.255.255 port 67 interval 5
> DHCPOFFER of 192.168.41.52 from 192.168.41.1
> DHCPREQUEST for 192.168.41.52 on wlxe091f5061648 to 255.255.255.255 port 67
> DHCPACK of 192.168.41.52 from 192.168.41.1
> bound to 192.168.41.52 -- renewal in 676 seconds.
> 

Are you using the unofficial non-free including firmware .iso to install 
from?

I'd suggest starting there:

https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.1.0+nonfree/amd64/iso-cd/firmware-11.1.0-amd64-netinst.iso

If you can install via Ethernet before using the wireless interface, I would
suggest that you do so.

I would also suggest installing the network manager package to configure the 
network interface. I find that nmtui is very useful.

All the very best, as ever,

Andy Cater
> 
> 
> 
> 



Re: need help on setup netgear adapter

2021-12-01 Thread Andrew M.A. Cater
On Wed, Dec 01, 2021 at 05:20:02AM +, Long Wind wrote:
> Thank  Andrew!
> i've been able to get stretch and bullseye to work with netgear wn111
> both have installed other wifi adapter with non-freeware before
> but i can't get fresh install of buster to work
> buster has /lib/firmware/carl9170-1.fw
> i run ifup wlx... :
> 
> Internet Systems Consortium DHCP Client 4.4.1
> Copyright 2004-2018 Internet Systems Consortium.
> All rights reserved.
> For info, please visit https://www.isc.org/software/dhcp/
> 
> Listening on LPF/wlxe091f5061648/e0:91:f5:06:16:48
> Sending on   LPF/wlxe091f5061648/e0:91:f5:06:16:48
> Sending on   Socket/fallback
> DHCPDISCOVER on wlxe091f5061648 to 255.255.255.255 port 67 interval 4
> DHCPDISCOVER on wlxe091f5061648 to 255.255.255.255 port 67 interval 11
> DHCPDISCOVER on wlxe091f5061648 to 255.255.255.255 port 67 interval 21
> DHCPDISCOVER on wlxe091f5061648 to 255.255.255.255 port 67 interval 15
> DHCPDISCOVER on wlxe091f5061648 to 255.255.255.255 port 67 interval 10
> No DHCPOFFERS received.
> No working leases in persistent database - sleeping.
> 
> 

Unless you absolutely postitively have to use buster at this point: if you
have it working under Bullseye - Debian 11 - use bullseye on this system.

This is an _old_ adapter 2013-2015, I think? and may not be as capable 
as newer hardware, but in this case I think there is soemthing else?

If you plug it into a bullseye machine and do the same, what do you see?

In any event, use the most up to date software that works.

All the very best, as ever,

Andy Cater

> 
> 



Re: need help on setup netgear adapter

2021-11-30 Thread Long Wind
Thank  Andrew!
i've been able to get stretch and bullseye to work with netgear wn111
both have installed other wifi adapter with non-freeware before
but i can't get fresh install of buster to work
buster has /lib/firmware/carl9170-1.fw
i run ifup wlx... :

Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlxe091f5061648/e0:91:f5:06:16:48
Sending on   LPF/wlxe091f5061648/e0:91:f5:06:16:48
Sending on   Socket/fallback
DHCPDISCOVER on wlxe091f5061648 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlxe091f5061648 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlxe091f5061648 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on wlxe091f5061648 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlxe091f5061648 to 255.255.255.255 port 67 interval 10
No DHCPOFFERS received.
No working leases in persistent database - sleeping.






Re: need help on setup netgear adapter

2021-11-30 Thread Andrew M.A. Cater
On Tue, Nov 30, 2021 at 09:56:32AM +, Long Wind wrote:
> i plug netgear wn111 to other PC (hp thin client) running debian 11it easily 
> work, and don't seem to need non-free firmware??how to verify this? i think  
> rt2870.bin is needed by other adapter
> 
> 
>  ls /lib/firmware/ -lR
> /lib/firmware/:
> total 68
> drwxr-xr-x 2 root root  4096 Sep 20 03:17 av7110
> -rw-r--r-- 1 root root 13388 Feb  1  2020 carl9170-1.fw
> drwxr-xr-x 2 root root  4096 Sep 20 03:17 cis
> drwxr-xr-x 2 root root  4096 Sep 20 03:17 dsp56k
> drwxr-xr-x 2 root root  4096 Sep 20 03:17 isci
> drwxr-xr-x 2 root root  4096 Sep 20 03:17 keyspan_pda
> -rw-r--r-- 1 root root  3764 Jun 30  2020 regulatory.db
> -rw-r--r-- 1 root root  1249 Jun 30  2020 regulatory.db.p7s
> -rw-r--r-- 1 root root  8192 Sep 19 22:11 rt2870.bin
> -rw-r--r-- 1 root root   999 Feb  1  2020 usbduxfast_firmware.bin
> -rw-r--r-- 1 root root  1770 Feb  1  2020 usbdux_firmware.bin
> -rw-r--r-- 1 root root  8192 Feb  1  2020 usbduxsigma_firmware.bin
> 
> /lib/firmware/av7110:
> total 4
> -rw-r--r-- 1 root root 212 Feb  1  2020 bootcode.bin
> 
> /lib/firmware/cis:
> total 64
> -rw-r--r-- 1 root root 137 Feb  1  2020 3CCFEM556.cis
> -rw-r--r-- 1 root root 134 Feb  1  2020 3CXEM556.cis
> -rw-r--r-- 1 root root 109 Feb  1  2020 COMpad2.cis
> -rw-r--r-- 1 root root  76 Feb  1  2020 COMpad4.cis
> -rw-r--r-- 1 root root 136 Feb  1  2020 DP83903.cis
> -rw-r--r-- 1 root root 253 Feb  1  2020 LA-PCM.cis
> -rw-r--r-- 1 root root 107 Feb  1  2020 MT5634ZLX.cis
> -rw-r--r-- 1 root root  54 Feb  1  2020 NE2K.cis
> -rw-r--r-- 1 root root 210 Feb  1  2020 PCMLM28.cis
> -rw-r--r-- 1 root root  68 Feb  1  2020 PE-200.cis
> -rw-r--r-- 1 root root  74 Feb  1  2020 PE520.cis
> -rw-r--r-- 1 root root  86 Feb  1  2020 RS-COM-2P.cis
> -rw-r--r-- 1 root root 122 Feb  1  2020 SW_555_SER.cis
> -rw-r--r-- 1 root root 140 Feb  1  2020 SW_7xx_SER.cis
> -rw-r--r-- 1 root root 132 Feb  1  2020 SW_8xx_SER.cis
> -rw-r--r-- 1 root root  85 Feb  1  2020 tamarack.cis
> 
> /lib/firmware/dsp56k:
> total 4
> -rw-r--r-- 1 root root 375 Feb  1  2020 bootstrap.bin
> 
> /lib/firmware/isci:
> total 4
> -rw-r--r-- 1 root root 232 Feb  1  2020 isci_firmware.bin
> 
> /lib/firmware/keyspan_pda:
> total 8
> -rw-r--r-- 1 root root 1914 Feb  1  2020 keyspan_pda.fw
> -rw-r--r-- 1 root root 2018 Feb  1  2020 xircom_pgs.fw
> 
> 
> 
>   

This is an old adapter. ar9170 - it looks as if it's covered in 
firmware-linux-free now - but you might need a file carl9170-1.fw

https://packages.debian.org/bullseye/firmware-linux-free

All the very best, as ever,

Andy C.



Re: need help on setting up thunderbird

2021-08-06 Thread tomas
On Thu, Aug 05, 2021 at 04:55:51PM -0400, lou wrote:
> tomas, thunderbird is working now

Thanks, glad to hear it :)

Cheers
 - t


signature.asc
Description: Digital signature


Re: need help on setting up thunderbird

2021-08-05 Thread lou

tomas, thunderbird is working now



Re: need help on setting up thunderbird

2021-08-05 Thread tomas
On Thu, Aug 05, 2021 at 06:34:18AM -0400, lou wrote:
> Thank didier and tomas! i've set up thunderbird
> 
> when i receive mail, thunderbird prompts me for password, i enter
> 16-char-long code, password used in their web-based mail isn't used

I think I din't understand you: is thunderbird working with your mail
now or not?

Cheers
 - t


signature.asc
Description: Digital signature


Re: need help on setting up thunderbird

2021-08-05 Thread asoeldner



Am 05.08.2021 um 12:34 schrieb lou:

Thank didier and tomas! i've set up thunderbird

when i receive mail, thunderbird prompts me for password, i enter
16-char-long code, password used in their web-based mail isn't used



Take a look in "Settings" and there for Master-Password ..



Re: need help on setting up thunderbird

2021-08-05 Thread lou

Thank didier and tomas! i've set up thunderbird

when i receive mail, thunderbird prompts me for password, i enter 
16-char-long code, password used in their web-based mail isn't used




Re: need help on setting up thunderbird

2021-08-05 Thread tomas
On Thu, Aug 05, 2021 at 10:08:55AM +0200, didier gaumet wrote:
> 
> Hello,
> 
> >From memory (so take it with a grain of salt), when Thunderbird asks
> for a password to access a mail server for the first time [...]

This is more or less my recollection, yes.

> I would imagine that is somewhat similar to certain distros that
> propose a desktop environment auto-login: that is not mandatory and the
> user may chose to discard this feature if he considers it a security
> risk
> 
> Cheers :-)

My beef was not so much about (the choice of) storing your password
or not, but about *not* giving the user the possibility of entering
it when setting up the account, along with the other account data
(SMTP server, IMAP, etc.).

Cheers :-)
 - t


signature.asc
Description: Digital signature


Re: need help on setting up thunderbird

2021-08-05 Thread didier gaumet


Hello,

>From memory (so take it with a grain of salt), when Thunderbird asks
for a password to access a mail server for the first time, it proposes
to store it in order for the user to not have to enter his password
each time. But this storage is not mandatory. If the user choses to
enter his passord each time for security reasons, he thus may do it.

I would imagine that is somewhat similar to certain distros that
propose a desktop environment auto-login: that is not mandatory and the
user may chose to discard this feature if he considers it a security
risk

Cheers :-)





Re: need help on setting up thunderbird

2021-08-05 Thread tomas
On Thu, Aug 05, 2021 at 07:38:44AM +0800, loushanguan2...@sina.com wrote:
> mail provider gives me 16-character-long authorization code for smtp 
> server(something like 77c93457b12ab54a)i can't enter it in thunderbird
> 
> in Account Settings/Outgoing Sever dialogPort should be 587which shall i 
> choose for "Connection security" and "Authentication method"?

I /think/ (long time ago I set that up for someone, I prefer a
civilised MUA ;-) you just have to set up the account (without
any password) and then try to fetch mail. Then, Thunderbird will
ask you for the password and you can enter it. It will remember
it for the next time.

Why anyone would design software like that is beyond me. But hey.

Cheers
 - t


signature.asc
Description: Digital signature


Re: need help on setting up thunderbird

2021-08-04 Thread Bret Busby

On 5/8/21 7:38 am, loushanguan2...@sina.com wrote:

mail provider gives me 16-character-long authorization code for smtp server
(something like 77c93457b12ab54a)
i can't enter it in thunderbird

in Account Settings/Outgoing Sever dialog
Port should be 587
which shall i choose for "Connection security" and "Authentication method"?




You might be interested in subscribing to, and, posting your query (and 
other applicable queries) to, the two Thunderbird users mailing lists at 
groups.io .


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



need help on setting up thunderbird

2021-08-04 Thread loushanguan2015
mail provider gives me 16-character-long authorization code for smtp 
server(something like 77c93457b12ab54a)i can't enter it in thunderbird

in Account Settings/Outgoing Sever dialogPort should be 587which shall i choose 
for "Connection security" and "Authentication method"?



Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-10 Thread Michael Lange
On Fri, 09 Jul 2021 22:14:23 +0300
Anssi Saari  wrote:

> Joerg Kampmann  writes:
> 
> > Hello group I wanted to install ffmpeg under Debian 9 and got some
> > errormessages (in German): 
> 
> How about errormessages not in German? LANG=en_US.utf8 apt install
> ffmpeg?
> 
> >  ffmpeg : Hängt ab von: libavcodec58 (>= 10:4.1.6) soll aber nicht
> > installiert werden
> 
> https://packages.debian.org/stretch/ffmpeg says ffmpeg in Stretch
> depends on libavcodec57, not 58. Could it be you've configured Debian
> Multimedia repository for Debian 10 for your Debian 9 system?
> 

That's what I thought. Years ago the OP might have added something to the
sources.list like

deb http://ftp.uni-kl.de/debian-multimedia/ stable main

Unfortunately now stable points to buster (debian 10).
Changing this to something like

deb http://www.deb-multimedia.org stretch main

might help.

Regards
Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

Actual war is a very messy business.  Very, very messy business.
-- Kirk, "A Taste of Armageddon", stardate 3193.0



Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Stefan Monnier
> 2. repair my situation - I cannot go to Debian 10 right now (I posted the
>   reason somewhere here - mouse ist awfully slow and jumpy))

You might want to try `aptitude` instead of `apt`: it will try to offer
ways to fix the problem (by removing package).
The solutions it offers can sometimes take a long time to come up
(because it performs a search through a large search tree), and it may
have effects you won't like, so carefully review the solutions proposed.


Stefan



Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Kampmann

Heureka ...

I did an aptitude ... and got the following (and the quit!!! - but do I 
know whether my system is ok???):


root@primergy:~/software-env# aptitude install ffmpeg
Warning: Invalid locale (please review locale settings, this might lead 
to problems later):

  locale::facet::_S_create_c_locale name not valid
The following NEW packages will be installed:
  ffmpeg libaom0{a} libass9{ab} libavcodec58{ab} libavdevice58{ab} 
libavfilter7{ab} libavformat58{ab}
  libavresample4{a} libavutil56{ab} libbluray2{ab} libcdio-cdda2{a} 
libcdio-paranoia2{a} libcdio19{ab}
  libfdk-aac2{a} libkvazaar4{a} libmfx1{ab} libopenh264-5{ab} 
libpostproc55{a} libswresample3{a}
  libswscale5{a} libvidstab1.1{a} libvpx6{ab} libx264-157{ab} 
libx265-176{a} libzimg2{ab}

The following packages will be upgraded:
  librubberband2{b}
1 packages upgraded, 25 newly installed, 0 to remove and 29 not upgraded.
Need to get 15.4 MB of archives. After unpacking 56.1 MB will be used.
The following packages have unmet dependencies:
 libavformat58 : Depends: libc6 (>= 2.28) but 2.24-11+deb9u4 is installed
 Depends: libgcrypt20 (>= 1.8.0) but 1.7.6-2+deb9u4 is 
installed
 Depends: libopenmpt0 (>= 0.3.0) but 
0.2.7386~beta20.3-3+deb9u4 is installed

 libavfilter7 : Depends: libc6 (>= 2.27) but 2.24-11+deb9u4 is installed
    Depends: libfontconfig1 (>= 2.12.6) but 2.11.0-6.7+b1 
is installed
    Depends: libtesseract4 which is a virtual package and 
is not provided by any available package


    Depends: libva2 (>= 1.7.3) which is a virtual package 
and is not provided by any available package


 libopenh264-5 : Depends: libc6 (>= 2.27) but 2.24-11+deb9u4 is installed
 libcdio19 : Depends: libc6 (>= 2.27) but 2.24-11+deb9u4 is installed
 librubberband2 : Depends: libc6 (>= 2.27) but 2.24-11+deb9u4 is installed
 libvpx6 : Depends: libc6 (>= 2.27) but 2.24-11+deb9u4 is installed
 libx264-157 : Depends: libc6 (>= 2.27) but 2.24-11+deb9u4 is installed
 libass9 : Depends: libfontconfig1 (>= 2.12) but 2.11.0-6.7+b1 is installed
 libzimg2 : Depends: libc6 (>= 2.27) but 2.24-11+deb9u4 is installed
 libavcodec58 : Depends: libc6 (>= 2.27) but 2.24-11+deb9u4 is installed
    Depends: libcodec2-0.8.1 which is a virtual package and 
is not provided by any available package


    Depends: libgsm1 (>= 1.0.18) but 1.0.13-4+b2 is installed
    Depends: libva2 (>= 2.2.0) which is a virtual package 
and is not provided by any available package


    Depends: libwebpmux3 (>= 0.6.1-2) which is a virtual 
package and is not provided by any available package


 libavutil56 : Depends: libc6 (>= 2.28) but 2.24-11+deb9u4 is installed
   Depends: libva-drm2 (>= 1.1.0) which is a virtual 
package and is not provided by any available package


   Depends: libva-x11-2 (>= 1.0.3) which is a virtual 
package and is not provided by any available package


   Depends: libva2 (>= 1.8.0) which is a virtual package 
and is not provided by any available package


 libavdevice58 : Depends: libc6 (>= 2.28) but 2.24-11+deb9u4 is installed
 Depends: libsdl2-2.0-0 (>= 2.0.9) but it is not going 
to be installed
 libmfx1 : Depends: libva-drm2 (>= 1.1.0) which is a virtual package 
and is not provided by any available package


   Depends: libva-x11-2 (>= 1.0.3) which is a virtual package 
and is not provided by any available package


   Depends: libva2 (>= 1.0.3) which is a virtual package and is 
not provided by any available package


 libbluray2 : Depends: libfontconfig1 (>= 2.12.6) but 2.11.0-6.7+b1 is 
installed

The following actions will resolve these dependencies:

  Keep the following packages at their current version:
1)  ffmpeg [Not Installed]
2)  libass9 [Not Installed]
3)  libavcodec58 [Not Installed]
4)  libavdevice58 [Not Installed]
5)  libavfilter7 [Not Installed]
6)  libavformat58 [Not Installed]
7)  libavresample4 [Not Installed]
8)  libavutil56 [Not Installed]
9)  libbluray2 [Not Installed]
10) libcdio-cdda2 [Not Installed]
11) libcdio-paranoia2 [Not Installed]
12) libcdio19 [Not Installed]
13) libmfx1 [Not Installed]
14) libopenh264-5 [Not Installed]
15) libpostproc55 [Not Installed]
16) librubberband2 [1.8.1-7 (now, oldstable)]
17) libswresample3 [Not Installed]
18) libswscale5 [Not Installed]
19) libvpx6 [Not Installed]
20) libx264-157 [Not Installed]
21) libzimg2 [Not Installed]




--
=
Joerg Kampmann, Dr. Dipl.-Phys - IBK-Consult for Climate Physics - non-profit -
D-31228 Peine +49-177-276-3140
www.ibk-consult.de - www.kampmannpeine.org
www.xing.com/hp/Joerg_Kampmann
www.xing.com/net/mathe
www.researchgate.net/profile/Joerg_Kampmann - 
https://independent.academia.edu/J%C3%B6rgKampmann

Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Greg Wooledge
On Fri, Jul 09, 2021 at 11:13:47PM +0200, Joerg Kampmann wrote:
> Die folgenden Pakete haben unerfüllte Abhängigkeiten:
>  libavcodec-dev : Hängt ab von: libavcodec58 (= 10:4.1.6-dmo1+deb10u1) soll

There we have it.

You have added a debian-multimedia (dmo) source intended to be used
with Debian 10 (deb10).

This is incompatible with Debian 9.

You'll want to remove the inappropriate sources, as I said in my original
reply.  Then purge any and all packages that contain "deb10" in their
version strings.

That may not cure *everything* but it's a start.



Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Joerg Kampmann



Am 09.07.21 um 22:47 schrieb Stefan Monnier:

2. repair my situation - I cannot go to Debian 10 right now (I posted the
   reason somewhere here - mouse ist awfully slow and jumpy))

You might want to try `aptitude` instead of `apt`: it will try to offer
ways to fix the problem (by removing package).
The solutions it offers can sometimes take a long time to come up
(because it performs a search through a large search tree), and it may
have effects you won't like, so carefully review the solutions proposed.


 Stefan


I think I now know what went wrong - AND I do not know how to revert!!!:


some days ago I did unadvertantly:

root@primergy:/home/joerg# apt-get install \
>  build-essential \
>  cmake \
>  git \
>  libmbedtls-dev \
>  libasound2-dev \
>  libavcodec-dev \ #!!!
>  libavdevice-dev \
>  libavfilter-dev \
>  libavformat-dev \
>  libavutil-dev \
>  libcurl4-openssl-dev \
>  libfdk-aac-dev \
>  libfontconfig-dev \
>  libfreetype6-dev \
>  libglvnd-dev \
>  libjack-jackd2-dev \
>  libjansson-dev \
>  libluajit-5.1-dev \
>  libpulse-dev \
>  libqt5x11extras5-dev \
>  libspeexdsp-dev \
>  libswresample-dev \
>  libswscale-dev \
>  libudev-dev \
>  libv4l-dev \
>  libvlc-dev \
>  libwayland-dev \
>  libx11-dev \
>  libx264-dev \
>  libxcb-shm0-dev \
>  libxcb-xinerama0-dev \
>  libxcomposite-dev \
>  libxinerama-dev \
>  pkg-config \
>  python3-dev \
>  qtbase5-dev \
>  qtbase5-private-dev \
>  libqt5svg5-dev \
>  swig \
>  libxcb-randr0-dev \
>  libxcb-xfixes0-dev \
>  libx11-xcb-dev \
>  libxcb1-dev \
>  libxss-dev \
>  qtwayland5 \
>  libgles2-mesa \
>  libgles2-mesa-dev
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen Fertig
Hinweis: »libfontconfig1-dev« wird an Stelle von »libfontconfig-dev« 
gewählt.

libgles2-mesa ist schon die neueste Version (13.0.6-1+b2).
libgles2-mesa wurde als manuell installiert festgelegt.
pkg-config ist schon die neueste Version (0.29-4+b1).
pkg-config wurde als manuell installiert festgelegt.
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 libavcodec-dev : Hängt ab von: libavcodec58 (= 10:4.1.6-dmo1+deb10u1) 
soll aber nicht installiert werden
 libavdevice-dev : Hängt ab von: libavdevice58 (= 
10:4.1.6-dmo1+deb10u1) soll aber nicht installiert werden
   Hängt ab von: libpostproc-dev (>= 
10:4.1.6-dmo1+deb10u1) soll aber nicht installiert werden
   Hängt ab von: libavresample-dev (>= 
10:4.1.6-dmo1+deb10u1) soll aber nicht installiert werden
 libavfilter-dev : Hängt ab von: libavfilter7 (= 10:4.1.6-dmo1+deb10u1) 
soll aber nicht installiert werden
   Hängt ab von: libpostproc-dev (>= 
10:4.1.6-dmo1+deb10u1) soll aber nicht installiert werden
   Hängt ab von: libavresample-dev (>= 
10:4.1.6-dmo1+deb10u1) soll aber nicht installiert werden
 libavformat-dev : Hängt ab von: libavformat58 (= 
10:4.1.6-dmo1+deb10u1) soll aber nicht installiert werden
 libavutil-dev : Hängt ab von: libavutil56 (= 10:4.1.6-dmo1+deb10u1) 
soll aber nicht installiert werden
 libglvnd-dev : Hängt ab von: libegl-dev (>= 1.3.0-1) soll aber nicht 
installiert werden

    Hängt ab von: libgl-dev (>= 1.3.0-1)
    Hängt ab von: libgles-dev (>= 1.3.0-1) soll aber nicht 
installiert werden
    Hängt ab von: libglx-dev (>= 1.3.0-1) soll aber nicht 
installiert werden
 libswresample-dev : Hängt ab von: libswresample3 (= 
10:4.1.6-dmo1+deb10u1) soll aber nicht installiert werden
 libswscale-dev : Hängt ab von: libswscale5 (= 10:4.1.6-dmo1+deb10u1) 
soll aber nicht installiert werden
 libvlc-dev : Hängt ab von: libvlc5 (= 1:3.0.12-dmo0+deb10u2) soll aber 
nicht installiert werden
 libx264-dev : Hängt ab von: libx264-157 (= 
4:0.157.2980+git34c06d1-dmo1+deb10u2) soll aber nicht installiert werden
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene 
defekte Pakete.





Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Joerg Kampmann



Am 09.07.21 um 21:44 schrieb Greg Wooledge:

On Fri, Jul 09, 2021 at 09:36:00PM +0200, Kampmann wrote:

The following packages have unmet dependencies:
  libavcodec58 : Depends: libavutil56 (>= 10:4.1.6) but it is not going to be
installed
     Depends: libc6 (>= 2.27) but 2.24-11+deb9u4 is to be
installed

This is a really powerful indicator that you've mixed sources which
are either from, or for, different Debian releases.  Or mixed Debian
sources and non-Debian sources.

The "libc6 (>= 2.27)" dependency is identical to the libc6 dependency
on the *buster* (Debian 10) version of libavcodec58.  (Which is a
package that does not even exist in Debian 9.)  So, it looks like you've
either got a buster (Debian 10) source, or you've got some third-party
source that was meant to be used with Debian 10.

You can't use Debian 10 sources on Debian 9.


this really seems to be the clue, however: how do I get

1. information on the installed packages?

2. repair my situation - I cannot go to Debian 10 right now (I posted 
the reason somewhere here - mouse ist awfully slow and jumpy))





Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Brian
On Fri 09 Jul 2021 at 15:40:21 -0400, Greg Wooledge wrote:

> On Fri, Jul 09, 2021 at 08:37:03PM +0100, Brian wrote:
> > On Fri 09 Jul 2021 at 15:05:20 -0400, Greg Wooledge wrote:
> > 
> > > On Fri, Jul 09, 2021 at 08:41:17PM +0200, Joerg Kampmann wrote:
> > > > Hello - I tried to install ffmpeg (a normal Debian package) and got some
> > > > strange messages. the ffmpeg-group adviced me to go to a Debian group. I
> > > > hope I am correct here in this group.
> > > > 
> > > > I am running Debian 9 on a Fujitsu TX 100 S1 computer ...
> > > 
> > > This is not the current stable release.  You may wish to *consider*
> > > upgrading, as running older releases tends to be incompatible with
> > > the desire to install recent versions of web browsers, video players,
> > > and other large and complicated packages.
> > 
> > The OP says:
> > 
> >   Hello - I tried to install ffmpeg...
> > 
> > This is on Debian 9. Either it installs or it doesn't. It did for me.
> > 
> > Not being the current release seems neither here nor there.
> 
> We shall see.
> 
> I have a theory that they tried to add buster sources (or
> buster-backports, or some third-party repository meant for buster)
> because they wanted newer stuff than was available in stretch or
> stretch-backports.  Frankendebian ensued.

You can have whatever theory you devised. My statement is rock-solid.

-- 
Brian.
> 



Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Greg Wooledge
On Fri, Jul 09, 2021 at 09:36:00PM +0200, Kampmann wrote:
> The following packages have unmet dependencies:
>  libavcodec58 : Depends: libavutil56 (>= 10:4.1.6) but it is not going to be
> installed
>     Depends: libc6 (>= 2.27) but 2.24-11+deb9u4 is to be
> installed

This is a really powerful indicator that you've mixed sources which
are either from, or for, different Debian releases.  Or mixed Debian
sources and non-Debian sources.

The "libc6 (>= 2.27)" dependency is identical to the libc6 dependency
on the *buster* (Debian 10) version of libavcodec58.  (Which is a
package that does not even exist in Debian 9.)  So, it looks like you've
either got a buster (Debian 10) source, or you've got some third-party
source that was meant to be used with Debian 10.

You can't use Debian 10 sources on Debian 9.



Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Kampmann



Am 09.07.21 um 21:40 schrieb Greg Wooledge:

On Fri, Jul 09, 2021 at 08:37:03PM +0100, Brian wrote:

On Fri 09 Jul 2021 at 15:05:20 -0400, Greg Wooledge wrote:


On Fri, Jul 09, 2021 at 08:41:17PM +0200, Joerg Kampmann wrote:

Hello - I tried to install ffmpeg (a normal Debian package) and got some
strange messages. the ffmpeg-group adviced me to go to a Debian group. I
hope I am correct here in this group.

I am running Debian 9 on a Fujitsu TX 100 S1 computer ...

This is not the current stable release.  You may wish to *consider*
upgrading, as running older releases tends to be incompatible with
the desire to install recent versions of web browsers, video players,
and other large and complicated packages.

The OP says:

   Hello - I tried to install ffmpeg...

This is on Debian 9. Either it installs or it doesn't. It did for me.

Not being the current release seems neither here nor there.

We shall see.

I have a theory that they tried to add buster sources (or
buster-backports, or some third-party repository meant for buster)
because they wanted newer stuff than was available in stretch or
stretch-backports.  Frankendebian ensued.

Frankendebian???



Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Kampmann



Am 09.07.21 um 21:37 schrieb Brian:

On Fri 09 Jul 2021 at 15:05:20 -0400, Greg Wooledge wrote:


On Fri, Jul 09, 2021 at 08:41:17PM +0200, Joerg Kampmann wrote:

Hello - I tried to install ffmpeg (a normal Debian package) and got some
strange messages. the ffmpeg-group adviced me to go to a Debian group. I
hope I am correct here in this group.

I am running Debian 9 on a Fujitsu TX 100 S1 computer ...

This is not the current stable release.  You may wish to *consider*
upgrading, as running older releases tends to be incompatible with
the desire to install recent versions of web browsers, video players,
and other large and complicated packages.
yes I know, however I am running a rather old machine (TX 100 S1 from 
Fujitsu) and already tried to install Debian 10 which made my 
mouse-pointer awfully slow and "jumpy" ... therefore I stay with Debian 
9 - however I try moving with the Debian 10 - trial-disk - but at a 
later time in August ...

The OP says:

   Hello - I tried to install ffmpeg...

This is on Debian 9. Either it installs or it doesn't. It did for me.

Not being the current release seems neither here nor there.


--
=
Joerg Kampmann, Dr. Dipl.-Phys - IBK-Consult for Climate Physics - non-profit -
D-31228 Peine +49-177-276-3140
www.ibk-consult.de - www.kampmannpeine.org
www.xing.com/hp/Joerg_Kampmann
www.xing.com/net/mathe
www.researchgate.net/profile/Joerg_Kampmann - 
https://independent.academia.edu/J%C3%B6rgKampmann
===
This e-mail may contain confidential and/or legally protected information.
If you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and delete this e-mail. Any
unauthorized copying, disclosure use or distribution of the material in
this e-mail is strictly forbidden.
Diese E-Mail enthält vertrauliche und/oder rechtlich geschuetzte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich
erhalten haben, informieren Sie bitte sofort den Absender und loeschen
Sie diese Mail
===



Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Greg Wooledge
On Fri, Jul 09, 2021 at 08:37:03PM +0100, Brian wrote:
> On Fri 09 Jul 2021 at 15:05:20 -0400, Greg Wooledge wrote:
> 
> > On Fri, Jul 09, 2021 at 08:41:17PM +0200, Joerg Kampmann wrote:
> > > Hello - I tried to install ffmpeg (a normal Debian package) and got some
> > > strange messages. the ffmpeg-group adviced me to go to a Debian group. I
> > > hope I am correct here in this group.
> > > 
> > > I am running Debian 9 on a Fujitsu TX 100 S1 computer ...
> > 
> > This is not the current stable release.  You may wish to *consider*
> > upgrading, as running older releases tends to be incompatible with
> > the desire to install recent versions of web browsers, video players,
> > and other large and complicated packages.
> 
> The OP says:
> 
>   Hello - I tried to install ffmpeg...
> 
> This is on Debian 9. Either it installs or it doesn't. It did for me.
> 
> Not being the current release seems neither here nor there.

We shall see.

I have a theory that they tried to add buster sources (or
buster-backports, or some third-party repository meant for buster)
because they wanted newer stuff than was available in stretch or
stretch-backports.  Frankendebian ensued.



Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Brian
On Fri 09 Jul 2021 at 15:05:20 -0400, Greg Wooledge wrote:

> On Fri, Jul 09, 2021 at 08:41:17PM +0200, Joerg Kampmann wrote:
> > Hello - I tried to install ffmpeg (a normal Debian package) and got some
> > strange messages. the ffmpeg-group adviced me to go to a Debian group. I
> > hope I am correct here in this group.
> > 
> > I am running Debian 9 on a Fujitsu TX 100 S1 computer ...
> 
> This is not the current stable release.  You may wish to *consider*
> upgrading, as running older releases tends to be incompatible with
> the desire to install recent versions of web browsers, video players,
> and other large and complicated packages.

The OP says:

  Hello - I tried to install ffmpeg...

This is on Debian 9. Either it installs or it doesn't. It did for me.

Not being the current release seems neither here nor there.

-- 
Brian.
 



Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Kampmann

Ok, thanks - here we go :) :

(base) joerg@primergy:~$ su
Passwort:
root@primergy:/home/joerg# export LANG=en_US.utf8
root@primergy:/home/joerg# apt install ffmpeg
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ffmpeg : Depends: libavcodec58 (>= 10:4.1.6) but it is not going to be 
installed
  Depends: libavdevice58 (>= 10:4.1.6) but it is not going to 
be installed
  Depends: libavfilter7 (>= 10:4.1.6) but it is not going to be 
installed
  Depends: libavformat58 (>= 10:4.1.6) but it is not going to 
be installed
  Depends: libavresample4 (>= 10:4.1.6) but it is not going to 
be installed
  Depends: libavutil56 (>= 10:4.1.6) but it is not going to be 
installed
  Depends: libpostproc55 (>= 10:4.1.6) but it is not going to 
be installed
  Depends: libswresample3 (>= 10:4.1.6) but it is not going to 
be installed
  Depends: libswscale5 (>= 10:4.1.6) but it is not going to be 
installed

E: Unable to correct problems, you have held broken packages.
root@primergy:/home/joerg# apt install libavcodec58
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libavcodec58 : Depends: libavutil56 (>= 10:4.1.6) but it is not going 
to be installed
    Depends: libc6 (>= 2.27) but 2.24-11+deb9u4 is to be 
installed

    Depends: libcodec2-0.8.1 but it is not installable
    Depends: libgsm1 (>= 1.0.18) but 1.0.13-4+b2 is to be 
installed   --- this is completely non-understandable

    Depends: libmfx1 but it is not going to be installed
    Depends: libopenh264-5 (>= 2.0.0) but it is not going 
to be installed
    Depends: libswresample3 (>= 10:4.1.6) but it is not 
going to be installed

    Depends: libva2 (>= 2.2.0) but it is not installable
   --- this is completely non-understandable    Depends: 
libvpx6 (>= 1.8.1) but it is not going to be installed

    Depends: libwebpmux3 (>= 0.6.1-2) but it is not installable
    Depends: libx264-157 (>= 4:0.157.2980+git34c06d1) but 
it is not going to be installed

E: Unable to correct problems, you have held broken packages.
root@primergy:/home/joerg#

Am 09.07.21 um 21:14 schrieb Anssi Saari:

Joerg Kampmann  writes:


Hello group I wanted to install ffmpeg under Debian 9 and got some 
errormessages (in German):

How about errormessages not in German? LANG=en_US.utf8 apt install ffmpeg?


  ffmpeg : Hängt ab von: libavcodec58 (>= 10:4.1.6) soll aber nicht
installiert werden

https://packages.debian.org/stretch/ffmpeg says ffmpeg in Stretch
depends on libavcodec57, not 58. Could it be you've configured Debian
Multimedia repository for Debian 10 for your Debian 9 system?


--
=
Joerg Kampmann, Dr. Dipl.-Phys - IBK-Consult for Climate Physics - non-profit -
D-31228 Peine +49-177-276-3140
www.ibk-consult.de - www.kampmannpeine.org
www.xing.com/hp/Joerg_Kampmann
www.xing.com/net/mathe
www.researchgate.net/profile/Joerg_Kampmann - 
https://independent.academia.edu/J%C3%B6rgKampmann
===
This e-mail may contain confidential and/or legally protected information.
If you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and delete this e-mail. Any
unauthorized copying, disclosure use or distribution of the material in
this e-mail is strictly forbidden.
Diese E-Mail enthält vertrauliche und/oder rechtlich geschuetzte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich
erhalten haben, informieren Sie bitte sofort den Absender und loeschen
Sie diese Mail
===



Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Anssi Saari
Joerg Kampmann  writes:

> Hello group I wanted to install ffmpeg under Debian 9 and got some 
> errormessages (in German): 

How about errormessages not in German? LANG=en_US.utf8 apt install ffmpeg?

>  ffmpeg : Hängt ab von: libavcodec58 (>= 10:4.1.6) soll aber nicht
> installiert werden

https://packages.debian.org/stretch/ffmpeg says ffmpeg in Stretch
depends on libavcodec57, not 58. Could it be you've configured Debian
Multimedia repository for Debian 10 for your Debian 9 system?



Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Kampmann


Am 09.07.21 um 21:04 schrieb Brian:

On Fri 09 Jul 2021 at 20:41:17 +0200, Joerg Kampmann wrote:


Hello - I tried to install ffmpeg (a normal Debian package) and got some
strange messages. the ffmpeg-group adviced me to go to a Debian group. I
hope I am correct here in this group.

You have kept these "strange" meaages secret. How could anyone work
out what is going on?
I am sorry - however I posted a rather long "strange" stuff here. I 
evidently disappeared :) - can you explain that?

I am running Debian 9 on a Fujitsu TX 100 S1 computer ...

ffmpeg is known to be installable on Debian 9.


--
=
Joerg Kampmann, Dr. Dipl.-Phys - IBK-Consult for Climate Physics - non-profit -
D-31228 Peine +49-177-276-3140
www.ibk-consult.de - www.kampmannpeine.org
www.xing.com/hp/Joerg_Kampmann
www.xing.com/net/mathe
www.researchgate.net/profile/Joerg_Kampmann - 
https://independent.academia.edu/J%C3%B6rgKampmann
===
This e-mail may contain confidential and/or legally protected information.
If you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and delete this e-mail. Any
unauthorized copying, disclosure use or distribution of the material in
this e-mail is strictly forbidden.
Diese E-Mail enthält vertrauliche und/oder rechtlich geschuetzte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich
erhalten haben, informieren Sie bitte sofort den Absender und loeschen
Sie diese Mail
===



Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Greg Wooledge
On Fri, Jul 09, 2021 at 08:41:17PM +0200, Joerg Kampmann wrote:
> Hello - I tried to install ffmpeg (a normal Debian package) and got some
> strange messages. the ffmpeg-group adviced me to go to a Debian group. I
> hope I am correct here in this group.
> 
> I am running Debian 9 on a Fujitsu TX 100 S1 computer ...

This is not the current stable release.  You may wish to *consider*
upgrading, as running older releases tends to be incompatible with
the desire to install recent versions of web browsers, video players,
and other large and complicated packages.

> /Hello group I wanted to install ffmpeg under Debian 9 and got some
> errormessages (in German):

For the purpose of posting to debian-user, you may wish to switch your
locale temporarily to English.  Since you're using a shell with root
privileges, the simplest way would probably be to run the command

export LANG=C

before your apt commands.  The LANG setting will go away when you exit
from the root shell.

> root@primergy:~# apt install ffmpeg
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut.
> Statusinformationen werden eingelesen Fertig
> Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
> Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
> Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
> nicht erstellt wurden oder Incoming noch nicht verlassen haben.
> Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:
> 
> Die folgenden Pakete haben unerfüllte Abhängigkeiten:
>  ffmpeg : Hängt ab von: libavcodec58 (>= 10:4.1.6) soll aber nicht
> installiert werden
>   Hängt ab von: libavdevice58 (>= 10:4.1.6) soll aber nicht
> installiert werden
>   Hängt ab von: libavfilter7 (>= 10:4.1.6) soll aber nicht
> installiert werden
>   Hängt ab von: libavformat58 (>= 10:4.1.6) soll aber nicht
> installiert werden
>   Hängt ab von: libavresample4 (>= 10:4.1.6) soll aber nicht
> installiert werden
>   Hängt ab von: libavutil56 (>= 10:4.1.6) soll aber nicht
> installiert werden
>   Hängt ab von: libpostproc55 (>= 10:4.1.6) soll aber nicht
> installiert werden
>   Hängt ab von: libswresample3 (>= 10:4.1.6) soll aber nicht
> installiert werden
>   Hängt ab von: libswscale5 (>= 10:4.1.6) soll aber nicht
> installiert werden
> E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene
> defekte Pakete.

These dependencies are *not* correct for a Debian 9 installation.

According to  the dependencies
should be   libavcodec57 (>= 7:3.2.14)   and so on.

This means you've probably got repositories other than the stretch
(Debian 9) sources, and these are causing a conflict.

If this were my system, I would first remove all of the non-Debian-9
sources and run "apt-get update".  If ffmpeg still can't be installed
after that, then it's possible you have already installed some of the
dependencies from non-Debian-9 sources, and you may need to remove
those.  This could cascade into a full disaster if you're unlucky.  This
is why we normally recommend against mixing sources from multiple Debian
versions, or using sketchy outside sources.



Re: Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Brian
On Fri 09 Jul 2021 at 20:41:17 +0200, Joerg Kampmann wrote:

> Hello - I tried to install ffmpeg (a normal Debian package) and got some
> strange messages. the ffmpeg-group adviced me to go to a Debian group. I
> hope I am correct here in this group.

You have kept these "strange" meaages secret. How could anyone work
out what is going on?

> I am running Debian 9 on a Fujitsu TX 100 S1 computer ...

ffmpeg is known to be installable on Debian 9.

-- 
Brian.



Need help with ffmpeg installation - strange behaviour of my system - am I correct here?

2021-07-09 Thread Joerg Kampmann
Hello - I tried to install ffmpeg (a normal Debian package) and got some 
strange messages. the ffmpeg-group adviced me to go to a Debian group. I 
hope I am correct here in this group.


I am running Debian 9 on a Fujitsu TX 100 S1 computer ...


/base) joerg@primergy:~$ uname -a
Linux primergy 4.9.0-16-amd64 #1 SMP Debian 4.9.272-1 (2021-06-21) 
x86_64 GNU/Linux

(base) joerg@primergy:~$
/

Here is the dialogue I had in the *ffmpeg*-group;

Am 09.07.21 um 11:31 schrieb Kampmann/:
Thanks - that is strange. Do you have any clues?

/Am 09.07.21 um 11:16 schrieb Reindl Harald/:
that's a problem with your distribution and not ffmpeg specific

/Am 09.07.21 um 11:06 schrieb Joerg Kampmann:

/Hello group I wanted to install ffmpeg under Debian 9 and got some 
errormessages (in German):


root@primergy:~# apt install ffmpeg
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu 
lösen:


Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 ffmpeg : Hängt ab von: libavcodec58 (>= 10:4.1.6) soll aber nicht 
installiert werden
  Hängt ab von: libavdevice58 (>= 10:4.1.6) soll aber nicht 
installiert werden
  Hängt ab von: libavfilter7 (>= 10:4.1.6) soll aber nicht 
installiert werden
  Hängt ab von: libavformat58 (>= 10:4.1.6) soll aber nicht 
installiert werden
  Hängt ab von: libavresample4 (>= 10:4.1.6) soll aber nicht 
installiert werden
  Hängt ab von: libavutil56 (>= 10:4.1.6) soll aber nicht 
installiert werden
  Hängt ab von: libpostproc55 (>= 10:4.1.6) soll aber nicht 
installiert werden
  Hängt ab von: libswresample3 (>= 10:4.1.6) soll aber nicht 
installiert werden
  Hängt ab von: libswscale5 (>= 10:4.1.6) soll aber nicht 
installiert werden
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene 
defekte Pakete.

root@primergy:~#
/

/and a 2nd mail on this issue:

I tried to install one of the "not-installed" modules and got the following

root@primergy:~/software-env# apt install libavcodec58
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu 
lösen:


Die folgenden Pakete haben unerfüllte Abhängigkeiten:
  libavcodec58 : Hängt ab von: libavutil56 (>= 10:4.1.6) soll aber 
nicht installiert werden
 Hängt ab von: libc6 (>= 2.27) aber 2.24-11+deb9u4 soll 
installiert werden  # here another version should be installed
 Hängt ab von: libcodec2-0.8.1 ist aber nicht 
installierbar
 Hängt ab von: libgsm1 (>= 1.0.18) aber 1.0.13-4+b2 
soll installiert werden
 Hängt ab von: libmfx1 soll aber nicht installiert 
werden # this module is not 
installable - why?
 Hängt ab von: libopenh264-5 (>= 2.0.0) soll aber nicht 
installiert werden
 Hängt ab von: libswresample3 (>= 10:4.1.6) soll aber 
nicht installiert werden
 Hängt ab von: libva2 (>= 2.2.0) ist aber nicht 
installierbar# this module is not installable - why?


 Hängt ab von: libvpx6 (>= 1.8.1) soll aber nicht 
installiert werden
 Hängt ab von: libwebpmux3 (>= 0.6.1-2) ist aber nicht 
installierbar

 # this module is not installable - why?
 Hängt ab von: libx264-157 (>= 4:0.157.2980+git34c06d1) 
soll aber nicht installiert werden
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene 
defekte Pakete. //

/




Re: need help on playing m3u8 file with mplayer

2021-05-13 Thread Dan Ritter
Long Wind wrote: 
> m3u8 file include a line below
> #EXT-X-KEY:METHOD=AES-128,URI="https://ts-qsg.qinbuyan666.com/20210511/Ql6iBJVB/1100kb/hls/key.key;
> 
> i want to change it to local file:
> #EXT-X-KEY:METHOD=AES-128,URI="file:///home/zhou/key.key"
> it doesn't work, mplayer complains: 
> 
> [hls,applehttp @ 0xb7791e20]Filename extension of 'file:///home/zhou/key.key' 
> is not a common multimedia extension, blocked for security reasons.
> If you wish to override this adjust allowed_extensions, you can set it to 
> 'ALL' to allow all
> Unable to open key file file:///home/zhou/key.key
> 
> how to solve it?? Thanks!

It says it is an AES-128 encryption key, not a piece of
media.

-dsr-



need help on playing m3u8 file with mplayer

2021-05-13 Thread Long Wind
m3u8 file include a line below
#EXT-X-KEY:METHOD=AES-128,URI="https://ts-qsg.qinbuyan666.com/20210511/Ql6iBJVB/1100kb/hls/key.key;

i want to change it to local file:
#EXT-X-KEY:METHOD=AES-128,URI="file:///home/zhou/key.key"
it doesn't work, mplayer complains: 

[hls,applehttp @ 0xb7791e20]Filename extension of 'file:///home/zhou/key.key' 
is not a common multimedia extension, blocked for security reasons.
If you wish to override this adjust allowed_extensions, you can set it to 'ALL' 
to allow all
Unable to open key file file:///home/zhou/key.key

how to solve it?? Thanks!


Re: Need help finding the right package under which to report a bug

2021-04-18 Thread Sven Joachim
On 2021-04-18 12:31 +0800, Robbi Nespu wrote:

> A quick or temporary solution are to git clone
> https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
> and copy thus selection (warning line) of missing modules to
> /lib/firmware/amdgpu/
>
> (Don't try my solution if you are novice).

I would rather live with the warnings unless I actually had a GPU which
needs this firmware.  Don't know if you can actually buy these yet.

> Look like the bug are the 5.10.0-6-amd64 kernel.

No, it is in the firmware-amd-graphics package.  A bug report against
this package could help to remind the maintainers that they should
include the arcturus firmware in future uploads.

Cheers,
   Sven



Re: Need help finding the right package under which to report a bug

2021-04-17 Thread Robbi Nespu

On 4/18/21 12:31 PM, Robbi Nespu wrote:



I hope my guess is right. It on recently added on kernel up stream, I 
can see the log here


https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/amdgpu


--
Email : Robbi Nespu 
PGP fingerprint : D311 B5FF EEE6 0BE8 9C91 FA9E 0C81 FA30 3B3A 80BA
PGP key : https://keybase.io/robbinespu/pgp_keys.asc



Re: Need help finding the right package under which to report a bug

2021-04-17 Thread Robbi Nespu

Hello

On 4/18/21 10:08 AM, Joshua Brickel wrote:
I am using bullseye and when I perform an update (apt-get dist-upgrade)  
to the system I get get the following messages.  I'm not sure if this is 
an intramfs-tools issue or a firmware-amd-graphics issue.  I have the 
latest version firmware/lib/firmware/-amd-graphics installed.


Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-6-amd64
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_gpu_info.bin 
for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_ta.bin 
for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_sos.bin 
for module amdgpu
W: Possible missing firmware /lib/fJoshua Brickelirmware/amdgpu/arcturus_ta.bin for 
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_asd.bin for 
module amdgpuJoshua Brickel
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_sos.bin for 
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_rlc.bin for 
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_mec2.bin for 
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_mec.bin for 
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_rlc.bin 
for module amdgpuJoshua Brickel
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_mec2.bin 
for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_mec.bin 
for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_me.bin 
for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_pfp.bin 
for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_ce.bin 
for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_sdma.bin for 
module amdgpu
W: Possible missing firmware /lib/firmwaJoshua Brickelre/amdgpu/navy_flounder_sdma.bin 
for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin 
for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for 
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_vcn.bin 
for module amdgpuJoshua Brickel
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_vcn.bin for 
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_floundtheer_smc.bin 
for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_smc.bin for 
module amdgpu
W: Possible missing firmware 
/lib/firmware/amdgpu/navy_flounder_dmcub.bin for module amdgpu




I hope my guess is right. It on recently added on kernel up stream, I 
can see the log here


A quick or temporary solution are to git clone 
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git 
and copy thus selection (warning line) of missing modules to 
/lib/firmware/amdgpu/


(Don't try my solution if you are novice).

Look like the bug are the 5.10.0-6-amd64 kernel.

--
Email : Robbi Nespu 
PGP fingerprint : D311 B5FF EEE6 0BE8 9C91 FA9E 0C81 FA30 3B3A 80BA
PGP key : https://keybase.io/robbinespu/pgp_keys.asc



Need help finding the right package under which to report a bug

2021-04-17 Thread Joshua Brickel
I am using bullseye and when I perform an update (apt-get dist-upgrade)  to
the system I get get the following messages.  I'm not sure if this is an
intramfs-tools issue or a firmware-amd-graphics issue.  I have the latest
version firmware-amd-graphics installed.

Processing triggers for initramfs-tools (0.140) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-6-amd64
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_gpu_info.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_ta.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_sos.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_ta.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_asd.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_sos.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_rlc.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_mec2.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_mec.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_rlc.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_mec2.bin
for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_mec.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_me.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_pfp.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_ce.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_sdma.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_sdma.bin
for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/sienna_cichlid_mes.bin
for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module
amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_vcn.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_vcn.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_smc.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/arcturus_smc.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navy_flounder_dmcub.bin
for module amdgpu


Re: Need Help

2021-02-10 Thread David Christensen

On 2021-02-10 13:48, David Christensen wrote:

On 09.02.2021 20:46, griffin...@verizon.net wrote:

Please see attached.


If the attachment is, say, 20 kB (8 pages) or less, please post.  If 
larger, please post the most relevant portions and provide a public URL 
for the rest.


I found the content (it was in the Junk folder):

System was working properly.  Then on start-up it ended up with
a screen showing  (initfamfs  --  Enter  'help' for a list of
built-in commands).  Also Run fsck  MANUALLY without  -a  or  -p
options.
How do I get into util-linux 2.33.1 to run  fsck  ??
Please let me know how to proceed to get the system running.


What is the make and model of the computer?  What options -- CPU, 
memory, drive(s)?  Please provide a URL to the manufacturer support page.



Do you remember the major version number of Debian -- e.g. 10, 9, 8, etc.?


Do you still have the installation media (CD, USB flash drive) used to 
install Debian onto that computer?



David



Re: Need Help

2021-02-10 Thread David Christensen

On 09.02.2021 20:46, griffin...@verizon.net wrote:

Please see attached.


If the attachment is, say, 20 kB (8 pages) or less, please post.  If 
larger, please post the most relevant portions and provide a public URL 
for the rest.



David



Re: Need Help

2021-02-10 Thread Alexander V. Makartsev

On 09.02.2021 20:46, griffin...@verizon.net wrote:

Please see attached.

Have you done something to the system prior to its failure?
Could you send more information about this system? Is it laptop or a 
stationary PC? Does it uses RAID? Is it "Buster" (Current Stable branch) 
installation?
Due to lack of information it could be hazardous to your data to run 
"fsck" blindly without getting any knowledge about root cause for the 
failure.
It is highly recommended to backup your data from the system before 
attempting any recovery procedures.


--
With kindest regards, Alexander.

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



Need Help

2021-02-09 Thread griffineng
Please see attached.


message1
Description: Binary data


Need help with RoboLinux Debian/GNU-Linux

2021-01-18 Thread Burkhard Salz
Hi, I just installed Robo Linux Debian/GNU-Linux but I can not play ALL DVD 
Movies like GI Joe on VLC Player. Please leave me your info what to because I 
am only a User.
Many thanks.
Burkhard Salz
Brahmsstrasse 27
53332 Bornheim/Germany
Codex*Höflichkeit und Menschlichkeit tut nicht weh*



Re: Need help -- Virtual Machine Manager

2020-09-05 Thread Fabien Roucaute
Le 05/09/2020 à 19:27, Dennis Wicks a écrit :

> Yes, everything is in the same box/host. I need to know how to mount a
> physical CD!
> TNX!
> 

You go in the menu View-> details-> CD-ROM, and then you select the
physical drive in the list (usually /dev/sr0)



Re: Need help -- Virtual Machine Manager

2020-09-05 Thread Dennis Wicks

Fabien Roucaute wrote on 9/5/20 1:40 AM:

Le 05/09/2020 à 01:57, Dennis Wicks a écrit :

I'm running Win10 with Virtual Machine Manager on Deb 10.4. How to I
attach my CD drive to Win10 so I can install some software?

Many TIA!
Dennis



Either the ISO or the CD-ROM need to be on the host. If KVM/libvirt
doesn't run on the machine running Virtual Machine Manager, you need to
create a pool for the ISO and upload the ISO there or to insert cd-rom
in the host CD drive.




Yes, everything is in the same box/host. I need to know how 
to mount a physical CD!

TNX!



Re: Need help -- Virtual Machine Manager

2020-09-05 Thread Fabien Roucaute
Le 05/09/2020 à 01:57, Dennis Wicks a écrit :
> I'm running Win10 with Virtual Machine Manager on Deb 10.4. How to I
> attach my CD drive to Win10 so I can install some software?
> 
> Many TIA!
> Dennis
> 

Either the ISO or the CD-ROM need to be on the host. If KVM/libvirt
doesn't run on the machine running Virtual Machine Manager, you need to
create a pool for the ISO and upload the ISO there or to insert cd-rom
in the host CD drive.



Need help -- Virtual Machine Manager

2020-09-04 Thread Dennis Wicks
I'm running Win10 with Virtual Machine Manager on Deb 10.4. 
How to I attach my CD drive to Win10 so I can install some 
software?


Many TIA!
Dennis



Re: Need help with PATH variable (i3/debian buster)

2020-07-30 Thread tomas
On Thu, Jul 30, 2020 at 08:46:24AM -0400, Greg Wooledge wrote:
> On Thu, Jul 30, 2020 at 11:56:27AM +0200, to...@tuxteam.de wrote:
> > Sigh. It /used/ to be simple.
> 
> Honestly, it never was [...]

C'm on. At least there was a finite set back then. These days, the
set is infinite, or at least its cardinality is in the realm where
Peano arithmetic isn't contradiction-free anymore ;-P

Cheers
-- t


signature.asc
Description: Digital signature


Re: Need help with PATH variable (i3/debian buster)

2020-07-30 Thread Klaus Singvogel
Greg Wooledge wrote:
> Every type of login follows a completely different set of steps for
> configuring your environment.  Reconciling these and achieving a uniform
> environment across all possible login types is *extremely* difficult,
> if not impossible.

It's more or less a layer model with different entry points into different
layers.

A GUI login performs a login type with more graphical features. Therefore,
when starting a shell is a subprocess of an already performed login, and a
.*login isn't required anymore.

Login on console instead executes the login shell.

Same is for a remote login like SSH (and for the old men: rsh).

And: a .profile (or .rc) is always executed, as it isn't related to
the circumstance, if it's a login process or a subprocess of a login.

Note: I'm starting a tcsh not a bash as my (login) shell. Therefore I'm
writing the file names in a more abstract way to fit for both.

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Need help with PATH variable (i3/debian buster)

2020-07-30 Thread Greg Wooledge
On Thu, Jul 30, 2020 at 11:56:27AM +0200, to...@tuxteam.de wrote:
> Sigh. It /used/ to be simple.

Honestly, it never was.  Even in the old days, users had different login
shell options, so if you wanted a consistent environment for csh and sh
users, for example, you had to write two different sets of changes.  And
then there were xdm logins, and remote shell logins, and so on.



Re: Need help with PATH variable (i3/debian buster)

2020-07-30 Thread Greg Wooledge
On Thu, Jul 30, 2020 at 11:21:54AM +0200, Benedikt Tuchen wrote:
> When I use no display manager like lightdm, I start i3 via startx in
> the console. If I do this dmenu and rofi are using my personal $PATH
> variable. For example it includes "$HOME/.local/bin". But when I
> use a display manager, dmenu and rofi do no longer have my personal
> $PATH entries. How can I change this behavior?

Every type of login follows a completely different set of steps for
configuring your environment.  Reconciling these and achieving a uniform
environment across all possible login types is *extremely* difficult,
if not impossible.

With a console login, your session consists of a login shell, with some
variables pre-populated by the login program, and by PAM.  The login
shell then reads various configuration files (in the case of bash, these
include /etc/profile and ~/.profile or possibly others; for other shells,
other files are read).

With a "regular" Display Manager login (lightdm, xdm, and so on), your
session is *not* a login shell, nor does it ever at any time include
a login shell, so files like /etc/profile and ~/.profile are never read.
At all.

With a GNOME (gdm3) login, you have *two* different session types: Wayland
or X11.  When gdm3 runs an X11 session, it's similar to the "regular" DM
from the previous paragraph.  However, when it runs a Wayland session,
a whole different set of configs is used.  I've never run Wayland in my
life, but people have said that the Debian Wayland session reads login
shell config files.  I don't know whether that's true, or which shell is
reading them, at what time, or anything.  You'll have to figure that out.

But you said lightdm and i3, not GNOME.  So we can skip all of the GNOME
horror for now.  And please believe me, there are *more* layers of GNOME
horror that I'm omitting here.  It's so much worse than you thought.

A lightdm login running a standard Debian X session reads one additional
file that is unique to Debian: ~/.xsessionrc .  You can configure
environment variables like PATH here, and they will be read and respected
by anything that runs a standard Debian X session.

See also .


Now, after all of that, you still need to consider what your Desktop
Environment does to your environment.  You may go through all of these
steps to set your environment *just* how you like it, only to find out
that in the end, your DE takes over, wipes out some variables, and
changes others.

I suspect i3 is much more traditional and hands-off about it, but I've
never used i3, so I can't say for sure.  You may be totally fine with
just the knowledge contained in this post.  But if you find that some
variables work and others simply do not, it might be because i3 is
resetting them.  It's just a thing to keep in mind.



Re: Need help with PATH variable (i3/debian buster)

2020-07-30 Thread tomas
On Thu, Jul 30, 2020 at 11:21:54AM +0200, Benedikt Tuchen wrote:
> Hello,
> 
> I got some strange behavior with my PATH variable and maybe somebody
> here can help me with this.
> 
> When I use no display manager like lightdm, I start i3 via startx in
> the console. If I do this dmenu and rofi are using my personal $PATH
> variable. For example it includes "$HOME/.local/bin". But when I
> use a display manager, dmenu and rofi do no longer have my personal
> $PATH entries. How can I change this behavior?
> 
> I've tried to find a solution for this but didn't found one. Maybe
> someone here know exactly what to do.

The short (but sometimes inaccurate) answer: ~/.xsession --  this is
(very roughly) the X Session equivalent to your ~/.profile and its
ilk.

The longer answer: man Xsession (5). Depending on whether you use a
desktop environment (and on how badly it has brutalised your X setup),
you'll have to find out what is missing where.

Look around /etc/X11/Xsession.options and /etc/X11/Xsession.d/* --
there is the machinery which decides whether and how to load your
personal X session stuff in ~/.xsession.

Sigh. It /used/ to be simple.

Cheers
-- t


signature.asc
Description: Digital signature


Need help with PATH variable (i3/debian buster)

2020-07-30 Thread Benedikt Tuchen
Hello,

I got some strange behavior with my PATH variable and maybe somebody
here can help me with this.

When I use no display manager like lightdm, I start i3 via startx in
the console. If I do this dmenu and rofi are using my personal $PATH
variable. For example it includes "$HOME/.local/bin". But when I
use a display manager, dmenu and rofi do no longer have my personal
$PATH entries. How can I change this behavior?

I've tried to find a solution for this but didn't found one. Maybe
someone here know exactly what to do.

Greetings,

Benedikt


signature.asc
Description: PGP signature


Re: Need help with debugging Apache on Debian 10.2

2020-01-17 Thread Angela Korra'ti
The PHP issues were primarily involved with Wordpress plugins. I had to go 
through and find several that were not compatible with PHP 7. I _think_ I found 
and fixed all of those, but it’s certainly possible that the issue might be 
caused by a bad plugin.

But I don’t know for sure. I’ve tried digging through Apache’s error.log and 
have not found any more obvious error messages to point me at things that need 
fixing.

I’ve tried uninstalling and reinstalling PHP, on the theory that I may have 
confused it by making the jump not only through multiple versions of Debian, 
but also multiple versions of PHP. And yes, I have the PHP mod active in 
Apache. 

Re: getting a core dump… that’s the part I need help with. I did get the 
debugger installed but I am not experienced with how to use it in a way that’d 
let me actually get useful data. 

The big blocking problem would seem to be that I don’t actually know what’s 
causing the problem, so I can’t trigger it on purpose. So it would seem that 
I’d need to run Apache with the debugger somehow in the hope that I’d actually 
catch the problem when it happens? But I don’t know how to do that either.

> On Jan 17, 2020, at 9:12 PM,   wrote:
> 
> I'd look first into that PHP part (I'm assuming you're running
> mod_php, so it's in the Apache binary, and a crash in PHP would
> crash the server, too).
> 
> Which kind of problems did you have with PHP?
> 
> Any possibility of getting a core dump you can look into with
> the debugger?
> 
> (Sorry for not looking at your web site -- bad connectivity
> at the moment),
> 
> Cheers
> -- tomás



Re: Need help with debugging Apache on Debian 10.2

2020-01-17 Thread tomas
On Fri, Jan 17, 2020 at 08:38:18PM -0800, Angela Korra'ti wrote:
> Yes we did, we did the upgrade in two distinct stages.
> We did run into roadblocks as we went, but those were
> mostly around PHP incompatibilities that we had to
> address to bring our sites back up.

I'd look first into that PHP part (I'm assuming you're running
mod_php, so it's in the Apache binary, and a crash in PHP would
crash the server, too).

Which kind of problems did you have with PHP?

Any possibility of getting a core dump you can look into with
the debugger?

(Sorry for not looking at your web site -- bad connectivity
at the moment),

Cheers
-- tomás


signature.asc
Description: Digital signature


Re: Need help with debugging Apache on Debian 10.2

2020-01-17 Thread Angela Korra'ti
P.S. Confirmed that systemctl reload apache2.service throws no errors.

> On Jan 17, 2020, at 8:38 PM, Angela Korra'ti  
> wrote:
> 
> Yes we did, we did the upgrade in two distinct stages. We did run into 
> roadblocks as we went, but those were mostly around PHP incompatibilities 
> that we had to address to bring our sites back up.
> 
> I’m _pretty_ sure we don’t have any config incompatibilities in Apache… 
> because yeah, Apache does in fact run. But I’ll doublecheck if the reload 
> command you’re asking about throws any actual errors.
> 
> And perhaps a config inspection of our Apache install is called for. We’ve 
> got not only the main config file, but several supplementary ones for the 
> various domains we host as well.
> 
>> On Jan 17, 2020, at 4:43 PM, Dan Ritter  wrote:
>> 
>> Did you upgrade to 9 in between? 
>> 
>> 8 had apache 2.2, and a bunch of config things changed from 2.2
>> to 2.4.  That usually shows up in apache failing to start,
>> though.
>> 
>> Does 
>> 
>> systemctl reload apache2.service
>> 
>> cause an error?
>> 
>> Worst case: if things are massively unstable, you might copy all the
>> data off elsewhere, re-install Debian 10 from scratch, and then bring
>> the data back in.
>> 
>> -dsr-
>> 
>> 
>> -- 
>> https://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
>>   there is no justice, there is just us.
> 



Re: Need help with debugging Apache on Debian 10.2

2020-01-17 Thread Angela Korra'ti
Yes we did, we did the upgrade in two distinct stages. We did run into 
roadblocks as we went, but those were mostly around PHP incompatibilities that 
we had to address to bring our sites back up.

I’m _pretty_ sure we don’t have any config incompatibilities in Apache… because 
yeah, Apache does in fact run. But I’ll doublecheck if the reload command 
you’re asking about throws any actual errors.

And perhaps a config inspection of our Apache install is called for. We’ve got 
not only the main config file, but several supplementary ones for the various 
domains we host as well.

> On Jan 17, 2020, at 4:43 PM, Dan Ritter  wrote:
> 
> Did you upgrade to 9 in between? 
> 
> 8 had apache 2.2, and a bunch of config things changed from 2.2
> to 2.4.  That usually shows up in apache failing to start,
> though.
> 
> Does 
> 
> systemctl reload apache2.service
> 
> cause an error?
> 
> Worst case: if things are massively unstable, you might copy all the
> data off elsewhere, re-install Debian 10 from scratch, and then bring
> the data back in.
> 
> -dsr-
> 
> 
> -- 
> https://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
>there is no justice, there is just us.



Re: Need help with debugging Apache on Debian 10.2

2020-01-17 Thread Dan Ritter
Angela Korra???ti wrote: 
> However, as of when we updated to Debian 10.2, we started having recurring 
> issues with Apache throwing segmentation faults that resulted in all 
> PHP-based sites (notably, the Wordpress ones) throwing 503 errors from 
> varnish.
> 
> https://angelahighland.info/2020/01/12/need-help-with-debian-web-server-debugging/
> 
> To what I wrote in that post, I can add that we???ve also kept the server up 
> to date with security and other updates, and it???s been rebooted a couple of 
> times since the big upgrade to Debian 10. (We were previously on version 8.)

Did you upgrade to 9 in between? 

8 had apache 2.2, and a bunch of config things changed from 2.2
to 2.4.  That usually shows up in apache failing to start,
though.

Does 

systemctl reload apache2.service

cause an error?

Worst case: if things are massively unstable, you might copy all the
data off elsewhere, re-install Debian 10 from scratch, and then bring
the data back in.

-dsr-


-- 
https://randomstring.org/~dsr/eula.html is hereby incorporated by reference.
there is no justice, there is just us.



Need help with debugging Apache on Debian 10.2

2020-01-17 Thread Angela Korra’ti
Hi Debian users list,

My name is Angela and I run Debian 10.2 on my home web server. On that server, 
my wife and I are hosting several Wordpress sites as well as a small number of 
non-Wordpress ones.

However, as of when we updated to Debian 10.2, we started having recurring 
issues with Apache throwing segmentation faults that resulted in all PHP-based 
sites (notably, the Wordpress ones) throwing 503 errors from varnish.

And I am at my wit’s end as to how to fix this problem, because I do not have 
enough debugging experience with a Linux environment to know how to proceed.

I have written up the problem in detail here:

https://angelahighland.info/2020/01/12/need-help-with-debian-web-server-debugging/

That post (which is external to my home web server, since my home web server is 
unstable) includes:

* Behavior observed when the seg fault occurs
* What I’ve done to try to fix the problem so far
* Details on what we have installed on the system at this time

To what I wrote in that post, I can add that we’ve also kept the server up to 
date with security and other updates, and it’s been rebooted a couple of times 
since the big upgrade to Debian 10. (We were previously on version 8.)

Can anyone advise on best steps to get enough information to diagnose the 
problem? As I said in my post, I do have gdb and the Apache debug symbols 
package installed, but I don’t have experience with them so I don’t know how to 
effectively _use_ them.

Many thanks in advance to anyone who can assist!

Angela

Sent from my iPad

Re: Need help about development of your distributions.

2019-05-24 Thread Jonathan Dowland

On Fri, May 24, 2019 at 03:02:52AM +, Ale Frataslafra wrote:

Hello, I'm Alexandria F., I'm a software developer, i have all versions
of your distributions of debian jessie and
stretch(gnome,kde,xfce,cinnamon,lxde) downloaded, but im start in
contact with you because i have some questions about debian live cd,
for be specific(Jessie 8.0.0), my questions are:

1. It's posibly to boot a debian live cd from a raw disk (.img) with
ext2 or ext3 or ext4 format with grub2, not in a iso9660 file?

snip

Maybe you want to know why i need it?, this is the answer: Im working
in a custom livecd of debian, and i need save more time in the
debugging of the livecd, requires minus time and minus resources, the
replacement of the filesystem.squashfs inside a .img ext4 than replace
a iso9660 .iso file, and even sometimes the modifying of the .iso file
can damage the filesystem.


It might be worth talking to one of the Debian Live developers to see
whether they have a useful workflow to recommend. One such developer is
Jonathan Carter , but you may also consider
contacting the  mailing list.


--
  Jonathan Dowland
✎	 j...@debian.org 
	https://jmtd.net




Need help about development of your distributions.

2019-05-23 Thread Ale Frataslafra
Hello, I'm Alexandria F., I'm a software developer, i have all versions of your 
distributions of debian jessie and stretch(gnome,kde,xfce,cinnamon,lxde) 
downloaded, but im start in contact with you because i have some questions 
about debian live cd, for be specific(Jessie 8.0.0), my questions are:

1. It's posibly to boot a debian live cd from a raw disk (.img) with ext2 or 
ext3 or ext4 format with grub2, not in a iso9660 file?

example:
MySomeRawDisk(ex4format).img
 /boot
 /isolinux
 /live/filesystem.squashfs
 /vmlinuz
 / initrd.img
...

grub2 menuentry example:
menuentry "RawDiskBoot" {
set imgname="MySomeRawDisk(ex4format).img"
set imgpath="/image"
set image="${imgpath}/${imgname}"
loopback loop $image
linux (loop)/live/vmlinuz boot=live root=(loop) boot=live
initrd (loop)/live/initrd
}

2. How i can do run correctly my debian custom livecd boot from a raw disk 
MySomeRawDisk(ex4format).img, modifying the initrd.img, if is not possible boot 
a .img only with grub2.

Nota: please not confuse this with: How to boot a livecd.iso file inside a ext4 
raw disk .img.

Thanks, i wait your answer...

Maybe you want to know why i need it?, this is the answer: Im working in a 
custom livecd of debian, and i need save more time in the debugging of the 
livecd, requires minus time and minus resources, the replacement of the 
filesystem.squashfs inside a .img ext4 than replace a iso9660 .iso file, and 
even sometimes the modifying of the .iso file can damage the filesystem.

Re: Need help analyzing (kernel?) memory usage and reclaiming RAM (Debian Stretch)

2019-04-17 Thread Martin Schwarz
On Tue, Apr 16, 2019 at 04:39:32PM +0200, Peter Wiersig wrote:
>rss RSS   resident set size, the non-swapped physical 
> memory that a task has used (in kiloBytes).
>  (alias rssize, rsz).
> ...
>vsz VSZ   virtual memory size of the process in KiB 
> (1024-byte units).  Device mappings are currently
>  excluded; this is subject to change. (alias 
> vsize)."""
> 

Thanks for pointing out the difference. However, in this case I'm trying
to find out what consumes RAM specifically, not virtual memory in
general. Besides, from all I can see, the high memory usage is NOT
caused user space processes. So the output from ps was just to show that
even though some hundred MB of RAM (!) are used, just some few MB are
consumed by processes.

Kind regards
Martin

-- 
Martin Schwarz * Karlsruhe, Germany * http://kuroi.de/



  1   2   3   4   5   6   7   8   9   10   >