From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21410 invoked by alias); 15 Mar 2015 15:29:43 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20013 Received: (qmail 12661 invoked from network); 15 Mar 2015 15:29:37 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=SPJRKtVX+xgiarOJbxQGLsJPUkzfAcxXtcJzhljHc/I=; b=H0C26/tqAeRzcyKD1MRzZfXjr+qDDeWbYKqQOy1PCJ4ZzfL7AGE63lFkpzn5P1ERVH AfLb/CJseBsuoQQORs6HzVZSNDlAnfP2Bqaoj+4Lm1bTnW3VyUFYPKNIHRyopbNk3uRQ 0VWkgk9RPwQQ1S6qg4XgFI5lRAPoH0HYxz/54LFYW23Q3L/zUmMvj7ffYTh1xTrZF88G ERKb/Fq1gJ/oqy57t7KACg3fZgQLFZ2KE5x8TZ7nWoLfEfMJUNZGAiHl1QGoQsM1luIL h3qiiOYMwUsCsjdFzJZE/F8Jzc+NvmTBvhSq+pQH+Vh8Tyy0C0SQDmdRNFvJ7D7RIk+p 91LQ== MIME-Version: 1.0 X-Received: by 10.112.149.10 with SMTP id tw10mr10582446lbb.78.1426433372742; Sun, 15 Mar 2015 08:29:32 -0700 (PDT) In-Reply-To: <20150315125328.GM17353@sym.noone.org> References: <20150315125328.GM17353@sym.noone.org> Date: Sun, 15 Mar 2015 20:59:32 +0530 Message-ID: Subject: Re: [Aptitude-devel] how to find orphan/obsolete packages if there are any in my Debian installation ? From: =?UTF-8?B?c2hpcmlzaCDgpLbgpL/gpLDgpYDgpLc=?= To: zsh-users@zsh.org Cc: Axel Beckert Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable at bottom :- On 3/15/15, Axel Beckert wrote: > Hi shirish, > > shirish =E0=A4=B6=E0=A4=BF=E0=A4=B0=E0=A5=80=E0=A4=B7 wrote: >> For a long time I was using the following :- >> >> [$] alias apto >> apto=3D'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=3D'aptitude search ~o' > > With this, the "apto" alias fails for me as follows (and actually as > expected from my point of view): > > ~ =E2=86=92 alias apto=3D'aptitude search ~o' > ~ =E2=86=92 apto > zsh: no such user or named directory: o > ~ =E2=86=92 > > But this works fine for me: > > ~ =E2=86=92 alias apto=3D'aptitude search \~o' > ~ =E2=86=92 apto > i A apt-dpkg-ref - APT, Dpkg Quick Reference sheet > i A asr-manpages - alt.sysadmin.recovery manual pages > [=E2=80=A6] > > 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 , 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 instal= led. Both these packages are not in Debian and don't think they will ever come into debian. --=20 Regards, Shirish Agarwal =E0=A4=B6=E0=A4=BF=E0=A4=B0=E0=A5=80=E0=A4=B7 = =E0=A4=85=E0=A4=97=E0=A5=8D=E0=A4=B0=E0=A4=B5=E0=A4=BE=E0=A4=B2 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