In , 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 do it automatically.
d
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 pag
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)
signature.a
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,
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 c
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
>
>aptitu
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 t
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
# ma
2009/4/24 Paul E Condon :
> 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 was here.. ^^
.
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:
On Thu, Apr 23, 2009 at 11:56:08PM -0600, Paul E Condon
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". Trouble? Contact listmas...@li
On 2009-04-23_21:27:07, Daniel Burrows wrote:
> On Thu, Apr 23, 2009 at 09:13:38AM +, "J.M.Roth"
> 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
>
On Thu, Apr 23, 2009 at 09:13:38AM +, "J.M.Roth"
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.
> >
> > --clear-se
Boyd Stephen Smith Jr. iguanasuicide.net> writes:
> In 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
In , 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 affect how they are configured.
>
Boyd Stephen Smith Jr. 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
In , J.M.Roth wrote:
>Boyd Stephen Smith Jr. 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 state is e.g. 'i A'
>(note the space)
Boyd Stephen Smith Jr. 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 pack
2009/3/28 Paul E Condon :
> 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 :
>> > On 2009-03-26_19:08:32, Douglas A. Tutty wrote:
>> >>
>> >> Many of those packages will
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
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/
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
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.
..
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 promi
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
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 ;)
Le
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
ma
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 y
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 :
> > On 2009-03-26_19:08:32, Douglas A. Tutty wrote:
> >>
> >> Many of those packages will have been installed automatically b
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 w
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 scrip
2009/3/27 Paul E Condon :
> 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 `~i!~M'
>>
>>
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 s
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 >
34 matches
Mail list logo