Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xapt(1) [debian man page]

XAPT(1) 						User Contributed Perl Documentation						   XAPT(1)

NAME
xapt - convert Debian packages to cross versions on-the-fly Synopsis $ sudo xapt foo bar baz $ sudo xapt -M http://ftp.fr.debian.org/debian/ foo bar baz $ sudo xapt --clean-cache Description Downloading the Packages files can take a reasonable amount of time, so to grip a number of packages, either specify all packages in one command or use the "--keep-cache" option for each run and use the "--clean-cache" option at the end. Note also that, in common with the rest of Emdebian processing, Install-Recommends is always turned off, so if you need a package that is only recommended by packages in the list given to "xapt", that package will need to be added to the list explicitly. Limitations Installing any package from repositories outside the normal apt sources (especially if those packages are subsequently modified by dpkg- cross) will list those packages as "local or obsolete" in package managers. Converted packages cannot be upgraded without repeating the call to "xapt" because "apt-get" does not know about the renaming of the package by "dpkg-cross" when downloading the packages. This can cause problems if dependencies of such packages need to be upgraded. It is possible that the main system "apt" will try to remove these local packages in order to proceed with the main system upgrade. The best option is to use "xapt" inside a disposable chroot. Checking existing cross packages "xapt", by default, will not check to see if a particular cross package is already installed at a newer or equal version which can cause cross packages to be downgraded. To turn on this check, either use the "--check-newer" option or set "checknewer" to true in the vendor configuration file in /etc/xapt.d/. Using SecureApt If your apt sources include a repository which does not use SecureApt, disable authentication in the vendor configuration file in /etc/xapt.d/ Set noauth=true. Multiarch behaviour By default <dpkg-cross> does nothing with packages from Debian which already support Multi-Arch - the package is simply copied to the current work directory, if it does not already exist. Any package containing a Multi-Arch: field in DEBIAN/control is skipped in this manner. "xapt" uses the --multiarch option can pass the --convert-multiarch option down to dpkg-cross to instead force the generation of a -<arch>-cross package with the files moved into the conventional dpkg-cross locations. "xapt" will check for dpkg-cross version 2.6.3 or higher when this option is set and report an error (unsetting the option) if a suitable version is not found. perl v5.14.2 2012-09-26 XAPT(1)

Check Out this Related Man Page

APT-MARK(8)								APT							       APT-MARK(8)

NAME
apt-mark - mark/unmark a package as being automatically-installed SYNOPSIS
apt-mark [-hv] [-f=FILENAME] {auto | manual | showauto | showmanual} package... DESCRIPTION
apt-mark will change whether a package has been marked as being automatically installed. When you request that a package is installed, and as a result other packages are installed to satisfy its dependencies, the dependencies are marked as being automatically installed. Once these automatically installed packages are no longer depended on by any manually installed packages, they will be removed by e.g. apt-get or aptitude. auto auto is used to mark a package as being automatically installed, which will cause the package to be removed when no more manually installed packages depend on this package. manual manual is used to mark a package as being manually installed, which will prevent the package from being automatically removed if no other packages depend on it. hold hold is used to mark a package as hold back, which will prevent the package from being automatically installed, upgraded or removed. The command is only a wrapper around dpkg --set-selections and the state is therefore maintained by dpkg(1) and not effected by the --filename option. unhold unhold is used to cancel a previously set hold on a package to allow all actions again. showauto showauto is used to print a list of automatically installed packages with each package on a new line. All automatically installed packages will be listed if no package is given. If packages are given only those which are automatically installed will be shown. showmanual showmanual can be used in the same way as showauto except that it will print a list of manually installed packages instead. showhold showhold is used to print a list of packages on hold in the same way as for the other show commands. OPTIONS
-f=FILENAME, --file=FILENAME Read/Write package stats from FILENAME instead of the default location, which is extended_status in the directory defined by the Configuration Item: Dir::State. -h, --help Show a short usage summary. -v, --version Show the program version. -c, --config-file Configuration File; Specify a configuration file to use. The program will read the default configuration file and then this configuration file. If configuration settings need to be set before the default configuration files are parsed specify a file with the APT_CONFIG environment variable. See apt.conf(5) for syntax information. -o, --option Set a Configuration Option; This will set an arbitrary configuration option. The syntax is -o Foo::Bar=bar. -o and --option can be used multiple times to set different options. FILES
/var/lib/apt/extended_states Status list of auto-installed packages. Configuration Item: Dir::State::extended_states. SEE ALSO
apt-get(8),aptitude(8),apt.conf(5) DIAGNOSTICS
apt-mark returns zero on normal operation, non-zero on error. BUGS
APT bug page[1]. If you wish to report a bug in APT, please see /usr/share/doc/debian/bug-reporting.txt or the reportbug(1) command. AUTHORS
Mike O'Connor APT team NOTES
1. APT bug page http://bugs.debian.org/src:apt Linux 21 April 2011 APT-MARK(8)
Man Page