Re: [DNG] Advice to migrate from Beowulf to Chimaera

2021-04-22 Thread Dimitris via Dng

Hey Olaf,

Στις 22/4/21 11:55 π.μ., ο/η Olaf 
Meeuwissen via Dng έγραψε:

Is debfoster smart(er) about asking what you want to keep?  As in asking
you about the packages that keep most of the other packages installed
first (rather than going through potential removals alphabetically)?


yes.

debfoster only asks about installed packages : "Keep, Y/N" and keeps all 
dependant installed packages on "Y" , or adds another question about 
keeping dependencies on a "N".
after first succesful run, you're only asked about newly installed 
packages from that moment on..


debfoster installation has no real dependencies (just already installed 
libc iirc) and it's just one command to run (=easy to remember).


d.




OpenPGP_signature
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Advice to migrate from Beowulf to Chimaera

2021-04-22 Thread Alessandro Vesely via Dng

On Tue 20/Apr/2021 16:03:59 +0200 Bernard Rosset via Dng wrote:

find /usr/bin -atime +360 | xargs -l1 apt-file find | sort


I would suggest dpkg -S instead of apt-file find, which matches prefix, not 
exact file. I would also filter on the package name and ensure unicity. Also, 
never log in as root.


Here would me my quick & dirty take at your command chain:
find /usr/bin -atime +360 | xargs -l1 sudo dpkg -S | awk -F ':' '{print $1}' | 
sort | uniq



Nice command.  If found some 76 packages, including, for example, gcc-4.8, 
setcd, wmtime...

Thanks to all also for the apt- and debfoster- based methods.  They need more 
thought.


On the dark side, something bad happened during the upgrade, which I only 
realized later:

*pulseaudio* was surreptitiously installed.  Beowulf worked well without it, 
and Chimaera also worked well as soon as I removed it.

*python* was not installed at all.  How come?


Best
Ale
--



















___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Advice to migrate from Beowulf to Chimaera

2021-04-22 Thread Olaf Meeuwissen via Dng
Hi Florian, Dimitris,

Florian Zieboll via Dng writes:

> On Wed, 21 Apr 2021 15:34:34 +0300
> Dimitris via Dng  wrote:
>
>> Στις 21/4/21 2:53 μ.μ., ο/η Olaf Meeuwissen via Dng έγραψε:
>> >
>> > The first time around, there will be quite a long list of packages
>> > that are candidates for removal.  Even without a desktop environment
>> > installed the list can be several tens of packages.  Look for the
>> > "top-level" kind of packages to `apt-mark manual`, things like
>> > task-xfce-desktop, so you don't have to add a long list of packages.
>> > You can `apt-mark auto` them later and fine-tune your list of
>> > manually installed packages.
>> >
>> > # This is how I whittle down the list of xserver-xorg-video-*
>> > packages # that I really need :-)
>> >
>>
>>
>> i believe debfoster package can do the same thing (if i understand
>> correctly)...

That jogged 15(+?) year old memory ...

> Yes, 'debfoster' is a neat tool. I usually install and run it straight
> after the first minimal system installation and then regularly after
> installing additional packages. When you have the 'Install-Recommends'
> and 'Install-Suggests' options disabled in your 'apt' config, it keeps
> track of the manually selected additional packages; if an in depth
> maintenance is desired, there are the '--no-keeperfile' and
> '-ignore-default-rules' options.

... but seeing that apt-mark and a couple of APT configuration settings
will do the same I don't see why I would need to install debfoster these
days when apt provides everything already.

Is debfoster smart(er) about asking what you want to keep?  As in asking
you about the packages that keep most of the other packages installed
first (rather than going through potential removals alphabetically)?

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Advice to migrate from Beowulf to Chimaera

2021-04-21 Thread Florian Zieboll via Dng
On Wed, 21 Apr 2021 15:34:34 +0300
Dimitris via Dng  wrote:

