Re: make apt show packages in column

2020-05-16 Thread Frank

Op 17-05-2020 om 02:39 schreef Ihor Antonov:

Hi

when installing a package with multiple dependencies apt gives an output:
(example: apt install gnome)


The following NEW packages will be installed:

  accountsservice aisleriot apache2-bin apg baobab bluez bluez-obexd
  bogofilter ogofilter-bdb bogofilter-common bolt brasero-common
  caribou cheese cheese-common chrome-gnome-shell cracklib-runtime
  dconf-cli dleyna-server eog evince evince-common evolution
  evolution-common evolution-data-server evolution-data-server-common
  evolution-plugin-bogofilter evolution-plugin-pstimport
  evolution-plugins file-roller five-or-more
   ..

output truncated

It is very inconvenient to inspect the list of installed packages in
such output. Is it possible to make apt output this in a column?


Try the --verbose-versions switch?

apt-get --verbose-versions install gnome

seems to do what you want (at least it does here).

Regards,
Frank



Re: make apt show packages in column

2020-05-16 Thread Andrei POPESCU
On Sb, 16 mai 20, 20:14:15, David Wright wrote:
> On Sat 16 May 2020 at 17:39:14 (-0700), Ihor Antonov wrote:
> > 
> > It is very inconvenient to inspect the list of installed packages in
> > such output. Is it possible to make apt output this in a column? 
> 
> You could use the dry run as in the following:
> 
> $ apt-get -s install science-config
> NOTE: This is only a simulation!
>   apt-get needs root privileges for real execution.
>   Keep also in mind that locking is deactivated,
>   so don't depend on the relevance to the real current situation!
> Reading package lists... Done
> Building dependency tree   
> Reading state information... Done
> The following additional packages will be installed:
>   blends-common
> Suggested packages:
>   blends-doc
> The following NEW packages will be installed:
>   blends-common science-config
> 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
> Inst blends-common (0.7.2 Debian:10.4/stable [all])
> Inst science-config (1.10 Debian:10.4/stable [all])
> Conf blends-common (0.7.2 Debian:10.4/stable [all])
> Conf science-config (1.10 Debian:10.4/stable [all])
> $ 
> 
> (You get the list twice.)

But with more info than the regular list ;)

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Re: Excess security measures

2020-05-16 Thread David
On Sun, 17 May 2020 at 09:54, Gary L. Roach
 wrote:
>
> Could someone please show me how to bypass some of the recent security
> measures that have been installed in Debian and Ubuntu.

[...]

> I do scientific computer modeling as a hobby (been retired since 1999)
> and use a lot of software that is not run of the mill or that is in
> constant development. I have read several treatises  on how to bypass
> these measures but most either make no sense or don't work.
>
> Please help even if it insults your feelings about sloppy security

Hi, this is my attempt to do exactly that ...

Are you aware that there are dozens of linux distributions that differ
in the attempts that their designers make to satisfy the different
use-case needs for different users?

Have you seen the comparison site:
https://distrowatch.com/

Why have you chosen to use Debian in particular?

Maybe Debian isn't designed for your usage preferences. There
are many different approaches and tradeoffs made by different
Linux distributions to achieve different security goals, see this
discussion for example:
https://unix.stackexchange.com/questions/46287/when-does-the-puppy-linux-security-model-make-sense



Re: make apt show packages in column

2020-05-16 Thread David Wright
On Sat 16 May 2020 at 17:39:14 (-0700), Ihor Antonov wrote:
> 
> when installing a package with multiple dependencies apt gives an output:
> (example: apt install gnome)
> 
> > The following NEW packages will be installed:
> >
> >  accountsservice aisleriot apache2-bin apg baobab bluez bluez-obexd 
> >  bogofilter ogofilter-bdb bogofilter-common bolt brasero-common 
> >  caribou cheese cheese-common chrome-gnome-shell cracklib-runtime
> >  dconf-cli dleyna-server eog evince evince-common evolution 
> >  evolution-common evolution-data-server evolution-data-server-common
> >  evolution-plugin-bogofilter evolution-plugin-pstimport 
> >  evolution-plugins file-roller five-or-more 
> >   ..
> output truncated
> 
> It is very inconvenient to inspect the list of installed packages in
> such output. Is it possible to make apt output this in a column? 
> 
> For example:
> > The following NEW packages will be installed:
> >
> >  accountsservice  (version, size, ...)
> >  aisleriot 
> >  apache2-bin 
> >  apg 
> >  baobab 
> >  bluez 
> >  bluez-obexd 
> >  
> 
> This is something that FreeBSD pkg does by default and I find it to be very 
> convenient. I have not found any options in apt.conf
> 
> Looking at the source [1] it seems that space separator is hard-coded..
> 
> [1] https://sources.debian.org/src/aptitude/0.8.12-3/src/cmdline/
> cmdline_prompt.cc/?hl=227#L227

You could use the dry run as in the following:

$ apt-get -s install science-config
NOTE: This is only a simulation!
  apt-get needs root privileges for real execution.
  Keep also in mind that locking is deactivated,
  so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following additional packages will be installed:
  blends-common
Suggested packages:
  blends-doc
The following NEW packages will be installed:
  blends-common science-config
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst blends-common (0.7.2 Debian:10.4/stable [all])
Inst science-config (1.10 Debian:10.4/stable [all])
Conf blends-common (0.7.2 Debian:10.4/stable [all])
Conf science-config (1.10 Debian:10.4/stable [all])
$ 

(You get the list twice.)

Cheers,
David.



Re: make apt show packages in column

2020-05-16 Thread The Wanderer
On 2020-05-16 at 20:39, Ihor Antonov wrote:

> Hi
> 
> when installing a package with multiple dependencies apt gives an output:
> (example: apt install gnome)
> 
>> The following NEW packages will be installed:
>>
>>  accountsservice aisleriot apache2-bin apg baobab bluez bluez-obexd 
>>  bogofilter ogofilter-bdb bogofilter-common bolt brasero-common 
>>  caribou cheese cheese-common chrome-gnome-shell cracklib-runtime
>>  dconf-cli dleyna-server eog evince evince-common evolution 
>>  evolution-common evolution-data-server evolution-data-server-common
>>  evolution-plugin-bogofilter evolution-plugin-pstimport 
>>  evolution-plugins file-roller five-or-more 
>>   ..
> output truncated
> 
> It is very inconvenient to inspect the list of installed packages in
> such output. Is it possible to make apt output this in a column? 

Not as far as I know.

I generally deal with it by getting the output into a file (either by
"highlight, middle-click paste into an edit buffer, save to a file", or
by using --dry-run and redirecting the output and editing the result
down), then passing it through a suitable sed filter to translate the
spaces into newlines. That's a bit unwieldy, but I don't tend to need to
do it very often.

> For example:
>> The following NEW packages will be installed:
>>
>>  accountsservice  (version, size, ...)
>>  aisleriot 
>>  apache2-bin 
>>  apg 
>>  baobab 
>>  bluez 
>>  bluez-obexd 
>>  
> 
> This is something that FreeBSD pkg does by default and I find it to be very 
> convenient. I have not found any options in apt.conf

FWIW, I would not want to have this happen most of the time, and I would
not find it particularly convenient - especially not when upgrading
hundreds of packages at once, which is something I do at least multiple
times a year and sometimes multiple times a month.

> Looking at the source [1] it seems that space separator is hard-coded..
> 
> 
> [1] 
> https://sources.debian.org/src/aptitude/0.8.12-3/src/cmdline/cmdline_prompt.cc/?hl=227#L227

Sounds like a case for a wishlist bug, requesting a new configuration
option, then. No guarantee that one will be added, but it's certainly
less likely that anyone will bother to code this if no one has asked for
it than if someone has.

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


make apt show packages in column

2020-05-16 Thread Ihor Antonov
Hi

when installing a package with multiple dependencies apt gives an output:
(example: apt install gnome)

> The following NEW packages will be installed:
>
>  accountsservice aisleriot apache2-bin apg baobab bluez bluez-obexd 
>  bogofilter ogofilter-bdb bogofilter-common bolt brasero-common 
>  caribou cheese cheese-common chrome-gnome-shell cracklib-runtime
>  dconf-cli dleyna-server eog evince evince-common evolution 
>  evolution-common evolution-data-server evolution-data-server-common
>  evolution-plugin-bogofilter evolution-plugin-pstimport 
>  evolution-plugins file-roller five-or-more 
>   ..
output truncated

It is very inconvenient to inspect the list of installed packages in
such output. Is it possible to make apt output this in a column? 

For example:
> The following NEW packages will be installed:
>
>  accountsservice  (version, size, ...)
>  aisleriot 
>  apache2-bin 
>  apg 
>  baobab 
>  bluez 
>  bluez-obexd 
>  

This is something that FreeBSD pkg does by default and I find it to be very 
convenient. I have not found any options in apt.conf

Looking at the source [1] it seems that space separator is hard-coded..


[1] https://sources.debian.org/src/aptitude/0.8.12-3/src/cmdline/
cmdline_prompt.cc/?hl=227#L227

-- 
Ihor Antonov

signature.asc
Description: This is a digitally signed message part.


Excess security measures

2020-05-16 Thread Gary L. Roach
Could someone please show me how to bypass some of the recent security 
measures that have been installed in Debian and Ubuntu. I have a 
fire-walled 3 computer local network that doesn't contain anything that 
is not replaceable. I have antivirus software installed and my wife and 
I are the only users.


1) Not being able to use Dolphin as root is annoying  beyond belief. 
Yes, I know, use sudo. What a  pain. I am in and out of root files 
constantly either copying or moving them. I always keep two tabs on my 
bash console, one as root and one as normal user.


2) The latest annoyance is finding that I can't download and install 
programs because they are not signed. Yes I know that this assures that 
I am not getting bad software and maybe next year the program will work 
fine. But now there is a mess out there and I can't get to half of the 
software I need.


I do scientific computer modeling as a hobby (been retired since 1999) 
and use a lot of software that is not run of the mill or that is in 
constant development. I have read several treatises  on how to bypass 
these measures but most either make no sense or don't work.


Please help even if it insults your feelings about sloppy security


Gary R.




Re: cdimage.debian.org - no ISOs of old versions

2020-05-16 Thread Maxim A Piskunov
Cool, thanks!

On Sat, 16 May 2020 at 09:30, Dan Ritter  wrote:

> Maxim A Piskunov wrote:
> > Hello, Team!
> >
> > Anybody can clarify what happens with old ISO images?
> >
> > For example, here just no ISO files
> > https://cdimage.debian.org/mirror/cdimage/archive/7.0.0/ia64/iso-cd/
>
> "By default, for each release here we keep all the images in
> jigdo format to save on space and download times. We also often
> keep the ISO images for the last release of each series."
>
>
> Look at 7.11.0. Also, remember that ia64 is Itanium, not
> Intel/AMD 64-bit, which is called amd64.
>
>
>
> -dsr-
>


Re: Error importing gpg key

2020-05-16 Thread Reco
Hi.

On Sat, May 16, 2020 at 04:08:18PM -0500, Dennis Wicks wrote:
> The tor website says to use the command
> 
> > gpg --auto-key-locate nodefault,wkd --locate-keys torbrow...@torproject.org
> 
> When I do that I get an error message
> 
> > gpg: keyserver option 'ca-cert-file' is obsolete; please use 'hkp-cacert' 
> > in dirmngr.conf
> 
> I have searched the net and man pages and I can't figure out how to solve 
> this.

sed -i '/^keyserver-options/d' ~/.gnupg/gpg.conf

See [1] for the explanation.

Reco

[1] https://github.com/riseupnet/riseup_help/issues/294



Re: qemu/kvm reboot problem

2020-05-16 Thread Gary L. Roach



On 5/15/20 11:17 PM, Thomas Schmitt wrote:

Hi,

Gary L. Roach wrote:

I burned a CD off of the .iso file and used it to install the
system.

I wonder why you need to burn a real CD (or DVD ?) for a virtual machine.
Virtualization can work with the .iso file directly and make it appear
in the guest as CD-ROM drive with medium.



Dummy me overlooked the screen icon that said install to hard disk. That
fixed the boot problem.

This explains a lot.



Now if I can figure out which hard drive I am
installed in I will be a happy camper.

This is probably not a qemu/kvm question but one of libvirt.


Have a nice day :)

Thomas

I want to thank all for your help. I just trashed the whole mess. I only 
need a couple of the packages and FreeCAD needs to updated to 0.19. I'm 
just going back to installing the packages individually. I will say that 
CAELinux would be perfect for someone just starting out. It saves one 
from having to find a bunch of libraries. Once installed it is a highly 
usable system. My experience has a lot to do with a too complicated 
installation.


Thanks again

Gary R




Error importing gpg key

2020-05-16 Thread Dennis Wicks

The tor website says to use the command


gpg --auto-key-locate nodefault,wkd --locate-keys torbrow...@torproject.org


When I do that I get an error message


gpg: keyserver option 'ca-cert-file' is obsolete; please use 'hkp-cacert' in 
dirmngr.conf


I have searched the net and man pages and I can't figure out 
how to solve this.
I can't find any file on my system the contains the string 
'ca-cert-file', with or without quotes!


TIA for any pointers or other help!
Dennis



Re: Switching from Kubuntu to Debian(latest version)

2020-05-16 Thread Kent West
On Sat, May 16, 2020 at 6:36 AM Cletus Kingdom 
wrote:

> Good Afternoon,
> I'm Cletus(a Web Developer using Kubuntu Linux Destro), and I want to
> switch to Debian (that was my first choice of Destro, just that I wasn't
> able to install and configure it)
>
> So I want to know wether it's possible to switch to Debian without looking
> my files ?
>
> N/B: I'm running Kubuntu and Windows currently (I still want to keep my
> Windows)
>

The *proper* way to do it is to back up all your important files, and then
repartition your drive as needed (or add more drive space in some other
manner), and install Debian.

But ... a second option is to use your existing Kubuntu partition[s] and
install Debian onto those partitions, destroying the Kubuntu that is
already there. If your Kubuntu has a separate /home partition (or wherever
you store your personal files), you can just tell the Debian installer to
use that partition for your Debian /home directory, without
erasing/formatting it first. Be aware that in either of these three options
I present, Kubuntu config files in your home directory may not be 100%
compatible with their Debian counterparts, such that Program X on Kubuntu
may not work [properly] on Debian using Kubuntu's version of the user's
Program X config files.

A final and third option, which is almost certainly going to lead to severe
broken-ness, but with enough effort and perseverance can eventually be
repaired, is to change your Kubuntu's /etc/apt/archives/sources.list (and
related dirs/files, as needed) to point to the Debian archives instead of
the Kubuntu's archives, and then do a dist-upgrade. This is the option I'd
try, just to see if I could make it work, with the understanding that I
would likely give up after two days of fighting it and just start over with
option 2 above.

In any case, you should make sure you have a working backup of your
important stuff, and you should expect that something will go wrong and
make your machine unbootable, either into Debian or Kubuntu, or even into
Windows, and be prepared to fix the issue (such as running whatever
Windows's boot-repair option is available on whatever version of Windows
you have).

If you enjoy tinkering, you can have a lot of fun and learn a lot. If you
just want things "to work", you may just want to stick with what you have.

"Success to you" in any case!


-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Re: How could you load only once a Linux ultility without a batch --input-files kind of option and repeatedly use it on many files? . . .

2020-05-16 Thread Brian
On Sat 16 May 2020 at 16:01:17 +0200, Nicolas George wrote:

> Roberto C. Sánchez (12020-05-15):
> > I wrote a lengthier reply to another of your messages in this thread,
> > then deleted it without sending.
> > 
> > However, you appear to still be hung up on something, though I cannot
> > tell what it is.
> 
> People who think they understood the question and give an irrelevant
> answer are a bane for mutual help mailing-lists and forums. At best they
> are a waste of time; at worst, they confuse users or prevent the actual
> answer from being found.

That's life.
 
> Have you never searched an issue on the web, found a thread in an Ubuntu
> forum with the exact problem you have, and been disappointed to find a
> dozen irrelevant answers, with only a superficial relation to the
> question.

That's also life.

> I do not want the Debian mailing-lists to look more like Ubuntu forums.

Understandable. But does -user bear that close a look?

> If you are not sure you understood the question precisely, just shut up.
> Somebody else will probably give a more relevant answer. And if it does
> not happen, you can still reply a few hours later.

Everyone who answers the question understands its import, just not in
the same way you or I do.

-- 
Brian.



Re: cdimage.debian.org - no ISOs of old versions

2020-05-16 Thread Brian
On Sat 16 May 2020 at 09:08:01 -0700, Maxim A Piskunov wrote:

> Hello, Team!
> 
> Anybody can clarify what happens with old ISO images?
> 
> For example, here just no ISO files
> https://cdimage.debian.org/mirror/cdimage/archive/7.0.0/ia64/iso-cd/

You will be happy with

  https://cdimage.debian.org/mirror/cdimage/archive/7.11.0/

-- 
Brian.



Re: How could you load only once a Linux ultility without a batch --input-files kind of option and repeatedly use it on many files? . . .

2020-05-16 Thread Arv Evans
In addition...

We have reached the point where many on-line help messages are
woefully out of date and not applicable to more modern UNIX/Linux/
etc. versions of Linux.  If the help text that you find does not show
which release it applies to, or does not have a date indicated, it should
be viewed with much suspicion.  It may do more harm than good.

Arv
_._


On Sat, May 16, 2020 at 8:01 AM Nicolas George  wrote:

> Roberto C. Sánchez (12020-05-15):
> > I wrote a lengthier reply to another of your messages in this thread,
> > then deleted it without sending.
> >
> > However, you appear to still be hung up on something, though I cannot
> > tell what it is.
>
> People who think they understood the question and give an irrelevant
> answer are a bane for mutual help mailing-lists and forums. At best they
> are a waste of time; at worst, they confuse users or prevent the actual
> answer from being found.
>
> Have you never searched an issue on the web, found a thread in an Ubuntu
> forum with the exact problem you have, and been disappointed to find a
> dozen irrelevant answers, with only a superficial relation to the
> question.
>
> I do not want the Debian mailing-lists to look more like Ubuntu forums.
>
> If you are not sure you understood the question precisely, just shut up.
> Somebody else will probably give a more relevant answer. And if it does
> not happen, you can still reply a few hours later.
>
> Let us not behave like schoolchildren. The first to answer will not get
> an image.
>
> Regards,
>
> --
>   Nicolas George
>


Re: Switching from Kubuntu to Debian(latest version)

2020-05-16 Thread thierry . leurent
You have 2 solutions :

- Install Debian as a third os, and copy all you need from Ubuntu.
- Change your Ubuntu to Debian. To do this you must :

   - Choose the version of Debian, you need to use.

   - Choose your new graphical environment.
   - Adapt your repositories, clean and update your packages database.
   - Update Apt application.
   - Upgrade your app.


From: Peter Ehlert 
Sent: Saturday, May 16, 2020 3:14:24 PM
To: debian-user@lists.debian.org
Subject: Re: Switching from Kubuntu to Debian(latest version)


On 5/16/20 4:17 AM, Cletus Kingdom wrote:
> Good Afternoon,
> I'm Cletus(a Web Developer using Kubuntu Linux Destro), and I want to
> switch to Debian (that was my first choice of Destro, just that I
> wasn't able to install and configure it)
>
> So I want to know wether it's possible to switch to Debian without
> looking my files ?
Yes. Copy all of your Data files to an external device... such as a USB
drive.**

for your Kubuntu they are Probably all in the /home directory

for Windows I am not familiar on where they are kept.

When you have them ALL safely copied off machine then proceed with
whatever method you like to install Debian.

After your install, form a Backup Plan for your Data (all of your
personal files), and Use that Backup routine Frequently.**
Best of luck!.

PS: installing Windows again may be a challenge. Figure out how to do
that First.
**system install is trivial, your Data is not replaceable. Backup!

>
> N/B: I'm running Kubuntu and Windows currently (I still want to keep
> my Windows)



Re: cdimage.debian.org - no ISOs of old versions

2020-05-16 Thread Thomas Schmitt
Hi,

Maxim A Piskunov wrote:
> Anybody can clarify what happens with old ISO images?

They get decommissioned but can be reconstructed from Jigdo files and
the big package archive.


> For example, here just no ISO files
> https://cdimage.debian.org/mirror/cdimage/archive/7.0.0/ia64/iso-cd/

Go to the ../jigdo-cd or ../jigdo-dvd directory and download from there.

For example download
  
https://cdimage.debian.org/mirror/cdimage/archive/7.0.0/ia64/jigdo-cd/debian-7.0.0-ia64-CD-1.jigdo
  
https://cdimage.debian.org/mirror/cdimage/archive/7.0.0/ia64/jigdo-cd/debian-7.0.0-ia64-CD-1.template
and use program jigdo-lite to create an ISO from them and the many old
packages which jigdo-lite will download.
See
  https://www.debian.org/CD/jigdo-cd/

If jigdo-lite is not yet installed and you have a running Debian system
at hand:
  sudo apt-get update
  sudo apt-get install jigdo-file

If not, get jigdo-lite for your system.
Download hints including source code and MS-Windows binaries are at:
  https://www.einval.com/~steve/software/jigdo/#download
Or get a current Debian Live ISO to have a running Debian system:
  https://wiki.debian.org/JigdoOnLive

An example what to do when jigdo-lite is installed is given by
  
https://wiki.debian.org/JigdoOnLive#If_needed.2C_work_around_a_shortcoming_of_older_jigdo-lite
and the following paragraphs.


Have a nice day :)

Thomas



Re: cdimage.debian.org - no ISOs of old versions

2020-05-16 Thread Dan Ritter
Maxim A Piskunov wrote: 
> Hello, Team!
> 
> Anybody can clarify what happens with old ISO images?
> 
> For example, here just no ISO files
> https://cdimage.debian.org/mirror/cdimage/archive/7.0.0/ia64/iso-cd/

"By default, for each release here we keep all the images in
jigdo format to save on space and download times. We also often
keep the ISO images for the last release of each series."


Look at 7.11.0. Also, remember that ia64 is Itanium, not
Intel/AMD 64-bit, which is called amd64.



-dsr-



cdimage.debian.org - no ISOs of old versions

2020-05-16 Thread Maxim A Piskunov
Hello, Team!

Anybody can clarify what happens with old ISO images?

For example, here just no ISO files
https://cdimage.debian.org/mirror/cdimage/archive/7.0.0/ia64/iso-cd/


Re: How could you load only once a Linux ultility without a batch --input-files kind of option and repeatedly use it on many files? . . .

2020-05-16 Thread tomas
On Sat, May 16, 2020 at 04:01:17PM +0200, Nicolas George wrote:

[...]

> People who think they understood the question and give an irrelevant
> answer are a bane for mutual help mailing-lists and forums [...]

Hmmm. Just a humble suggestion: You might consider applying some
of that to yourself. It seems you made this point four times in
this thread (unless I miscounted, quite possible).

I think most around here know your position by now.

Cheers
-- t


signature.asc
Description: Digital signature


Re: Server goes to sleep

