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

synchronize dselect



>>>>> "Oege" == Oege Dijk <ooch@thearmy.com> writes:

    Oege> Hi,
    Oege> I am not sure how, but somehow I really messed up my dselect requests.
    Oege> When i run [I]install, dpkg wants to remove a whole host of packages,
    Oege> among which gnome and X. From dselect I have tried to clearly tell
    Oege> dselect that I want to install the packages it wants to remove, but that
    Oege> all doesn't matter. It still tries to remove all those packages. 

    Oege> Is there any way I can synchronize my dselect requests with what
    Oege> packages I actually have installed?

    This may help (in fact, it comes from the FAQ):

    $ dpkg --get-selections | sed -e 's/uninstall/install/' > foobar
    $ dpkg --set-selections < foobar

    And avoid using dselect in the future!

cheers,

-- 
Allan F. Caetano
Universo On Line - EngProd - F: (11) 224 4418
ComVc: 479966   ICQ: 68214944



Reply to: