[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: installing .debs from hdd

On Sun, Jun 12, 2011 at 01:27:49PM -0700, Robert Holtzman wrote:
> On Sun, Jun 12, 2011 at 06:45:04AM +1000, Scott Ferguson wrote:
> > On 12/06/11 06:22, Robert Holtzman wrote:
> > > How can I install multiple debs residing in  a directory on my hard drive? 
> > > Unless I missed it, running a search, the Debian Reference manual and the 
> > > Maintainers Guide shows nothing applicable. Any pointers appreciated.
> > > 
> > # dpkg -i /path/to/harddrive/*.deb
> That did the trick. Thanks. BTW, where in the docs does it mention this
> situation and point to dpkg? I would love to know where I missed it.

This past year I discovered wajig. It is a python script that calls on
installed tools to offer a sort of simplified/omniscient set of commands.


It is easy to pick up, *can install from a local path name*, build
debs from source and some other nice commands. A little lacking on

Attached is a list of commands.

"Microsoft is not the answer. Microsoft is the question. NO (or Linux) is the
answer." --Somebody

 freeman@Europa:~$ wajig -v help
   addcdrom       Add a CD-ROM to the list of available sources of packages
   addrepo        Add a Launchpad PPA (Personal Package Archive) repository
   auto-alts      Mark the alternative to be auto set (using set priorities)
   auto-clean     Remove superceded .deb files from the download cache
   auto-download  Do an update followed by a download of all updated packages
   autoremove     Remove packages installed automatically as dependencies.
   bug            Report a bug in a package using Debian BTS (Bug Tracking
   build          Retrieve/unpack sources and build .deb for the named
   build-depend   Retrieve packages required to build listed packages
   changelog      Display Debian changelog for a given package
   clean          Remove all deb files from the download cache
   commands       Display all the JIG commands and one short descriptions for
   contents       List the contents of a package file
   daily-upgrade  Perform an update then a dist-upgrade
   dependents     List of packages which depend/recommend/suggest the package
   describe       One line description of packages (-v and -vv for more
   describe-new   One line description of new packages
   detail         Provide a detailed description of package (describe -vv)
   detail-new     Provide a detailed description of new packages (describe
   dist-upgrade   Upgrade to new distribution (installed and new rqd
   docs           Equivalent to help with -verbose=2
   download       Download package files ready for an install
   download-file  Download packages listed in file ready for an install
   editsources    Edit list of archives which locates Debian package sources
   extract        Extract the files from a package file to a directory
   find-file      Search for a file within installed packages
   find-pkg       Search for an unofficial Debian package at apt-get.org
   fix-configure  Perform dpkg --configure -a (to fix interrupted configure)
   fix-install    Perform apt-get -f install (to fix broken dependencies)
   fix-missing    Perform apt-get --fix-missing upgrade
   force          Install packages and ignore file overwrites and depends
   help           Print documentation (detail depends on --verbose)
   hold           Place listed packages on hold so they are not upgraded
   init           Initialise or reset the JIG archive files
   info           List the information contained in a package file
   install        Install one or more packages or .deb files
   install-file   Install those packages that are listed in a file
   installs       Install package and associated suggested packages
   install/dist   Install packages from specified dist (must be in
   integrity      Check the integrity of installed packages (through
   large          List size of all large (>10MB) installed packages
   last-update    Identify when an update was last performed
   list           List the status and description of installed packages
   list-all       List a one line description of given or all packages
   list-alts      List the objects that can have alternatives configured
   list-cache     List the contents of the download cache
   list-commands  List all the JIG commands and one line descriptions for
   list-daemons   List the daemons that JIG can start/stop/restart
   list-files     List the files that are supplied by the named package
   list-hold      List those packages on hold
   list-installed List packages (with optional argument substring) installed
   list-log       Display APT log file
   list-names     List all known packages or those containing supplied string
   list-orphans   List libraries not required by any installed package
   list-scripts   List the control scripts of the package of deb file
   list-section   List packages that belong to a specific section
   list-sections  List the sections that are available
   list-status    Same as list but only prints first two columns, not
   list-wide      Same as list but avoids truncating package names
   local-dist-upgrade Dist-upgrade using packages already downloaded
   local-upgrade  Upgrade using packages already downloaded, but not any
   madison        Runs the madison command of apt-cache.
   move           Move packages in the download cache to a local Debian
   new            List packages that became available since last update
   news           Display package NEWS file(s).
   new-upgrades   List packages newly available for upgrading
   non-free       List installed packages that do not meet the DFSG
   orphans        List libraries not required by any installed package
   policy         From preferences file show priorities/policy (available)
   purge          Remove one or more packages and their configuration files
   purge-orphans  Purge orphaned libraries (not required by installed
   purge-removed  Purge all packages marked as deinstall
   rbuilddeps     Display the packages which build-depends on the given
   package (long form is "reverse-build-depends")
   readme         Display the package's README file from /usr/share/doc
   list-recommended Display packages that were installed via Recommends and
   have no dependents
   recursive      Download package and any packages it depends on
   reconfigure    Reconfigure the named installed packages or run gkdebconf
   reinstall      Reinstall each of the named packages
   reload         Reload daemon configs, e.g., gdm, apache (see list-daemons)
   remove         Remove one or more packages (see also purge)
   remove-file    Remove those packages that are listed in a file
   remove-orphans Remove orphaned libraries (not required by installed
   repackage      Generate a .deb file for an installed package
   reset          Initialise or reset the JIG archive files
   restart        Stop then start a daemon, e.g., gdm, apache (see
   rpm2deb        Convert a RedHat .rpm file to a Debian .deb file
   rpminstall     Install a RedHat .rpm package
   search         Search for packages containing listed words
   search-apt     Find local Debian archives suitable for sources.list
   setup          Alias for editsources
   showdistupgrade Trace the steps that a dist-upgrade would perform
   showinstall    Trace the steps that an install would perform
   showremove     Trace the steps that a remove would perform
   showupgrade    Trace the steps that an upgrade would perform
   sizes          Print out the size (in K) of all, or listed, installed
   snapshot       Generates list of package=version for all installed
   source         Retrieve and unpack sources for the named packages
   start          Start a daemon, e.g., gdm, apache (see list-daemons)
   status         Show the version and available version of packages
   status-search  Show the version and available version of matching packages
   stop           Stop a daemon, e.g., gdm, apache (see list-daemons)
   tasksel        Run the task selector to install groups of packages
   toupgrade      List packages with newer versions available for upgrading
   unhold         Remove listed packages from hold so they are again upgraded
   update         Update the list of downloadable packages
   update-alts    Update default alternative for things like x-window-manager
   update-pci-ids Updates the local list of PCI ids from the internet master
   update-usb-ids Updates the local list of USB ids from the internet master
   upgrade        Upgrade all of the installed packages
   verify         Check the md5sums of a package.
   version        Show the current version of wajig.
   versions       List version and distribution of (all) packages.
   whatis         A synonym for describe
   whichpkg       Find the package that supplies the given command or file
   -b|--backup=DIR UPGRADE - Backup packages before they are upgraded.
   -f|--fast       SHOW - use apt-cache's version, due to its speed.
   -h|--help       Print usage message.
   -n|--noauth     Allow packages from unathenticated archives.
   -P|--pager      CHANGELOG - Use a pager for viewing the entire Debian
   -changelog of a package.
   -p|--pause      Pause before exiting.
   -q|--quiet      Execute system commands quietly.
   -s|--simulate   Show commands to be executed but don't execute.
   -t|--teaching   Show commands to be executed and then execute them.
   -v|--verbose=n  Increase (or set) the level of verbosity (to n).
   -r|--recommends    Used with INSTALL, to install Recommends too (this is
   -Debian default).
   -R|--norecommends  Used with INSTALL, to NOT install Recommends.
   -y|--yes        Assume yes for any questions asked.

Reply to: