how to install dpkg from scratch?

From: Bahadir Balban (bahadir.balban_at_gmail.com)
Date: 01/13/05

  • Next message: QSergio_Cu=E9llar=22?=: "Daemon Programming"
    Date: Thu, 13 Jan 2005 12:14:16 -0800
    To: debian-user@lists.debian.org
    
    

    Hi,

    I have a filesystem where I want to add debian packages. How could I
    install dpkg from scratch so that I can use it to install packages?

    I extracted dpkg 1.10 with its dependant packages. (dselect and ncurses)

    I have a /usr/lib/dpkg directory with a status file and some other,
    but when I do:

    dpkg -i somepackage.deb, it fails with not finding the updates file.

    I dont care about dependencies as I am already aware of them for the
    packages I want to install. I simply want dpkg to install the files in
    the right places and perhaps run the postinst preinst scripts as what
    -i does.

    Do you know how to install dpkg to work like this?

    Your help will be greatly appreciated.

    Many thanks,
    Bahadir

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

  • Next message: QSergio_Cu=E9llar=22?=: "Daemon Programming"

    Relevant Pages

    • Package in poor state interferes with apt operations
      ... The following packages have unmet dependencies. ... legner1:~# apt-get -f install ... warning - old pre-removal script returned error exit status 1 ... dpkg - trying script from the new package instead ... ...
      (Debian-User)
    • apt-get problems
      ... over 200 packages and installed most of them bombing out near the end. ... xrdb python-gmenu gnome-games-data ... Install these packages without verification? ... dpkg: warning - old pre-removal script returned error exit status 1 ...
      (Ubuntu)
    • Re: Strange problem with apt
      ... as I can't install or uninstall that package using apt or dpkg. ... The following extra packages will be installed: ... File * diversions* are a way of forcing dpkg not to install a file into ...
      (Ubuntu)
    • Re: troubles with aptitude
      ... How do I get aptitude free? ... Preconfiguring packages ... ... A package failed to install. ... Otherwise it's often possible to apply more force through using dpkg ...
      (Debian-User)
    • Fun upgrading libc (segmentation fault while going from stable to testing in Sun IPX)
      ... update dselect and dpkg before doing the upgrade: ... katrina:~# apt-get install dselect dpkg ... The following extra packages will be installed: ... This script automatically restarts some packages ...
      (Debian-User)