Ubuntu :: Get The List Of Packages Manually Installed - Not Brought In As Dependency
Jul 29, 2011
Is there any way that I can get a list of packages (on the command line) that have been installed manually i.e. all those that haven't been installed as dependencies? I think this must be possible as apt seems to know which dependency packages are no longer required i.e. apt-get autoremove
I'd like to list all packages I installed since the installation. The tricky part is that I don't care for dependencies - only clean list of what I ordered to install. I went through man pages and I did not find anything relevant. Also /var/log/apt/history* doesn't say what I requested and what came as a dependency.
For gentoo-aware folks, I am looking for something like "world" file.
The janitor wants to remove certain applications (svn, virtualbox) which I installed the easy way by going straight to the top and installing a GUI... I then realised the GUIs sucked, so I removed them. Now the computer janitor wants to remove virtuallbox, svn, and who knows what else all because of those stupid packages! how to mark certain packages as deliberatley installed so the computer janitor will take them and their dependencies off the list and let me clean things up?
After updating to Karmic, Synaptic shows almost all of my installed packages in the category "Installed (manual)", including about half of the packages that belong to a clean Ubuntu installation (e.g. apparmor, apt and hundreds of others). As a result, I can't easily get a list of those packages that I did indeed install manually and may want to remove. Is there a way of removing the "Installed (manual)" flag from all packages?
If I could do this, all packages that do not belong to the core Ubuntu system should show up as "Installed (auto removable)" and I could individually mark only those as manually installed that I really still need and let apt/synaptic uninstall everything else. I know that with today's hard disks, disk usage of installed packages is not an issue. But those packages accumulate over time and need to be updated with every security update and every ubuntu dist-upgrade, wasting time and bandwidth.
I want to some how get a list of the packages I installed. I was hoping that I could just list all of the packages that were not installed automatically as a dependency. It turns out that there are 320 packages that match that description (I think). Is there a way to do what I want to do? Shouldn't all of these dependencies have been installed as a handful of meta-packages instead?
In MacPorts, the ports I would be looking for are the requested ports. They have a system so that when you install a port, that port is marked as requested. Also if you want to keep a port that was installed as a dependency, you can set it to be requested manually. Does the Debian system have the same functionality? It seems that there are some utilities that get that done..
I'm working on a script that keeps track of user explicitly installed packages (no deps, no default packages), where can I found a list of ubuntu natty preinstalled packages ? Is there some file in the filesystem or in installation disc ?
I wounder how I should do to find out what packages I have explicitly installed on the system, NOT including the dependencies. The purpose is to get a figure of what packages I need to install when I reinstall my system.In Gentoo one can look at the world-file (/var/lib/portage/world) which is a list of my explicitly installed packages, not including system packages (located in /var/lib/portage/system)
I'm migrating to a new Lucid Lynx machine, and I'd like to install all of the packages that I currently have installed on my old machine.Is there a way to query a list of all packages that are currently installed on a particular system, such that I could simply throw this list at apt-get on a new system
I am having to reinstall ubuntu because of my silly mistake. Anyway, my questions is, when booting from live cd, how would I get the terminal to print out what I have listed on my actual hard drive? I know this works if I am logged into my actual Ubuntu hard drive, but I can't do that: dpkg --get-selections > installed-software.I am trying to get a list of installed packages because I can't actually boot into my current ubuntu hard drive
How do you list only installed packages that were not installed automatically? I see in aptitude that it will list whether they were installed automatically or not, but it is hard to find them because the are a lot more installed automatically than non-automatically.
I can't remember if branch is the correct term but I am talking stable, testing or unstable.
i have looked through the dpkg and aptitude man pages but can't seem to find if there is a way to search which packages on the system are installed from a specific branch. Is there a way to do this?
I want to list all installed packages by keyword. For example I want to know what packages were installed related to "game". How can I do that in Fedora?
I tried 'yum list installed', 'you search' ... but still can't find a solution. I'm not a yum expert .
I would like to know what packages are currently installed in my linux machine. My machine is running CentOS 5.4. There is no GUI. All I have is command line interface.
I have realized that in not installing suggested packages I've missed out on a ton of doc files, which would really come in handy while I'm away from internet access.
Is there a way take a list of currently installed packages and find out which of them have doc packages available? Possibly install them in a single step? I have been playing around with aptitude and apt-rdepends, but I'm not quite sure how to go about this. Somehow take a list of installed packages, run it through an apt-cache search, and end up with a list of -doc packages to install? My bash-fu isn't the greatest, and I suppose this could be a bad idea to begin with.
I have a system that will not boot as /usr has been destroyed and I would like to get a list of installed packages before re-installing. I know that it's possible to get this using dpkg or apt, but I cannot run those.
Where in the filesystem is this information stored and what's the best way to get a list of installed apps from the files?
I have a dead system that was running Debian Linux (lenny). I can boot into emergency mode, but nothing else. I will likely have to reinstall Debian. I've read lots of things online about how to get a list of currently installed packages. Which is fine and dandy if the system is working and I can log into it. I'm basically wanting to extract such a list from a hard drive containing an installation I can't log into normally. I can access the filesystem just fine, and nothing related to aptitude has been damaged.
I was working on my flash drive install of Ubuntu, when I squashfsed my /usr. Long story short, I some how ended up with a working /usr, but with a few packages marked as installed, but not having its components installed (emacs). When I try to remove emacs (emacs23-nox), it gives me numerous errors about files (all relating to emacs) not existing (all in /usr). Thus my questions are as follows:
1) Is there a way to force the removal without it caring about missing packages?
-OR-
2) Is there a way to reload which packages are installed by checking which files exist, etc?
Can I keep the old 32bit_testing /home with all the hidden directories there when moving to 64bit_testing?
Is there a way to export a list of all installed packages in aptitude or synaptic, so that when reinstalling, it can be easily imported? (reinstalling the same system)
I need to get names of all installed packages in 2 machines and save them in 2 text files, then I want to compare these 2 files to know the differences between 2 files and from that I could know the differences between 2 machines. Is it possible to do that and what program I could use?
I made a bit of a schoolboy error with Ubuntu. I was without an internet connection so attempted to install OpenShot manually, using .debs. Naturally there were too many dependencies to chase up but I did install some of them...! Now my connection is back i tried to install openshot (from the recommended ppa) as well as upgrading vlc (from the recommended ppa). Naturally OpenShot won't install as I have my dependencies all over the place. I was wondering if there was a way to track and uninstall/purge the last few manually installed packages, and if then installing openshot would proceed normally.
Here was the relevant output: Code: crow@nest-desktop:~$ sudo apt-get install openshot openshot-doc vlc vlc-plugin-pulse mozilla-plugin-vlc Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies. libavformat52: Breaks: mplayer (< 2:1.0~rc4~) but 2:1.0~rc3+svn20090426-1ubuntu16.1+medibuntu1 is to be installed mozilla-plugin-vlc: Depends: vlc-nox (= 1.1.8-1ubuntu1~ppa1~lucid1) but it is not going to be installed openshot: Depends: python-mlt3 but it is not going to be installed or python-mlt2 but it is not going to be installed or python-mlt but it is not installable vlc: Depends: vlc-nox (= 1.1.8-1ubuntu1~ppa1~lucid1) but it is not going to be installed Recommends: vlc-plugin-notify (= 1.1.8-1ubuntu1~ppa1~lucid1) but it is not going to be installed vlc-plugin-pulse: Depends: vlc-nox (= 1.1.8-1ubuntu1~ppa1~lucid1) but it is not going to be installed E: Broken packages