Re: How to find installed packages not in APT?

2025-02-05 Thread Jörg-Volker Peetz
It's documented in the man page of apt-patterns. Regards, Jörg.

Re: How to find installed packages not in APT?

2025-02-04 Thread Max Nikulin
On 05/02/2025 02:07, Greg Wooledge wrote: Start with aptitude(8). Instead of talking about some "aptitude reference manual", it should just say "see apt-patterns(7)". No, it should not. Query languages are similar, but still are not identical

Re: How to find installed packages not in APT?

2025-02-04 Thread debian-user
Greg Wooledge wrote: > On Tue, Feb 04, 2025 at 11:04:16 -0800, Loren M. Lang wrote: > > On Tue, Feb 04, 2025 at 12:15:32PM -0500, Greg Wooledge wrote: > > > On Wed, Feb 05, 2025 at 00:00:13 +0700, Max Nikulin wrote: > > > > - apt-patterns(7) > > > > > > Why isn't this linked/referenced from

Re: How to find installed packages not in APT?

2025-02-04 Thread Tim Woodall
On Mon, 3 Feb 2025, Loren M. Lang wrote: On Mon, Feb 03, 2025 at 11:09:58AM +, Andy Smith wrote: Hi Loren, On Sun, Feb 02, 2025 at 11:29:45PM -0800, Loren M. Lang wrote: I am looking for a way to find all packages that have been installed on my system according to dpkg, but don't have a m

Re: How to find installed packages not in APT?

2025-02-04 Thread Greg Wooledge
On Tue, Feb 04, 2025 at 11:04:16 -0800, Loren M. Lang wrote: > On Tue, Feb 04, 2025 at 12:15:32PM -0500, Greg Wooledge wrote: > > On Wed, Feb 05, 2025 at 00:00:13 +0700, Max Nikulin wrote: > > > - apt-patterns(7) > > > > Why isn't this linked/referenced from apt(8) or apt-get(8) or aptitude(8)? >

Re: How to find installed packages not in APT?

2025-02-04 Thread Greg Wooledge
On Tue, Feb 04, 2025 at 11:25:46 -0600, David Wright wrote: > On Tue 04 Feb 2025 at 12:15:32 (-0500), Greg Wooledge wrote: > > On Wed, Feb 05, 2025 at 00:00:13 +0700, Max Nikulin wrote: > > > - apt-patterns(7) > > > > Why isn't this linked/referenced from apt(8) or apt-get(8) or aptitude(8)? > > I

Re: How to find installed packages not in APT?

2025-02-04 Thread Loren M. Lang
On Tue, Feb 04, 2025 at 12:15:32PM -0500, Greg Wooledge wrote: > On Wed, Feb 05, 2025 at 00:00:13 +0700, Max Nikulin wrote: > > - apt-patterns(7) > > Why isn't this linked/referenced from apt(8) or apt-get(8) or aptitude(8)? > I just checked all three, and it's not on any of them. It is reference

Re: How to find installed packages not in APT?

2025-02-04 Thread David Wright
On Tue 04 Feb 2025 at 12:15:32 (-0500), Greg Wooledge wrote: > On Wed, Feb 05, 2025 at 00:00:13 +0700, Max Nikulin wrote: > > - apt-patterns(7) > > Why isn't this linked/referenced from apt(8) or apt-get(8) or aptitude(8)? > I just checked all three, and it's not on any of them. > > That's slight

Re: How to find installed packages not in APT?

2025-02-04 Thread Greg Wooledge
On Tue, Feb 04, 2025 at 16:44:06 +, Andrew M.A. Cater wrote: > On Tue, Feb 04, 2025 at 11:23:58AM -0500, Greg Wooledge wrote: > > > > includes this paragraph (buried deep, searching for ~ eventually gets > > to it): > > > >

Re: How to find installed packages not in APT?

2025-02-04 Thread Max Nikulin
On 04/02/2025 23:12, Mike Castle wrote: On Tue, Feb 4, 2025 at 4:04 AM Andrew M.A. Cater wrote: apt list '~o' Where is '~o' documented? - https://www.debian.org/releases/bookworm/amd64/release-notes/ch-upgrading.en.html#obsolete - apt-patterns(7) However "aptitude search" is a bit more pow

Re: How to find installed packages not in APT?

2025-02-04 Thread Mike Castle
On Tue, Feb 4, 2025 at 8:47 AM Andrew M.A. Cater wrote: > Mentioning dselect - that will give you all the obsolete packages it > can't find - usually at the top of the interface but it does need > some degree of expertise to unravel what it shows. > > (I just used dselect to find obscure packages

Re: How to find installed packages not in APT?

2025-02-04 Thread Andrew M.A. Cater
On Tue, Feb 04, 2025 at 08:43:28AM -0800, Mike Castle wrote: > On Tue, Feb 4, 2025 at 8:34 AM Greg Wooledge wrote: > > > > On Tue, Feb 04, 2025 at 08:12:42 -0800, Mike Castle wrote: > > > On Tue, Feb 4, 2025 at 4:04 AM Andrew M.A. Cater > > > wrote: > > > > apt list '~o' > > > > > > Where is '~o

Re: How to find installed packages not in APT?

2025-02-04 Thread Andrew M.A. Cater
On Tue, Feb 04, 2025 at 11:23:58AM -0500, Greg Wooledge wrote: > On Tue, Feb 04, 2025 at 08:12:42 -0800, Mike Castle wrote: > > On Tue, Feb 4, 2025 at 4:04 AM Andrew M.A. Cater > > wrote: > > > apt list '~o' > > > > Where is '~o' documented? apt(1) mentions dpkg-query, but I couldn't > > find i

Re: How to find installed packages not in APT?

2025-02-04 Thread Mike Castle
On Tue, Feb 4, 2025 at 8:34 AM Greg Wooledge wrote: > > On Tue, Feb 04, 2025 at 08:12:42 -0800, Mike Castle wrote: > > On Tue, Feb 4, 2025 at 4:04 AM Andrew M.A. Cater > > wrote: > > > apt list '~o' > > > > Where is '~o' documented? apt(1) mentions dpkg-query, but I couldn't > > find it mention

Re: How to find installed packages not in APT?

2025-02-04 Thread Greg Wooledge
On Tue, Feb 04, 2025 at 08:12:42 -0800, Mike Castle wrote: > On Tue, Feb 4, 2025 at 4:04 AM Andrew M.A. Cater wrote: > > apt list '~o' > > Where is '~o' documented? apt(1) mentions dpkg-query, but I couldn't > find it mentioned there either. It's documented as part of "aptitude", I believe, but

Re: How to find installed packages not in APT?

2025-02-04 Thread Mike Castle
On Tue, Feb 4, 2025 at 4:04 AM Andrew M.A. Cater wrote: > apt list '~o' Where is '~o' documented? apt(1) mentions dpkg-query, but I couldn't find it mentioned there either. I'm pretty sure I've seen it somewhere, but I couldn't find it when I saw this command mentioned previously in this thread

Re: How to find installed packages not in APT?

2025-02-04 Thread Mike Castle
Also, I don't think there should be any need to run it as root. And sorry for the bad line wrapping.

Re: How to find installed packages not in APT?

2025-02-04 Thread Andrew M.A. Cater
On Mon, Feb 03, 2025 at 11:33:50PM -0500, gene heskett wrote: > On 2/3/25 21:10, Mike Castle wrote: > > On Mon, Feb 3, 2025 at 5:16 PM Loren M. Lang wrote: > > > Basically, I want to identify any software that I couldn't reinstall on > > > a fresh install of Debian from the official Debian archive

Re: How to find installed packages not in APT?

2025-02-04 Thread gene heskett
On 2/4/25 00:02, Greg Wooledge wrote: On Mon, Feb 03, 2025 at 23:33:50 -0500, gene heskett wrote:  gene@coyote:/$ sudo -i root@coyote:~# comm -23 <(dpkg-query -W -f '${Package} ${Version}\n' | sort -u) <(apt-cache dumpavail | awk '/^Package:/ {package = $NF} /^Version:/ {version = $NF} /^$/ {pr

Re: How to find installed packages not in APT?

2025-02-03 Thread Loren M. Lang
On Mon, Feb 03, 2025 at 06:09:38PM -0800, Mike Castle wrote: > On Mon, Feb 3, 2025 at 5:16 PM Loren M. Lang wrote: > > Basically, I want to identify any software that I couldn't reinstall on > > a fresh install of Debian from the official Debian archives. > > Will this work as a starting place fo

Re: How to find installed packages not in APT?

2025-02-03 Thread Greg Wooledge
On Mon, Feb 03, 2025 at 23:33:50 -0500, gene heskett wrote: >  gene@coyote:/$ sudo -i > root@coyote:~# comm -23 <(dpkg-query -W -f '${Package} ${Version}\n' | sort > -u) > <(apt-cache dumpavail | awk '/^Package:/ {package = $NF} /^Version:/ > {version = $NF} /^$/ {print package, version}' | sort -u

Re: How to find installed packages not in APT?

2025-02-03 Thread gene heskett
On 2/3/25 21:10, Mike Castle wrote: On Mon, Feb 3, 2025 at 5:16 PM Loren M. Lang wrote: Basically, I want to identify any software that I couldn't reinstall on a fresh install of Debian from the official Debian archives. Will this work as a starting place for you? comm -23 <(dpkg-query -W -f

Re: How to find installed packages not in APT?

2025-02-03 Thread Mike Castle
On Mon, Feb 3, 2025 at 5:16 PM Loren M. Lang wrote: > Basically, I want to identify any software that I couldn't reinstall on > a fresh install of Debian from the official Debian archives. Will this work as a starting place for you? comm -23 <(dpkg-query -W -f '${Package} ${Version}\n' | sort -u

Re: How to find installed packages not in APT?

2025-02-03 Thread Loren M. Lang
On Mon, Feb 03, 2025 at 11:09:58AM +, Andy Smith wrote: > Hi Loren, > > On Sun, Feb 02, 2025 at 11:29:45PM -0800, Loren M. Lang wrote: > > I am looking for a way to find all packages that have been installed on > > my system according to dpkg, but don't have a matching entry in Apt. > > Packa

Re: How to find installed packages not in APT?

2025-02-03 Thread Greg Wooledge
On Mon, Feb 03, 2025 at 15:18:59 +0100, Jörg-Volker Peetz wrote: > you could check for obsolete packages, depending on the apt version, with > > $ apt list '~o' Oh, right. *That* is probably what the OP was really looking for: packages that have been installed in the past but are no longer i

Re: How to find installed packages not in APT?

2025-02-03 Thread Jörg-Volker Peetz
Hi, you could check for obsolete packages, depending on the apt version, with $ apt list '~o' Also looking for broken or garbage packets could help: $ apt list '~b' '~g' Of course, the output will depend on how your sources file (/etc/apt/sources.list, etc.) looks like. If you think the

Re: How to find installed packages not in APT?

2025-02-03 Thread Andy Smith
Hi Loren, On Sun, Feb 02, 2025 at 11:29:45PM -0800, Loren M. Lang wrote: > I am looking for a way to find all packages that have been installed on > my system according to dpkg, but don't have a matching entry in Apt. Packages installed with dpkg -i *do* show in apt, so can you be more specific a

How to find installed packages not in APT?

2025-02-02 Thread Loren M. Lang
I am looking for a way to find all packages that have been installed on my system according to dpkg, but don't have a matching entry in Apt. This is likely due to being installed manually from a third-party website or because it was left over from a previous upgrade and not removed. Also, just for

Re: question regarding post-installed packages

2021-06-23 Thread David Wright
On Wed 23 Jun 2021 at 08:49:42 (+0100), mick crane wrote: > On 2021-06-23 08:22, to...@tuxteam.de wrote: > > On Wed, Jun 23, 2021 at 06:51:39AM +0300, Andrei POPESCU wrote: > > > > [...] > > > > > comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc > > > /var/log/installer/initial-status.gz |

Re: question regarding post-installed packages

2021-06-23 Thread Andrei POPESCU
On Mi, 23 iun 21, 16:49:28, David wrote: > On Wed, 23 Jun 2021 at 13:52, Andrei POPESCU wrote: > > On Ma, 22 iun 21, 10:57:39, Greg Wooledge wrote: > > > Mistery solved by looking at the html part (the '/' are meant to denote > > italic), the correct command is: > > comm -23 <(apt-mark showmanua

Re: question regarding post-installed packages

2021-06-23 Thread Andrei POPESCU
On Mi, 23 iun 21, 09:22:24, to...@tuxteam.de wrote: > On Wed, Jun 23, 2021 at 06:51:39AM +0300, Andrei POPESCU wrote: > > [...] > > > comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc > > /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u) > > > Command substitutio

Re: question regarding post-installed packages

2021-06-23 Thread tomas
On Wed, Jun 23, 2021 at 08:49:42AM +0100, mick crane wrote: > On 2021-06-23 08:22, to...@tuxteam.de wrote: [...] > >Perhaps more readable in the symmetrical variant > > > > diff -u <(ls dir1) <(ls dir2) > > > >Very handy. > > > does not the excellent guide also say not to try to do anything with

Re: question regarding post-installed packages

2021-06-23 Thread mick crane
On 2021-06-23 08:22, to...@tuxteam.de wrote: On Wed, Jun 23, 2021 at 06:51:39AM +0300, Andrei POPESCU wrote: [...] comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u) Command substitution without '$'? I must be mis

Re: question regarding post-installed packages

2021-06-23 Thread tomas
On Wed, Jun 23, 2021 at 06:51:39AM +0300, Andrei POPESCU wrote: [...] > comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc > /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u) > Command substitution without '$'? I must be missing something and would > appreciate

Re: question regarding post-installed packages

2021-06-22 Thread David
On Wed, 23 Jun 2021 at 13:52, Andrei POPESCU wrote: > On Ma, 22 iun 21, 10:57:39, Greg Wooledge wrote: > Mistery solved by looking at the html part (the '/' are meant to denote > italic), the correct command is: > comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc > /var/log/installer/initial

Re: question regarding post-installed packages

2021-06-22 Thread Andrei POPESCU
On Ma, 22 iun 21, 10:57:39, Greg Wooledge wrote: > On Tue, Jun 22, 2021 at 05:44:50PM +0300, Andrei POPESCU wrote: > > On Ma, 22 iun 21, 15:30:35, Christian wrote: > > > > > > /comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc > > > /var/log/installer/initial-status.gz | sed -n 's/^Package: //p

Re: question regarding post-installed packages

2021-06-22 Thread Andrei POPESCU
On Ma, 22 iun 21, 11:25:00, Greg Wooledge wrote: > On Tue, Jun 22, 2021 at 05:08:35PM +0200, Christian wrote: > > Hi Andrei, > > > > thanks a lot for your reply. 😁 > > > > > It's unclear what exactly '/comm -23' is supposed to be > > > > Well, from the man pages (man comm) : > > > > /comm [OPTI

Re: question regarding post-installed packages

2021-06-22 Thread Greg Wooledge
On Tue, Jun 22, 2021 at 05:08:35PM +0200, Christian wrote: > Hi Andrei, > > thanks a lot for your reply. 😁 > > > It's unclear what exactly '/comm -23' is supposed to be > > Well, from the man pages (man comm) : > > /comm [OPTION]... FILE1 FILE2// Your mail user agent (or your editor) appears t

Re: question regarding post-installed packages

2021-06-22 Thread Christian
Hi Andrei, thanks a lot for your reply. 😁 > It's unclear what exactly '/comm -23' is supposed to be Well, from the man pages (man comm) : /comm [OPTION]... FILE1 FILE2// // //DESCRIPTION// //   Compare sorted files FILE1 and FILE2 line by line.   -1 suppress column 1 (lines unique

Re: question regarding post-installed packages

2021-06-22 Thread Greg Wooledge
On Tue, Jun 22, 2021 at 05:44:50PM +0300, Andrei POPESCU wrote: > On Ma, 22 iun 21, 15:30:35, Christian wrote: > > > > /comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc > > /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)/ > > It's unclear what exactly '/comm -23' is

Re: question regarding post-installed packages

2021-06-22 Thread Christian
Dear Hans, 😁 thanks again for your help. > if you can see in this file, which packages are postinstalled or dependent [...] Alas that doesn´t seem to be the case. As an example I post-installed the fish-shell and the respective entry simply is: /fish  

Re: question regarding post-installed packages

2021-06-22 Thread Andrei POPESCU
On Ma, 22 iun 21, 15:30:35, Christian wrote: > > /comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc > /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)/ It's unclear what exactly '/comm -23' is supposed to be and it seems your mail program messed with line breaks. Al

Re: question regarding post-installed packages

2021-06-22 Thread Hans
d you provided and it seems to produce quite > an extensive list beginning with "acl" and ending with "zlib1g:amd64". > So it´s basically a list with all the packages which are installed by > default plus the packages I installed afterwards. > > I was hoping for

Re: question regarding post-installed packages

2021-06-22 Thread Christian
y  default plus the packages I installed afterwards. I was hoping for a list that provides just my post-installed packages. But I assume that in view of the fact that the /i*nitial-status.gz */doesn´t seem to exist on Debian there´s no way of achieving this goal. Never mind. Your command will c

Re: question regarding post-installed packages

2021-06-22 Thread Hans
//-rw-r--r-- 1 root root 72K Jun 16 16:59 status// > //-rw--- 1 root root 1,2M Jun 16 16:59 syslog// > //-rw--- 1 root root 41K Jun 16 16:59 Xorg.0.log/ > > So my question is: Does this file exist at all (possibly using another > path)? > Or is there another preferred way of getting info concerning all > post-installed packages (without their dependencies)? > > Thanks a lot for your help in advance. > > Many greetings. > Rosika signature.asc Description: This is a digitally signed message part.

question regarding post-installed packages

2021-06-22 Thread Christian
s: Does this file exist at all (possibly using another path)? Or is there another preferred way of getting info concerning all post-installed packages (without their dependencies)? Thanks a lot for your help in advance. Many greetings. Rosika

Re: Goal: a specialized inventory of installed packages

2020-04-06 Thread David Wright
On Sun 05 Apr 2020 at 13:17:37 (-0500), Richard Owlett wrote: > On 04/05/2020 12:00 PM, David Wright wrote: > > On Sun 05 Apr 2020 at 10:30:41 (-0500), Richard Owlett wrote: > > > > > I currently have a configuration of Stretch that meets most of my needs. > > > > > I'm setting out to do an _extr

Re: Goal: a specialized inventory of installed packages

2020-04-06 Thread Andrei POPESCU
On Du, 05 apr 20, 11:59:17, Richard Owlett wrote: > > I did a test run. I think I see the pattern of which packages it marks as > manual. > E.G. It shows systemd related items as "manual". But for *MY* purposes I > would class them as "auto". That will not be a problem in practice. I'll > just do

Re: Goal: a specialized inventory of installed packages

2020-04-06 Thread Andrei POPESCU
On Du, 05 apr 20, 11:52:32, The Wanderer wrote: > > From what I've seen, it looks as if debian-installer also flags some > packages as manually installed, during initial install of the Debian > system. I don't know which ones do and don't get that treatment. At least the packages installed during

Re: Goal: a specialized inventory of installed packages

2020-04-05 Thread Richard Owlett
On 04/05/2020 01:29 PM, Marco Möller wrote: Once you have your list of packages in a text file, for each package one line, you could apply the list like this:     apt install $(< mylist.txt) Good to know that is known to work. Consider to first do a simulation run for finding problems in

Re: Goal: a specialized inventory of installed packages

2020-04-05 Thread Marco Möller
Once you have your list of packages in a text file, for each package one line, you could apply the list like this: apt install $(< mylist.txt) Consider to first do a simulation run for finding problems in the list: -s Consider to use the following flag in order to not draw in a maybe

Re: Goal: a specialized inventory of installed packages

2020-04-05 Thread Richard Owlett
On 04/05/2020 12:00 PM, David Wright wrote: On Sun 05 Apr 2020 at 10:30:41 (-0500), Richard Owlett wrote: I currently have a configuration of Stretch that meets most of my needs. I'm setting out to do an _extremely_ custom *minimal* install of Buster. The desired inventory shall list *ONLY*

Re: Goal: a specialized inventory of installed packages

2020-04-05 Thread David Wright
On Sun 05 Apr 2020 at 10:30:41 (-0500), Richard Owlett wrote: > I currently have a configuration of Stretch that meets most of my needs. > I'm setting out to do an _extremely_ custom *minimal* install of Buster. > The desired inventory shall list *ONLY* top level packages. > [ E.G. if gfortran wa

Re: Goal: a specialized inventory of installed packages

2020-04-05 Thread Richard Owlett
On 04/05/2020 10:52 AM, The Wanderer wrote: On 2020-04-05 at 11:30, Richard Owlett wrote: I moved from WindowsXP when Squeeze was the current release. In the first year I did *many* installs from scratch to determine what I wanted in a final system (made much use of preseeding). I currently ha

Re: Goal: a specialized inventory of installed packages

2020-04-05 Thread The Wanderer
On 2020-04-05 at 11:30, Richard Owlett wrote: > I moved from WindowsXP when Squeeze was the current release. In the > first year I did *many* installs from scratch to determine what I > wanted in a final system (made much use of preseeding). > > I currently have a configuration of Stretch that m

Goal: a specialized inventory of installed packages

2020-04-05 Thread Richard Owlett
I moved from WindowsXP when Squeeze was the current release. In the first year I did *many* installs from scratch to determine what I wanted in a final system (made much use of preseeding). I currently have a configuration of Stretch that meets most of my needs. As the installation was performe

Re: Manually installed packages

2016-12-04 Thread Jörg-Volker Peetz
Rodolfo Medina wrote on 12/04/16 12:54: > Jörg-Volker Peetz writes: >> aptitude -F '%p %I %d' --sort installsize search '~i' > > > What about reverse (descending) installsize order? > > Thanks, > > Rodolfo > For that purpose, the unix command "tac" comes handy aptitude -F '%p %I %d' --s

Re: Manually installed packages

2016-12-04 Thread Rodolfo Medina
Jörg-Volker Peetz writes: > Jörg-Volker Peetz wrote on 12/04/16 10:40: >> Greg Wooledge wrote on 12/01/16 20:06: >>> On Thu, Dec 01, 2016 at 06:38:45PM +, Rodolfo Medina wrote: >> >>> >>> P.S. http://wooledge.org/~greg/ds will sort the installed pac

Re: Manually installed packages

2016-12-04 Thread Jörg-Volker Peetz
Jörg-Volker Peetz wrote on 12/04/16 10:40: > Greg Wooledge wrote on 12/01/16 20:06: >> On Thu, Dec 01, 2016 at 06:38:45PM +, Rodolfo Medina wrote: > >> >> P.S. http://wooledge.org/~greg/ds will sort the installed packages by >> size for you. As you can see, ma

Re: Manually installed packages

2016-12-04 Thread Jörg-Volker Peetz
Greg Wooledge wrote on 12/01/16 20:06: > On Thu, Dec 01, 2016 at 06:38:45PM +, Rodolfo Medina wrote: > > P.S. http://wooledge.org/~greg/ds will sort the installed packages by > size for you. As you can see, many of us have been there, done that. > Yes, e.g., aptitude can

Re: Manually installed packages

2016-12-03 Thread kamaraju kusumanchi
On Thu, Dec 1, 2016 at 2:06 PM, Greg Wooledge wrote: > > P.S. http://wooledge.org/~greg/ds will sort the installed packages by > size for you. As you can see, many of us have been there, done that. > I would like to mention couple of things 1) You can do this by running dpigs i

Re: Manually installed packages

2016-12-03 Thread Rodolfo Medina
hen you > get to one that you think is not useful, or which you don't recognize > *at all*, dig into it and find out what it does. Then consider removing > it, but be prepared to put it back if you break something. > > This is how you learn. > > P.S. http://wooledge.org/

Re: Manually installed packages

2016-12-02 Thread Cindy-Sue Causey
On 12/1/16, David Wright wrote: > On Wed 30 Nov 2016 at 08:47:21 (-0500), Stefan Monnier wrote: >> so I'm just as confused as Rodolfo >> and I think for good reasons. > > I don't know whether Rodolfo is still confused after the explanation > I gave. AFAICT once you realise that manual means "not m

Re: Manually installed packages

2016-12-02 Thread Cindy-Sue Causey
On 11/30/16, Stefan Monnier wrote: >> apt-mark showmanual gives you the complement of apt-mark showauto. >> The second paragraph of apt-mark's description explains what's meant >> by "auto". So "manual" doesn't mean what you appear to assume it does, >> that you were involved in manually selec

Re: Manually installed packages

2016-12-01 Thread Brian
On Thu 01 Dec 2016 at 18:38:45 +, Rodolfo Medina wrote: > Curt writes: > > > I think in the OP's case having asked for the whole Gnome kit and > > caboodle upon installation he's got lots of stuff he might not even be > > aware of necessarily that doesn't fall into the auto category (or the

Re: Manually installed packages

2016-12-01 Thread Jörg-Volker Peetz
Speaking of aptitude, it does remove automatically installed package if no other package depends on it, or recommends it. This behavior can be changed by configuration entries in /etc/apt/apt.conf, /etc/apt/apt.conf.d/*, etc. To show any installed packages that aren't "auto"

Re: Manually installed packages

2016-12-01 Thread Greg Wooledge
don't recognize *at all*, dig into it and find out what it does. Then consider removing it, but be prepared to put it back if you break something. This is how you learn. P.S. http://wooledge.org/~greg/ds will sort the installed packages by size for you. As you can see, many of us have b

Re: Manually installed packages

2016-12-01 Thread Rodolfo Medina
Curt writes: > I think in the OP's case having asked for the whole Gnome kit and > caboodle upon installation he's got lots of stuff he might not even be > aware of necessarily that doesn't fall into the auto category (or the > high priority required category either), but that he didn't expressly

Re: Manually installed packages

2016-12-01 Thread Curt
On 2016-12-01, David Wright wrote: > On Wed 30 Nov 2016 at 08:47:21 (-0500), Stefan Monnier wrote: >> > apt-mark showmanual gives you the complement of apt-mark showauto. >> > The second paragraph of apt-mark's description explains what's meant >> > by "auto". So "manual" doesn't mean what you

Re: Manually installed packages

2016-12-01 Thread David Wright
On Wed 30 Nov 2016 at 08:47:21 (-0500), Stefan Monnier wrote: > > apt-mark showmanual gives you the complement of apt-mark showauto. > > The second paragraph of apt-mark's description explains what's meant > > by "auto". So "manual" doesn't mean what you appear to assume it does, > > that you w

Re: Manually installed packages

2016-11-30 Thread Stefan Monnier
> apt-mark showmanual gives you the complement of apt-mark showauto. > The second paragraph of apt-mark's description explains what's meant > by "auto". So "manual" doesn't mean what you appear to assume it does, > that you were involved in manually selecting it for installation. It > just mean

Re: Manually installed packages

2016-11-30 Thread Jörg-Volker Peetz
Here you have the answer to your own question. Use apt-mark to mark the packages you want to keep and all "required" packages as "manual"ly installed. Then mark all other packages as "auto". Then let apt-get autoremove do its work. After that, use e.g. aptitude to remove remaining configuration

Re: Manually installed packages (was: Uninstalling Gnome)

2016-11-29 Thread Cindy-Sue Causey
On 11/29/16, David Wright wrote: > On Tue 29 Nov 2016 at 23:45:51 (+), Rodolfo Medina wrote: >> >> If I run `apt-mark showmanual', a list of packages is ouput that are >> supposed >> to have been manually installed on my system but that actually I don't at >> all >> remember ever installing ne

Re: Manually installed packages (was: Uninstalling Gnome)

2016-11-29 Thread David Wright
On Tue 29 Nov 2016 at 23:45:51 (+), Rodolfo Medina wrote: > Rodolfo Medina writes: > > > When I freshly installed Debian on my present system, I chose Gnome as my > > Desktop manager, then I switched to Openbox. To free space, now I want to > > remove all those Gnome packages that I haven't

Manually installed packages (was: Uninstalling Gnome)

2016-11-29 Thread Rodolfo Medina
Rodolfo Medina writes: > When I freshly installed Debian on my present system, I chose Gnome as my > Desktop manager, then I switched to Openbox. To free space, now I want to > remove all those Gnome packages that I haven't used any more but am not sure > what of them I may delete without pertur

Re: list installed packages present only in stable

2016-11-04 Thread Jörg-Volker Peetz
rt -u | \ >> comm -23 --nocheck-order /dev/fd/3 -) 3<&0 >> > This needs a correction, if I'm not mistaken: > > aptitude -F "%p" search ~i | sort | \ > (aptitude -F "%p" search ~Aunstable ~Atesting | sort -u | \ > comm -23 --no

Re: list installed packages present only in stable

2016-11-04 Thread Jörg-Volker Peetz
) 3<&0 > This needs a correction, if I'm not mistaken: aptitude -F "%p" search ~i | sort | \ (aptitude -F "%p" search ~Aunstable ~Atesting | sort -u | \ comm -23 --nocheck-order /dev/fd/3 -) 3<&0 All installed packages should be checked, not all avail

Re: list installed packages present only in stable

2016-11-04 Thread Jörg-Volker Peetz
Maybe, this "one-liner" does what you want? aptitude -F "%p" search ~Astable| sort | \ (aptitude -F "%p" search ~Aunstable ~Atesting | sort -u | \ comm -23 --nocheck-order /dev/fd/3 -) 3<&0 All three archives have to be present with the names used above in your sources.list file (that is

Re: list installed packages present only in stable

2016-11-03 Thread kamaraju kusumanchi
On Thu, Nov 3, 2016 at 9:08 AM, Jonathan Dowland wrote: > On Wed, Nov 02, 2016 at 10:16:03PM -0400, kamaraju kusumanchi wrote: >> Not sure if you read the entire thread, I ended up writing a script to >> do this now. So, if you want to see packages that are currently >> installed on your system bu

Re: list installed packages present only in stable

2016-11-03 Thread Mark Fletcher
On Thu, Nov 03, 2016 at 10:58:32AM +0100, steve wrote: > Le 03-11-2016, à 18:40:57 +0900, Mark Fletcher a écrit : > > aptitude search ~Ajessie~i > > meet your needs? > > >>> > >>>No, it does not. When I ran that command it did not produce any > >>>output. What is it supposed to d

Re: list installed packages present only in stable

2016-11-03 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Nov 03, 2016 at 03:48:23PM +0100, steve wrote: > Le 03-11-2016, à 14:46:05 +0100, to...@tuxteam.de a écrit : > > >>>Thanks. That's for your Debian Jessie boxes. Is that the same for your > >>>Raspbian box? > >> > >>cat sources.list > >>deb htt

Re: list installed packages present only in stable

2016-11-03 Thread steve
Le 03-11-2016, à 14:46:05 +0100, to...@tuxteam.de a écrit : >Thanks. That's for your Debian Jessie boxes. Is that the same for your >Raspbian box? cat sources.list deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi and cat sources.list.d/raspi.list deb http://ar

Re: list installed packages present only in stable

2016-11-03 Thread David Wright
On Thu 03 Nov 2016 at 14:46:05 (+0100), to...@tuxteam.de wrote: > On Thu, Nov 03, 2016 at 02:29:07PM +0100, steve wrote: > > Le 03-11-2016, à 13:58:49 +0100, to...@tuxteam.de a écrit : > > > > >On Thu, Nov 03, 2016 at 01:51:54PM +0100, steve wrote: > > >>Le 03-11-2016, à 12:45:46 +0100, to...@tuxt

Re: list installed packages present only in stable

2016-11-03 Thread steve
>Thanks. That's for your Debian Jessie boxes. Is that the same for your >Raspbian box? cat sources.list deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi and cat sources.list.d/raspi.list deb http://archive.raspberrypi.org/debian/ jessie main ui Hm. So my hunch

Re: list installed packages present only in stable

2016-11-03 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Nov 03, 2016 at 02:29:07PM +0100, steve wrote: > Le 03-11-2016, à 13:58:49 +0100, to...@tuxteam.de a écrit : > > >On Thu, Nov 03, 2016 at 01:51:54PM +0100, steve wrote: > >>Le 03-11-2016, à 12:45:46 +0100, to...@tuxteam.de a écrit : > >> > >>>

Re: list installed packages present only in stable

2016-11-03 Thread steve
Le 03-11-2016, à 13:58:49 +0100, to...@tuxteam.de a écrit : On Thu, Nov 03, 2016 at 01:51:54PM +0100, steve wrote: Le 03-11-2016, à 12:45:46 +0100, to...@tuxteam.de a écrit : >Just wondering: what's the respective content of the /etc/apt/sources.list >and children? deb http://httpredir.debian

Re: list installed packages present only in stable

2016-11-03 Thread Jonathan Dowland
On Wed, Nov 02, 2016 at 10:16:03PM -0400, kamaraju kusumanchi wrote: > Not sure if you read the entire thread, I ended up writing a script to > do this now. So, if you want to see packages that are currently > installed on your system but not part of jessie, you can do the > following. Thanks, I h

Re: list installed packages present only in stable

2016-11-03 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Nov 03, 2016 at 01:51:54PM +0100, steve wrote: > Le 03-11-2016, à 12:45:46 +0100, to...@tuxteam.de a écrit : > > >Just wondering: what's the respective content of the /etc/apt/sources.list > >and children? > > deb http://httpredir.debian.org/

Re: list installed packages present only in stable

2016-11-03 Thread steve
Le 03-11-2016, à 12:45:46 +0100, to...@tuxteam.de a écrit : Just wondering: what's the respective content of the /etc/apt/sources.list and children? deb http://httpredir.debian.org/debian/ jessie main deb-src http://httpredir.debian.org/debian/ jessie main deb http://ftp.ch.debian.org/debian/

Re: list installed packages present only in stable

2016-11-03 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Nov 03, 2016 at 10:58:32AM +0100, steve wrote: > Le 03-11-2016, à 18:40:57 +0900, Mark Fletcher a écrit : > > aptitude search ~Ajessie~i > > meet your needs? > > >>> > >>>No, it does not. When I ran that command it did not pr

Re: list installed packages present only in stable

2016-11-03 Thread steve
Le 03-11-2016, à 18:40:57 +0900, Mark Fletcher a écrit : >>aptitude search ~Ajessie~i >> >>meet your needs? >> > >No, it does not. When I ran that command it did not produce any >output. What is it supposed to do? I'm with Kamaraju on this, zero output. I also tried quoting the search string i

Re: list installed packages present only in stable

2016-11-03 Thread Mark Fletcher
On Thu, Nov 03, 2016 at 08:36:59AM +0100, steve wrote: > Le 02-11-2016, à 22:25:53 -0400, kamaraju kusumanchi a écrit : > > >>does > >> > >>aptitude search ~Ajessie~i > >> > >>meet your needs? > >> > > > >No, it does not. When I ran that command it did not produce any > >output. What is it suppose

Re: list installed packages present only in stable

2016-11-03 Thread steve
Le 02-11-2016, à 22:25:53 -0400, kamaraju kusumanchi a écrit : does aptitude search ~Ajessie~i meet your needs? No, it does not. When I ran that command it did not produce any output. What is it supposed to do? I get this as an output (first few in French, sorry): i ant - O

Re: list installed packages present only in stable

2016-11-02 Thread kamaraju kusumanchi
On Wed, Nov 2, 2016 at 6:45 AM, steve wrote: > Hi Kamaraju, > > Le 23-10-2016, à 20:48:46 -0400, kamaraju kusumanchi a écrit : > >> How can I list all the packages installed on my system that are >> currently part of the stable distribution but not present in either >> testing or sid? > > > does >

Re: list installed packages present only in stable

2016-11-02 Thread kamaraju kusumanchi
.gz Processed: http://httpredir.debian.org/debian/dists/jessie/non-free/binary-amd64/Packages.gz writing: /home/rajulocal/.cache/grep_insalled/jessie.gz Step 2: Query the cache on the list of installed packages % dpkg -l | grep '^ii' | awk '{print $2}' | grep_installed.py --exclu

Re: list installed packages present only in stable

2016-11-02 Thread steve
Hi Kamaraju, Le 23-10-2016, à 20:48:46 -0400, kamaraju kusumanchi a écrit : How can I list all the packages installed on my system that are currently part of the stable distribution but not present in either testing or sid? does aptitude search ~Ajessie~i meet your needs?

Re: list installed packages present only in stable

2016-11-02 Thread Jonathan Dowland
On Sun, Oct 23, 2016 at 08:48:46PM -0400, kamaraju kusumanchi wrote: > How can I list all the packages installed on my system that are > currently part of the stable distribution but not present in either > testing or sid? This is a good question (sorry I don't have the answer here). I recently hi

Re: list installed packages present only in stable

2016-10-31 Thread kamaraju kusumanchi
cache % grep_installed.py --clear-cache removing /home/rajulocal/.cache/grep_insalled/jessie.gz removing /home/rajulocal/.cache/grep_insalled/sid.gz removing /home/rajulocal/.cache/grep_insalled/stretch.gz removing /home/rajulocal/.cache/grep_insalled The script can also work with apt-cache

Re: list installed packages present only in stable

2016-10-29 Thread Rick Thomas
hile read x; do aptitude --disable-columns versions '^'"$x"'$'; done This will give you a list of all installed packages with the repositories they are available from. Here’s a sample rbthomas@monk:~$ aptitude -F '%p' search '~i' | grep openocd

Re: list installed packages present only in stable

2016-10-26 Thread Michael Lange
On Wed, 26 Oct 2016 08:16:56 -0400 kamaraju kusumanchi wrote: > But now I find that my system has lots of packages from Jessie which > are no longer present in either Stretch or Sid. I would like get a > list of all such packages and decide if I want to remove them. A small change to my first s

  1   2   3   4   5   >