The problem with these instructions are the redirect rather than a pipe
and there is also a type-o.
When you set the selections on the new system you need to send the
package list to dpkg via STDIN rather than a redirect. I commented out
the bad line and replaced it with the good one.
Also, you w
On Tue, 2003-10-14 at 19:48, Jens Grivolla wrote:
> Hi,
>
> I apparently have a lot of leftovers from old packages that did not
> get cleanly uninstalled, and am losing quite a bit of disk space for
> that.
>
> I would therefore like to do a fresh install (backing up /home and
> /etc), but using
> It is not quite clear to me from the man-page what would happen to
> already installed packages. I suppose that set-selections only
> affects those packages that are actually in the list.
Yes, I believe it only changes the packages listed in the
file. All others are unaffected.
--
Paul Yeatm
Paul Yeatman <[EMAIL PROTECTED]> writes:
>> > Is there a way to dump my current selection to a file and read it back
>> > later? I didn't find such an option in aptitude or any of the other
>> > tools.
>
> dpkg --get-selections >
Ok, this gives me a list of packages like " install" for
in
On Tue, Oct 14, 2003 at 07:18:04PM -0700, Paul Yeatman wrote:
[snip]
> run
>
> dpkg --set-selections <
>
> to get it back.
>
I did a test:
#echo "par install" | dpkg --set-selections
#aptitude
#echo "par install" | dpkg --set-selections
#aptitude
It doesn't seem that dpkg --
> > Is there a way to dump my current selection to a file and read it back
> > later? I didn't find such an option in aptitude or any of the other
> > tools.
> >
>
> I use this:
>
> grep -E "^Package|Status:.+$" /var/lib/dpkg/status | \
> sed "s/Package:/\tPackage:/" | tr \\n \\t | sed "s/\t\t
On Wed, Oct 15, 2003 at 01:48:06AM +0200, Jens Grivolla wrote:
> Hi,
>
> I apparently have a lot of leftovers from old packages that did not
> get cleanly uninstalled, and am losing quite a bit of disk space for
> that.
>
> I would therefore like to do a fresh install (backing up /home and
> /etc
7 matches
Mail list logo