zsh-users
 help / color / mirror / code / Atom feed
* Re: [Aptitude-devel] how to find orphan/obsolete packages if there are any in my Debian installation ?
       [not found] ` <20150315125328.GM17353@sym.noone.org>
@ 2015-03-15 15:29   ` shirish शिरीष
  2015-03-15 16:26     ` Axel Beckert
  0 siblings, 1 reply; 2+ messages in thread
From: shirish शिरीष @ 2015-03-15 15:29 UTC (permalink / raw)
  To: zsh-users; +Cc: Axel Beckert

at bottom :-

On 3/15/15, Axel Beckert <abe@debian.org> wrote:
> Hi shirish,
>
> shirish शिरीष wrote:
>> For a long time I was using the following :-
>>
>> [$] alias apto
>> apto='aptitude search ~o'
>>
>> I used to run apto and it would tell me if there are any obsolete or
>> orphan packages left in my Debian installation/apt archive.
>>
>> Recently, however from sometime back I have been running into the
>> following :-
>>
>> [$] 'aptitude search ~o'
>> zsh: command not found: aptitude search ~o
>>
>> So, it either seems that the command no longer works or zsh has some
>> trouble processing the command. If it's the latter then will look/talk
>> to zsh developers to have more, if it's the former however, please
>> tell/share how can I look for a listing of obsolete/orphan packages.
>
> It's clearly on the zsh side. So please remove the aptitude-devel list
> from the Cc after this mail. (zsh-users@zsh.org may be the proper
> mailing list for this issue, but I hope that we can solve your issue
> within one or two mails already.)
>
> Being also one of Debian's zsh maintainers, I tried the following:
>
> alias apto='aptitude search ~o'
>
> With this, the "apto" alias fails for me as follows (and actually as
> expected from my point of view):
>
> ~ → alias apto='aptitude search ~o'
> ~ → apto
> zsh: no such user or named directory: o
> ~ →
>
> But this works fine for me:
>
> ~ → alias apto='aptitude search \~o'
> ~ → apto
> i A apt-dpkg-ref   - APT, Dpkg Quick Reference sheet
> i A asr-manpages   - alt.sysadmin.recovery manual pages
> […]
>
> I'm using zsh 5.0.7-5 as in Debian Jessie currently.
>
> Which zsh version did you use? Do you remember for which zsh version
> it worked for you the last time?
>
> This behaviour may also be influenced by the following zshoptions(1):
>
> * cshnullglob
> * nullglob
> * nomatch
>
> 		Regards, Axel
> --
>  ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
> : :' :  |  Debian Developer, ftp.ch.debian.org Admin
> `. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
>   `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Hi Axel,
I was using the default shell (bash) and using .bashrc . After using
the '\' character (denoting space I guess) it works perfectly. I am
using oh-my-zsh alongwith it.

One question though what does ip stand for ?

ip  pidgin-whatsapp                                                 -
WhatsApp plugin for Pidgin
ip  urw                                                             -
UrW is a unique graphical roguelike RPG taking place in ancient
Finland during the late Iron Age.

As far as my understanding goes, p in debian stands for packages not installed.

Both these packages are not in Debian and don't think they will ever
come into debian.
-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Aptitude-devel] how to find orphan/obsolete packages if there are any in my Debian installation ?
  2015-03-15 15:29   ` [Aptitude-devel] how to find orphan/obsolete packages if there are any in my Debian installation ? shirish शिरीष
@ 2015-03-15 16:26     ` Axel Beckert
  0 siblings, 0 replies; 2+ messages in thread
From: Axel Beckert @ 2015-03-15 16:26 UTC (permalink / raw)
  To: shirish शिरीष; +Cc: zsh-users

Hi shirish,

On Sun, Mar 15, 2015 at 08:59:32PM +0530, shirish शिरीष wrote:
> I was using the default shell (bash) and using .bashrc . After using
> the '\' character (denoting space I guess) it works perfectly.

The backslash avoids that zsh tries to lookup the home directory of
the user "o". Think of e.g. "cd ~o".

> I am using oh-my-zsh alongwith it.

I've no experience with omz, but it seems to change quite a bunch of
zsh default settings...

> One question though what does ip stand for ?
> 
> ip  pidgin-whatsapp                                                 - WhatsApp plugin for Pidgin
> ip  urw                                                             - UrW is a unique graphical roguelike RPG taking place in ancient Finland during the late Iron Age.
> 
> As far as my understanding goes, p in debian stands for packages not installed.

The first letter is the current state (i = installed), the second
letter is planned state in aptitude (and only aptitude) and the p
means "purged".

Means that if you run aptitude to install or upgrade packages, it
would remove these two packages -- maybe because they have been purged
once with aptitude but then installed with apt-get or dpkg again. Or
because they have been schedule interactively for purging but the
scheduled actions have never been executed with aptitude, e.g. by
exiting aptitude with "q" after having made changes to the wanted
package states interactively or with --schedule-only.

> Both these packages are not in Debian and don't think they will ever
> come into debian.

That should not make a difference here.

		Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@deuxchevaux.org  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | abe@noone.org (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-15 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CADdDZR=SJWppfC5aSgit9J-sZkGLC=xM93eEhcd_F5oaE7BZGQ@mail.gmail.com>
     [not found] ` <20150315125328.GM17353@sym.noone.org>
2015-03-15 15:29   ` [Aptitude-devel] how to find orphan/obsolete packages if there are any in my Debian installation ? shirish शिरीष
2015-03-15 16:26     ` Axel Beckert

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).