Re: "Local" apt-get?

From: Jason Rennie (jrennie_at_csail.mit.edu)
Date: 02/07/05

  • Next message: Glennie Vignarajah: "Re: apt-build"
    Date: Mon, 7 Feb 2005 14:44:45 -0500
    To: debian-user@lists.debian.org
    
    

    On Mon, Feb 07, 2005 at 01:22:31PM -0500, kynn@panix.com wrote:
    > Is there any way to coax apt-get to install packages in $HOME?

    This doesn't work, but it might get you headed in the right
    direction... apt-get doesn't have such a command-line option, but
    dpkg does. What you could do is use apt-get to download the packages,
    then dpkg to install them. It would go something like this:

    apt-get -d install somepackage
    dpkg -i --root=/home/kynn /var/cache/apt/archives/*.deb

    One problem is that this assumes that you have permissions for
    /var/cache/apt/archives. Looking at the apt-get man page, you could
    use "-o Dir::Cache::Archives" to set a different archive directory.
    Looks like another problem (I'm attempting this now) is that it
    assumes you have permissions for the dpkg lock file
    /var/lib/dpkg/lock. I'm not sure how you'd tell apt-get to tell dpkg
    to use a different lock file...

    Jason

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Glennie Vignarajah: "Re: apt-build"

    Relevant Pages

    • HELP! apt-get errors with rspfd - unable to install/uninstall
      ... am really stuck up with apt-get and dpkg unable to do anything with rspfd. ... But now, whenever I ran apt-get to install or remove any package, I got ...
      (Debian-User)
    • Re: How to reinstall without changing anything?
      ... What did the script run under, ... Did you install a bare-bones system ... mkdir /hda1 ... apt-get -qq install x-window-system ...
      (Debian-User)
    • Re: Updates SOLVED!
      ... Putting Synaptic to one side, and after having done the apt-get update, ... problems with the vlc package, ... Then an apt-get install vlc may have printed out some usefull info. ... We've already confirmed that if you originally got vlc from freshrpms, the maintainer should be shown as Matthias Saou, so the packages above should also show him as the maintainer. ...
      (Fedora)
    • Re: How to Totally!! nuke X11?
      ... }> This is the primary benefit I keep hearing about for aptitude over apt-get. ... use APT to know what packages are available for installation, ... They use dpkg to install and ... } `apt-get install foobar' will download and install it. ...
      (Debian-User)
    • Ubuntu spampd package install problem
      ... install I've used so I'm pretty new to apt-get and dpkg. ... Everything was going fine until I installed spampd. ... the install is failing on some error with "statoverride" problem. ...
      (comp.os.linux.setup)