Re: dselect and a Recent Experience

From: Clive Menzies (clive_at_clivemenzies.co.uk)
Date: 06/22/05

  • Next message: Alan Chandler: "Re: Setting up a Java development environment the debian way."
    Date: Wed, 22 Jun 2005 18:25:58 +0100
    To: debian-user@lists.debian.org
    
    

    On (22/06/05 12:06), Martin McCormick wrote:
    > In the spirit of helpfulness on this list, I want to repay
    > some of the assistance I have gotten from others, here. This message
    > is a warning, not a gripe. I think Linux software is astoundingly
    > robust. Like anything, there are gotchas. I am not sure exactly what
    > happened, but I last week trashed my system at home while doing a
    > rather innocent upgrade based upon what dselect computed needed to be
    > done while installing a single package. I wasn't paying attention
    > closely enough because things usually work perfectly and what happened
    > was that a large number of packages got removed and the system ended
    > up not even being bootable. Fortunately, I do /home backups on a
    > daily basis and I was even able to use a rescue disk to tar /home so I
    > didn't loose data. The new version of my system now has ext3 file
    > systems for everything and grub as the boot loader. the only real loss
    > was time.
    >
    > Today, here at work, I was going to install bittorrent on ta
    > Debian system and I used dselect to list the packages in order to find
    > bittorrent. It found it and I started to install from there except I
    > saw that dselect was also going to whack about the same number of
    > packages here that it did when I was on my system at home. Both are
    > very stable woody-installed systems. I was actually awake at the
    > switch this time so I aborted the tragedy before it happened. I used
    > apt-get install bittorrent since I knew I had it in the package lists
    > and it appears to have worked fine and corrected the dependencies
    > needed to install bittorrent.
    >
    > dselect has, for the most part worked very well so I think
    > there is a possible bug somewhere to cause it to get confused as to
    > what it is supposed to delete, but everyone needs to pay closer than
    > usual attention to what dselect is doing if or when you use it.
    Hi Martin

    I used dselect when first using Debian, for well over a year and was
    reluctant to change. However, about a year ago, I encountered similar
    problems and thought I'd try aptitude. There are strong views on this
    list: dselect v aptitude v apt-get .... the former two are front-ends to
    the latter. No doubt, someone will write why they don't like aptitude.

    Having used aptitude both at the command line and through the menu, I've
    found its behaviour very predictable, once you understand it. The
    important thing is to use it exclusively, because it remembers what was
    installed through it and will remove dependancies when you remove a
    package.

    Where people encounter problems is when they use more than one package
    management method. That's when aptitude suddenly tries to remove half
    your system for no apparent reason.

    FWIW the upgrade manual for woody -> sarge stipulates that using
    aptitude is the preferred method.

    Regards

    Clive

    -- 
    www.clivemenzies.co.uk ...
    ...strategies for business
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Alan Chandler: "Re: Setting up a Java development environment the debian way."

    Relevant Pages

    • Re: Question about get-selections
      ... than "install" isn't really necessary to reproduce. ... existing system that you took the backup from, ... the package management wouldn't figure that out on its own. ... the ability to enter commands at the aptitude prompt. ...
      (Debian-User)
    • Re: I get it now! (smbfs support)
      ... > under dselect and no dependency warnings being issued. ... The smbfs package only gives you the programs to mount the shares. ... dependency system cannot see if your kernel has smbfs support. ... be annoying if you had to install another kernel only to get the smbfs ...
      (comp.os.linux.setup)
    • Re: Aptitude
      ... > Used apt-get to install aptitude. ... > Kpackage or synaptic, without removing KDE itself. ... You can remove the KDE package without any of the KDE ...
      (Debian-User)
    • Re: aptitude keeps trying to replace my vim-gtk and ftpd
      ... >> Bluefish is an HTML editor based on GTK, not an aptitude helper. ... > It was part of the workstation install. ... the dependencies of that package will be tagged as automatically installed, ...
      (Debian-User)
    • Re: Total confusion with aptitude. Help, please!
      ... vim as being broken, giving as further details: ... Just to be a little more clear, you can find out exactly what aptitude ... thinks by examining the status flags on the left-hand side of the package ... "aptitude install aptitude". ...
      (Debian-User)