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

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

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

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

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 >

Re: question regarding post-installed packages

2021-06-23 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 >

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:

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

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

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

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'

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.

Re: question regarding post-installed packages

2021-06-22 Thread Hans
mmand 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
ed by  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
-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
t 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

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

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

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

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

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

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

Re: Manually installed packages

2016-12-04 Thread Rodolfo Medina
Jörg-Volker Peetz <jvpe...@web.de> 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

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 <wool...@eeg.ccf.org> 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

Re: Manually installed packages

2016-12-03 Thread Rodolfo Medina
thing you know is useful. When 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. > &g

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

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

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

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

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

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

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

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 >>

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

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

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 --nocheck

Re: list installed packages present only in stable

2016-11-04 Thread Jörg-Volker Peetz
/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 --nocheck-order /dev/fd/3 -) 3<&0 All installed packages should be checked, not all availab

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

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

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

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

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

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,

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

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

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

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

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

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

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

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

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 -

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

Re: list installed packages present only in stable

2016-11-02 Thread kamaraju kusumanchi
ackages.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 --exclude-dists '

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

Re: list installed packages present only in stable

2016-11-01 Thread kamaraju kusumanchi
p_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 search output. For

Re: list installed packages present only in stable

2016-10-29 Thread Rick Thomas
‘%p' search '~i' | while 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 | while read

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.

Re: list installed packages present only in stable

2016-10-26 Thread Frank
' for all packages that are installed on your system but not installable. If you pipe the output through sed like that (checking for just 'available' should suffice), the result is a list of installed packages which are not available in the archive, using the current state of sources.list

Re: list installed packages present only in stable

2016-10-26 Thread kamaraju kusumanchi
On Wed, Oct 26, 2016 at 5:15 AM, Michael Lange wrote: > On Tue, 25 Oct 2016 23:36:02 -0400 > > Hmmm... > Here I get: > $ apt-show-versions -b | grep "\" > python3.4:amd64/jessie > python3.4-minimal:amd64/jessie > > What does apt-cache say about python3.4? Here I

Re: list installed packages present only in stable

2016-10-26 Thread Michael Lange
On Tue, 25 Oct 2016 23:36:02 -0400 kamaraju kusumanchi wrote: > Thanks for the script. But I do not think it does what I want. For > example, currently there is a python3.4 package installed on my > system. > > % dpkg -l python3.4 | cut -c 1-72 >

Re: list installed packages present only in stable

2016-10-25 Thread kamaraju kusumanchi
On Tue, Oct 25, 2016 at 1:49 PM, Michael Lange wrote: > > Nice. After these suggestions I hastily put together a small python > script, that might come close to what Raju wants: > > #!/usr/bin/python > > from commands import getoutput > > allpkgs =

Re: list installed packages present only in stable

2016-10-25 Thread Michael Lange
On Tue, 25 Oct 2016 11:24:00 -0400 Cindy-Sue Causey wrote: > Oooohhh, shiny new toy that I just found because of you. This came via > "man apt-show-versions": > > To upgrade all packages in testing: > >apt-get install `apt-show-versions -u -b | grep

Re: list installed packages present only in stable

2016-10-25 Thread Cindy-Sue Causey
On 10/23/16, 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? > > For example, ibkasten2okteta1controllers1abi1 libkasten2okteta1gui1 >

list installed packages present only in stable

2016-10-23 Thread kamaraju kusumanchi
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? For example, ibkasten2okteta1controllers1abi1 libkasten2okteta1gui1 are currently part of stable, but not present in either testing or sid. The

Re: Should I find installed packages in /usr/share/menu

2015-11-04 Thread humbert . olivier . 1
Hi, ... zip ... > Should I find installed packages like libreoffice - claws-mail - gedit > etc., in my /usr/share/menu? ... zip .. > Maybe the system has become accustomed to me doing this manually and > decided to let me do it? ... zip ... You might want to read

Should I find installed packages in /usr/share/menu

2015-11-04 Thread Charlie
Using debian stretch 4.2.0-1-amd64 FVWM Should I find installed packages like libreoffice - claws-mail - gedit etc., in my /usr/share/menu? They are missing there and therefore they are also missing in my Debian menu. I can put them into the Debian menu manually, in /etc/X11/fvwm

Re: All installed packages disappeared from aptitude

2015-04-28 Thread Liam O'Toole
On 2015-04-27, Patrick Wiseman pwise...@gmail.com wrote: Hello: I just updated and upgraded a 'testing' system (so listed in sources.list) and aptitude shows no installed packages. Here's a typical aptitude entry: i A apache2 2.4.10-9 none and another: ih perl 5.20.1-5 none (The 'h

Re: All installed packages disappeared from aptitude

2015-04-27 Thread Darac Marjal
On Mon, Apr 27, 2015 at 11:19:36AM -0400, Patrick Wiseman wrote: Hello: I just updated and upgraded a 'testing' system (so listed in sources.list) and aptitude shows no installed packages. Here's a typical aptitude entry: i A apache2 2.4.10-9 none and another: ih perl 5.20.1-5 none

All installed packages disappeared from aptitude

2015-04-27 Thread Patrick Wiseman
Hello: I just updated and upgraded a 'testing' system (so listed in sources.list) and aptitude shows no installed packages. Here's a typical aptitude entry: i A apache2 2.4.10-9 none and another: ih perl 5.20.1-5 none (The 'h' because I put it on hold when I saw it was among many potentially

Re: find all installed packages from a specific release

2014-11-02 Thread Andrei POPESCU
On Du, 02 nov 14, 00:57:45, kamaraju kusumanchi wrote: Thanks. This is useful and solves my first question. Oh, missed that one[1]. Aptitude, at least in interactive mode can do it, because it presents a Security Updates (or something like that) package group. One can just Shift-U on the

find all installed packages from a specific release

2014-11-01 Thread kamaraju kusumanchi
How do I find packages installed on my machine that belong to a specific Debian release? In my case, I have the following entries in my sources.list rajulocal@hogwarts:~$ stuff.pl /etc/apt/sources.list deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free deb-src

Re: find all installed packages from a specific release

2014-11-01 Thread Andrei POPESCU
On Sb, 01 nov 14, 18:12:35, kamaraju kusumanchi wrote: Now, I want to retire the squeeze mirror. But before I do that I'd like to find all the packages installed on my machine from this mirror. Then I can decide whether I want to upgrade or delete or keep then as-is. Is there a way to find

Re: find all installed packages from a specific release

2014-11-01 Thread kamaraju kusumanchi
On Sat, Nov 1, 2014 at 7:38 PM, Andrei POPESCU andreimpope...@gmail.com wrote: I think this should do it aptitude search '?narrow(?installed,?archive(oldstable))' Thanks. This is useful and solves my first question. raju -- Kamaraju S Kusumanchi http://malayamaarutham.blogspot.com/

Re: List installed packages sorted by size.

2014-03-26 Thread Andrei POPESCU
On Mi, 26 mar 14, 15:07:58, Chris Bannister wrote: Hi, Could be useful to someone: dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | less See also: popcon-largest-unused(8) Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users

Re: List installed packages sorted by size.

2014-03-26 Thread Karl E. Jorgensen
Hi On Wed, Mar 26, 2014 at 03:07:58PM +1300, Chris Bannister wrote: Hi, Could be useful to someone: dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | less Nice. But dpigs -20 (from the debian-goodies package) is still shorter :-) -- Karl E. Jorgensen -- To UNSUBSCRIBE,

Re: List installed packages sorted by size.

2014-03-26 Thread Raffaele Morelli
2014-03-26 9:26 GMT+01:00 Karl E. Jorgensen k...@jorgensen.org.uk: Hi On Wed, Mar 26, 2014 at 03:07:58PM +1300, Chris Bannister wrote: Hi, Could be useful to someone: dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | less Nice. But dpigs -20 dpig -n 20

List installed packages sorted by size.

2014-03-25 Thread Chris Bannister
Hi, Could be useful to someone: dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -n | less -- If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing. --- Malcolm X -- To UNSUBSCRIBE, email to

Re: Make aptitude's limit function list installed packages from testing

2014-02-18 Thread Peter Schott
Thank you Tom, this works as expected. I was expecting ~A to match far less, but on second thought there will be enough cases where the broader scope is essential. All the best, Peter On 17.02.2014 22:04, Tom H wrote: What is the correct filter to: - list all installed packages coming from

Make aptitude's limit function list installed packages from testing

2014-02-17 Thread Peter Schott
is as follows: Produce a list of installed packages whose presently installed version is from the testing archive. The /etc/sources.list currently holds references to squeeze/updates (debian-security), main squeeze stable release, squeeze-updates, squeeze-backports; and to the testing release. Through

Re: Make aptitude's limit function list installed packages from testing

2014-02-17 Thread Tom H
On Mon, Feb 17, 2014 at 2:48 PM, Peter Schott peter.sch...@ivao.de wrote: What is the correct filter to: - list all installed packages coming from testing release; - while *not* listing installed packages from other releases (e.g. stable) for which an alternative version from testing

Get list of installed packages

2014-02-06 Thread Tino Sino
It has been asked before, but with different answers, e.g.: 1) dpkg-query --list | awk '/^ii +/ { print $2; }' 2) dpkg --get-selections | cut -f 1 3) ... etc ... Given that the output is the same: $ diff \ (dpkg --get-selections | cut -f 1) \ (dpkg-query --list | awk '/^ii +/ {

Re: Get list of installed packages

2014-02-06 Thread Gian Uberto Lauri
Tino Sino writes: It has been asked before, but with different answers, e.g.: 1) dpkg-query --list | awk '/^ii +/ { print $2; }' 2) dpkg --get-selections | cut -f 1 3) ... etc ... Given that the output is the same: $ diff \ (dpkg --get-selections | cut -f 1) \

Re: Get list of installed packages

2014-02-06 Thread iijima yoshino
?? Thu, 06 Feb 2014 14:06:44 +0100 Tino Sino robottinos...@gmail.com : It has been asked before, but with different answers, e.g.: 1) dpkg-query --list | awk '/^ii +/ { print $2; }' 2) dpkg --get-selections | cut -f 1 3) ... etc ... Given that the output is the same: $ diff \

Re: Get list of installed packages

2014-02-06 Thread Paul Cartwright
On 02/06/2014 08:17 AM, iijima yoshino wrote: ?? Thu, 06 Feb 2014 14:06:44 +0100 Tino Sino robottinos...@gmail.com : It has been asked before, but with different answers, e.g.: 1) dpkg-query --list | awk '/^ii +/ { print $2; }' 2) dpkg --get-selections | cut -f 1 3) ... etc ... Given

Re: Get list of installed packages

2014-02-06 Thread Nicolas Bercher
) \ (dpkg-query --list | awk '/^ii +/ { print $2; }') \ echo same-output same-output I wonder, what's the golden way to do this and why? Personaly, I use this: aptitude search ~i\!~M --disable-columns -F %p aptitude-packages.txt options: ~i : installed packages \!~M : not automatically

  1   2   3   4   5   >