Generating list of manually installed packages and querying individual packages

1

On Sun, Oct 27, 2013 at 8:39 PM, Jes Slow

[hidden email]

> wrote:

> If you look at your extended_states file, there's likely to be a few

> packages which have Auto-Installed: 0. These are manually installed, right?

> That's what apt-mark showmanual thinks anyway. Why are these there? If the

> intent is to only list packages which are automatically installed in

> extended_states, then you should remove that field and just make it a list

> of automatically installed packages. Don't see why there should be two

> different ways to indicate if a package is manually installed.

I don't have "Auto-Installed: 0" entries in that file …
And the file is actually cleaned up on each write, if the Auto-Installed flag
is false and no other flag present ( However, I don't think you should convert extended_states into a simple list
> of packages. There's a widespread impression that extended_states shows
>...

0 0
2

Generating list of manually installed packages and querying individual packages. You can use either of these two one- liners. Both yield the exact same output on my machine and are more precise than all solutions proposed up until now (July 6, 2. Using apt- mark: comm - 2.

Generating list of manually installed packages and querying individual packages. I'd like to get a list of packages installed manually by apt or aptitude and be able to find out. Get the list of packages installed right. Advanced Packaging Tool This article needs. (but not installed) packages. apt provides other command options to override decisions made by. specified in /etc/apt/sources.list. For example, when using a Debian. To search among ALL known Debian packages just browse to http:// to see what's. These list all packages. That shows three of the apt packages I've got installed: apt. . which will give us a list of all the currently installed packages. better known online as the How-To Geek. (You may...

0 0
3

Debian Query Packages Installed 4,1/5 6701 reviews

This page is about the ways to list the installed packages in a Debian system and how to create a file with this list. This file can be uploaded to the web (i.e. from other computer with Internet connection) to download new packages. To check the status of all packages on your system: dpkg-query -l '*' less. This will show all packages (one line each) that are in various stages of installation. Manipulating Packages with dpkg. dpkg is the base command for handling Debian packages on the system. If you have.deb packages. 1.4.18-6 Architecture: amd64 Maintainer: Debian GnuPG-Maintainers Installed-Size: 4888 Depends: gpgv, libbz2-1.0, libc6 (>= 2.15), libreadline6 (>= 6.0), libusb-0.1-4 (>= 2:0.1.12), zlib1g (>= 1:1.1.4) Recommends: gnupg-curl. Debian Linux apt-get package management cheat sheet. by Vivek Gite on May 9, 2005 last updated May 19, 2015. in Debian. Debian packaging tool which can be use to install, query,...

0 0
4

Using aptitude a high-level interface to the package manager, but you have to install it first

sudo apt-get install aptitude

After that

aptitude search '?installed(?automatic)'

to see a list of automatically installed packages.

And to see at the same time which programs they were installed by:

Only Depends

aptitude -F %p search '?installed(?automatic)' | \ while read x ; do aptitude why "$x" | awk '/Depends/' ; done

Or the full list

aptitude -F %p search '?installed(?automatic)' | \ while read x ; do aptitude why "$x"; done

Sample output

i texlive-full Depends lcdf-typetools i A lcdf-typetools Depends aglfn i python3-apparmor-click Depends apparmor-easyprof i aptitude Depends aptitude-common (= 0.6.11-1ubuntu3) i arronax Depends arronax-base i arronax Depends arronax-nautilus i ubuntu-dev-tools Depends devscripts (>= 2.11.0~) i lxc-docker Depends lxc-docker-1.7.1 i gnome-common Depends autopoint i A...
0 0
5

When user have enabled persistence, it could be nice to remember which extra packages they have installed.

We propose to use the term "your additional software" to mention to the user those packages in the GUI, notifications, etc.

This feature will be implemented in several steps.

Possible interfaces

1

Either in the greeter or upon login, an interface could appear offering the user to select which packages should be reinstalled (all unselected by default).

Having this choice in the greeter could allow users to install their preferred software without having an administrative password set.

This interface would quickly become messy, as soon as a desired additional package pulls dozens (if not hundreds) of dependencies.

2

Alternative idea: in tails-persistence-setup, allow selecting packages (among the ones additionally installed during the current session, and/or offer a "All installed additional packages" option)...

0 0
6

Debian List Installed Packages AptRating: 8,4/10 2876 reviews

APT HOWTO (Obsolete Documentation) - Managing packages. Updating the list of available packages. The packaging system uses a private database to keep track of which packages. The apt- get program uses this database to find out. To update this list, you would use the command apt- get update. This command looks for the package lists in the archives found in. The /etc/apt/sources.

Section. 2. 1 for more information about this file. It's a good idea to run this command regularly to keep yourself and your system. Installing packages.

Debian List Installed Packages Apta

Finally, the process you've all been waiting for! With your sources. For example, you. APT will search it's database for the most recent version of this package and. In the event that this package depends on another. APT will check the dependencies and install the. See this example.

Reading Package Lists.. Done. Building...

0 0
7

The solution to this question will probably solve your problem too.

Ubuntu pre-12.04

From a gnome-terminal do:

cat filesystem.manifest-desktop | awk '{print $1}' | sort > default.txt

This will get rid of the package versions and leave you with a sorted list default.txt containing all packages that are installed by default. As mentioned in the linked question, keep in mind that you might changed the default installation when installing updates and/or restricted packages during the installation of Ubuntu.

Ubuntu 12.04

The above step has changed a bit. To get a list of the packages that are initially installed, you need to unpack two files:

filesystem.manifest filesystem.manifest-remove

To get what you want, you need to remove the latter from the former:

comm -3 current.txt

This will get you a sorted list current.txt of all currently installed packages.

diff -u default.txt current.txt | grep "^+[^+]" | cut -c 2- >...
0 0
8

The Automatic Diagnostic Repository (ADR) is a directory structure that is stored outside of the database. It is therefore available for problem diagnosis when the database is down.

The ADR root directory is known as ADR base. Its location is set by the DIAGNOSTIC_DEST initialization parameter. If this parameter is omitted or left null, the database sets DIAGNOSTIC_DEST upon startup as follows:

If environment variable ORACLE_BASE is set, DIAGNOSTIC_DEST is set to the directory designated by ORACLE_BASE.

If environment variable ORACLE_BASE is not set, DIAGNOSTIC_DEST is set to ORACLE_HOME/log.

Within ADR base, there can be multiple ADR homes, where each ADR home is the root directory for all diagnostic data—traces, dumps, the alert log, and so on—for a particular instance of a particular Oracle product or component. For example, in an Oracle Real Application Clusters environment with Oracle ASM, each database instance, Oracle ASM instance, and...

0 0