I'm more familiar with Fedora where I do something like this. It
should be possible to do the same in Ubuntu with the appropriate
apt-get commands.
1. List all packages with their names only (no versions) on both the
old system and newly installed system, assuming the new system is
booted and the old system is mounted at /mnt/oldroot.
Alternatively, do the first command (without the --root parameter)
when booted to the old version and save the file somewhere:
rpm -qa --qf='%{name}\n' --root=/mnt/oldroot | sort -u > old-pkglist.txt
rpm -qa --qf='%{name}\n' | sort -u > new-pkglist.txt
2. Compare the files and save that output:
diff -b -U0 {old,new}-pkglist.txt > old-new-diff.txt
grep ^- old-new-diff.txt | cut -c2- > missing-from-new.txt
grep ^+ old-new-diff.txt | cut -c2- > only-in-new.txt
3. Now go through the list and install what you want. I usually do
this step manually rather than using some automated script, since
there are many changes I don't necessarily want, such as shared
libraries. All I really care about is applications/commands/utilities.
I go through the lists, reading the diff in one window and installing
stuff I want in another:
dnf install a b c d ...
and/or this which installs a package and all of its subpackages
except development and debug subpackages. This is great when a
package has a bunch of plugins I want:
dnf --exclude='*devel*' --exclude='*debug*' install foo-\* ...
Or you could curate the list, e.g. edit missing-from-new.txt
keeping only the lines you care about, then automatically install
everything that is in the curated list:
cat missing-from-new-curated.txt | xargs dnf -y install
> >> On Thu, Jan 13, 2022 at 3:47 PM gmcaplan--- via WLUG
> >> <wlug(a)lists.wlug.org> wrote:
> >>
> >> I was hoping to attend, but it looks like I will not be able to.
> >> I hope it will be recorded because I, too, would like to learn about
> >> emacs.
> >> Also, I have two questions:
> >> 1. I am running Ubuntu 18.04 LTS. When I update to ver. 20 or 22, I
> >> would prefer to do a "clean" re-install, but I have a question. Does
> >> that mean I must get a list of all my installed software and
> >> re-install
> >> them one at a time after I upgrade the OS? If so, is there an
> >> easy way
> >> for me to get the list?
Hey Everybody,
The meeting last night was amazing and Kalman showed us was a power emacs
users looks like.
I've downloaded the video, I'm going to trim it down a bit and upload the
video to the wlug youtube account. Once it's uploaded I'll send out the
link.
Thanks,
Tim.
--
I am leery of the allegiances of any politician who refers to their
constituents as "consumers".
This is random and literally last minute, but it's day one of Linux.Conf.Au
- anyone else virtually attending any sessions?
https://linux.conf.au/
Lexi
Hey Gang,
This is a reminder we've got a meeting today.
The presenter is my co-worker, lisp ninja, emacs badass Kalman.
Beyond being a emacs wizard, he's also a mainframe guru, a unix/linux guru
and is/was deeply involved in the writing/maintaining of the symbolics lisp
operating system.
Today he's going to show off some of his emacs foo. If you think emacs is
an editor of a bygone era when things were more civilized, kalman will
likely not change your mind.
However, if you want to take your emacs usage to the next level you'll love
this talk.
If you're totally not into emacs, that's okay, come along for the ride all
the same.
Expect the usual banter, tangents and fun. We'll also talk about what we'll
want todo for the next meeting.
See ya at the meeting!
Tim.
--
I am leery of the allegiances of any politician who refers to their
constituents as "consumers".
Hi from doug in Maine ...former WPI netops geek,
before that a *NIX admin back to when Vax and Sparc were
corporate choices (I guess I've gotten over pining for BSD variants).
I supported many emacs geeks (sw/hw developers) then,
but never adopted emacs in my pea brain.
I guess I preferred vi's stupid modes and ESC and ":" ,
over CTRL-everything? in emacs. Or maybe I got bit by a macro as a child.
For some ancient emacs lore...its security hole Way Back Then is
lovingly(ha)
mentioned in Clifford Stoll's awesome/fun? book "The Cuckoo's Egg".
Just to get root, back then. Access via hopping thru dialup 1200baud modems,
and a world where security was off-radar to the engineers owning systems.
Even MilNet systems. What fun ! Dumb hacker paradise! One fun line from
below:
What do you feed a Trojan horse ? Oooh, found a 52-page scan of the book at
http://nationalsecurity.gmu.edu/wp-content/uploads/2020/12/Cuckoos-Egg-Read…
But as always, I ramble.
George: Great question. I "(d)evolved" into a dumb linux Mint user (a great
Ubuntu-based
distro ..though you gotta choose, Cinnamon,MATE,Xfce. I chose Mate, 20.1 is
stable.
I forget the why's, but I know it's good with a few beloved windows keyb
tricks like ALT-TAB).
As a sysadmin responsible for reloading/building systems, I had to fret
packages once,
.....obviously this was the cat's meow compared to rebuilding from sources
and "make".
I remember studying our typical < 1000 RedHat packages and feeling like I
knew what
most of them were. Now I've got > 2000 on Mint, and barely recognize half
of them.
Today for fun (Thanks Tim), I looked to see...
if the one thing I recall needing to install off-package a few years ago =
"chrome"
showed up in either my sudo logs (nope) or package list. Chrome got into
Mint's distros.
So my "apt list --installed" output (3mo old desktop load) shows 2028
packages
having chosen the "want 3rd party stuff?" install question...so
wonderful..so I have both
emacsen-common/focal,focal,now 3.0.4 all [installed] and
google-chrome-stable/now 91.0.4472.77-1 amd64 [installed,upgradable to:
97.0.4692.71-1]
From cmd line, google-chrome (I no longer need on
Final side track, I remember years ago saying "amazing...YouTube just works
out of box!".
Final backtrack...wonder what emacsen-common has, since if I try to launch
"emacs" I get
Command 'emacs' not found, but can be installed with:
sudo apt install e3 # version 1:2.71-2, or
sudo apt install emacs-gtk # version 1:26.3+1-1ubuntu2
sudo apt install emacs-lucid # version 1:26.3+1-1ubuntu2
sudo apt install emacs-nox # version 1:26.3+1-1ubuntu2
sudo apt install jove # version 4.17.2.7-1
Pardon my endless rant, hope it doesn't sidetrack today/tonite.
I'll be fascinated to see what a recorded session looks like...with
chat/comments?
Hey Gang!
We've got a meeting on Thursday!
In light of the recent surge in Omicron (I managed to get exposed on NYE)
I'm going to make this month's meeting virtual. Hopefully next month we can
get back to our regularly scheduled in person meetings!
Date/Time: January 13th 2022 @ 7pm!
Location: Our virtual meeting place: https://meet.jit.si/WlugMA
Topic: Using Emacs for fun and pro fit!
Presenter: Kalman Reti
This meeting's guest speaker is my amazing co-worker Kalman Reti.
If you've never used emacs or used it for years, you'll love this talk. If
you hate emacs, well, there's nothing to be said other than to come along
and jeer.
Kalman is many things, but one of them is a power user of emacs. He's
agreed to show off some of his emacs kung fu. In this talk you'll learn
some emacs history, likely some lisp and definitely some tricks. Beyond
being an emacs guru, he's also a fountain of knowledge of all things
unix/linux and beyond!
Along the way, I'm sure we'll engage in our usual banter, side tracks and
fun.
Thanks,
Tim.
--
I am leery of the allegiances of any politician who refers to their
constituents as "consumers".