2020-05-16 Thread Henning Follmann
On Sun, May 17, 2020 at 12:02:20AM +1000, elvis wrote:
> 
> On 16/5/20 10:15 pm, Henning Follmann wrote:
> > On Fri, May 15, 2020 at 11:39:44AM -0700, Chris Rhodin wrote:
> > > Hi,
> > > 
> > > I've installed Debian Buster on a desktop system I use as a server.  I 
> > > also
> > > occasionally use this as a regular desktop system so it has a monitor,
> > > keyboard, and GUI.  During installation I selected the ssh server in
> > > tasksel (so during installation there was some indication this was a
> > > server).
> > > 
> > > The problem I have is that when the console screen goes black and locks,
> > > the system becomes unresponsive to network activity.  If I have an ssh
> > > session running when this occurs it stops responding.  It doesn't kick me
> > > off, the ssh connection is still there.  If I then go to the console and
> > > shake the mouse the screen lights up and the ssh session starts responding
> > > like nothings wrong, until the console goes to sleep again.
> > > 
> > > Searching online I found this command which seems to solve the problem:
> > > 
> > > sudo systemctl mask sleep.target suspend.target hibernate.target
> > > hybrid-sleep.target
> > > 
> > > So my question is what is the correct way to manage this?  Is there a
> > > document that goes over the various power states and how they impact
> > > running services?
> > > 
> > > 
> > > ChrisR
> > Just disable following targets:
> > 
> > systemctl mask sleep.target suspend.target hibernate.target 
> > hybrid-sleep.target
> > 
> > That will avoid the system going to sleep.
> 
> Instead of doing that, wouldn't the "correct" way involve editing
> /etc/systemd/sleep.conf ?
> 
> 
> I ask because I edited the file and the system seems to have still gone to
> sleep..  what is the point of a conf file if you still have to mess with the
> base unit files?
> 
> 

How can it be "correct" if it doesn't deliver the correct result?


Just say'n

-H



Re: Server goes to sleep

2020-05-16 Thread elvis



On 16/5/20 10:15 pm, Henning Follmann wrote:

On Fri, May 15, 2020 at 11:39:44AM -0700, Chris Rhodin wrote:

Hi,

I've installed Debian Buster on a desktop system I use as a server.  I also
occasionally use this as a regular desktop system so it has a monitor,
keyboard, and GUI.  During installation I selected the ssh server in
tasksel (so during installation there was some indication this was a
server).

The problem I have is that when the console screen goes black and locks,
the system becomes unresponsive to network activity.  If I have an ssh
session running when this occurs it stops responding.  It doesn't kick me
off, the ssh connection is still there.  If I then go to the console and
shake the mouse the screen lights up and the ssh session starts responding
like nothings wrong, until the console goes to sleep again.

Searching online I found this command which seems to solve the problem:

sudo systemctl mask sleep.target suspend.target hibernate.target
hybrid-sleep.target

So my question is what is the correct way to manage this?  Is there a
document that goes over the various power states and how they impact
running services?


ChrisR

Just disable following targets:

systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

That will avoid the system going to sleep.


Instead of doing that, wouldn't the "correct" way involve editing 
/etc/systemd/sleep.conf ?



I ask because I edited the file and the system seems to have still gone 
to sleep..  what is the point of a conf file if you still have to mess 
with the base unit files?









-H




--
Wasting time is an important part of life.



Re: How could you load only once a Linux ultility without a batch --input-files kind of option and repeatedly use it on many files? . . .

2020-05-16 Thread Nicolas George
Roberto C. Sánchez (12020-05-15):
> I wrote a lengthier reply to another of your messages in this thread,
> then deleted it without sending.
> 
> However, you appear to still be hung up on something, though I cannot
> tell what it is.

People who think they understood the question and give an irrelevant
answer are a bane for mutual help mailing-lists and forums. At best they
are a waste of time; at worst, they confuse users or prevent the actual
answer from being found.

Have you never searched an issue on the web, found a thread in an Ubuntu
forum with the exact problem you have, and been disappointed to find a
dozen irrelevant answers, with only a superficial relation to the
question.

I do not want the Debian mailing-lists to look more like Ubuntu forums.

If you are not sure you understood the question precisely, just shut up.
Somebody else will probably give a more relevant answer. And if it does
not happen, you can still reply a few hours later.

Let us not behave like schoolchildren. The first to answer will not get
an image.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Switching from Kubuntu to Debian(latest version)

2020-05-16 Thread Peter Ehlert



On 5/16/20 4:17 AM, Cletus Kingdom wrote:

Good Afternoon,
I'm Cletus(a Web Developer using Kubuntu Linux Destro), and I want to 
switch to Debian (that was my first choice of Destro, just that I 
wasn't able to install and configure it)


So I want to know wether it's possible to switch to Debian without 
looking my files ?
Yes. Copy all of your Data files to an external device... such as a USB 
drive.**


for your Kubuntu they are Probably all in the /home directory

for Windows I am not familiar on where they are kept.

When you have them ALL safely copied off machine then proceed with 
whatever method you like to install Debian.


After your install, form a Backup Plan for your Data (all of your 
personal files), and Use that Backup routine Frequently.**

Best of luck!.

PS: installing Windows again may be a challenge. Figure out how to do 
that First.

**system install is trivial, your Data is not replaceable. Backup!



N/B: I'm running Kubuntu and Windows currently (I still want to keep 
my Windows)




Re: Switching from Kubuntu to Debian(latest version)

2020-05-16 Thread rhkramer
On Saturday, May 16, 2020 07:17:47 AM Cletus Kingdom wrote:
> Good Afternoon,
> I'm Cletus(a Web Developer using Kubuntu Linux Destro), and I want to
> switch to Debian (that was my first choice of Destro, just that I wasn't
> able to install and configure it)
> 
> So I want to know wether it's possible to switch to Debian without looking
> my files ?
> 
> N/B: I'm running Kubuntu and Windows currently (I still want to keep my
> Windows)

It is very possible to do (that is keep Windows as an OS), and also to even 
keep Kubuntu and add Debian, but it requires some care.

I would back up any files that you want to make sure you don't lose, just in 
case.



Re: Server goes to sleep

2020-05-16 Thread Henning Follmann
On Fri, May 15, 2020 at 11:39:44AM -0700, Chris Rhodin wrote:
> Hi,
> 
> I've installed Debian Buster on a desktop system I use as a server.  I also
> occasionally use this as a regular desktop system so it has a monitor,
> keyboard, and GUI.  During installation I selected the ssh server in
> tasksel (so during installation there was some indication this was a
> server).
> 
> The problem I have is that when the console screen goes black and locks,
> the system becomes unresponsive to network activity.  If I have an ssh
> session running when this occurs it stops responding.  It doesn't kick me
> off, the ssh connection is still there.  If I then go to the console and
> shake the mouse the screen lights up and the ssh session starts responding
> like nothings wrong, until the console goes to sleep again.
> 
> Searching online I found this command which seems to solve the problem:
> 
> sudo systemctl mask sleep.target suspend.target hibernate.target
> hybrid-sleep.target
> 
> So my question is what is the correct way to manage this?  Is there a
> document that goes over the various power states and how they impact
> running services?
> 
> 
> ChrisR

Just disable following targets:

systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

That will avoid the system going to sleep.

-H



-- 
Henning Follmann   | hfollm...@itcfollmann.com



Re: Switching from Kubuntu to Debian(latest version)

2020-05-16 Thread john doe

On 5/16/2020 1:17 PM, Cletus Kingdom wrote:

Good Afternoon,
I'm Cletus(a Web Developer using Kubuntu Linux Destro), and I want to
switch to Debian (that was my first choice of Destro, just that I wasn't
able to install and configure it)

So I want to know wether it's possible to switch to Debian without looking
my files ?



I'll assume that 'looking' should have been 'losing'


N/B: I'm running Kubuntu and Windows currently (I still want to keep my
Windows)



I would say, it is possible to have a multiboot Windows Debian, in your
case, as Windows is already installed the following should do it:
- Remove all other OS then Windows
- Install Debian

It should be noted that you can have more then two OSes on the same
"computer".

HTH.

--
John Doe



Switching from Kubuntu to Debian(latest version)

2020-05-16 Thread Cletus Kingdom
Good Afternoon,
I'm Cletus(a Web Developer using Kubuntu Linux Destro), and I want to
switch to Debian (that was my first choice of Destro, just that I wasn't
able to install and configure it)

So I want to know wether it's possible to switch to Debian without looking
my files ?

N/B: I'm running Kubuntu and Windows currently (I still want to keep my
Windows)