Re: Upgrade from potato to woody?
montefin <montefin@finux.com> writes:
> Raghavendra,
>
> Great idea. Yes, I just did it, as root, using the following commands:
>
> # cd /var/cache/apt
> # mkdir sim-logs
> # apt-get --simulate dist-upgrade | cat > sim-logs/apt-sim.txt
This is a bit more complicated than it needs to be. Simply:
apt-get -s dist-upgrade > sim-logs/apt-sim.txt 2>&1
will redirect the output (both stdout and stderr) to the file,
assuming you're using bash, or another Bourne shell, as your shell.
> then
>
> # less sim-logs/apt-sim.txt
>
> to read it.
Gary
Reply to: