Re: Question on 'dpkg --get-selections'

2020-09-15 Thread Marc Shapiro
On 9/12/20 12:29 AM, Sven Joachim wrote: On 2020-09-11 22:03 -0700, Marc Shapiro wrote: Is there any option to have 'dpkg --get-selections' NOT include automatically installed packages? No, dpkg has no notion of automatically installed packages, that is an apt concept. Othe

Re: Question on 'dpkg --get-selections'

2020-09-12 Thread Toni Mas Soler
I do this job using aptitude instead apt: /usr/bin/aptitude search '~i !~M' -F '%p' --disable-columns Toni Mas Missatge de Sven Joachim del dia ds., 12 de set. 2020 a les 9:29: > > On 2020-09-11 22:03 -0700, Marc Shapiro wrote: > > > Is there any option

Re: Question on 'dpkg --get-selections'

2020-09-12 Thread Sven Joachim
On 2020-09-11 22:03 -0700, Marc Shapiro wrote: > Is there any option to have 'dpkg --get-selections' NOT include > automatically installed packages? No, dpkg has no notion of automatically installed packages, that is an apt concept. > Otherwise, all packages show as

Question on 'dpkg --get-selections'

2020-09-11 Thread Marc Shapiro
Is there any option to have 'dpkg --get-selections' NOT include automatically installed packages?  Otherwise, all packages show as manually installed, including those that would otherwise have been automatically installed. Marc

Re: Functional Difference of dpkg --get-selections vs --get-selections "*"

2016-06-16 Thread Sven Joachim
On 2016-06-16 18:36 +, Bruce Gates wrote: > What is the functional difference between dpkg --get-selections and dpkg > --get-selections "*"? >From the manpage: , | --get-selections [package-name-pattern...] | Get list of package selections, and wr

Functional Difference of dpkg --get-selections vs --get-selections "*"

2016-06-16 Thread Bruce Gates
Hello, Noob question for y'all... What is the functional difference between dpkg --get-selections and dpkg --get-selections "*"? It seems to me that the first command would find all packages anyway, making the wildcard erroneous...perhaps I'm mistaken? Thanks guys and gals! Bruce

Re: Squeeze dpkg --get-selections usable in any way in Wheezy?

2013-12-04 Thread Andrei POPESCU
s, I have > a separate firewall, backup machine, fileserver, workstations, laptop, and > containers (OpenVZ) for, for instance, mediawiki box, puppet master, etc. > Each machine runs a script (installed by puppet) that runs at 4am that does > an dpkg --get-selections and writes it to the fi

Re: Squeeze dpkg --get-selections usable in any way in Wheezy?

2013-12-03 Thread Lisi Reisz
On Tuesday 03 December 2013 22:51:11 Brad Alexander wrote: > On Tue, Dec 3, 2013 at 5:39 PM, Neal Murphy wrote: > > On Tuesday, December 03, 2013 05:26:37 PM Lisi Reisz wrote: > > > I have had another failed upgrade. Before I tried to upgrade, > > > I ran dpkg --g

Re: Squeeze dpkg --get-selections usable in any way in Wheezy?

2013-12-03 Thread Brad Alexander
On Tue, Dec 3, 2013 at 5:39 PM, Neal Murphy wrote: > On Tuesday, December 03, 2013 05:26:37 PM Lisi Reisz wrote: > > I have had another failed upgrade. Before I tried to upgrade, I ran > > dpkg --get-selections and saved the result in a file. > > > > I am obvious

Re: Squeeze dpkg --get-selections usable in any way in Wheezy?

2013-12-03 Thread Neal Murphy
On Tuesday, December 03, 2013 05:26:37 PM Lisi Reisz wrote: > I have had another failed upgrade. Before I tried to upgrade, I ran > dpkg --get-selections and saved the result in a file. > > I am obviously going to have to install Wheezy from scratch. Is there > any way I

Squeeze dpkg --get-selections usable in any way in Wheezy?

2013-12-03 Thread Lisi Reisz
I have had another failed upgrade. Before I tried to upgrade, I ran dpkg --get-selections and saved the result in a file. I am obviously going to have to install Wheezy from scratch. Is there any way I can make use of Squeeze's package list to give the owner of the box the same applica

Re: dpkg --get-selections

2003-11-01 Thread Greg Folkert
On Sat, 2003-11-01 at 06:44, Christian Schnobrich wrote: > I've got a machine with a freshly installed woody and wanted to clone > the installed software from a running system. I did as seemingly is > common lore: > > > > On source machine: > > > > >

Re: dpkg --get-selections

2003-11-01 Thread demslh
> I've got a machine with a freshly installed woody and wanted to clone > the installed software from a running system. I did as seemingly is > common lore: > > > > On source machine: > > > > > > dpkg --get-selections >selections.txt > > &

dpkg --get-selections

2003-11-01 Thread Christian Schnobrich
I've got a machine with a freshly installed woody and wanted to clone the installed software from a running system. I did as seemingly is common lore: > > On source machine: > > > > dpkg --get-selections >selections.txt > > > > On destination machine: >

Re: tar vs dpkg --get-selections for backup scheme

2003-09-27 Thread Benedict Verheyen
t; > them. Or isn't that a problem and is there another way to do that? > > > > 2) Method 2. > > First save the system status with dpkg --get-selections. Next backup > > /etc, /root, /home, /boot, /usr. > >I think you only need /etc for the system and then

Re: tar vs dpkg --get-selections for backup scheme

2003-09-26 Thread Erik Steffl
1 big tar, joined them and then untarred them. Or isn't that a problem and is there another way to do that? 2) Method 2. First save the system status with dpkg --get-selections. Next backup /etc, /root, /home, /boot, /usr. I think you only need /etc for the system and then any user data (pr

tar vs dpkg --get-selections for backup scheme

2003-09-24 Thread Benedict Verheyen
m and then untarred them. Or isn't that a problem and is there another way to do that? 2) Method 2. First save the system status with dpkg --get-selections. Next backup /etc, /root, /home, /boot, /usr. Install a base system, set the package selections with dpkg --set-selections and then do

RE: dpkg --get-selections question

2003-04-03 Thread Maria Rodriguez
Great! Thanks to you and to ronin2 as well! I appreciate your help very much. Maria -- Support your local ASPCA http://www.aspca.org/ --- "Jan Johansson" <[EMAIL PROTECTED]> wrote: >>Is there an easier way to do this even? Thanks for any help! > >dpkg --get-s

Re: dpkg --get-selections question

2003-04-03 Thread Colin Watson
On Thu, Apr 03, 2003 at 10:19:36PM -0800, Maria Rodriguez wrote: > I have a production machine which I would like to duplicate in a test > lab. I was just going to get the output of 'dpkg --get-selections' > and see if there were some way to parse it to just get the packa

RE: dpkg --get-selections question

2003-04-03 Thread Jan Johansson
>Is there an easier way to do this even? Thanks for any help! dpkg --get-selections > somefile then dpkg --set-selections < somfile apt-get dist-upgrade should do what you want. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trou

Re: dpkg --get-selections question

2003-04-03 Thread nate
Maria Rodriguez said: > Hi, > > I have a production machine which I would like to duplicate in a test lab. > I was just going to get the output of 'dpkg --get-selections' and see if > there were some way to parse it to just get the package names. I'm no > program

dpkg --get-selections question

2003-04-03 Thread Maria Rodriguez
Hi, I have a production machine which I would like to duplicate in a test lab. I was just going to get the output of 'dpkg --get-selections' and see if there were some way to parse it to just get the package names. I'm no programmer and can't script worth a darn, so

Re: Use of dpkg --get-selections and --set-selections

2002-04-03 Thread Osamu Aoki
st we specify on it. > > Can I use dpkg -get-selections > a.file and then edit it to only include Yes. But this has to be dpkg --get-selections > a.file Even better: dpkg --get-selections \* > a.file This lists "purged" packages in list so no excess packages. > t

Use of dpkg --get-selections and --set-selections

2002-04-03 Thread John F
Hi all, We have a situaution where we want to ensure that a server has a certain list of packages installed. It can have extra packages, but it _must_ have the list we specify on it. Can I use dpkg -get-selections > a.file and then edit it to only include the install and deinstall lines