On 06/02/2014 13:06, Tino Sino wrote:
> I wonder, what's the golden way to do this and why?
It depends on what you're doing it for. If it's for a script, dpkg-query
is a better choice, because you can do --showformat
and it does not truncate version strings etc. 'dpkg -l' output
is really meant fo
On 06/02/2014 13:12, Gian Uberto Lauri wrote:
> (you could use grep -e '^ii') or egrep '^ii', but I think it's not
> worth the cpu used).
You don't need -e to use anchors in the regex. Whilst -e would use more
CPU than a plain grep, the anchor would likely reduce the work done
(lines can be matche
On 06/02/2014 14:06, Tino Sino wrote:
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) \
On 02/06/2014 08:17 AM, iijima yoshino wrote:
> ?? Thu, 06 Feb 2014 14:06:44 +0100
> 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 out
?? Thu, 06 Feb 2014 14:06:44 +0100
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-selec
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) \
>
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 +/ { pri
Hal Vaughan wrote:
> Without doing a chroot (while I know the mobo on the old system
> crashed, I'm beginning to suspect drive/OS issues), I could use a
> few utils like grep and awk to change a list from
> /var/lib/dpkg/status if I needed to, couldn't I?
Try this:
grep-dctrl -FStatus -sPackage
On Sat, Jan 8, 2011 at 1:45 PM, Hal Vaughan wrote:
>
> Thank you, everyone, for the answers. This will make restoring this go
> faster.
You can also use "aptitude search -F '%p' '?installed'" or "aptitude
search -F '%p' '?installed' > pkgs-installed" and "aptitude -F '%p'
search '?installed ?au
On Sb, 08 ian 11, 18:38:45, Avi Greenbury wrote:
> David Sastre wrote:
>
> > You could also mount that PATA drive externally and chroot into it to
> > request that (or any other) info:
>
> You can also use dpkg's --admindir option so:
>
> dpkg --admindir=/mnt/backup/var/lib/apt --get-selection
on the new system, but it's going to be easier if I don't
> boot off it for now.
>
> I can simply re-install Debian with no trouble, the only issue is that I
> don't have the up-to-date list of all the packages installed on the old PATA
> drive. I can, though,
he up-to-date list of all the packages installed on the old
>>> PATA drive. I can, though, plug it in and read it as a data drive.
>>>
>>> So where on that drive can I find the list of installed packages?
>>
>> You could also mount that PATA drive externally
David Sastre wrote:
> You could also mount that PATA drive externally and chroot into it to
> request that (or any other) info:
You can also use dpkg's --admindir option so:
dpkg --admindir=/mnt/backup/var/lib/apt --get-selections >
packagelist.txt
I'd imagine you could just pipe that into an
A drive. I can, though, plug it in and read it as a data drive.
> >
> > So where on that drive can I find the list of installed packages?
>
> You could also mount that PATA drive externally and chroot into it to
> request that (or any other) info:
>
> # dpkg -l >
gt; So where on that drive can I find the list of installed packages?
You could also mount that PATA drive externally and chroot into it to
request that (or any other) info:
# dpkg -l > list.of.packages.txt
The result is a much smaller file:
# dpkg -l > list
# ll list
-rw-r--r-- 1 root roo
gt;
> So where on that drive can I find the list of installed packages?
"/var/lib/dpkg/status" should contain information on the installed
packages, if the file is present.
Greetings,
--
Camaleón
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a sub
d PATA drive.
I can, though, plug it in and read it as a data drive.
So where on that drive can I find the list of installed packages?
Thank you!
Hal
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists
Loris Boillet wrote at 2010-10-13 12:16 -0600:
> $ aptitude -F "%?p" --disable-columns search \~i\!\~W
> E: Can't search for ""
Oops. Try M instead of W.
This is shorthand for ?installed!?automatic as in another post.
$ aptitude -F "%?p" --disable-columns search \~i\!\~M
signature.asc
Descrip
> aptitude search '~i!~M'
> aptitude search '?installed?not(?automatic)'
I guess this lists the one not automatically installed, but that's something
quite different
> With dpkg such a list can be generated with
> for x in $(dpkg --get-selections | cut -f1)
> do
>[ -z "$(grep -E "Depends.*
Chance Platt wrote:
> deborphan --all-packages
Thanks that definitely answer my need, especially called this way:
deborphan --all-packages | sort
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archi
$ aptitude -F "%?p" --disable-columns search \~i\!\~W
E: Can't search for ""
On both Lenny and Kubuntu 10.10
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201010132
With dpkg such a list can be generated with
for x in $(dpkg --get-selections | cut -f1)
do
[ -z "$(grep -E "Depends.* $x( |,|$)" /var/lib/dpkg/status)" ] &&
echo "$x"
done
--
Best regards,
Jörg-Volker.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject o
On Mon, Oct 11, 2010 at 22:21 +0200, Loris Boillet wrote:
> Is there an easy way to get the list or a view of all installed
> packages which are not the dependency of something? Or in other words,
aptitude search '~i!~M'
aptitude search '?installed?not(?automatic)'
http://algebraicthunk.net/~dbur
Loris Boillet wrote at 2010-10-11 14:21 -0600:
> Is there an easy way to get the list or a view of all installed
> packages which are not the dependency of something? Or in other words,
> packages which don't have any reverse dependencies installed. It looks
> like debtree can't do it for instance.
Hugo Vanwoerkom wrote:
> Chance Platt wrote:
> > Loris Boillet wrote:
> > > Is there an easy way to get the list or a view of all installed
> > > packages which are not the dependency of something? Or in other
> > > words, packages which don't have any reverse dependencies installed.
> >
> > deborp
Hugo Vanwoerkom wrote:
Chance Platt wrote:
Loris Boillet wrote:
Is there an easy way to get the list or a view of all installed
packages which are not the dependency of something? Or in other words,
packages which don't have any reverse dependencies installed. It looks
like debtree can't do it
On Mon, 11 Oct 2010 22:21:58 +0200, Loris Boillet wrote:
> Is there an easy way to get the list or a view of all installed packages
> which are not the dependency of something?
Mmmm, I've still not found a package that does not depend on another
package (there are always basic library dependeci
Chance Platt wrote:
Loris Boillet wrote:
Is there an easy way to get the list or a view of all installed
packages which are not the dependency of something? Or in other words,
packages which don't have any reverse dependencies installed. It looks
like debtree can't do it for instance.
deborphan
Loris Boillet wrote:
Is there an easy way to get the list or a view of all installed
packages which are not the dependency of something? Or in other words,
packages which don't have any reverse dependencies installed. It looks
like debtree can't do it for instance.
deborphan --all-packages
--
Hi,
Is there an easy way to get the list or a view of all installed
packages which are not the dependency of something? Or in other words,
packages which don't have any reverse dependencies installed. It looks
like debtree can't do it for instance.
Debian systems typically having hundreds if not
On Sat, Sep 08, 2007 at 03:30:14PM +0200, Franz Edler wrote:
>
> Sorry if the question is too simple. I just started with debian-etch.
> I now tried to figure out how I can get a list of actually installed
> packages.
> Is there a simple answer?
>
Do you really want a list of all the packages
On Sat, Sep 08, 2007 at 03:30:14PM +0200, Franz Edler wrote:
> Hi,
>
> Sorry if the question is too simple. I just started with debian-etch.
> I now tried to figure out how I can get a list of actually installed
> packages.
> Is there a simple answer?
'aptitude search ~i' or in interactive mode
Hi,
short answer:
dpkg --get-selections
Jerome
Franz Edler wrote:
Hi,
Sorry if the question is too simple. I just started with debian-etch.
I now tried to figure out how I can get a list of actually installed
packages.
Is there a simple answer?
Regards
franz
--
Jerome BENOIT
jgmbeno
On Sat, Sep 08, 2007 at 03:30:14PM +0200, Franz Edler wrote:
> Hi,
>
> Sorry if the question is too simple. I just started with debian-etch.
> I now tried to figure out how I can get a list of actually installed
> packages.
> Is there a simple answer?
Yes. dpkg -l
A better answer would be dpkg
Franz Edler wrote:
> Hi,
>
> Sorry if the question is too simple. I just started with debian-etch.
> I now tried to figure out how I can get a list of actually installed
> packages.
> Is there a simple answer?
dpkg --get-selections > installed_packages_list.txt
Another option that you migt wan
Hi,
Sorry if the question is too simple. I just started with debian-etch.
I now tried to figure out how I can get a list of actually installed
packages.
Is there a simple answer?
Regards
franz
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [E
Am 2006-05-30 18:08:04, schrieb Greg Folkert:
> On Sat, 2006-05-27 at 00:20 +0200, Michelle Konzack wrote:
> >
> > Note: Sources are availlable too (at request)
>
> Cute. Sources for a shell script. I'll have to rememeber that one.
>
> One last comment: nice script.
I hope it helps...
I think
On Sat, 2006-05-27 at 00:20 +0200, Michelle Konzack wrote:
>
> Note: Sources are availlable too (at request)
Cute. Sources for a shell script. I'll have to rememeber that one.
One last comment: nice script.
--
greg, [EMAIL PROTECTED]
The technology that is
Stronger, better, faster: Linux
s
Hello Robert,
I have attached a small Debian Package which contais
the script 'tddebidate' try and enjoy it...
Use 'tddebidate -h' or 'man tddebidate' to get help.
Note: Sources are availlable too (at request)
Oh yes, under X it can output to Xdialog...
Greetings
Michelle Konzack
--
On Thursday 18 May 2006 02:34, Robert Cates wrote:
> Hi all,
>
> question - how can I get a list of my installed software packages showing
> the full (proper) package name? This is on my server, so I do not have KDE
> or Gnome, or any other GUI installed, and do everything per command line.
>
apt
Impressive, thats an excellent command.
On 5/19/06, Roberto C. Sanchez <[EMAIL PROTECTED]> wrote:
Robert Cates wrote:
> Hi all,
>
> question - how can I get a list of my installed software packages showing
> the full (proper) package name? This is on my server, so I do not have KDE
> or Gnome,
Robert Cates wrote:
> Hi all,
>
> question - how can I get a list of my installed software packages showing
> the full (proper) package name? This is on my server, so I do not have KDE
> or Gnome, or any other GUI installed, and do everything per command line.
>
> I've tried - 'dpkg -l' and 'apt
On Wed, May 17, 2006 at 06:34:38PM +0200, Robert Cates wrote:
> Hi all,
>
> question - how can I get a list of my installed software packages showing
> the full (proper) package name? This is on my server, so I do not have KDE
> or Gnome, or any other GUI installed, and do everything per command
On Wed, May 17, 2006 at 18:34:38 +0200, Robert Cates wrote:
> Hi all,
>
> question - how can I get a list of my installed software packages showing
> the full (proper) package name? This is on my server, so I do not have KDE
> or Gnome, or any other GUI installed, and do everything per command li
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert
>Cates
>Sent: Wednesday, May 17, 2006 12:35 PM
>To: Debian, User
>Subject: list of installed packages
>
>Hi all,
>
>question - how can I get a list of my installed
Hi all,
question - how can I get a list of my installed software packages showing
the full (proper) package name? This is on my server, so I do not have KDE
or Gnome, or any other GUI installed, and do everything per command line.
I've tried - 'dpkg -l' and 'apt-cache search ..' , but I cannot s
On Tue, 27 Dec 2005, J Merritt wrote:
> Is there a way to get a list of installed packages in Debian, preferably from
> the command line and preferably in a text file?
COLUMNS=200 dpkg -l |awk '/^[hi]i/{print $2}'
This will generate a list of only the names of packages that a
Le Mardi 27 Décembre 2005 21:53, J Merritt a écrit :
> Is there a way to get a list of installed packages in Debian, preferably
> from the command line and preferably in a text file?
>
> Thanks in advance for any suggestions.
>
> JM
>
>
> --
Jaime Casanova wrote:
On 12/27/05, J Merritt <[EMAIL PROTECTED]> wrote:
Is there a way to get a list of installed packages in Debian, preferably
from the command line and preferably in a text file?
Thanks in advance for any suggestions.
JM
dpkg-query
i think it needs some optio
On Tue, Dec 27, 2005 at 12:53:46PM -0800, J Merritt wrote:
>Is there a way to get a list of installed packages in Debian, preferably
>from the command line and preferably in a text file?
>
>Thanks in advance for any suggestions.
To show all installed packages you
On Tuesday 27 December 2005 21:53, J Merritt wrote:
> Is there a way to get a list of installed packages in Debian,
> preferably from the command line and preferably in a text file?
Yup, you could do
dpkg --get-selections | grep install > file.txt
or
dpkg -l | grep ^ii > file.txt
On Tue, 2005-12-27 at 12:53, J Merritt wrote:
> Is there a way to get a list of installed packages in Debian,
> preferably from the command line and preferably in a text file?
dpkg-query --show --showformat='${STATUS} ${PACKAGE} ${VERSION}
${ARCHITECTURE}\n'
(All on one line.) Y
On 12/27/05, J Merritt <[EMAIL PROTECTED]> wrote:
> Is there a way to get a list of installed packages in Debian, preferably
> from the command line and preferably in a text file?
>
> Thanks in advance for any suggestions.
>
> JM
>
dpkg-query
i think it needs some opti
Is there a way to get a list of installed packages in Debian, preferably from the command line and preferably in a text file? Thanks in advance for any suggestions. JM
Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
The problem with these instructions are the redirect rather than a pipe
and there is also a type-o.
When you set the selections on the new system you need to send the
package list to dpkg via STDIN rather than a redirect. I commented out
the bad line and replaced it with the good one.
Also, you w
On Tue, 2003-10-14 at 19:48, Jens Grivolla wrote:
> Hi,
>
> I apparently have a lot of leftovers from old packages that did not
> get cleanly uninstalled, and am losing quite a bit of disk space for
> that.
>
> I would therefore like to do a fresh install (backing up /home and
> /etc), but using
> It is not quite clear to me from the man-page what would happen to
> already installed packages. I suppose that set-selections only
> affects those packages that are actually in the list.
Yes, I believe it only changes the packages listed in the
file. All others are unaffected.
--
Paul Yeatm
Paul Yeatman <[EMAIL PROTECTED]> writes:
>> > Is there a way to dump my current selection to a file and read it back
>> > later? I didn't find such an option in aptitude or any of the other
>> > tools.
>
> dpkg --get-selections >
Ok, this gives me a list of packages like " install" for
in
http://lists.debian.org/debian-user/2003/debian-user-200308/msg00929.html
Matt
--
> -Original Message-
> From: Jens Grivolla [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 15 October 2003 10:37 AM
> To: [EMAIL PROTECTED]
> Subject: apt: exporting and importing li
On Tue, Oct 14, 2003 at 07:18:04PM -0700, Paul Yeatman wrote:
[snip]
> run
>
> dpkg --set-selections <
>
> to get it back.
>
I did a test:
#echo "par install" | dpkg --set-selections
#aptitude
#echo "par install" | dpkg --set-selections
#aptitude
It doesn't seem that dpkg --
> > Is there a way to dump my current selection to a file and read it back
> > later? I didn't find such an option in aptitude or any of the other
> > tools.
> >
>
> I use this:
>
> grep -E "^Package|Status:.+$" /var/lib/dpkg/status | \
> sed "s/Package:/\tPackage:/" | tr \\n \\t | sed "s/\t\t
On Wed, Oct 15, 2003 at 01:48:06AM +0200, Jens Grivolla wrote:
> Hi,
>
> I apparently have a lot of leftovers from old packages that did not
> get cleanly uninstalled, and am losing quite a bit of disk space for
> that.
>
> I would therefore like to do a fresh install (backing up /home and
> /etc
Hi,
I apparently have a lot of leftovers from old packages that did not
get cleanly uninstalled, and am losing quite a bit of disk space for
that.
I would therefore like to do a fresh install (backing up /home and
/etc), but using my current selection of packages (which I just
carefully verified)
Verily, on 27 May 2001 12:36AM (-0400), Carl Fink thusly proclaimed:
-> Assuming you did install 'em via dpkg/apt, you might try reinstalling
-> them (which would replace your existing binaries and conf files with
-> the ones from the package), then uninstalling.
Yep, I did install them via dpkg/a
On Sun, May 27, 2001 at 12:29:05PM +0800, Eric Boo wrote:
> I just realized that many packages which I've installed cannot be
> removed because according to dpkg -s and apt-get, they aren't
> installed (eg gpm), when they really are installed.
> What do I do?
Assuming you did install 'em via d
Hi all,
I just realized that many packages which I've installed cannot be removed
because according to dpkg -s and apt-get, they aren't installed (eg gpm), when
they really are installed.
What do I do?
Thanks.
--
Eric Boo
Sunday, May 27, 2001, 12:27 PM
13 hours and 3 minutes
http://magicman
Robert Guthrie <[EMAIL PROTECTED]> wrote:
>On Wednesday 15 November 2000 21:16, John Carline wrote:
>> Ahh! I see. You're probably right, but that's caused by the dpkg
>> command isn't it - not the pipe? Didn't 'dpkg - l' by itself
>> produce what was wanted?
>>
>> If the full version is what's n
On Wednesday 15 November 2000 21:16, John Carline wrote:
> Ahh! I see. You're probably right, but that's caused by the dpkg command
> isn't it - not the pipe? Didn't 'dpkg - l' by itself produce what was
> wanted?
>
> If the full version is what's needed, it's listed in /var/lib/dpkg/status.
> T
On Thu, Nov 16, 2000 at 03:16:47AM +, John Carline wrote:
>
> > >> > Robert Guthrie <[EMAIL PROTECTED]> writes:
> > >> > > dpkg -l * | egrep "^ii" | grep -i kde
I'd like to point out here also, that when I tried to uninstall a package,
but it failed due to a dependency problem, the first
Colin Watson wrote:
> John Carline <[EMAIL PROTECTED]> wrote:
> >Robert Guthrie wrote:
> >> On Wednesday 15 November 2000 11:43, Moritz Schulte wrote:
> >> > Robert Guthrie <[EMAIL PROTECTED]> writes:
> >> > > dpkg -l * | egrep "^ii" | grep -i kde
> >> >
> >> > You can do it with awk: dpkg -l | aw
On Thu, Nov 16, 2000 at 12:23:07AM +, Colin Watson wrote:
> He means that he sees the following:
>
> ii ksirc 2.0-final-0.po IRC Client based on QT and KDE
> ii ksirtet2.0-final-0.po Tetris and Puyo-Puyo games for KDE
>
> ... instead of versions 2.0-final-0.potato.3 and 2.
John Carline <[EMAIL PROTECTED]> wrote:
>Robert Guthrie wrote:
>> On Wednesday 15 November 2000 11:43, Moritz Schulte wrote:
>> > Robert Guthrie <[EMAIL PROTECTED]> writes:
>> > > dpkg -l * | egrep "^ii" | grep -i kde
>> >
>> > You can do it with awk: dpkg -l | awk '{ print $2 " " $3 }'
>>
>> That
Robert Guthrie wrote:
> On Wednesday 15 November 2000 11:43, Moritz Schulte wrote:
> > Robert Guthrie <[EMAIL PROTECTED]> writes:
> > > I'm using this command:
> > > dpkg -l * | egrep "^ii" | grep -i kde
>
> > > What I'm trying to get is the full version information. I only care
> > > about that
Moritz Schulte <[EMAIL PROTECTED]> wrote:
>Robert Guthrie <[EMAIL PROTECTED]> writes:
>> I'm using this command:
>> dpkg -l * | egrep "^ii" | grep -i kde
>
>It seems that 'dpkg -l' (without the pattern) lists all installed
>packages, so you don't need to filter the installed packages out.
That's n
Quoting Robert Guthrie ([EMAIL PROTECTED]):
> On Wednesday 15 November 2000 11:43, Moritz Schulte wrote:
> > Robert Guthrie <[EMAIL PROTECTED]> writes:
> > > I'm using this command:
> > > dpkg -l * | egrep "^ii" | grep -i kde
>
> > > What I'm trying to get is the full version information. I only
Robert Guthrie <[EMAIL PROTECTED]> wrote:
>I'm using this command:
>dpkg -l * | egrep "^ii" | grep -i kde
>
>and getting this output:
>
>ii ksirc 2.0-final-0.po IRC Client based on QT and KDE
>ii ksirtet2.0-final-0.po Tetris and Puyo-Puyo games for KDE
>
>
>What I'm trying to ge
On Wednesday 15 November 2000 11:43, Moritz Schulte wrote:
> Robert Guthrie <[EMAIL PROTECTED]> writes:
> > I'm using this command:
> > dpkg -l * | egrep "^ii" | grep -i kde
> > What I'm trying to get is the full version information. I only care
> > about that and the package name.
>
> You can do
Robert Guthrie <[EMAIL PROTECTED]> writes:
> I'm using this command:
> dpkg -l * | egrep "^ii" | grep -i kde
It seems that 'dpkg -l' (without the pattern) lists all installed
packages, so you don't need to filter the installed packages out. But,
this isn't important...
> and getting this output:
I'm using this command:
dpkg -l * | egrep "^ii" | grep -i kde
and getting this output:
ii ksirc 2.0-final-0.po IRC Client based on QT and KDE
ii ksirtet2.0-final-0.po Tetris and Puyo-Puyo games for KDE
What I'm trying to get is the full version information. I only care abou
er
> to install all the packages that the old server currently has installed.
> It would take hours to select them all by hand, so I'm looking for
> some way to export the list of installed packages on the old server
> to a file, and tell apt or dselect on the new server to insta
would take hours to select them all by hand, so I'm looking for
some way to export the list of installed packages on the old server
to a file, and tell apt or dselect on the new server to install those
packages.
Thanks for any suggestions!
--
Craig McPherson
Network Admin
Baptist Student Uni
*-"dokdokLUG" <[EMAIL PROTECTED]>
|
| hi and good day everyone !!!
| when installing debian2 , i chose some of the preselected packages that the
installer program suggested, now, can someone pls direct as to where i may find
a complete list of the files that has been installed to my system and
hi and good day everyone !!!
when installing debian2 , i chose some of the preselected packages that the
installer program suggested, now, can someone pls direct as to where i may find
a complete list of the files that has been installed to my system and where ?
also, when i use dpkg -i filen
83 matches
Mail list logo