Sponsored Content
Full Discussion: Query a package
Operating Systems Linux Debian Query a package Post 302897844 by in2nix4life on Wednesday 16th of April 2014 11:10:28 AM
Old 04-16-2014
Code:
To show which package a file belongs to:
dpkg -S /usr/lib/rtkit/rtkit-daemon | awk -F: '{print $1}'
rtkit

To show package information:
apt-cache show rtkit

This User Gave Thanks to in2nix4life For This Post:
 

9 More Discussions You Might Find Interesting

1. Linux

how to restore original package after uninstalling the upgraded package using rpm

have following package installed rpm -qa |grep ADMIN It will give the following package installed: ADMIN-4.0.0.1 Now I will upgrade the ADMIN package using the following command. rpm --upgrade ADMIN-4.1.0.1 It will upgrade the ADMIN packagge to ADMIN-4.1.0.1 Now I want that... (0 Replies)
Discussion started by: amitpansuria
0 Replies

2. AIX

AIX custom package install query

I have created a .bff package for an app to tbe installed on AIX servers across regions. I am pretty new to the AIX mode of packaging using mkinstallp but I have been able to get the same done. I installed the same on the server in which i created the package and the application was deployed... (9 Replies)
Discussion started by: jobbyjoseph
9 Replies

3. Shell Programming and Scripting

Query Oracle tables and return values to shell script that calls the query

Hi, I have a requirement as below which needs to be done viz UNIX shell script (1) I have to connect to an Oracle database (2) Exexute "SELECT field_status from table 1" query on one of the tables. (3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies

4. AIX

mkinstallp package creation failing "no such file: ./usr/lpp/<package name>/inst_root"

Hello, I'm trying to build a (bff) package from an already installed program (clam antivirus) using mkinstallp. However, mkinstallp fails with "no such file: ./usr/lpp/<package name>/inst_root" I'm not sure why all files get created ok except for these particular ones. Any help would be... (2 Replies)
Discussion started by: omonte
2 Replies

5. UNIX for Advanced & Expert Users

How to find dependancies of .dstream package (Solaris) & .rpm package( linux)

Friends, Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ? For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies

6. Linux

How install a new package without remove old package?

Dear all, I would like to install a new version of package without remove old version on Centos and vice versa. Please give me advice! thanks much, (2 Replies)
Discussion started by: all4cfa
2 Replies

7. Shell Programming and Scripting

Shell Script to execute Oracle query taking input from a file to form query

Hi, I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database. For instance: USER CITY --------- ---------- A CITY_A B CITY_B C ... (2 Replies)
Discussion started by: DevendraG
2 Replies

8. UNIX for Dummies Questions & Answers

Can't install rpm package with --prefix in new path.Error: package is not relocatable

Hello, i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm" in /usr/local/ directory. I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't. I did: 1st try: Didn't work sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies

9. Emergency UNIX and Linux Support

Problem when trying to remove a package using rpm command - error: package is not installed

Hello, i have installed a package by using the command sudo rpm -i filepackage.rpm package filepackage is already installed when i try to remove it, i get an error saying "is not installed": sudo rpm -e filepackage.rpm error: package filepackage is not installed How can... (4 Replies)
Discussion started by: g_p
4 Replies
dctrl2xml(1)															      dctrl2xml(1)

NAME
dctrl2xml - Debian control data to XML converter SYNOPSIS
dctrl2xml [-x | -j] [-f FILE] DESCRIPTION
dctrl2xml is a tool that converts Debian control data into an XML representation. It can be used to convert data which is normally found in debian/control, .changes, .dsc, Packages, Sources, and similar files to XML. For most fields dctrl2xml just uses the field name as element name and the field data as element content. For other fields, such as package interrelationship fields (Depends, Build-Depends, etc.) or the Files field in .changes or Sources files, dctrl2xml additionally parses their field data to represent it in a more fine-structured form. OPTIONS
For a full summary of options, run dctrl2xml --help. --version Show dctrl2xml's version number. -h, --help Show help about options. -f FILE, --file=FILE Read Debian control data from file FILE instead of standard input. FILE can be either a plain text file or a gzip, bzip2 or ZIP file. -x, --xml Output Debian control data as XML (default). -j, --json Output Debian control data as JSON. EXAMPLES
dctrl2xml -f /var/lib/dpkg/available Convert the whole dpkg(1) available file to XML and print it to standard output. This is a typical stress test for dctrl2xml. apt-cache show hello build-essential | dctrl2xml Convert the package records of the hello and build-essential packages to XML and print it to standard output. This is an example of how dctrl2xml can be used in pipes where it reads the control data from standard input. apt-cache showsrc hello | dctrl2xml | xmllint --format - This is similar to the above example, except that the xmllint(1) tool (which is in the libxml2-utils Debian package) is used to re- format and reindent dctrl2xml's output to make it more human readable and that the source package records of the hello package are used. apt-cache showsrc hello | dctrl2xml -j In this example hello's source package record is printed as JSON instead of XML. SEE ALSO
deb-control(5) AUTHOR
Written by Frank S. Thomas <fst@debian.org>. 20 August 2010 dctrl2xml(1)
All times are GMT -4. The time now is 02:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy