In gtfp8h$20...@ger.gmane.org, Jörg-Volker Peetz wrote:
Besides the discussion about how to preserve the installed packages state,
I would also backup the file /var/cache/debconf/config.dat which helps to
restore the configuration of the configurable installed packages. But I
don't know how to
On Thu,30.Apr.09, 20:59:40, J.M.Roth wrote:
I have done more experiments and have come up with these notes for now.
#BACKUP
dpkg --get-selections | awk '$2 == install' packagesNG_installed
aptitude -F '%p' search '~i~M' packagesNG_autoinstalled
I'm curious, why not replace these two with
In 20090501074519.gu10...@think.homelan, Andrei Popescu wrote:
On Thu,30.Apr.09, 20:59:40, J.M.Roth wrote:
dpkg --get-selections | awk '$2 == install' packagesNG_installed
aptitude -F '%p' search '~i~M' packagesNG_autoinstalled
I'm curious, why not replace these two with
aptitude -F '%p'
On Fri,01.May.09, 13:26:50, Boyd Stephen Smith Jr. wrote:
Because we are talking about restoring the saved state, and which package
satisfies an virtual | package-i-don't-like | package-i-like
Depend/Recommend does matter, even if that package is marked automatically
installed.
I can't
In 20090501183939.ga10...@think.homelan, Andrei Popescu wrote:
On Fri,01.May.09, 13:26:50, Boyd Stephen Smith Jr. wrote:
Because we are talking about restoring the saved state, and which package
satisfies an virtual | package-i-don't-like | package-i-like
Depend/Recommend does matter, even if
On Fri,01.May.09, 13:49:12, Boyd Stephen Smith Jr. wrote:
Even if you think you do care, you probably do. Either that, or you have a
different goal.
That's more likely.
Regards,
Andrei
--
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)
Besides the discussion about how to preserve the installed packages state, I
would also backup the file /var/cache/debconf/config.dat which helps to restore
the configuration of the configurable installed packages. But I don't know how
to do it automatically but I think its described in the man
I have done more experiments and have come up with these notes for now.
#BACKUP
dpkg --get-selections | awk '$2 == install' packagesNG_installed
aptitude -F '%p' search '~i~M' packagesNG_autoinstalled
debconf-get-selections | grep -Ev '^[[:space:]]*(#|$)' packagesNG_debconf
# RESTORE
# make
2009/4/24 Paul E Condon pecon...@mesanetworks.net:
On 2009-04-23_21:27:07, Daniel Burrows wrote:
[snip]
The state is a flag indicating the package's current state. It's
written as an integer because I designed this code when I was young and
foolish. :-) The relevant values are:
The hint
On Thu, Apr 23, 2009 at 11:56:08PM -0600, Paul E Condon
pecon...@mesanetworks.net was heard to say:
Are you aware of the documentation package for aptitude?
Yes. :-)
Daniel
(SCNR)
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe.
In 20090424055608.gb20...@big.lan.gnu, Paul E Condon wrote:
In the aptitude-create-state-bundle description, they give a list of
exactly what they (the documenters of the aptitude program no less)
believe to be the sum total of what is needed to recreate a living apt
system. This list is:
Boyd Stephen Smith Jr. bss at iguanasuicide.net writes:
In loom.20090422T085218-105 at post.gmane.org, J.M.Roth wrote:
Now... I've been playing a little bit with this.
First, I get some
warning: Unknown type error, skipping line
using debconf-set-selections ...
Hrm, that's somewhat
On Thu, Apr 23, 2009 at 09:13:38AM +, J.M.Roth lists+debianu...@roth.lu
was heard to say:
Oh and I guess to make things really right one would have to use
--get-selections '*'
during the backup, or an additional
dpkg --clear-selections
before the restore. Just a thought.
On 2009-04-23_21:27:07, Daniel Burrows wrote:
On Thu, Apr 23, 2009 at 09:13:38AM +, J.M.Roth
lists+debianu...@roth.lu was heard to say:
Oh and I guess to make things really right one would have to use
--get-selections '*'
during the backup, or an additional
dpkg
Boyd Stephen Smith Jr. bss at iguanasuicide.net writes:
I'd rather do
aptitude -F '%p' search '~i~M' auto_installed_packages
Your command does not work if the package state is e.g. 'i A'
(note the space)
Actually, it only works in that case. Of course, because of the search
terms, all
In loom.20090422t085218-...@post.gmane.org, J.M.Roth wrote:
Now... I've been playing a little bit with this.
First, I get some
warning: Unknown type error, skipping line
using debconf-set-selections ...
Hrm, that's somewhat troubling. It won't affect which packages are
installed, but it will
Boyd Stephen Smith Jr. bss at iguanasuicide.net writes:
On Thursday 26 March 2009 22:09:28 Paul E Condon wrote:
Your suggestion does raise in interesting issue: given a set of
installed packages in a --get-selections file, and given that the
dependency information is available in the
In loom.20090421t153051-...@post.gmane.org, J.M.Roth wrote:
Boyd Stephen Smith Jr. bss at iguanasuicide.net writes:
aptitude search '~i~M' | awk '{print $3}' auto_installed_packages
I'd rather do
aptitude -F '%p' search '~i~M' auto_installed_packages
Your command does not work if the package
Sorry for breaking the thread. I was having sendmail troubles yesterday due
to an ISP switch. :(
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
b...@iguanasuicide.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/
In 20090327195314.gt29...@swansys, green wrote:
Paul E Condon wrote at 2009-03-27 09:26 -0600:
Now, the discussion has moved to how to query the packaging system to
get the most useful file of information. I'm still not sure what the
query string should be.
I think the most useful one is
2009/3/28 Paul E Condon pecon...@mesanetworks.net:
I'm convinced that the suggestion is worthwhile, but I'm having
difficulty following it. See below.
On 2009-03-27_16:33:11, Owen Townend wrote:
2009/3/27 Paul E Condon pecon...@mesanetworks.net:
On 2009-03-26_19:08:32, Douglas A. Tutty
On Thursday 26 March 2009 22:09:28 Paul E Condon wrote:
On 2009-03-26_19:08:32, Douglas A. Tutty wrote:
On Thu, Mar 26, 2009 at 04:26:12PM -0600, Paul E Condon wrote:
But I think I would like to have a record of what packages were
actually installed. So I'm thinking of writing a script, to be
On Thu,26.Mar.09, 19:08:32, Douglas A. Tutty wrote:
I wouldn't put my backup info in /etc/apt. Most of what is in /etc/
(just like the rest of the file system) is managed by packages which are
managed by apt. You may find that what you put in /etc/apt gets changed
(I don't know, but I
I'm convinced that the suggestion is worthwhile, but I'm having
difficulty following it. See below.
On 2009-03-27_16:33:11, Owen Townend wrote:
2009/3/27 Paul E Condon pecon...@mesanetworks.net:
On 2009-03-26_19:08:32, Douglas A. Tutty wrote:
Many of those packages will have been
On 2009-03-27_11:19:29, Andrei Popescu wrote:
On Thu,26.Mar.09, 19:08:32, Douglas A. Tutty wrote:
I wouldn't put my backup info in /etc/apt. Most of what is in /etc/
(just like the rest of the file system) is managed by packages which are
managed by apt. You may find that what you put
Paul E Condon wrote at 2009-03-27 09:26 -0600:
Now, the discussion has moved to how to query the packaging system to
get the most useful file of information. I'm still not sure what the
query string should be.
Restoring the package set is not so simple as restoring the packages that are
On Fri,27.Mar.09, 09:26:59, Paul E Condon wrote:
I see you have a different search string than has been mentioned before.
Is yours really what you use, or something typed from memory? The ones
I have tried didn't seem to give correct results.
It was from memory, and I was even right ;)
Let
On 2009-03-27_13:53:14, green wrote:
Paul E Condon wrote at 2009-03-27 09:26 -0600:
Now, the discussion has moved to how to query the packaging system to
get the most useful file of information. I'm still not sure what the
query string should be.
Restoring the package set is not so
Paul E Condon wrote at 2009-03-27 16:35 -0600:
On 2009-03-27_13:53:14, green wrote:
I think I have minimally tested these commands, but it has been a while.
It
would be great if someone could try this out and add a wiki page for it.
Well, I'm going to try it out, I can't promise a
On 2009-03-27_17:43:22, green wrote:
Paul E Condon wrote at 2009-03-27 16:35 -0600:
On 2009-03-27_13:53:14, green wrote:
I think I have minimally tested these commands, but it has been a while.
It
would be great if someone could try this out and add a wiki page for it.
...
want an
Paul E Condon wrote at 2009-03-27 18:14 -0600:
Recently I agreed to acquire a backtrace using gdb on
gnome-terminal. I had reported it crashing under a certain
situation. I'm not skilled at debugging, but gnome-terminal is
important to me, so I agreed. The work did not go well. Things went
I'm setting up a nightly backup system for my computer. Of
course, I want to backup /home/pec and /etc . but I don't think
there is any point in backing up all the wonderful Debian packages
that are stored in /var . I reason that if something were to
cause damage to the package collection in /var
On Thu, Mar 26, 2009 at 04:26:12PM -0600, Paul E Condon wrote:
But I think I would like to have a record of what packages were
actually installed. So I'm thinking of writing a script, to be run
nightly, that puts a fresh copy of my selections in /etc/apt, e.g.
# dpkg --get-selections
On 2009-03-26_19:08:32, Douglas A. Tutty wrote:
On Thu, Mar 26, 2009 at 04:26:12PM -0600, Paul E Condon wrote:
But I think I would like to have a record of what packages were
actually installed. So I'm thinking of writing a script, to be run
nightly, that puts a fresh copy of my
2009/3/27 Paul E Condon pecon...@mesanetworks.net:
On 2009-03-26_19:08:32, Douglas A. Tutty wrote:
Many of those packages will have been installed automatically by your
package manager. If you use aptitude, you only need to record the
packages which you manually installed:
aptitude search
35 matches
Mail list logo