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

Re: aptitude loosing its mind?



On Saturday 05 March 2005 05:06 pm, Ed Tomlinson wrote:
> On Saturday 05 March 2005 17:31, Mike Reinehr wrote:
> > Ed,
> >
> > There are times that I certainly wondered what the h___ was going on!
> >
> > The first thing that comes to mind is that xfs was installed
> > automatically to satisfy a dependency of some other program, which
> > subsequently has been removed. (IIRC there are two different font servers
> > that can be used with XFree86, but I can't remember the name of the other
> > one.)
> >
> > In any case, if you wish to keep it on your system, just mark it as
> > manually installed 'm' in aptitude.
>
> Is there any way to do this from the command line?

 Not that I'm aware of. Of course, aptitude is an ncurses application, not an 
X application. I generally run it from a virtual console.

> More to the point.  Aptitude seems a little (just a little) brain dead.  It
> might be a REAL good idea to see if anything from the package is running
> before deciding it should be removed...

 Generally the package scripts take care of that, but it couldn't hurt to run 
'ps' and check.

> Thanks
> Ed
>
> > > Hi,
> > >
> > > Thought the advice was to use aptitude because it will remove unused
> > > packages...  Well it seems to think xfs is unused, guess that ps is
> > > must be wrong...  Me thinks I'll revert to apt-get - aptitude seems
> > > very broken.
> > >
> > > Anyone else see this sort of error on pure64?
> > > Ed
> > >
> > > grover:/usr/bin# aptitude upgrade
> > > Reading Package Lists... Done
> > > Building Dependency Tree
> > > Reading extended state information
> > > Initializing package states... Done
> > > Reading task descriptions... Done
> > > The following packages are unused and will be REMOVED:
> > >   xfs xfwp xnest xvfb
> > > The following packages will be upgraded:
> > >   cpp-3.3 g++-3.3 gcc-3.3 gcc-3.3-base gij-3.3 ifupdown imagemagick
> > >   libgcj-common libgcj4 libglade2-0 libglade2-dev libmagick++6
> > > libmagick6 libobjc1 libstdc++5 libstdc++5-3.3-dev perlmagick tora
> > > 18 packages upgraded, 0 newly installed, 4 to remove and 0 not
> > > upgraded. Need to get 16.2MB of archives. After unpacking 10.6MB will
> > > be freed. Do you want to continue? [Y/n/?] n
> > > Abort.
> > > grover:/usr/bin# ps -ef | grep xfs
> > > root      4793     1  0 15:29 ?        00:00:00 /usr/bin/X11/xfs
> > > -daemon root      7452  7334  0 16:37 pts/1    00:00:00 grep xfs
> >
> > --
> > Debian 'Sarge': Registered Linux User #241964
> > ----
> > "More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
> > --------

-- 
Debian 'Sarge': Registered Linux User #241964
----
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
--------



Reply to: