[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: --set-selections - help needed to use this

Hmmm. I've used this method several times before, in fact it is my primary way of building machines.

On Tue, Oct 12, 2010 at 7:05 AM, Lisi <lisi.reisz@gmail.com> wrote:
I am installing on a new box.  I have copied the installed_packages.txt from
the old box onto a CD.  (I am physically 10 miles away from the old box)

I am failing in using teh list to install.  I navigated to /media/cdrom0, then

#dpkg --set-selections < installed_packages.txt
#apt-get -u dselect-upgrade

After the first, the system complained that the file is read only.  But I only
want to read it, surely?  And after the second command 0 files were

Are you sure it wasn't just letting you know that you were reading from read-only media? The other option would be to copy the file from /media/cdrom0 to /root and do your --set-selections from there. But it really shouldn't matter.

As for the second, I have never used the -u. And according to the apt-get man page:

       -u, --show-upgraded
           Show upgraded packages; Print out a list of all packages that are
           to be upgraded. Configuration Item: APT::Get::Show-Upgraded.

As other posters have suggested, try running it without the -u.


Reply to: