Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dpkg::vendor(3) [linux man page]

Dpkg::Vendor(3) 						   libdpkg-perl 						   Dpkg::Vendor(3)

NAME
Dpkg::Vendor - get access to some vendor specific information DESCRIPTION
The files in /etc/dpkg/origins/ can provide information about various vendors who are providing Debian packages. Currently those files look like this: Vendor: Debian Vendor-URL: http://www.debian.org/ Bugs: debbugs://bugs.debian.org The file should be named according to the vendor name. FUNCTIONS
$fields = Dpkg::Vendor::get_vendor_info($name) Returns a Dpkg::Control object with the information parsed from the corresponding vendor file in /etc/dpkg/origins/. If $name is omitted, it will use /etc/dpkg/origins/default which is supposed to be a symlink to the vendor of the currently installed operating system. Returns undef if there's no file for the given vendor. $name = Dpkg::Vendor::get_vendor_file($name) Check if there's a file for the given vendor and returns its name. $name = Dpkg::Vendor::get_current_vendor() Returns the name of the current vendor. If DEB_VENDOR is set, it uses that first, otherwise it falls back to parsing /etc/dpkg/origins/default. If that file doesn't exist, it returns undef. $object = Dpkg::Vendor::get_vendor_object($name) Return the Dpkg::Vendor::* object of the corresponding vendor. If $name is omitted, return the object of the current vendor. If no vendor can be identified, then return the Dpkg::Vendor::Default object. Dpkg::Vendor::run_vendor_hook($hookid, @params) Run a hook implemented by the current vendor object. 1.16.0.3 2012-04-17 Dpkg::Vendor(3)

Check Out this Related Man Page

dpkg-vendor(1)							    dpkg suite							    dpkg-vendor(1)

