zsh-users
 help / color / mirror / code / Atom feed
From: "shirish शिरीष" <shirishag75@gmail.com>
To: zsh-users@zsh.org
Cc: Axel Beckert <abe@debian.org>
Subject: Re: [Aptitude-devel] how to find orphan/obsolete packages if there are any in my Debian installation ?
Date: Sun, 15 Mar 2015 20:59:32 +0530	[thread overview]
Message-ID: <CADdDZRnY03b5AJwqd+hg5MTbLE2UJEevc-uJ0E4i+q5gHmVrig@mail.gmail.com> (raw)
In-Reply-To: <20150315125328.GM17353@sym.noone.org>

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


       reply	other threads:[~2015-03-15 15:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CADdDZR=SJWppfC5aSgit9J-sZkGLC=xM93eEhcd_F5oaE7BZGQ@mail.gmail.com>
     [not found] ` <20150315125328.GM17353@sym.noone.org>
2015-03-15 15:29   ` shirish शिरीष [this message]
2015-03-15 16:26     ` Axel Beckert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADdDZRnY03b5AJwqd+hg5MTbLE2UJEevc-uJ0E4i+q5gHmVrig@mail.gmail.com \
    --to=shirishag75@gmail.com \
    --cc=abe@debian.org \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).