Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #160013 > unrolled thread

Anybody know why aptitude is not installed by default in Sid?

Started byRick Thomas <rbthomas@pobox.com>
First post2015-10-31 12:00 +0100
Last post2015-11-03 20:30 +0100
Articles 20 on this page of 69 — 25 participants

Back to article view | Back to linux.debian.user


Contents

  Anybody know why aptitude is not installed by default in Sid? Rick Thomas <rbthomas@pobox.com> - 2015-10-31 12:00 +0100
    Re: Anybody know why aptitude is not installed by default in Sid? Chris Bannister <cbannister@slingshot.co.nz> - 2015-10-31 12:40 +0100
      Re: Anybody know why aptitude is not installed by default in Sid? Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-31 12:50 +0100
        Re: Anybody know why aptitude is not installed by default in Sid? Chris Bannister <cbannister@slingshot.co.nz> - 2015-10-31 13:10 +0100
          Re: Anybody know why aptitude is not installed by default in Sid? Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-31 14:10 +0100
          Re: Anybody know why aptitude is not installed by default in Sid? Martin Read <zen75502@zen.co.uk> - 2015-10-31 16:10 +0100
            Re: Anybody know why aptitude is not installed by default in Sid? Cindy-Sue Causey <butterflybytes@gmail.com> - 2015-10-31 16:30 +0100
              Re: Anybody know why aptitude is not installed by default in Sid? Richard Owlett <rowlett@cloud85.net> - 2015-10-31 17:10 +0100
            Re: Anybody know why aptitude is not installed by default in Sid? Richard Owlett <rowlett@cloud85.net> - 2015-10-31 17:10 +0100
              Re: Anybody know why aptitude is not installed by default in Sid? Mario Castelán Castro  <marioxcc.MT@yandex.com> - 2015-10-31 17:20 +0100
                Re: Anybody know why aptitude is not installed by default in Sid? Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-31 17:30 +0100
                  Re: Anybody know why aptitude is not installed by default in Sid? Richard Owlett <rowlett@cloud85.net> - 2015-10-31 17:40 +0100
                    Re: Anybody know why aptitude is not installed by default in Sid? Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-31 19:20 +0100
                      Re: Anybody know why aptitude is not installed by default in Sid? moxalt <moxalt@riseup.net> - 2015-11-02 17:40 +0100
                  Re: Anybody know why aptitude is not installed by default in Sid? Mario Castelán Castro  <marioxcc.MT@yandex.com> - 2015-10-31 20:20 +0100
                    Re: Anybody know why aptitude is not installed by default in Sid? Lisi Reisz <lisi.reisz@gmail.com> - 2015-11-01 00:00 +0100
                      Re: Anybody know why aptitude is not installed by default in Sid? Mario Castelán Castro  <marioxcc.MT@yandex.com> - 2015-11-02 20:50 +0100
                  Re: Anybody know why aptitude is not installed by default in Sid? Brian <ad44@cityscape.co.uk> - 2015-10-31 20:30 +0100
                    Re: Anybody know why aptitude is not installed by default in Sid? Mario Castelán Castro <marioxcc.MT@yandex.com> - 2015-10-31 20:40 +0100
                    Re: Anybody know why aptitude is not installed by default in Sid? Mario Castelán Castro <marioxcc.MT@yandex.com> - 2015-10-31 20:40 +0100
                Re: Anybody know why aptitude is not installed by default in Sid? Richard Owlett <rowlett@cloud85.net> - 2015-10-31 17:40 +0100
          Re: Anybody know why aptitude is not installed by default in Sid? moxalt <moxalt@riseup.net> - 2015-11-02 17:40 +0100
            Re: Anybody know why aptitude is not installed by default in Sid? Lisi Reisz <lisi.reisz@gmail.com> - 2015-11-02 18:00 +0100
            Re: Anybody know why aptitude is not installed by default in Sid? Mario Castelán Castro <marioxcc.MT@yandex.com> - 2015-11-02 20:10 +0100
      How to identify obsolete packages (was: Anybody know why aptitude  is not installed by default in Sid?) Stephen Powell <zlinuxman@wowway.com> - 2015-10-31 15:40 +0100
        Re: How to identify obsolete packages (was: Anybody know why  aptitude is not installed by default in Sid?) Reco <recoverym4n@gmail.com> - 2015-10-31 15:40 +0100
          Re: How to identify obsolete packages (was: Anybody know why  aptitude is not installed by default in Sid?) Stephen Powell <zlinuxman@wowway.com> - 2015-10-31 17:10 +0100
        Re: How to identify obsolete packages (was: Anybody know why aptitude  is not installed by default in Sid?) kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2015-10-31 16:30 +0100
          [SOLVED] How to identify obsolete packages Stephen Powell <zlinuxman@wowway.com> - 2015-10-31 17:40 +0100
            Re: [SOLVED] How to identify obsolete packages kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2015-11-01 04:50 +0100
            Re: [SOLVED] How to identify obsolete packages Jörg-Volker Peetz <jvpeetz@web.de> - 2015-11-01 21:40 +0100
        Re: How to identify obsolete packages (was: Anybody know why aptitude  is not installed by default in Sid?) Jude DaShiell <jdashiel@panix.com> - 2015-10-31 18:30 +0100
          Re: How to identify obsolete packages Stephen Powell <zlinuxman@wowway.com> - 2015-10-31 20:10 +0100
      Re: Anybody know why aptitude is not installed by default in Sid? Brian <ad44@cityscape.co.uk> - 2015-10-31 20:10 +0100
    Re: Anybody know why aptitude is not installed by default in Sid? Mario Castelán Castro <marioxcc.MT@yandex.com> - 2015-10-31 17:10 +0100
      Re: Anybody know why aptitude is not installed by default in Sid? Brian <ad44@cityscape.co.uk> - 2015-10-31 20:00 +0100
        Re: Anybody know why aptitude is not installed by default in Sid? Teemu Likonen <tlikonen@iki.fi> - 2015-10-31 20:20 +0100
          Re: Anybody know why aptitude is not installed by default in Sid? Javi Barroso <javibarroso@gmail.com> - 2015-10-31 21:20 +0100
            Re: Anybody know why aptitude is not installed by default in Sid? Brian <ad44@cityscape.co.uk> - 2015-10-31 21:40 +0100
              Re: Anybody know why aptitude is not installed by default in Sid? Javi Barroso <javibarroso@gmail.com> - 2015-11-01 00:20 +0100
                Re: Anybody know why aptitude is not installed by default in Sid? Brian <ad44@cityscape.co.uk> - 2015-11-01 02:10 +0100
                  Re: Anybody know why aptitude is not installed by default in Sid? Brian <ad44@cityscape.co.uk> - 2015-11-01 14:00 +0100
        Re: Anybody know why aptitude is not installed by default in Sid? Joe <joe@jretrading.com> - 2015-10-31 20:50 +0100
          Re: Anybody know why aptitude is not installed by default in Sid? Rick Thomas <rbthomas@pobox.com> - 2015-10-31 22:20 +0100
            Re: Anybody know why aptitude is not installed by default in Sid? Joe <joe@jretrading.com> - 2015-10-31 23:20 +0100
          Re: Anybody know why aptitude is not installed by default in Sid? Joe <joe@jretrading.com> - 2015-11-03 23:40 +0100
      Re: Anybody know why aptitude is not installed by default in Sid? Tim McDonough <tmcdonough@gmail.com> - 2015-10-31 22:30 +0100
        Re: minimal installation (was: Anybody know why...) Felix Miata <mrmazda@earthlink.net> - 2015-10-31 23:10 +0100
        Re: Anybody know why aptitude is not installed by default in Sid? Lisi Reisz <lisi.reisz@gmail.com> - 2015-10-31 23:50 +0100
    Re: Anybody know why aptitude is not installed by default in Sid? Rick Thomas <rbthomas@pobox.com> - 2015-11-01 01:00 +0100
      Re: Anybody know why aptitude is not installed by default in Sid? Alex Moonshine <moonshine@openmailbox.org> - 2015-11-02 08:50 +0100
        Re: Anybody know why aptitude is not installed by default in Sid? Joe <joe@jretrading.com> - 2015-11-02 09:50 +0100
          Re: Anybody know why aptitude is not installed by default in Sid? Rick Thomas <rbthomas@pobox.com> - 2015-11-02 11:10 +0100
            Re: Anybody know why aptitude is not installed by default in Sid? Brian <ad44@cityscape.co.uk> - 2015-11-02 12:20 +0100
              Re: Anybody know why aptitude is not installed by default in Sid? Lisi Reisz <lisi.reisz@gmail.com> - 2015-11-02 12:40 +0100
                Re: Anybody know why aptitude is not installed by default in Sid? Brian <ad44@cityscape.co.uk> - 2015-11-02 13:20 +0100
                  Re: Anybody know why aptitude is not installed by default in Sid? Lisi Reisz <lisi.reisz@gmail.com> - 2015-11-02 16:10 +0100
                    Re: Anybody know why aptitude is not installed by default in Sid? Brian <ad44@cityscape.co.uk> - 2015-11-02 21:00 +0100
                      Re: Anybody know why aptitude is not installed by default in Sid? Lisi Reisz <lisi.reisz@gmail.com> - 2015-11-02 23:20 +0100
                        Re: Anybody know why aptitude is not installed by default in Sid? Brian <ad44@cityscape.co.uk> - 2015-11-03 00:40 +0100
                          Re: Anybody know why aptitude is not installed by default in Sid? Lisi Reisz <lisi.reisz@gmail.com> - 2015-11-03 01:00 +0100
                          Re: Anybody know why aptitude is not installed by default in Sid? Lisi Reisz <lisi.reisz@gmail.com> - 2015-11-03 01:00 +0100
                            Re: Anybody know why aptitude is not installed by default in Sid? Renaud (Ron) OLGIATI <renaud@olgiati-in-paraguay.org> - 2015-11-03 10:10 +0100
            Re: Anybody know why aptitude is not installed by default in Sid? Gene Heskett <gheskett@shentel.net> - 2015-11-02 14:30 +0100
            Re: Anybody know why aptitude is not installed by default in Sid? "John L. Ries" <jries@salford-systems.com> - 2015-11-02 20:50 +0100
              Re: Anybody know why aptitude is not installed by default in Sid? Chris Bannister <cbannister@slingshot.co.nz> - 2015-11-03 05:00 +0100
          Re: Anybody know why aptitude is not installed by default in Sid? Chris Bannister <cbannister@slingshot.co.nz> - 2015-11-03 04:40 +0100
            Re: Anybody know why aptitude is not installed by default in Sid? Glenn English <ghe@slsware.net> - 2015-11-03 16:20 +0100
              Re: Anybody know why aptitude is not installed by default in Sid? Joe <joe@jretrading.com> - 2015-11-03 20:30 +0100

Page 2 of 4 — ← Prev page 1 [2] 3 4  Next page →


#160039

FromRichard Owlett <rowlett@cloud85.net>
Date2015-10-31 17:40 +0100
Message-ID<qpHma-57i-27@gated-at.bofh.it>
In reply to#160036
Mario Castelán Castro wrote:
> El 31/10/15 a las 10:05, Richard Owlett escribió:
>> Martin Read wrote:
>>> On 31/10/15 12:02, Chris Bannister wrote:
>>>> Logically, doesn't it make more sense to make it so that you
>>>> install
>>>> with the minimum number of packages necessary, and then
>>>> download any
>>>> extra packages you want *after* the install?
>>>
>>> Only if you accept austere minimalism as axiomatically good.
>>>
>>
>> *YES* <grin>
>> That 'yes' would not have been so bold except Debian defaults
>> go too far
>> in the other direction. E.G. I just installed Squeeze to one
>> machine be
>> cause I like some Gnome2 features that Gnome3 zapped and I'm
>> not sure
>> exist in MATE (am investigating).
>>
>> Applications->Internet lists 8 applications, none of which are of
>> interest and does not list the only internet application I need
>> (SeaMonkey).
>> System->Administration lists 10 applications, only 1 of which I
>> use more
>> than once a month (Synaptic) and doesn't list one I use almost
>> daily
>> (Gparted).
>>
>> I'm working on learning debootstrap and multistrap to have things
>> suitably minimal and powerful simultaneously.
>
> I have also noticed that Debian installs a lot of "extra"
> programs by default. For example, when I installed LXDE using the
> latest (Debian 7) LXDE CD and, I obtained LibreOffice, Iceweasel
> and Deluge (among many others), none of which are part of LXDE,
> and of those, I only wanted Icweasel installed since the beginning.
>
> If you want to control more precisely which packages get
> installed, you can also install a text-only system and then add
> the additional packages with the package manager. It won't give
> the same results and isn't as flexible as Debootstrap or
> Multistrap, of course.
>

<chuckle>That and learning to use preseed.cfg was what got me 
started. When I opined that it was still too fat, someone pointed 
me to debootstrap which led to discovering multistrap.

I hail from when 640k was "infinte" ;)

[toc] | [prev] | [next] | [standalone]


#160129

Frommoxalt <moxalt@riseup.net>
Date2015-11-02 17:40 +0100
Message-ID<qqqjf-7AX-1@gated-at.bofh.it>
In reply to#160019
On Sun, 1 Nov 2015 01:02:19 +1300, Chris Bannister <cbannister@slingshot.co.nz>
wrote:

> Logically, doesn't it make more sense to make it so that you install
> with the minimum number of packages necessary, and then download any
> extra packages you want *after* the install?

Yes. In fact, even when I am installing desktop environments, I will use my
trusty netinstall CD anyway because I prefer doing the installation myself- I
feel insecure at the mercy of the installer, and prefer to just apt-get things
myself anyway. I'm a bit of a control freak that way.

I have a really shaky internet connection, and I would just hate it to die on
me halfway through an enormous (say, GNOME) installation and then have the
entire thing fail. Much better to deal with things afterwards. More control.

[toc] | [prev] | [next] | [standalone]


#160133

FromLisi Reisz <lisi.reisz@gmail.com>
Date2015-11-02 18:00 +0100
Message-ID<qqqCD-7HK-13@gated-at.bofh.it>
In reply to#160129
On Monday 02 November 2015 16:38:29 moxalt wrote:
> On Sun, 1 Nov 2015 01:02:19 +1300, Chris Bannister
> <cbannister@slingshot.co.nz>
>
> wrote:
> > Logically, doesn't it make more sense to make it so that you install
> > with the minimum number of packages necessary, and then download any
> > extra packages you want *after* the install?
>
> Yes. In fact, even when I am installing desktop environments, I will use my
> trusty netinstall CD anyway because I prefer doing the installation myself-
> I feel insecure at the mercy of the installer, and prefer to just apt-get
> things myself anyway. I'm a bit of a control freak that way.
>
> I have a really shaky internet connection, and I would just hate it to die
> on me halfway through an enormous (say, GNOME) installation and then have
> the entire thing fail. Much better to deal with things afterwards. More
> control.

Yes, of course.  But you are not a newbie.  I'm all in favour of this being 
possible.  Minimal and then it is up to you.

Lisi

[toc] | [prev] | [next] | [standalone]


#160135

FromMario Castelán Castro <marioxcc.MT@yandex.com>
Date2015-11-02 20:10 +0100
Message-ID<qqsEq-Gy-15@gated-at.bofh.it>
In reply to#160129
El 02/11/15 a las 10:38, moxalt escribió:
> On Sun, 1 Nov 2015 01:02:19 +1300, Chris Bannister <cbannister@slingshot.co.nz>
> wrote:
>
>> Logically, doesn't it make more sense to make it so that you install
>> with the minimum number of packages necessary, and then download any
>> extra packages you want *after* the install?
>
> Yes. In fact, even when I am installing desktop environments, I will use my
> trusty netinstall CD anyway because I prefer doing the installation myself- I
> feel insecure at the mercy of the installer, and prefer to just apt-get things
> myself anyway. I'm a bit of a control freak that way.
>
> I have a really shaky internet connection, and I would just hate it to die on
> me halfway through an enormous (say, GNOME) installation and then have the
> entire thing fail. Much better to deal with things afterwards. More control.

You can use a non-netinstall CD or DVD to install a text-only 
environment, then boot and then complete the installation with a package 
manager. You may either limit yourself to the packages within the CD or 
DVD or add an online repository.

You can also boot a optical disk image from GRUB. I recommend this to 
avoid wasting an optical disk.

[toc] | [prev] | [next] | [standalone]


#160025 — How to identify obsolete packages (was: Anybody know why aptitude is not installed by default in Sid?)

FromStephen Powell <zlinuxman@wowway.com>
Date2015-10-31 15:40 +0100
SubjectHow to identify obsolete packages (was: Anybody know why aptitude is not installed by default in Sid?)
Message-ID<qpFu2-3YS-13@gated-at.bofh.it>
In reply to#160014
On Sat, 31 Oct 2015 07:38:25 -0400 (EDT), Chris Bannister wrote:
> 
> Oh great! They've fixed it. I hated having to "dpkg --purge aptitude"
> after a new installation. If you want extra packages, it's just an
> apt-get install <package> step away.

I used to use aptitude; but I've switched back to using apt, mainly
because apt-get resolves "Recommends" dependencies during an upgrade
while aptitude does not.  But there is one thing that I like about
aptitude that, if I could get equivalent functionality out of apt,
I might not bother to install aptitude.

aptitude, when run with no parameters, provides a full-screen interface.
This full-screen interface lists package categories which can be
expanded.  One category in particular is of interest to me:
"Obsolete and Locally Created Packages".  By expanding this category,
I can identify obsolete packages.  (An obsolete package, by definition,
is an installed package which no longer exists in the Debian archive.)
99% of the time, an obsolete package is one that I wish to purge.
I've seen cases where packages are held back during
"apt-get --purge dist-upgrade" processing until these obsolete packages
are purged.  But I have not found a way to easily identify obsolete
packages using apt.  There is an "autoremove" option on apt-get to
remove packages which were automatically installed but which are no
longer required by any installed package.  But that is different.
That's not the same thing as an obsolete package.  An obsolete package
may have been manually installed, but it's still obsolete, and I
need to be able to identify it as such.

Does anyone know an easy way to identify obsolete packages without
using aptitide?

-- 
  .''`.     Stephen Powell    <zlinuxman@wowway.com>
 : :'  :
 `. `'`
   `-

[toc] | [prev] | [next] | [standalone]


#160026 — Re: How to identify obsolete packages (was: Anybody know why aptitude is not installed by default in Sid?)

FromReco <recoverym4n@gmail.com>
Date2015-10-31 15:40 +0100
SubjectRe: How to identify obsolete packages (was: Anybody know why aptitude is not installed by default in Sid?)
Message-ID<qpFu2-3YS-15@gated-at.bofh.it>
In reply to#160025
	Hi.

On Sat, 31 Oct 2015 10:29:48 -0400 (EDT)
Stephen Powell <zlinuxman@wowway.com> wrote:

> Does anyone know an easy way to identify obsolete packages without
> using aptitide?

deborphan --guess-all

Reco

[toc] | [prev] | [next] | [standalone]


#160033 — Re: How to identify obsolete packages (was: Anybody know why aptitude is not installed by default in Sid?)

FromStephen Powell <zlinuxman@wowway.com>
Date2015-10-31 17:10 +0100
SubjectRe: How to identify obsolete packages (was: Anybody know why aptitude is not installed by default in Sid?)
Message-ID<qpGT8-4Xz-21@gated-at.bofh.it>
In reply to#160026
On Sat, 31 Oct 2015 10:38:48 -0400 (EDT), "Reco" wrote:
> On Sat, 31 Oct 2015 10:29:48 -0400 (EDT), Stephen Powell wrote:
>> Does anyone know an easy way to identify obsolete packages without
>> using aptitide?
> 
> deborphan --guess-all

According to the documentation for deborphan,

   "deborphan finds packages that have no packages depending on them ...".

That's not what I want.  What I want is a list of installed packages
that are not listed in any repository found in /etc/apt/sources.list.
This is what aptitude refers to as "Obsolete or Locally Created Packages".

As an example, lilo has no packages depending on it; but it is
included in Debian stretch, which is listed in /etc/apt/sources.list.
Therefore, by aptitude's definition of obsolete, lilo is not obsolete.
On the other hand, libapt-pkg4.12, which still exists in jessie, was
recently removed from stretch.  Therefore, for stretch systems,
libapt-pkg4.12, though it may be installed by reason of a migration
from jessie, is classified as obsolete.  It is installed, but it is
no longer installable from the Debian archive.

-- 
  .''`.     Stephen Powell    <zlinuxman@wowway.com>
 : :'  :
 `. `'`
   `-

[toc] | [prev] | [next] | [standalone]


#160030 — Re: How to identify obsolete packages (was: Anybody know why aptitude is not installed by default in Sid?)

Fromkamaraju kusumanchi <raju.mailinglists@gmail.com>
Date2015-10-31 16:30 +0100
SubjectRe: How to identify obsolete packages (was: Anybody know why aptitude is not installed by default in Sid?)
Message-ID<qpGgq-4vl-35@gated-at.bofh.it>
In reply to#160025
On Sat, Oct 31, 2015 at 10:29 AM, Stephen Powell <zlinuxman@wowway.com> wrote:
>
> Does anyone know an easy way to identify obsolete packages without
> using aptitide?
>

Here is one way.

To identify packages that are no longer present in the archive
    % apt-show-versions -r . | grep "No available version in archive"
| cut -f 1 -d ':' | sort | uniq > ~/x/cruft.txt

To identify packages that are no longer present in the archive and
contain the word lib in their names
    % apt-show-versions -r lib | grep "No available version in
archive" | cut -f 1 -d ':' | sort | uniq > ~/x/cruft.txt

You need to sort uniq the output since there could be entries such as
    libavcodec55:amd64 6:10.2-1 installed: No available version in archive
    libavcodec55:i386 6:10.2-1 installed: No available version in archive

To remove the packages one by one
    % xargs -n1 -t -a ~/x/cruft.txt -i sudo apt-get remove --purge {}

You need to run these two commands (apt-show-versions and xargs) separately
since apt-get runs interactively and cannot get the input if run from xargs.

hope that helps
raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog

[toc] | [prev] | [next] | [standalone]


#160040 — [SOLVED] How to identify obsolete packages

FromStephen Powell <zlinuxman@wowway.com>
Date2015-10-31 17:40 +0100
Subject[SOLVED] How to identify obsolete packages
Message-ID<qpHma-57i-31@gated-at.bofh.it>
In reply to#160030
On Sat, 31 Oct 2015 11:28:26 -0400 (EDT), Kamaraju Kusumanchi wrote:
> 
> Here is one way.
> 
> To identify packages that are no longer present in the archive
> 
>     % apt-show-versions -r . | grep "No available version in archive"

That's what I'm talking about!  Thanks!  (Although it does require the
installation of another package: apt-show-versions.)

I'm curious, though.  Do you use the C shell?  Or did you just customize
your prompt?

-- 
  .''`.     Stephen Powell    <zlinuxman@wowway.com>
 : :'  :
 `. `'`
   `-

[toc] | [prev] | [next] | [standalone]


#160071 — Re: [SOLVED] How to identify obsolete packages

Fromkamaraju kusumanchi <raju.mailinglists@gmail.com>
Date2015-11-01 04:50 +0100
SubjectRe: [SOLVED] How to identify obsolete packages
Message-ID<qpROy-37x-5@gated-at.bofh.it>
In reply to#160040
On Sat, Oct 31, 2015 at 12:30 PM, Stephen Powell <zlinuxman@wowway.com> wrote:
> On Sat, 31 Oct 2015 11:28:26 -0400 (EDT), Kamaraju Kusumanchi wrote:
>>
>> Here is one way.
>>
>> To identify packages that are no longer present in the archive
>>
>>     % apt-show-versions -r . | grep "No available version in archive"
>
> That's what I'm talking about!  Thanks!  (Although it does require the
> installation of another package: apt-show-versions.)
>
> I'm curious, though.  Do you use the C shell?  Or did you just customize
> your prompt?
>

I use zsh (aka zshell) and highly recommend it instead of bash.
http://raju.shoutwiki.com/wiki/Why_notes#Why_zsh explains why I
switched to it in the first place.

-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog

[toc] | [prev] | [next] | [standalone]


#160081 — Re: [SOLVED] How to identify obsolete packages

FromJörg-Volker Peetz <jvpeetz@web.de>
Date2015-11-01 21:40 +0100
SubjectRe: [SOLVED] How to identify obsolete packages
Message-ID<qq7zY-4y5-21@gated-at.bofh.it>
In reply to#160040
Stephen Powell wrote on 10/31/2015 17:30:
> On Sat, 31 Oct 2015 11:28:26 -0400 (EDT), Kamaraju Kusumanchi wrote:
>>
>> Here is one way.
>>
>> To identify packages that are no longer present in the archive
>>
>>     % apt-show-versions -r . | grep "No available version in archive"
> 
> That's what I'm talking about!  Thanks!  (Although it does require the
> installation of another package: apt-show-versions.)
> 
<snip>
Solutions were proposed already at least once on this list: see the thread
beginning with https://lists.debian.org/debian-user/2015/01/msg00446.html

Regards,
jvp.

[toc] | [prev] | [next] | [standalone]


#160041 — Re: How to identify obsolete packages (was: Anybody know why aptitude is not installed by default in Sid?)

FromJude DaShiell <jdashiel@panix.com>
Date2015-10-31 18:30 +0100
SubjectRe: How to identify obsolete packages (was: Anybody know why aptitude is not installed by default in Sid?)
Message-ID<qpI8x-5Fs-1@gated-at.bofh.it>
In reply to#160025
I get aptitude to resolve recommended upgrades just by using the -r 
switch on the command line.  There's probably a way to do that using 
g.u.i. but don't know that one yet.

On Sat, 31 Oct 2015, Stephen Powell wrote:

> Date: Sat, 31 Oct 2015 10:29:48
> From: Stephen Powell <zlinuxman@wowway.com>
> To: debian-user@lists.debian.org
> Subject: How to identify obsolete packages (was: Anybody know why aptitude is
>     not installed by default in Sid?)
> Resent-Date: Sat, 31 Oct 2015 14:30:06 +0000 (UTC)
> Resent-From: debian-user@lists.debian.org
> 
> On Sat, 31 Oct 2015 07:38:25 -0400 (EDT), Chris Bannister wrote:
>>
>> Oh great! They've fixed it. I hated having to "dpkg --purge aptitude"
>> after a new installation. If you want extra packages, it's just an
>> apt-get install <package> step away.
>
> I used to use aptitude; but I've switched back to using apt, mainly
> because apt-get resolves "Recommends" dependencies during an upgrade
> while aptitude does not.  But there is one thing that I like about
> aptitude that, if I could get equivalent functionality out of apt,
> I might not bother to install aptitude.
>
> aptitude, when run with no parameters, provides a full-screen interface.
> This full-screen interface lists package categories which can be
> expanded.  One category in particular is of interest to me:
> "Obsolete and Locally Created Packages".  By expanding this category,
> I can identify obsolete packages.  (An obsolete package, by definition,
> is an installed package which no longer exists in the Debian archive.)
> 99% of the time, an obsolete package is one that I wish to purge.
> I've seen cases where packages are held back during
> "apt-get --purge dist-upgrade" processing until these obsolete packages
> are purged.  But I have not found a way to easily identify obsolete
> packages using apt.  There is an "autoremove" option on apt-get to
> remove packages which were automatically installed but which are no
> longer required by any installed package.  But that is different.
> That's not the same thing as an obsolete package.  An obsolete package
> may have been manually installed, but it's still obsolete, and I
> need to be able to identify it as such.
>
> Does anyone know an easy way to identify obsolete packages without
> using aptitide?
>
>

-- 

[toc] | [prev] | [next] | [standalone]


#160048 — Re: How to identify obsolete packages

FromStephen Powell <zlinuxman@wowway.com>
Date2015-10-31 20:10 +0100
SubjectRe: How to identify obsolete packages
Message-ID<qpJHj-6JK-17@gated-at.bofh.it>
In reply to#160041
On Sat, 31 Oct 2015 13:27:19 -0400 (EDT), Jude DaShiell wrote:
> 
> I get aptitude to resolve recommended upgrades just by using the -r 
> switch on the command line.  There's probably a way to do that using 
> g.u.i. but don't know that one yet.

It's been a while now, but IIRC, this works for install but not for
safe-upgrade or full-upgrade.

-- 
  .''`.     Stephen Powell    <zlinuxman@wowway.com>
 : :'  :
 `. `'`
   `-

[toc] | [prev] | [next] | [standalone]


#160047

FromBrian <ad44@cityscape.co.uk>
Date2015-10-31 20:10 +0100
Message-ID<qpJHj-6JK-5@gated-at.bofh.it>
In reply to#160014
On Sun 01 Nov 2015 at 00:38:25 +1300, Chris Bannister wrote:

> On Sat, Oct 31, 2015 at 03:57:30AM -0700, Rick Thomas wrote:
> > I notice that Sid is not including aptitude by default in the stock installation.  I have to do “apt get install aptitude” manually after installation.
> > 
> > Does anybody know why this is?
> 
> Oh great! They've fixed it. I hated having to "dpkg --purge aptitude"
> after a new installation. If you want extra packages, it's just an
> apt-get install <package> step away.

Nothing is "fixed". If you do not want aptitude it is just a
"dpkg --purge" step away. :)

[toc] | [prev] | [next] | [standalone]


#160034

FromMario Castelán Castro <marioxcc.MT@yandex.com>
Date2015-10-31 17:10 +0100
Message-ID<qpGT8-4Xz-23@gated-at.bofh.it>
In reply to#160013
Will Debian 9 no longer install Aptitude by default?.

[toc] | [prev] | [next] | [standalone]


#160046

FromBrian <ad44@cityscape.co.uk>
Date2015-10-31 20:00 +0100
Message-ID<qpJxE-6qG-5@gated-at.bofh.it>
In reply to#160034
On Sat 31 Oct 2015 at 10:01:36 -0600, Mario Castelán Castro wrote:

> Will Debian 9 no longer install Aptitude by default?.

Que Sera, Sera..... . Let's stay in the present (in line with the post
which started this thread) and look at unstable. Here are two verifiable
facts:

  brian@sid:~$ dpkg --status aptitude | grep Priority
  Priority: important

Debian policy says:

  The base system consists of all those packages with priority required
  or important.

Sid "not including aptitude by default in the stock installation" would
be somewhat unusual.

[toc] | [prev] | [next] | [standalone]


#160049

FromTeemu Likonen <tlikonen@iki.fi>
Date2015-10-31 20:20 +0100
Message-ID<qpJR0-6N4-9@gated-at.bofh.it>
In reply to#160046

[Multipart message — attachments visible in raw view] — view raw

Brian [2015-10-31 18:49:59Z] wrote:

> Here are two verifiable facts:
>
>   brian@sid:~$ dpkg --status aptitude | grep Priority
>   Priority: important

Package's priority can be overruled by... some system unknown to me.
This is Debian 8:

    $ dpkg --status aptitude | grep Priority
    Priority: important

    $ apt-cache show aptitude | grep Priority
    Priority: standard

[toc] | [prev] | [next] | [standalone]


#160058

FromJavi Barroso <javibarroso@gmail.com>
Date2015-10-31 21:20 +0100
Message-ID<qpKN3-7mI-15@gated-at.bofh.it>
In reply to#160049
Hello,

El 31 de octubre de 2015 20:17:41 CET, Teemu Likonen <tlikonen@iki.fi> escribió:
>Brian [2015-10-31 18:49:59Z] wrote:
>
>> Here are two verifiable facts:
>>
>>   brian@sid:~$ dpkg --status aptitude | grep Priority
>>   Priority: important
>
>Package's priority can be overruled by... some system unknown to me.
>This is Debian 8:
>
>    $ dpkg --status aptitude | grep Priority
>    Priority: important
>
>    $ apt-cache show aptitude | grep Priority
>    Priority: standard

You can see when priority was overruled
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758561#12

[toc] | [prev] | [next] | [standalone]


#160059

FromBrian <ad44@cityscape.co.uk>
Date2015-10-31 21:40 +0100
Message-ID<qpL6p-7sF-1@gated-at.bofh.it>
In reply to#160058
On Sat 31 Oct 2015 at 21:12:42 +0100, Javi Barroso wrote:

> Hello,
> 
> El 31 de octubre de 2015 20:17:41 CET, Teemu Likonen <tlikonen@iki.fi> escribió:
> >Brian [2015-10-31 18:49:59Z] wrote:
> >
> >> Here are two verifiable facts:
> >>
> >>   brian@sid:~$ dpkg --status aptitude | grep Priority
> >>   Priority: important
> >
> >Package's priority can be overruled by... some system unknown to me.
> >This is Debian 8:
> >
> >    $ dpkg --status aptitude | grep Priority
> >    Priority: important
> >
> >    $ apt-cache show aptitude | grep Priority
> >    Priority: standard
> 
> You can see when priority was overruled
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758561#12

This is a very good pointer. It doesn't explain why two different tools
give different answers but it does get to the heart of the matter.

Additional reading is at

  https://lists.debian.org/debian-boot/2015/05/msg00156.html

To confirm the OP's experience the

  debian-stretch-DI-alpha4-i386-netinst.iso

does not contain aptitude.

[toc] | [prev] | [next] | [standalone]


#160067

FromJavi Barroso <javibarroso@gmail.com>
Date2015-11-01 00:20 +0100
Message-ID<qpNBg-Eb-11@gated-at.bofh.it>
In reply to#160059
Hi,

El 31 de octubre de 2015 21:34:51 CET, Brian <ad44@cityscape.co.uk> escribió:
>On Sat 31 Oct 2015 at 21:12:42 +0100, Javi Barroso wrote:
>
>> Hello,
>> 
>> El 31 de octubre de 2015 20:17:41 CET, Teemu Likonen
><tlikonen@iki.fi> escribió:
>> >Brian [2015-10-31 18:49:59Z] wrote:
>> >
>> >> Here are two verifiable facts:
>> >>
>> >>   brian@sid:~$ dpkg --status aptitude | grep Priority
>> >>   Priority: important
>> >
>> >Package's priority can be overruled by... some system unknown to me.
>> >This is Debian 8:
>> >
>> >    $ dpkg --status aptitude | grep Priority
>> >    Priority: important
>> >
>> >    $ apt-cache show aptitude | grep Priority
>> >    Priority: standard
>> 
>> You can see when priority was overruled
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758561#12
>
>This is a very good pointer. It doesn't explain why two different tools
>give different answers but it does get to the heart of the matter.

I guess override action are done by ftp-masters when maintainer has not time or interest changing some parameters

See, for more información wiki page:
https://wiki.debian.org/FtpMaster/Override

Regards

[toc] | [prev] | [next] | [standalone]


Page 2 of 4 — ← Prev page 1 [2] 3 4  Next page →

Back to top | Article view | linux.debian.user


csiph-web