> Στις 21/4/21 2:53 μ.μ., ο/η Olaf Meeuwissen via Dng έγραψε:
> > 
> > The first time around, there will be quite a long list of packages
> > that are candidates for removal.  Even without a desktop environment
> > installed the list can be several tens of packages.  Look for the
> > "top-level" kind of packages to `apt-mark manual`, things like
> > task-xfce-desktop, so you don't have to add a long list of packages.
> > You can `apt-mark auto` them later and fine-tune your list of
> > manually installed packages.
> > 
> > # This is how I whittle down the list of xserver-xorg-video-*
> > packages # that I really need :-)
> >   
> 
> 
> i believe debfoster package can do the same thing (if i understand 
> correctly)...


Yes, 'debfoster' is a neat tool. I usually install and run it straight
after the first minimal system installation and then regularly after
installing additional packages. When you have the 'Install-Recommends'
and 'Install-Suggests' options disabled in your 'apt' config, it keeps
track of the manually selected additional packages; if an in depth
maintenance is desired, there are the '--no-keeperfile' and
'-ignore-default-rules' options. 

libre Grüße,
Florian
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Advice to migrate from Beowulf to Chimaera

2021-04-21 Thread Dimitris via Dng


Στις 21/4/21 2:53 μ.μ., ο/η Olaf Meeuwissen via Dng έγραψε:


The first time around, there will be quite a long list of packages that
are candidates for removal.  Even without a desktop environment
installed the list can be several tens of packages.  Look for the
"top-level" kind of packages to `apt-mark manual`, things like
task-xfce-desktop, so you don't have to add a long list of packages.
You can `apt-mark auto` them later and fine-tune your list of manually
installed packages.

# This is how I whittle down the list of xserver-xorg-video-* packages
# that I really need :-)




i believe debfoster package can do the same thing (if i understand 
correctly)...


2c,
d.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Advice to migrate from Beowulf to Chimaera

2021-04-21 Thread Olaf Meeuwissen via Dng
Hi Florian, Alessandro,

Florian Zieboll via Dng writes:

> On Mon, 19 Apr 2021 13:10:49 +0200
> Alessandro Vesely via Dng  wrote:
>
>> Isn't there a way to remove
>> packages not used for more than one year?
>
> Definitely not an approach for automated package removal, but perhaps a
> valid starting point for decluttering manually:
>
> $ find /usr/bin -atime +360 | xargs -l1 apt-file find | sort

I hadn't thought of that approach but rather than look at use (for some
definition of use), I like to use apt-mark and a judicious set of APT
options to keep my systems free of stuff I don't need.

That goes a bit like this

 sudo apt-mark auto $(apt-mark showmanual)

followed by looking at what

 sudo apt auto-remove

would like to get rid of.  Make sure to say 'n'!
Based on the list of potential removals, I

 sudo apt-mark manual 

After iterating a couple of times until I'm happy with the list of stuff
that will be removed I finally say 'y' so apt zaps the stuff I don't
want/need.

The first time around, there will be quite a long list of packages that
are candidates for removal.  Even without a desktop environment
installed the list can be several tens of packages.  Look for the
"top-level" kind of packages to `apt-mark manual`, things like
task-xfce-desktop, so you don't have to add a long list of packages.
You can `apt-mark auto` them later and fine-tune your list of manually
installed packages.

# This is how I whittle down the list of xserver-xorg-video-* packages
# that I really need :-)

Doing this in phases also gives you a bit of an opportunity to recover
from mistakes when you remove a package you actually need without
realizing it.  Check the /var/log/apt/history.log* files to see what you
removed recently if stuff breaks.

Options that you might want to pass to that apt auto-remove invocation

 -o APT::AutoRemove::SuggestsImportant=false
 -o APT::AutoRemove::RecommendsImportant=false
 -o APT::Get::Purge=true

# Add them to /etc/apt/apt.conf if you want to use these by default.

The first is pretty benign.  It just removes those packages that are
only kept installed because some package has a Suggests: dependency on
it.  Of course, you might want to keep it.  In that case, just say

 sudo apt-mark manual 

