Sponsored Content
Operating Systems Linux Ubuntu Download same package as installed Post 302408808 by thegeek on Tuesday 30th of March 2010 02:01:58 PM
Old 03-30-2010
Quote:
Originally Posted by wakatana
Lets say I have installed application (via apt-get) and have another PC which is not connected to internet. I want install the same application, so I want download the *.deb archive transfer it to this pc and install. But if I have already installed application I cannot only download *deb archive
PS usually the deb archives are stored to /var/cache/apt/archives/ during install thought apt-get install

It means, you are required to setup a local debian mirror. Google for 'setting up a local debian mirror' & some thing similar.
 

10 More Discussions You Might Find Interesting

1. AIX

How to check if a package is already installed?

Hi All, I want to check if the perl DBI package is already installed my AIX unix machine. is there any command to check this? Please help. Thanks, Am (2 Replies)
Discussion started by: am_yadav
2 Replies

2. HP-UX

how to package my program which can be installed on HP UX

I develop a unix program in HPUX I want to package my program to install on HPUX in some dierctory folder like /user/local/sbin/xxx and preinstall some software before install my program package like xxx.depot how can i do it, have any tools like use setupfactory tools in windows ... (4 Replies)
Discussion started by: alert0919
4 Replies

3. Linux

Find installed location of a relocatable package

Hi, I am finding the installed location of a package by: rpm -qi <package_name> And then parse the string "Relocations". If i relocate this package during installation with --relocate option , the "Relocations" string still shows the old value. Though the package has been installed on the... (0 Replies)
Discussion started by: vibhor_agarwali
0 Replies

4. Solaris

Package needs to be installed for using pam_mkhomedir.so?

Hi, What is the necessary package that needs to be installed for using pam_mkhomedir.so in pam.conf file? And from where can i get that file? Is that package already shipped with Solaris 10? Because when i use that file i am getting "open_module: stat(/usr/lib/security/pam_mkhomedir.so)... (1 Reply)
Discussion started by: sathya47
1 Replies

5. Ubuntu

How to list my program or package that i compile and installed?

Hi I would like to ask in ubuntu or linux on how to list all my package or software the i installed via source code( compile installed in dir default is /usr/local) just like i solaris in which if you installed a package in ur choosing default root installation dir you can just issue a command... (2 Replies)
Discussion started by: jao_madn
2 Replies

6. Solaris

Which Solaris 11 download package to use

Hi, One quick question: Which download package should I use to install the whole Solaris 11 OS? Can I use the Text Install package that is only 400 MB? or I need to use the Solaris 11 11/11 Repository Image package? I am in hurry to do it but somewhat confused here. Thank you in advance! ... (6 Replies)
Discussion started by: aixlover
6 Replies

7. 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

8. Solaris

Check that supersede of package version is installed

I need a programmatic way to check, that supersede of required package is installed. At Linux I do it using rpmvercm utility to compare installed package version to my minimal requirement. So - I need analog of Linux "rpmvercm" utility for Solaris (10/11) Let us say - I know that minimal version... (10 Replies)
Discussion started by: zuismanm
10 Replies

9. Solaris

Finding the path to an executable , installed package

Hi all, Recently i wanted to see if i have openssl installed in my system (solaris 10), so i do this (not sure if this is the right way to do this) pkginfo -i | grep -i "ssl" system SUNWopenssl-commands OpenSSL Commands (Usr) system SUNWopenssl-include ... (3 Replies)
Discussion started by: javanoob
3 Replies

10. Shell Programming and Scripting

How-to verify if my package installed successfully

Can you please let me know how can i verify /check inside the script if the below to package installation commands are successful or if they failed for any reasons? 1. pkgadd -a $INSTP/install/dadmin -d $INSTP/install/apachesrv.pkg 2. pkgadd -a $INSTP/install/dadmin -d... (6 Replies)
Discussion started by: mohtashims
6 Replies
DEBSUMS(1)							   User Commands							DEBSUMS(1)

NAME
debsums - check the MD5 sums of installed Debian packages SYNOPSIS
debsums [options] [package|deb] ... DESCRIPTION
Verify installed Debian package files against MD5 checksum lists from /var/lib/dpkg/info/*.md5sums. debsums can generate checksum lists from deb archives for packages that don't include one. OPTIONS
-a, --all Also check configuration files (normally excluded). -e, --config Only check configuration files. -c, --changed Report changed file list to stdout (implies -s). -l, --list-missing List packages (or debs) which don't have an MD5 sums file. -s, --silent Only report errors. -m, --md5sums=file Read list of deb checksums from file. -r, --root=dir Root directory to check (default /). -d, --admindir=dir dpkg admin directory (default /var/lib/dpkg). -p, --deb-path=dir[:dir...] Directories in which to look for debs derived from the package name (default is the current directory). A useful value is /var/cache/apt/archives when using apt-get autoclean or not clearing the cache at all. The command: apt-get --reinstall -d install `debsums -l` may be used to populate the cache with any debs not already in the cache. Note: This doesn't work for CD-ROM and other local sources as packages are not copied to /var/cache. Simple file sources (all debs in a single directory) should be added to the -p list. -g, --generate=[missing|all][,keep[,nocheck]] Generate MD5 sums from deb contents. If the argument is a package name rather than a deb archive, the program will look for a deb named package_version_arch.deb in the directories given by the -p option. missing Generate MD5 sums from the deb for packages which don't provide one. all Ignore the on disk sums and use the one supplied in the deb, or generated from it if none exists. keep Write the extracted/generated sums to /var/lib/dpkg/info/package.md5sums. nocheck Implies keep; the extracted/generated sums are not checked against the installed package. For backward compatibility, the short option -g is equivalent to --generate=missing. --no-locale-purge Report missing locale files even if localepurge is configured. --no-prelink Report changed ELF files even if prelink is configured. --ignore-permissions Treat permission errors as warnings when running as non-root. --help --version Print help and version information. EXIT STATUS
debsums returns 0 on success, or a combination* of the following values on error: 1 A specified package or archive name was not installed, invalid or the installed version did not match the given archive. 2 Changed or missing package files, or checksum mismatch on an archive. 255 Invalid option. *If both of the first two conditions are true, the exit status will be 3. EXAMPLES
debsums foo bar Check the sums for installed packages foo and bar. debsums foo.deb bar.deb As above, using checksums from (or generated from) the archives. debsums -l List installed packages with no checksums. debsums -ca List changed package files from all installed packages with checksums. debsums -ce List changed configuration files. debsums -cagp /var/cache/apt/archives As above, using sums from cached debs where available. apt-get install --reinstall $(dpkg -S $(debsums -c) | cut -d : -f 1 | sort -u) Reinstalls packages with changed files. RESULTS
OK The file's md5sum is good. FAILED The file's md5sum does not match. REPLACED The file has been replaced by a file from a different package. NOTES
The default installation of debsums package sets the debconf boolean value debsums/apt-autogen to be "true". This will create /etc/apt/apt.conf.d/90debsums as: DPkg::Post-Invoke { "debsums --generate=nocheck -sp /var/cache/apt/archives"; }; by the postinst script (>=2.0.7). Every APT controlled package installation processes will execute this code fragment to generate the missing md5sums files from the binary packages. In order to create md5sums files for the already installed packages, you must run debsums_init once after the installation of debsums pack- age. SEE ALSO
md5sum(1), debsums_init(8) ENVIRONMENT
TMPDIR Directory for extracting information and contents from package archives (/tmp by default). CAVEATS
While in general the program may be run as a normal user, some packages contain files which are not globally readable so cannot be checked. Privileges are of course also required when generating sums with the keep option set. Files which have been replaced by another package may be erroneously reported as changed. debsums is intended primarily as a way of determining what installed files have been locally modified by the administrator or damaged by media errors and is of limited use as a security tool. If you are looking for an integrity checker that can run from safe media, do integrity checks on checksum databases and can be easily con- figured to run periodically to warn the admin of changes see other tools such as: aide, integrit, samhain, or tripwire. AUTHOR
Written by Brendan O'Dea <bod@debian.org>. Based on a program by Christoph Lameter <clameter@debian.org> and Petr Cech <cech@debian.org>. COPYRIGHT
Copyright (C) 2002 Brendan O'Dea <bod@debian.org> This is free software, licensed under the terms of the GNU General Public License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Debian 2007-11-29 DEBSUMS(1)
All times are GMT -4. The time now is 04:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy