FW: changing roots on: dpkg -i

From: Sreelal Chandrasenan (SChandrasenan_at_verance.com)
Date: 12/15/03

  • Next message: Monique Y. Herman: "Re: Partition NTFS"
    Date: Mon, 15 Dec 2003 09:28:00 -0800
    To: "Debian User (E-mail)" <debian-user@lists.debian.org>
    
    

    >
    > ----------
    > From: Sreelal Chandrasenan
    > Sent: Monday, December 15, 2003 9:25:21 AM
    > To: Debian User (E-mail)
    > Subject: FW: changing roots on: dpkg -i
    > Auto forwarded by a Rule
    >
    >
    >
    -----Original Message-----
    From: Rob Benton [mailto:rob.benton@conwaycorp.net]
    Sent: Monday, December 15, 2003 9:00 AM
    To: David Z Maze
    Cc: debian-user@lists.debian.org
    Subject: Re: changing roots on: dpkg -i

    On Mon, 2003-12-15 at 09:50, David Z Maze wrote:
    > Rob Benton <rob.benton@conwaycorp.net> writes:
    >
    > > I'm trying to install the xfree86 packages with the /opt directory as
    > > root. I've tried using --instdir but the install fails on the
    > > pre/postinst scripts. Is there an easy way to do this without having to
    > > build my own package?
    >
    > No. In general, dpkg's options to "change the root" are useful if you
    > have a chroot environment, or if you somehow otherwise have a complete
    > working system installed somewhere other than / (e.g., you're booted
    > off of a rescue CD and your hard disk is mounted on /target or
    > something). The best you could do with this approach is install X
    > stuff in /opt/usr/X11R6/..., and even that wouldn't work because the X
    > server will do things like look for its configuration file in /etc/X11
    > (and has, in the Debian build, never heard of /opt).
    >
    > As far as X goes, IMHO the easiest way to get an XFree86 4.3 X server
    > (because that's what you're really after, right?) is to download the
    > Xxserv.tgz and Xmod.tgz binary tarballs from xfree86.org, unpack them
    > somewhere like /usr/local, and repoint the /etc/X11/X symlink to point
    > to them. There are also various backports, plus the ~official Debian
    > experimental packages; search the list archives for details. Debian
    > in general "doesn't believe in /opt", and relocatable binaries are a
    > hard problem that's not real high on the dpkg feature list.
    >
    > --
    > David Maze dmaze@debian.org http://people.debian.org/~dmaze/
    > "Theoretical politics is interesting. Politicking should be illegal."
    > -- Abra Mitchell
    >

    Well this is what I have going on. I'm basically building a poor man's
    laptop with a usb zip250 drive. I've got just enough to get booted up
    but I need X and a java sdk which is too much to fit on 250 MB. So what
    I decided I would do is mount some shared memory on /dev/shm and install
    the pacakages there. When I get ready to shutdown, tar and bzip up the
    files stored there to somewhere on disk. Make any sense?

    I downloaded the deb-src of xserver-common to mess around with.

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

  • Next message: Monique Y. Herman: "Re: Partition NTFS"

    Relevant Pages

    • Re: RH Veteran is now a Debian Newbie
      ... have to manually track down, and rebuild, package depedencies. ... | So I thought I'd try debian as it seems a little more consistent. ... Using apt ... Note that dpkg is the counterpart to rpm. ...
      (Debian-User)
    • FW: changing roots on: dpkg -i
      ... >> build my own package? ... plus the ~official Debian ... > hard problem that's not real high on the dpkg feature list. ... To UNSUBSCRIBE, email to debian-user-request@lists.debian.org ...
      (Debian-User)
    • Re: After update perl ,apt-cacher wont work
      ... I updated My Debian 4.0 server yesterday,but forget exactly which ... package upgraded,only remember perl related things, then apt-cacher ... Do you mean you commented out the reference to Time/Local.pm? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: wine installation help needed
      ... cd to your 'deb' directory and do 'dpkg -i ... What package and which version is ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Where do you get beaver?
      ... and I'll work on the Debian package itself. ... I'm contacting the package maintainer to ask him if it's alright; ... If programmers deserve to be rewarded for creating innovative ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)