NAME
dpkg-vendor - queries information about distribution vendors SYNOPSIS
dpkg-vendor [option...] command DESCRIPTION
dpkg-vendor is a tool to query information about vendors listed in /etc/dpkg/origins. /etc/dpkg/origins/default contains information about the current vendor. COMMANDS
--is vendor Exits with 0 if the current vendor is vendor. Otherwise exits with non-zero. --derives-from vendor Exits with 0 if the current vendor distribution is a derivative of vendor, otherwise exits with non-zero. It uses the "Parent" field to browse all ancestors of the current vendor. --query field Print on standard output the value of the vendor-specific field for the current vendor. --help Show the usage message and exit. --version Show the version and exit. OPTIONS
--vendor vendor Assumes the current vendor is vendor instead of discovering it with the DEB_VENDOR environment variable or /etc/dpkg/ori- gins/default. ENVIRONMENT
DEB_VENDOR This setting defines the current vendor. If not set, it will discover the current vendor by reading /etc/dpkg/origins/default. SEE ALSO
deb-origin(5). Debian Project 2011-11-10 dpkg-vendor(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Database Migration

Hi All, This question is mainly to get help from u all experts for a database vendor change we are in the process of migrating our database vendor from INFORMIX to ORACLE to run on SOLARIS 9.4 box. Hence we need to work out on our applications which all are written in native 4GL (an easy... (2 Replies)
Discussion started by: matrixmadhan
2 Replies

2. Shell Programming and Scripting

PKZIP on AIX

Hi, I have a situation where I need to zip files(using pkzip) and send it to vendor, the problem is we are on AIX 5L and when I do man pkzip it does not show anything I assume that it is not installed, but I read some where that it would be istalled but not enabled is it right if yes could... (3 Replies)
Discussion started by: mgirinath
3 Replies

3. Solaris

Uninstalling Vendor Software

Hi admins, thanks for community i have installed a software ( it's a specific soft from a specific vendor : i mean it is not a SUN product ). the install was trough a .tar.gz file and with an "install" executable ( so the command was simply #./install ) my pain now is how to uninstall it... (10 Replies)
Discussion started by: hmaiida
10 Replies

4. Shell Programming and Scripting

append a string to a grep result

hello, iostat -En | grep Vendor | grep -v DV | awk '{print $1 $2}' | sort -u returns Vendor:HP I want to append Disk to it. i.e.: Disk Vendor:HP how to do that? thanks (8 Replies)
Discussion started by: melanie_pfefer
8 Replies

5. Solaris

Plz help me in understanding SUDO !!

Hello, I 'am trying to understand how sudo works. OS: Solaris 10 on SPARC I have 3 OS users: Oracle,App,Vendor. User : Group Oracle : oinstall,dba App : oinstall,dba,work Vendor : work What i want to do I need to run sqlplus from VENDOR using APP as... (3 Replies)
Discussion started by: JohnJacobChacko
3 Replies

6. Ubuntu

Getting Subsystem ID/Vendor

Hey Guys ... How I can look up Subsystem ID of the WIFI card under Ubuntu... I did try lspci but its outputting only Vendor and Dev no subsys ... I need same data as below ( Windows ) PCI\VEN_168C&DEV_001C&SUBSYS_04281468&REV_01\4&1BF192B7&0&0020 thank you happy new year ! (2 Replies)
Discussion started by: NDxiak
2 Replies

7. HP-UX

Vendor of physical host with HP-UX OS

What makes you think the machine was not built by HP? As far as I know HP_UX only runs on HP platforms. (11 Replies)
Discussion started by: fpmurphy
11 Replies

8. Linux

dhcp what does vendor-class-identifier, 0, 9 mean?

dhcp what does vendor-class-identifier, 0, 9 mean? match if substring(option vendor-class-identifier, 0, 9) = "PXEClient"; (3 Replies)
Discussion started by: 3junior
3 Replies

9. Shell Programming and Scripting

Landing location after FTP.

Hi, I have a requirement that my server receives files from a third party. For this a new user(vendor) has been created and given to the vendor with the default home directory as /home/vendor on my server where he will be placed as soon as he logs into my server. Due to space issues on /home I... (2 Replies)
Discussion started by: bubba27
2 Replies

10. Solaris

Verify Hard Drive was swapped

I recently had a vendor hot-swap a faulty hard drive on my system. The fault was determined before there were any noticeable errors with regular operation on the user end. The vendor claims to have replaced the faulty hard drive. Is there a way to verify that the hard drive has been replaced? I... (3 Replies)
Discussion started by: MaindotC
3 Replies

11. Ubuntu

Dpkg architecture

I noticed dpkg reporting architecture as AMD64, but the h/w is Intel, see below: ~$ uname -a Linux XXX 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux ~$ lshw | grep -i xeon WARNING: you should run this program as super-user. PCI (sysfs) ... (2 Replies)
Discussion started by: migurus
2 Replies

12. Red Hat

Finding installed packages on Linux machine

Hi, i am trying to grab all the installed packages on linux machine,and only want to grab "Name" "Version" "Release" "Vendor" information i am using below command to do so : rpm -qa --info | grep -e 'Name' -e 'Version' -e 'Release' -e 'Vendor' the output contains lot other info... (3 Replies)
Discussion started by: omkar.jadhav
3 Replies

13. Shell Programming and Scripting

Dpkg Syntax Issue . . .

Greetings! I'm trying to get dpkg to just completely extract a multi-part *.deb archive set into a single folder called "output". Simple? Hmmmm.... dpkg --noforce --unpack *.deb /output/Console after ops: However, "--noforce" is taken directly from the helpfile Options listing as furnished... (8 Replies)
Discussion started by: LinQ
8 Replies

14. Open Source

Vendor root access

All, I wanted to get others opinions on providing root access to vendors. I have a vendor that is claiming to need full root sudo access to complete a one time system set up for their software. The system is on our corporate network and we never provide this level of access. Not only that,... (7 Replies)
Discussion started by: hburnswell
7 Replies

15. UNIX for Advanced & Expert Users

Vendor root access

(7 Replies)
Discussion started by: hburnswell
7 Replies