Re: apt-findremovable v0.1 (initial release)

2006-10-13 Thread Marc Haber
On Sat,  7 Oct 2006 18:32:08 +0200, Michelle Konzack
[EMAIL PROTECTED] wrote:
Am 2006-10-06 18:06:47, schrieb Mikhail Gusarov:
 Do aptitude checks terminal even for 'aptitude install' or 'aptitude
 search'?

Good question!  The two offending Servers use Monocrom-Graficcards.
Maybe aptitude can not enter a colormode and crash?

I thought that you were using ssh? How can the local display of a
machine affect incoming ssh sessions?

Greetings
Marc

-- 
-- !! No courtesy copies, please !! -
Marc Haber |Questions are the | Mailadresse im Header
Mannheim, Germany  | Beginning of Wisdom  | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG Rightful Heir | Fon: *49 621 72739834



Re: apt-findremovable v0.1 (initial release)

2006-10-11 Thread Ionut Georgescu
On Sat, Oct 07, 2006 at 06:32:08PM +0200, Michelle Konzack wrote:
 Am 2006-10-06 18:06:47, schrieb Mikhail Gusarov:
  Do aptitude checks terminal even for 'aptitude install' or 'aptitude
  search'?
 
 Good question!  The two offending Servers use Monocrom-Graficcards.
 Maybe aptitude can not enter a colormode and crash?

How can that interfere with the ssh tunnel?

Ionut

-- 


signature.asc
Description: Digital signature


Re: apt-findremovable v0.1 (initial release)

2006-10-11 Thread Peter Palfrader
On Thu, 05 Oct 2006, Jan Kechel wrote:

 Brian May wrote:
  Jan == Jan Kechel [EMAIL PROTECTED] writes:
  
  
  Jan I wrote a little perl-script:
  
  How does this compare with deborphan?
  
 
 deborphan shows you the 'leave' packages of your dependency-tree
 
 apt-findremovable checks for a given leave what else can be removed if
 you removed that leave

Ever tried the simulate button in the orphaner frontend?  I don't know
apt-findremovable's UI but I very much like orphaner's.  But then I
might be just slightly biased. :)

Peter
-- 
   |  .''`.  ** Debian GNU/Linux **
  Peter Palfrader  | : :' :  The  universal
 http://www.palfrader.org/ | `. `'  Operating System
   |   `-http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-11 Thread Jan Kechel
Peter Palfrader wrote:
 Ever tried the simulate button in the orphaner frontend?  I don't know
 apt-findremovable's UI but I very much like orphaner's.  But then I
 might be just slightly biased. :)

don't care about apt-findremovable anymore, debfoster does it's job much
better :)

 Peter

Jan



signature.asc
Description: OpenPGP digital signature


Re: apt-findremovable v0.1 (initial release)

2006-10-10 Thread Michelle Konzack
Am 2006-10-06 12:34:35, schrieb Steinar H. Gunderson:
 On Thu, Oct 05, 2006 at 02:42:43AM +0200, Michelle Konzack wrote:
  And HOW do you install/remove packages if the TUI from aptitude crashs?
 
 You file a bug at the appropriate severity against aptitude?

A bugreport about what?

If I tell the Maintainer: I am connecting over ssh2 using keys
to two of my servers in Tehran, I want to install something and
I choose aptitude for better searching, aptitude crashs and kill
the ssh session, he/she will close immediatly the bugreport,
because this NO bugreport.

I do not know, whether it is aptitude or ssh or a related lib.

All 6 Servers are Sarge with the latest updates but using Linux
2.4.32.  Oh yes, the two offending servers are using Monocrom-
Graficcards.

 If aptitude kills your ssh session, I'd be inclined to believe more was wrong
 on your machine than just aptitude, but I guess that's up to whoever ends up
 debugging this to find out.

The problem is, that the Servers are in Tehran and I am in
Strasbourg.  I do not know how to debug this on distance...

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-10 Thread Michelle Konzack
Am 2006-10-06 18:06:47, schrieb Mikhail Gusarov:
 Do aptitude checks terminal even for 'aptitude install' or 'aptitude
 search'?

Good question!  The two offending Servers use Monocrom-Graficcards.
Maybe aptitude can not enter a colormode and crash?

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-10 Thread Alexander Sack
On Sat, Oct 07, 2006 at 06:30:33PM +0200, Michelle Konzack wrote:
 
  If aptitude kills your ssh session, I'd be inclined to believe more was 
  wrong
  on your machine than just aptitude, but I guess that's up to whoever ends up
  debugging this to find out.
 
 The problem is, that the Servers are in Tehran and I am in
 Strasbourg.  I do not know how to debug this on distance...

Maybe try to run aptitude in a screen(1). Maybe your ssh session can
then survive this and you can capture a backtrace with gdb?


 - Alexander
-- 
 GPG messages preferred.|  .''`.  ** Debian GNU/Linux **
 Alexander Sack | : :' :  The  universal
 [EMAIL PROTECTED]| `. `'  Operating System
 http://www.asoftsite.org/  |   `-http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-10 Thread Gabor Gombas
On Sat, Oct 07, 2006 at 06:30:33PM +0200, Michelle Konzack wrote:

 If I tell the Maintainer: I am connecting over ssh2 using keys
 to two of my servers in Tehran, I want to install something and
 I choose aptitude for better searching, aptitude crashs and kill
 the ssh session, he/she will close immediatly the bugreport,
 because this NO bugreport.

You could check the logs: if sshd is killed, that should be logged. And
you can strace sshd from the point you connect to the point it dies, and
then you'd know why it died. Or you can start sshd in debugging mode.

The thing is, if a crashing app can kill the ssh connection then your
system is broken. If you're the sysadmin, then it's _your job_ to find
out why. You can ask if you don't know how to debug such a situation,
but just complaining instead of doing the work will get you nowhere.

 The problem is, that the Servers are in Tehran and I am in
 Strasbourg.  I do not know how to debug this on distance...

man strace. Enable core dumps if they are disabled (e.g. because you've
started sshd with 'ulimit -c 0' in effect) and look for core files.
Check the logs; if it's OOM, it will be logged, if ssh dies due to a
signal it ought to be logged. You can always start a second sshd on a
non-standard port if you're afraid of losing connectivity during
debugging.

Gabor

-- 
 -
 MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
 -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-06 Thread Michelle Konzack
Am 2006-10-03 16:26:46, schrieb Michal Cihar:

 deborphan looks simmilar to what you describe. Anyway if you use
 aptitude instead of apt-get it tracks all that automatically and you
 don't have to guess.

...and if you have a computer on which aptitude do not want to run
in the terminal?  I have two Servers where this is the case.

I have encountered thgis, because I had the need to search a
package in the list for which aptitude is realy nice.

And then, aptitude needs to long to start.

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-06 Thread Michelle Konzack
Am 2006-10-04 16:00:28, schrieb Mike Hommey:

 Interesting... here, it tends to be the contrary. apt-get wants to
 install a whole lot of packages on dist-upgrade, while aptitude is able
 to pull the minimum required.

Not here.  Only the bare minimum.

[ '/etc/apt/apt.conf' ]---
Acquire::CDROM::Mount /media/cdrom;

APT::Cache-Limit 141943904;
APT::Cache::Quiet 2;
APT::Cache::ShowFull false;
APT::Cache::AllVersions false;
APT::Cache::NamesOnly true;

APT::Get::Download-Only false;
APT::Get::Show-Upgraded true;
APT::Get::Purge true;

Aptitude::Delete-Unused true;
Aptitude::UI::New-Package-Commands true;
Aptitude::UI::Pause-After-Download true;
Aptitude::Description-Visible-By-Default false;
Aptitude::Prompt-On-Exit false;
Aptitude::Auto-Upgrade true;
Aptitude::Suggests-Important false;
Aptitude::Recommends-Important false;
Aptitude::Auto-Fix-Broken true;
Aptitude::Auto-Install true;
--

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-06 Thread Michelle Konzack
Am 2006-10-04 18:08:50, schrieb Alexey Feldgendler:

 Why not just stop using apt-get? aptitude can do everything the
 same as apt-get and even supports the same command line parameters.

And HOW do you install/remove packages if the TUI from aptitude crashs?
I do not know how aptitude is working and whether it use ncurses or
slang but it segfaults all the time on two of my servers and kill the
ssh session.

Droping apt-get will be a shoot in the feet.

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-06 Thread Michelle Konzack
Am 2006-10-04 15:38:18, schrieb Rolf Kutz:

 apt-get is faster and uses less resources.

I have a IBM TP760ED (233Mhz, 128 MB) where aptitude
need arround 3 minutes to let me do anything...

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-06 Thread Steinar H. Gunderson
On Thu, Oct 05, 2006 at 02:42:43AM +0200, Michelle Konzack wrote:
 And HOW do you install/remove packages if the TUI from aptitude crashs?

You file a bug at the appropriate severity against aptitude?

 I do not know how aptitude is working and whether it use ncurses or
 slang but it segfaults all the time on two of my servers and kill the
 ssh session.

If aptitude kills your ssh session, I'd be inclined to believe more was wrong
on your machine than just aptitude, but I guess that's up to whoever ends up
debugging this to find out.

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-06 Thread Mikhail Gusarov

You ([EMAIL PROTECTED]) wrote:

 MK ...and if you have a computer on which aptitude do not want to
 MK run in the terminal?  I have two Servers where this is the case.

Do aptitude checks terminal even for 'aptitude install' or 'aptitude
search'?

-- 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-06 Thread Ben Finney
Michelle Konzack [EMAIL PROTECTED] writes:

 Am 2006-10-04 18:08:50, schrieb Alexey Feldgendler:

  Why not just stop using apt-get? aptitude can do everything the
  same as apt-get and even supports the same command line
  parameters.

 And HOW do you install/remove packages if the TUI from aptitude
 crashs?  I do not know how aptitude is working and whether it use
 ncurses or slang but it segfaults all the time on two of my servers
 and kill the ssh session.

I'm guessing from what you say here that you are unaware that aptitude
will not present a full-screen interface (neither ncurses nor slang)
if you give it any explicit command:

$ aptitude update
$ aptitude search bubble
$ aptitude show morse
$ aptitude install cowsay
$ aptitude --help

In this, it is a replacement for apt-get.

-- 
 \The number of UNIX installations has grown to 10, with more |
  `\ expected.  -- Unix Programmer's Manual, 2nd Ed., 12-Jun-1972 |
_o__)  |
Ben Finney


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-05 Thread Jan Kechel
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Brian May wrote:
 Jan == Jan Kechel [EMAIL PROTECTED] writes:
 
 
 Jan I wrote a little perl-script:
 
 How does this compare with deborphan?
 

deborphan shows you the 'leave' packages of your dependency-tree

apt-findremovable checks for a given leave what else can be removed if
you removed that leave

.. anyway, it's obsolete,

- - 'aptitude' is supposed to do the same, and

- - 'debfoster' is exactly the same, only does it this for all packages
automatically and asks you through it like an assistant

I love debfoster now :)

cu,

Jan

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFJMbh58nJkn8diosRA0EyAJ9KNVsjuSRJBMscIM1Qx33eulbb5wCgm3th
vpp7VRltx9bCVPLIwDZkgMY=
=bYlZ
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-04 Thread Rolf Kutz
* Quoting Steinar H. Gunderson ([EMAIL PROTECTED]):

 On Tue, Oct 03, 2006 at 04:13:49PM +0200, Jan Kechel wrote:
  I always had the problem, that if I removed a package via apt-get
  remove, that there were still other packages that only were installed
  because of that package.
 
 Use aptitude -- it has had this functionality for quite a while now.

AFAIK only if the packages were automatically
installed with aptitude. 

And there's another problem: If you installed a
task-package and remove just one of the packages
from that task later, the complete task will be
removed, since they where all automatically
installed.

- Rolf


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-04 Thread Raphael Hertzog
On Tue, 03 Oct 2006, Ron Johnson wrote:
  Cool, didn't know that.
  But it doesn't work for packages that are already installed via apt-get.
  I guess I'll use aptitude instead of apt-get from now on, and try to
  cleanup via apt-findremovable :)
 
 Some of us are partial to apt-get and would appreciate
 apt-findremovable.

I would rather appreciate that apt-get and aptitude share the information
of which packages have been explicitely installed and which have been
automatically installed.

This needs more work than apt-findremovable however.

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-04 Thread Alexey Feldgendler
On Wed, 04 Oct 2006 18:07:02 +0700, Raphael Hertzog [EMAIL PROTECTED] wrote:

 Some of us are partial to apt-get and would appreciate
 apt-findremovable.

 I would rather appreciate that apt-get and aptitude share the information
 of which packages have been explicitely installed and which have been
 automatically installed.

Why not just stop using apt-get? aptitude can do everything the same as apt-get 
and even supports the same command line parameters.


-- 
Alexey Feldgendler [EMAIL PROTECTED]
[ICQ: 115226275] http://feldgendler.livejournal.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-04 Thread Raphael Hertzog
On Wed, 04 Oct 2006, Alexey Feldgendler wrote:
 On Wed, 04 Oct 2006 18:07:02 +0700, Raphael Hertzog [EMAIL PROTECTED] wrote:
 
  Some of us are partial to apt-get and would appreciate
  apt-findremovable.
 
  I would rather appreciate that apt-get and aptitude share the information
  of which packages have been explicitely installed and which have been
  automatically installed.
 
 Why not just stop using apt-get? aptitude can do everything the same as
 apt-get and even supports the same command line parameters.

Because aptitude dist-upgrade didn't work for upgrading my sarge
desktop to etch... it was unable to compute a solution while apt-get did
just fine. And this even if I tried to help him by indicating which
packages to remove and which packages to install.

And dist-upgrading involves lots of installation of new packages... and
removal of old packages.

I aptitude dist-upgrade regularly in my sid chroot without troubles. But
upgrading from one release to the other is almost impossible with aptitude
only, in particular if you have many packages installed with some who have
been removed from Debian in the mean time and so on.

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-04 Thread Luca Capello
Hello!

On Wed, 04 Oct 2006 13:08:50 +0200, Alexey Feldgendler wrote:
 On Wed, 04 Oct 2006 18:07:02 +0700, Raphael Hertzog [EMAIL PROTECTED] wrote:

 Some of us are partial to apt-get and would appreciate
 apt-findremovable.

 I would rather appreciate that apt-get and aptitude share the
 information of which packages have been explicitely installed and
 which have been automatically installed.

 Why not just stop using apt-get? aptitude can do everything the same
 as apt-get and even supports the same command line parameters.

I reordered the dependencies, to be simpler to compare:
=
[EMAIL PROTECTED]:~$ dpkg -s aptitude | grep Installed
Installed-Size: 8424
[EMAIL PROTECTED]:~$ dpkg -s aptitude | grep Depends
 Depends: libc6 (= 2.3.6-6), libgcc1 (= 1:4.1.1-12), \
  libstdc++6 (= 4.1.1-12), \
  libapt-pkg-libc6.3-6-3.11, libncursesw5 (= 5.4-5), \
  libsigc++-2.0-0c2a (= 2.0.2)

[EMAIL PROTECTED]:~$ dpkg -s apt | grep Installed
Installed-Size: 4296
[EMAIL PROTECTED]:~$ dpkg -s apt | grep Depends
 Depends: libc6 (= 2.3.6-6), libgcc1 (= 1:4.1.1-12), \
  libstdc++6 (= 4.1.1-12)

[EMAIL PROTECTED]:~$
=

Except from the difference in size between aptitude and apt, we have:

- libapt-pkg-libc6.3-6-3-11 is provided by apt, so with aptitude we
  *have* apt

- libncursesw5 adds 584K

- libsigc++-2.0-0c2a adds 88K

Even if it's only about 5M more, sometimes matter (not in my specific
case, however).

Thx, bye,
Gismo / Luca


pgp7iuBS7UlJs.pgp
Description: PGP signature


Re: apt-findremovable v0.1 (initial release)

2006-10-04 Thread Holger Levsen
Hi,

On Wednesday 04 October 2006 13:08, Alexey Feldgendler wrote:
 Why not just stop using apt-get? aptitude can do everything the same as
 apt-get and even supports the same command line parameters.

aptitude neither understand build-dep nor source as command...


regards,
Holger


pgpzOncdKZyob.pgp
Description: PGP signature


Re: apt-findremovable v0.1 (initial release)

2006-10-04 Thread Jan Kechel
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160


 aptitude has this
 apt has that
 aptitude can't do that
 apt can't do this
 [...]

.. is this always here like this?
Isn't it just that some prefer apt and some aptitude, and that of course
those that prefer aptitude think that apt-findremovable is obsolete, and
that those that prefer apt not?

I hope i helped the apt-users, at least it won't hurt the aptitude users.

ack?

jan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFI60u58nJkn8diosRA0RHAJ9VDAS5Mc/ynHXy23BOv1Shny7vwQCfXcQK
AlLzmeRT4J04KkS6DxdsRF8=
=ClTm
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-04 Thread Steinar H. Gunderson
On Wed, Oct 04, 2006 at 02:46:39PM +0200, Jan Kechel wrote:
 Isn't it just that some prefer apt and some aptitude, and that of course
 those that prefer aptitude think that apt-findremovable is obsolete, and
 that those that prefer apt not?

Just a bit more nitpicking: apt is different from apt-get. apt-get and
aptitude are different frontends to apt (just as, say, synaptic is). It's
just that apt-get is deprecated for most end-users now that aptitude exists
and is stable.

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-04 Thread Rolf Kutz
* Quoting Alexey Feldgendler ([EMAIL PROTECTED]):

 On Wed, 04 Oct 2006 18:07:02 +0700, Raphael Hertzog [EMAIL PROTECTED] wrote:
 
  Some of us are partial to apt-get and would appreciate
  apt-findremovable.
 
  I would rather appreciate that apt-get and aptitude share the information
  of which packages have been explicitely installed and which have been
  automatically installed.
 
 Why not just stop using apt-get? aptitude can do everything the same as 
 apt-get and even supports the same command line parameters.

apt-get is faster and uses less resources.

- Rolf


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-04 Thread Mike Hommey
On Wed, Oct 04, 2006 at 01:50:59PM +0200, Raphael Hertzog [EMAIL PROTECTED] 
wrote:
 On Wed, 04 Oct 2006, Alexey Feldgendler wrote:
  On Wed, 04 Oct 2006 18:07:02 +0700, Raphael Hertzog [EMAIL PROTECTED] 
  wrote:
  
   Some of us are partial to apt-get and would appreciate
   apt-findremovable.
  
   I would rather appreciate that apt-get and aptitude share the information
   of which packages have been explicitely installed and which have been
   automatically installed.
  
  Why not just stop using apt-get? aptitude can do everything the same as
  apt-get and even supports the same command line parameters.
 
 Because aptitude dist-upgrade didn't work for upgrading my sarge
 desktop to etch... it was unable to compute a solution while apt-get did
 just fine. And this even if I tried to help him by indicating which
 packages to remove and which packages to install.

Interesting... here, it tends to be the contrary. apt-get wants to
install a whole lot of packages on dist-upgrade, while aptitude is able
to pull the minimum required.

Mike


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-04 Thread Gabor Gombas
On Wed, Oct 04, 2006 at 01:07:02PM +0200, Raphael Hertzog wrote:

 I would rather appreciate that apt-get and aptitude share the information
 of which packages have been explicitely installed and which have been
 automatically installed.

I often install packages to play with them a little or just to read the
man page. 90% of the time I do _not_ want to keep those packages
regardless that I have installed them manually. And there are cases when
a package is no longer depended on but I still want to keep it.

That's why I like debfoster: it asks the question do you want to keep
the package or not, which is orthogonal to how and why it was
installed.

Gabor

-- 
 -
 MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
 -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-04 Thread Goswin von Brederlow
Gabor Gombas [EMAIL PROTECTED] writes:

 On Tue, Oct 03, 2006 at 10:23:21PM +0700, Alexey Feldgendler wrote:

 Seems like debfoster does what you need. However, it's considered obsolete  
 now that aptitude takes care of unused packages.

 debfoster (2.6-1) unstable; urgency=low

   * New upstream version, new maintainer team.
   * Revert deprecation.  Closes: #366518.

 Long live debfoster :-)

 Gabor

Still my favorite too. aptitude always screws up (does not what I
want in comandline mode).

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-04 Thread Brian May
 Jan == Jan Kechel [EMAIL PROTECTED] writes:


Jan I wrote a little perl-script:

How does this compare with deborphan?

Package: deborphan
Priority: optional
Section: admin
Installed-Size: 176
Maintainer: Peter Palfrader [EMAIL PROTECTED]
Architecture: i386
Version: 1.7.15
Depends: libc6 (= 2.3.2.ds1-4), dialog (= 0.9b-20040316-1), bash (= 
2.05b-14), gettext-base (= 0.14.1-6)
Recommends: apt
Filename: pool/main/d/deborphan/deborphan_1.7.15_i386.deb
Size: 55196
MD5sum: f01a990910d3f1d790f2e99cb0289734
SHA1: f08ed25480c30d882af3fd2e39b4705306afeeb9
SHA256: f63ea8e0e75a64e6eea305195225276a649eaf36ceee2e839a3f7c62f461737f
Description: Find orphaned libraries
 deborphan finds orphaned packages on your system.
 It determines which packages have no other packages
 depending on their installation, and shows you a list of
 these packages. It is most useful when finding libraries,
 but it can be used on packages in all sections.
-- 
Brian May [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-04 Thread Brian May
 Alexey == Alexey Feldgendler [EMAIL PROTECTED] writes:

Alexey On Wed, 04 Oct 2006 18:07:02 +0700, Raphael Hertzog
Alexey [EMAIL PROTECTED] wrote:
 Some of us are partial to apt-get and would appreciate
 apt-findremovable.

 I would rather appreciate that apt-get and aptitude share the
 information of which packages have been explicitely installed
 and which have been automatically installed.

Alexey Why not just stop using apt-get? aptitude can do
Alexey everything the same as apt-get and even supports the same
Alexey command line parameters.

I have found (in the past) that aptitude gets confused if it downloads
a corrupt file (e.g. because the version on the server is corrupt),
and instead of telling the user of the problem, the file is ignored
and deleted, resulting in the user assuming an upgrade went
flawlessly, when in actual fact it didn't. Not sure if this is fixed
yet or not.

When this has happened in the past, I have spent all my available time
working out why aptitude is repeatedly downloading the same file, and
then trying to work out why the file is corrupt, that I run out of
time to file meaningful bug reports.

apt-get on the other hand will tell the user immediately of any
problems.
-- 
Brian May [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



apt-findremovable v0.1 (initial release)

2006-10-03 Thread Jan Kechel
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Hi,

I hope this is the right mailinglist for this.

I always had the problem, that if I removed a package via apt-get
remove, that there were still other packages that only were installed
because of that package.

I wrote a little perl-script:

NAME
apt-findremovable - tries to find out which packages might be installed
only because of a specified one.

SYNOPSIS
$ apt-findremovable package-name

DESCRIPTION
we use 'apt-cache depends' and 'apt-cache rdepends' to find out which
packages might be installed only because of the specified one.

EXAMPLE
$ ./apt-findremovable texlive
...
Only texlive depends on the following installed packages:
perl-tk
texlive-doc-en
texlive-context
texlive-metapost

The v0.1 release can downloaded via:
http://prevalent-digest.de/apt-findremovable/apt-findremovable-0.1.tar.bz2

So my questions are:

Is there a mailinglist special for apt-tools?
Does a tool like this already exist?
Would alioth.debian.org be the right place for this?

cu,

Jan

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFInAZ58nJkn8diosRA1S7AKC44GtaofheGWG7Z0NiQuB6FhVzwACgxtPb
wDnn3RHyi4sypymI+1fdh4s=
=SC+e
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-03 Thread Steinar H. Gunderson
On Tue, Oct 03, 2006 at 04:13:49PM +0200, Jan Kechel wrote:
 I always had the problem, that if I removed a package via apt-get
 remove, that there were still other packages that only were installed
 because of that package.

Use aptitude -- it has had this functionality for quite a while now.

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-03 Thread Michal Čihař
Hi

On Tue, 03 Oct 2006 16:13:49 +0200
Jan Kechel [EMAIL PROTECTED] wrote:

 Does a tool like this already exist?

deborphan looks simmilar to what you describe. Anyway if you use
aptitude instead of apt-get it tracks all that automatically and you
don't have to guess.

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature


Re: apt-findremovable v0.1 (initial release)

2006-10-03 Thread Jan Kechel
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Michal Čihař wrote:
 deborphan looks simmilar to what you describe.

yeah, similar, also it finds only the leaves, while apt-findremovable
checks which depends have no other rdepends than the specified one

 Anyway if you use
 aptitude instead of apt-get it tracks all that automatically and you
 don't have to guess.

Cool, didn't know that.
But it doesn't work for packages that are already installed via apt-get.
I guess I'll use aptitude instead of apt-get from now on, and try to
cleanup via apt-findremovable :)

Thanks,

Jan
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFInmO58nJkn8diosRAybpAKDArd/N2vryvcUGD9GyqWA176ndXgCfUCgC
SPUejm4uyweGVWTh2ifOWtY=
=A84s
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-03 Thread Alexey Feldgendler

On Tue, 03 Oct 2006 21:54:09 +0700, Jan Kechel [EMAIL PROTECTED] wrote:


deborphan looks simmilar to what you describe.



yeah, similar, also it finds only the leaves, while apt-findremovable
checks which depends have no other rdepends than the specified one


Seems like debfoster does what you need. However, it's considered obsolete  
now that aptitude takes care of unused packages.



--
Alexey Feldgendler [EMAIL PROTECTED]
[ICQ: 115226275] http://feldgendler.livejournal.com


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-03 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/03/06 09:54, Jan Kechel wrote:
 Michal ihaY wrote:
 deborphan looks simmilar to what you describe.
 
 yeah, similar, also it finds only the leaves, while apt-findremovable
 checks which depends have no other rdepends than the specified one
 
 Anyway if you use
 aptitude instead of apt-get it tracks all that automatically and you
 don't have to guess.
 
 Cool, didn't know that.
 But it doesn't work for packages that are already installed via apt-get.
 I guess I'll use aptitude instead of apt-get from now on, and try to
 cleanup via apt-findremovable :)

Some of us are partial to apt-get and would appreciate
apt-findremovable.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is common sense really valid?
For example, it is common sense to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that common sense is obviously wrong.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFIoeaS9HxQb37XmcRAhFFAJ9HWQNCYY1GEaRgevnIyoGkTYF0IACdFe68
0BAr1Rl8tPAKIu8w9LFNdpQ=
=QNkO
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-03 Thread Jan Kechel
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160


 Some of us are partial to apt-get and would appreciate
 apt-findremovable.

cool :)

I just released v0.2:
http://prevalent-digest.de/apt-findremovable/

.. it's getting slower (takes about 1min to complete),
but now it re-checks, if apt-cache rdepends results really depend on
that package, or if they only suggest/recommend it.

now the result on my system for 'apt-findremovable texlive' looks like this:

- -- cut --
Only texlive really depends on the following installed packages:
perl-tk texlive-doc-en tex-common texlive-latex-base texlive-base
texlive-doc-base libxml-parser-perl texlive-base-bin texlive-metapost
texlive-pdfetex libpoppler0c2 texlive-latex-recommended
texlive-fonts-recommended texlive-context
- -- end cut --

have fun trying it. (manually i would never have found that e.g. perl-tk
and libpoppler0c2 is not used by anything else .. )

cu,

Jan

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFIolb58nJkn8diosRAyynAKCN83Brnot6TaIUc04R8hYTxShdtACeL/9t
BAoCeFmD4mIFc0elsg2Dz60=
=7Oxp
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-03 Thread Shot (Piotr Szotkowski)
Jan Kechel:

 Michal Čihař wrote:

 Anyway if you use aptitude instead of apt-get it tracks
 all that automatically and you don't have to guess.

 Cool, didn't know that. But it doesn't work for
 packages that are already installed via apt-get.

You can mark all packages as installed automatically (this will mark
them for removal), then mark all essential and base ones as installed
manually (this will keep them and their dependencies), and then work
your way through the rest, starting with the most obvious ones (i.e.,
mark xserver-xorg and your DE as installed manually, this will keep
a lot of packages). When you’re finished with the list, everything
not needed will be marked for removal.

-- Shot
-- 
chanman` everyone at school is saving for a car
chanman` I'm saving for a server rack


pgpvWsQyNaOlK.pgp
Description: PGP signature


Re: apt-findremovable v0.1 (initial release)

2006-10-03 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/03/06 11:01, Jan Kechel wrote:
 
 Some of us are partial to apt-get and would appreciate
 apt-findremovable.
 
 cool :)
 
 I just released v0.2:
 http://prevalent-digest.de/apt-findremovable/
 
 .. it's getting slower (takes about 1min to complete),
 but now it re-checks, if apt-cache rdepends results really depend on
 that package, or if they only suggest/recommend it.
 
 now the result on my system for 'apt-findremovable texlive' looks like this:
 
[snip]
 
 have fun trying it. (manually i would never have found that e.g. perl-tk
 and libpoppler0c2 is not used by anything else .. )

Thanks.  Is a single perl script worth packaging, though?

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is common sense really valid?
For example, it is common sense to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that common sense is obviously wrong.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFIo3+S9HxQb37XmcRAlmoAJ9/oueILTjvg/sAfSolXrzAJpTSPwCdHbzf
hm8j+6XA1NJIa1Su1i5AA54=
=XxhJ
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-03 Thread Hendrik Sattler
Am Dienstag 03 Oktober 2006 16:26 schrieb Michal Čihař:
 if you use
 aptitude instead of apt-get it tracks all that automatically and you
 don't have to guess.

Only if you also installed the package-to-remove with aptitude.

HS



Re: apt-findremovable v0.1 (initial release)

2006-10-03 Thread Michal Čihař
On Tue, 3 Oct 2006 16:34:37 +0200
Hendrik Sattler [EMAIL PROTECTED] wrote:

 Am Dienstag 03 Oktober 2006 16:26 schrieb Michal Čihař:
  if you use
  aptitude instead of apt-get it tracks all that automatically and you
  don't have to guess.
 
 Only if you also installed the package-to-remove with aptitude.

Or you marked all as automatically installed and set those you need as
manually installed (I know it is extra work, but it is worth of it and
it is less work that going through packages using tools that guess
whether you need them).

-- 
Michal Čihař | http://cihar.com | http://blog.cihar.com


signature.asc
Description: PGP signature


Re: apt-findremovable v0.1 (initial release)

2006-10-03 Thread Eduard Bloch
#include hallo.h
* Shot (Piotr Szotkowski) [Tue, Oct 03 2006, 05:11:46PM]:
 Jan Kechel:
 
  Michal Čihař wrote:
 
  Anyway if you use aptitude instead of apt-get it tracks
  all that automatically and you don't have to guess.
 
  Cool, didn't know that. But it doesn't work for
  packages that are already installed via apt-get.
 
 You can mark all packages as installed automatically (this will mark
 them for removal), then mark all essential and base ones as installed
 manually (this will keep them and their dependencies), and then work
 your way through the rest, starting with the most obvious ones (i.e.,
 mark xserver-xorg and your DE as installed manually, this will keep
 a lot of packages). When you’re finished with the list, everything
 not needed will be marked for removal.

Aha... Ok... And how many cobolds do you need to kill to win that game? (SCNR)

Eduard.

-- 
Naja, Garbage Collector eben. Holt den Müll sogar vom Himmel.
   (Heise Trollforum über Java in der Flugzeugsteuerung)



Re: apt-findremovable v0.1 (initial release)

2006-10-03 Thread Gabor Gombas
On Tue, Oct 03, 2006 at 10:23:21PM +0700, Alexey Feldgendler wrote:

 Seems like debfoster does what you need. However, it's considered obsolete  
 now that aptitude takes care of unused packages.

debfoster (2.6-1) unstable; urgency=low

  * New upstream version, new maintainer team.
  * Revert deprecation.  Closes: #366518.

Long live debfoster :-)

Gabor

-- 
 -
 MTA SZTAKI Computer and Automation Research Institute
Hungarian Academy of Sciences
 -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-findremovable v0.1 (initial release)

2006-10-03 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/03/06 13:37, Eduard Bloch wrote:
 #include hallo.h * Shot (Piotr Szotkowski) [Tue, Oct 03 2006,
 05:11:46PM]:
 Jan Kechel:
 
 Michal Čihař wrote:
[snip]
 
 Aha... Ok... And how many cobolds do you need to kill to win that
 game? (SCNR)

s/cobolds/kobolds

s/cobolds/COBOLs

Take your pick.  Are you on netcrack, or are you a DP geezer?

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is common sense really valid?
For example, it is common sense to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that common sense is obviously wrong.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFIxUvS9HxQb37XmcRAkcaAJ9dGtsUrnkLlI2nHp8hYwH1t3Hi1ACdFUg8
UoGfSPJJ7e1EE01Cgm9jb0I=
=nECW
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]