How to list installed packages on a nonrunning system?
location: ubuntuforums.com - date: February 5, 2013
I have an Ubuntu 10.10 system that crashed due to file system corruption. I have several backups, but the most recent backups have the corrupted files. I cannot simply restore the backup and run from the last backup because the system won't boot.
Since version 10.10 is old and unsupported anyway, I rebuilt the system starting with a fresh 12.10 install. Fortunately, all my data files were backed up and I didn't lose anything.
However, I am having a hard time recreating the list of installed packages. I know the command "dpkg --get-selections" will list them on a running system.
I believe the answer is to look at /var/lib/apt/extended_states and /var/lib/aptitude/pkgstates. It seems that the union of these two files comprises a list of everything that was installed with either aptitude or apt. Is this assumption correct?
List installed packages
location: ubuntuforums.com - date: November 3, 2013
I came across this code to make a list of all installed packages and the write it to a text file if you want it to. The problem is that sometimes the code works and sometimes it doesn't. I can't figure out why it doesn't work sometimes. The code is:
When it doesn't work I get the following error message: bash: ./user_installed_packages: No such file or directory
Any thoughts or ideas as to what could be causing it? I'm running Xubuntu 12.04 64-bit.
yum and packagekit list installed packages and dependencies
location: linuxquestions.com - date: June 24, 2009
In Fedora 11, does yum keep track of packages added by the Add/Remove Software tool (is this PackageKit?) and vice versa? What about applications not in the yum repository that I install myself — do I have to keep track of those?
If I uninstall a package which had dependencies installed specifically for it, are the dependencies removed as well?
how to list installed packages and version strings
location: ubuntuforums.com - date: March 23, 2010
I am able to see all of the installed packages using 'dpkg --get-selections' but it doesn't show the version number. Is there a way to list my installed packages along with the version strings?
How to list installed packages in command line?
location: ubuntuforums.com - date: December 29, 2009
I know there's a way to do it, but I can't recall.
I thought it was an apt-get option...basically it would list all of the installed packages in the command line.
List installed packages from a particular repository
location: ubuntuforums.com - date: March 1, 2009
I want to get rid of a third-party repository. Before I do so, I need to uninstall all packages from that repository. How can I find out the names of those packages?
How to list installed packages from a given repo using yum [closed]
location: linuxexchange.com - date: August 27, 2012
I want to list all packages I have installed on a system from a given repo using yum. Usually to do this I use yum list installed | grep "something". But now I am faced with a problem. The repo I am interested in does not have that "something" for me to grep. The packages from that repo do not have any distinctive characteristics. How do I list them?
I looked through yum man pages but did not find anything. I wonder if there are other commands I could use.
Where does dpkg keep its list of installed packages?
location: ubuntuforums.com - date: September 14, 2012
I'm using 12.10 QQ 32-bit, but this question probably applies to all distros:
I can use dpkg -l to get a list of all installed packages. Presumably, dpkg merely reads an existing file buried somewhere in the system, then outputs that file to me (perhaps processed first).
But I wish to look at the original file, the one that is read by dpkg. What is that file name? Where is it?
How do I get a list of all installed packages in debian or ubuntu
location: linuxexchange.com - date: January 1, 1970
I recently destroyed the system partition on my Ubuntu 14.04 machine. I hadn't bothered to back it up since I knew I could easily restore it from a DVD. The problem is that every once in a while I come across a package that I need that I don't have. Of course, I can install it easily with apt-get, but that interrupts my work flow.
It's too late for this machine, of course, but in the future, I would like to have a list of all the packages installed on the machine. Then I could do something clever like
xargs < file_with_list_of_pckgs | apt-get install
Then periodically, I can create a list of packages. If I ever zap the system partition again, I can install ubuntu from DVD and then use apt-get to get the packages I am missing.
I also have to backup everything under /etc.
How can I list the minimal set of Debian packages needed to recreate a set of installed packages?
location: linuxexchange.com - date: January 1, 1970
Is there a way of getting dpkg, apt-get or aptitude to produce a list of the packages which need to be installed on a second machine to duplicate the packages installed on a first?
i.e. If I've installed a plain Ubuntu server, chose the sshd option at install time, then installed build-essential I would expect the output to look something like:
#ubuntu 9.10 server
As far as I can see, all the available packaging tools will produce a verbose list of the packages on a box. I'm not interested in openssh libs, ld, gcc, and all the other packages pulled in by sshd and build-essential, as they will be installed when I install sshd and build-essential.
I would like to see just the list of the package which I need to install to recreate my current set of packages on another machine.
Is this possible?
Page: 1 2 3 4 5 6 7 8 9 10