On Fri, Jan 04, 2019 at 01:13:52PM +0100, Marek Marczykowski-Górecki wrote:
> On Fri, Jan 04, 2019 at 05:37:07AM -0600, Andrew David Wong wrote:
> > On 1/3/19 11:31 PM, John S.Recdep wrote:
> > > On 1/3/19 2:51 PM, 22rip-2xk3N/kkaK1Wk0Htik3J/[email protected]
> > > wrote:
> > >> Thanks 799...I learned something!
> > >>
> > >> Similar to 799 but less hardcore...I always download a fresh
> > >> template(vs upgrade). In my case I ran with a full/fresh
> > >> Fedora-29 after the Fedora-28 hplip issues, and added any new
> > >> software from fresh:
> > >>
> > >> https://www.qubes-os.org/doc/templates/
> > >>
> > >
> > >
> > > hmm, ok let's say I just use the new fresh 29 template, is there
> > > some way that I can know what non-stock software I installed on my
> > > Fedora-28 template, as I can't remember all that I may have
> > > installed ....
> > >
> >
> > This is more of a Fedora question than a Qubes question. As far as I
> > know, there isn't a clean way to do this. Following Marek's advice
> > from years ago, I just keep a list of the packages that I install in
> > each of my templates.
>
> Since some dnf version it is possible:
>
> sudo dnf history userinstalled
>
> dnf mark can be used to adjust the list (without actually
> installing/removing packages). This may list some more packages, as it
> will include default packages installed by the template builder. But
> should be a good starting point for such a list.
>
The problem with that is that it outputs version numbers, which isnt
particularly helpful.
dnf repoquery --qf "%{name}" --userinstalled
Will give you just the names.
Somewhat more naively, 'dnf list installed|cut -f1 -d" "|tail -n +3'
will give you a complete list which you could feed to 'dnf install'.
Debian has apt-clone which works nicely. I don't know if there's a Fedora
equivalent.
--
You received this message because you are subscribed to the Google Groups
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qubes-users/20190104123413.4heul54qzytbcxhd%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.