Re: Problem with the new xlibs deb

From: Andrej Prsa (andrej.prsa_at_guest.arnes.si)
Date: 09/11/05

  • Next message: chouck_at_binghamton.edu: "Re: Linux over Network to Windows"
    Date: Sun, 11 Sep 2005 13:35:17 +0200
    To: Joey Hess <joeyh@debian.org>
    
    

    Hi,

    > > I took a look at the debian/postinst file and indeed there is a
    > > trivial naming mismatch (remove_conffile_with_symlink_rollback
    > > instead of replace_conffile_with_symlink_rollback). Is there a way
    > > to extract the binary package, fix the problem and repackage it
    > > without the hussle of building it from source? It's a trivial
    > > fixup, yet it keeps a bunch of other packages from being updated,
    > > so I'd really like to resolve this as soon as possible.
    >
    > Just fix the postinst and run dpkg --configure -a

    Thanks for the reply; my question was actually how to "just fix the
    postinst". I managed to do it though and I'm posting it here for anyone
    else who might be interested:

    mkdir tmp
    cp /var/cache/apt/archives/xlibs_6.8.2.dfsg.1-6.deb tmp/
    cd tmp
    dpkg -e xlibs_6.8.2.dfsg.1-6.deb # extract control files
    dpkg -x xlibs_6.8.2.dfsg.1-6.deb # extract package files
    cd DEBIAN
    vi postinst
            # fix the error
    cd ../..
    dpkg -b tmp xlibs_6.8.2.dfsg.1-6.deb
    dpkg -i xlibs_6.8.2.dfsg.1-6.deb

    HTH,

    Andrej

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

  • Next message: chouck_at_binghamton.edu: "Re: Linux over Network to Windows"

    Relevant Pages

    • Re: How do I use dpkg without superuser privileges?
      ... dpkg -x package. ... will extract the deb to the current dir. ...
      (Debian-User)
    • Re: Debian
      ... Reading package lists... ... Reading state information... ... tools do not directly or indirectly invoke dpkg. ... Selecting previously deselected package libdvdnav4. ...
      (Ubuntu)
    • Re: KDE 3.3.2 fails re-install [SOLVED]
      ... make sure you have all the kde components uninstalled: ... anything to do with KDE, but when I looked at it with dpkg, I found 28 ... in package kdewallpapers ... Package kdebase-data is not installed. ...
      (Debian-User)
    • Re: dselect refusing to upgrade packages in unstable?
      ... dpkg: dependency problems prevent configuration of libxt-dev: ... dpkg: dependency problems prevent configuration of libice-dev: ... Package libice6 is not installed. ...
      (Debian-User)
    • Re: KDE 3.3.2 fails re-install
      ... dpkg: error processing ... in package kdewallpapers ... dpkg: dependency problems prevent configuration of kdebase: ... dpkg: dependency problems prevent configuration of kde-core: ...
      (Debian-User)