The second option is similar but ups the ante a bit and tries to get rid
of packages that are only installed because they are recommended.  As
for the Suggests:, use apt-mark manual to keep stuff you want/need and
get rid of the rest.

The third and final option makes sure any configuration files are
removed as well.  I keep mine version controlled with etckeeper so
zapping config files is typically not an issue for me.  The git repo has
a copy that I can resurrect as needed.  If you do not have backups of
configuration files that might be removed, you're probably better of not
using this option.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Advice to migrate from Beowulf to Chimaera

2021-04-21 Thread Bernard Rosset via Dng
I would suggest dpkg -S instead of apt-file find, which matches prefix, 
not exact file. I would also filter on the package name and ensure 
unicity. Also, never log in as root.


It has been brought to my attention I was wrong: dpkg -S doesn't require 
privileges and runs fine in userland.

Hence, scratch that part of my previous message.

Bernard (Beer) Rosset
https://rosset.net/
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Advice to migrate from Beowulf to Chimaera

2021-04-21 Thread Olaf Meeuwissen via Dng
Hi Bernard,

Bernard Rosset via Dng writes:

>> find /usr/bin -atime +360 | xargs -l1 apt-file find | sort
>
> I would suggest dpkg -S instead of apt-file find, which matches prefix,
> not exact file. I would also filter on the package name and ensure
> unicity. Also, never log in as root.
>
> Here would me my quick & dirty take at your command chain:
> find /usr/bin -atime +360 | xargs -l1 sudo dpkg -S | awk -F ':' '{print
> $1}' | sort | uniq

Huh?  What's with the sudo for dpkg -S?
For all I remember that works fine without root privileges.

 olaf@quark:~$ find /usr/bin -atime +360 | xargs -l1 dpkg -S \
   | awk -F ':' '{print  $1}' | sort | uniq
 eject
 pciutils
 upower
 xfconf

FWIW, throwing in sudo gives the same result and my user account is in
the sudo group.  And I have modified that groups /etc/sudoers entry to

 # Allow members of group sudo to execute any command
 %sudo  ALL=(ALL:ALL) NOPASSWD: ALL

so it doesn't prompt me for a password.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Softwarehttps://my.fsf.org/donate
 Join the Free Software Foundation  https://my.fsf.org/join
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Advice to migrate from Beowulf to Chimaera

2021-04-20 Thread Bernard Rosset via Dng

find /usr/bin -atime +360 | xargs -l1 apt-file find | sort


I would suggest dpkg -S instead of apt-file find, which matches prefix, 
not exact file. I would also filter on the package name and ensure 
unicity. Also, never log in as root.


Here would me my quick & dirty take at your command chain:
find /usr/bin -atime +360 | xargs -l1 sudo dpkg -S | awk -F ':' '{print 
$1}' | sort | uniq


Bernard (Beer) Rosset
https://rosset.net/
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Advice to migrate from Beowulf to Chimaera

2021-04-20 Thread Florian Zieboll via Dng

On Mon, 19 Apr 2021 13:10:49 +0200
Alessandro Vesely via Dng  wrote:

> Isn't there a way to remove
> packages not used for more than one year?


Definitely not an approach for automated package removal, but perhaps a
valid starting point for decluttering manually:

$ find /usr/bin -atime +360 | xargs -l1 apt-file find | sort


libre Grüße,
Florian
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Advice to migrate from Beowulf to Chimaera

2021-04-19 Thread Alessandro Vesely via Dng

On Sun 18/Apr/2021 11:37:58 +0200 Alessandro Vesely wrote:

I'll try tomorrow.



Everything incredibly smooth!

I don't know why I rebooted between upgrade and dist-upgrade.  The graphics 
didn't come up, so I run dist-upgrade on the tty terminal.  That's the only 
annoyance I had.


Heck, the process took an inordinate amount of time.  autoremove is still 
running for 435 packages... Isn't there a way to remove packages not used for 
more than one year?



Best
Ale
--

















___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Advice to migrate from Beowulf to Chimaera

2021-04-18 Thread Florian Zieboll via Dng
On Sun, 18 Apr 2021 11:37:58 +0200
Alessandro Vesely via Dng  wrote:

> On Sat 17/Apr/2021 15:37:31 +0200 Florian Zieboll via Dng wrote:
> > On April 17, 2021 2:33:53 PM GMT+02:00, Alessandro Vesely via Dng
> >  wrote:
> >> 
> >> Is there a guide, a wiki, release notes, any help?
> > 
> > my Beowulf to Chimaera (LXqt with openbox) went quite smooth. I had
> > posted my notes to this list, approx. one month ago; you should
> > find it by searching the subject lines for (most probably) the two
> > release names. IIRC, I just did a last dist-upgrade to be sure to
> > have all the latest packages, then adapted the sources.list and
> > went 'apt update' - 'apt upgrade' - reboot - 'apt dist-upgrade' -
> > reboot.
> 
> 
> Found it!
> https://lists.dyne.org/lurker/message/20210325.205609.62226b42.en.html
> 
> You went directly from ASCII to Chimaera without passing through
> Beowulf.  Wow.


Sorry, my bad: It was an upgrade from _Beowulf_ to Chimaera. Seems I got
confused when doing the writeup for the mailing list two weeks later.

libre Grüße,
Florian
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Advice to migrate from Beowulf to Chimaera

2021-04-18 Thread Alessandro Vesely via Dng

On Sat 17/Apr/2021 15:37:31 +0200 Florian Zieboll via Dng wrote:

On April 17, 2021 2:33:53 PM GMT+02:00, Alessandro Vesely via Dng 
 wrote:


Is there a guide, a wiki, release notes, any help?


my Beowulf to Chimaera (LXqt with openbox) went quite smooth. I had posted my 
notes to this list, approx. one month ago; you should find it by searching the 
subject lines for (most probably) the two release names. IIRC, I just did a 
last dist-upgrade to be sure to have all the latest packages, then adapted the 
sources.list and went 'apt update' - 'apt upgrade' - reboot - 'apt 
dist-upgrade' - reboot.



Found it!
https://lists.dyne.org/lurker/message/20210325.205609.62226b42.en.html

You went directly from ASCII to Chimaera without passing through Beowulf.  Wow.

I'll try tomorrow.

Thank you
Ale
--




















___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] Advice to migrate from Beowulf to Chimaera

2021-04-17 Thread Florian Zieboll via Dng
On April 17, 2021 2:33:53 PM GMT+02:00, Alessandro Vesely via Dng 
 wrote:
> Hi all,
> 
> I usually prefer to stick on released system, but I'd start working on 
> OpenSCAD 
> and the version available is rather oldish.  As it has lots of graphical 
> dependencies, I think it may be easier to switch to Chimaera than to pin all 
> that stuff.  I run Openbox, btw.
> 
> Is there a guide, a wiki, release notes, any help?



Hallo Alessandro,

my Beowulf to Chimaera (LXqt with openbox) went quite smooth. I had posted my 
notes to this list, approx. one month ago; you should find it by searching the 
subject lines for (most probably) the two release names. IIRC, I just did a 
last dist-upgrade to be sure to have all the latest packages, then adapted the 
sources.list and went 'apt update' - 'apt upgrade' - reboot - 'apt 
dist-upgrade' - reboot.

libre Grüße,
Florian


-- 

[message sent otg]

___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


[DNG] Advice to migrate from Beowulf to Chimaera

2021-04-17 Thread Alessandro Vesely via Dng

Hi all,

I usually prefer to stick on released system, but I'd start working on OpenSCAD 
and the version available is rather oldish.  As it has lots of graphical 
dependencies, I think it may be easier to switch to Chimaera than to pin all 
that stuff.  I run Openbox, btw.


Is there a guide, a wiki, release notes, any help?


TIA
Ale
--

















___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng