Results 1 to 2 of 2

Thread: [SOLVED] Removing self-built packages deletes directories

  1. #1
    Join Date
    Apr 2006
    Beans
    149

    [SOLVED] Removing self-built packages deletes directories

    I've been learning how to build ubuntu deb files using dh_make and debuild and have got to the point where I can install my programs. But when I try to remove them using dpkg --remove <package> or dpkg --purge <package>, I find that dpkg is trying to remove system directories (e.g. /usr/local). I have presumably made some mistake in configuring and building the deb file. Any pointers to where the mistake may be?


    Ketih

  2. #2
    Join Date
    Apr 2006
    Beans
    149

    Re: Removing self-built packages deletes directories

    OK. This seems to have happened because I was installing into non-standard directories (ie /usr/local...). I modified the package to install into /usr/bin and /usr/share and it now installs and removes cleanly.

    Keith

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •