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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT DEBIAN
dctrl2xml
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)