Results 1 to 5 of 5

Thread: tail: cannot open `debian/changelog' for reading

  1. #1
    Join Date
    Mar 2008
    Location
    Italy, Milan
    Beans
    234
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Angry tail: cannot open `debian/changelog' for reading

    I receive this error:
    tail: cannot open `debian/changelog' for reading: No such file or directory
    dpkg-buildpackage: failure: tail of debian/changelog gave error exit status 1
    but the file changelog is in the "debian folder"
    Please help me.

  2. #2
    Join Date
    Mar 2008
    Location
    Italy, Milan
    Beans
    234
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: tail: cannot open `debian/changelog' for reading

    Ok I was just launching the command from inside the debian directory.
    The "sudo dpkg-buildpackage" command must instead be launched from the upper lever (shame on me).
    Cheers.

  3. #3
    Join Date
    Jan 2009
    Beans
    33

    Re: tail: cannot open `debian/changelog' for reading

    could you please expand on this further? i think i understand what you mean, correct me if im wrong.

    so say the folder i need to compile is called BootTheme and it was inside a folder called Themes
    i was doing cd /home/user/Documents/Themes/BootTheme
    then dpkg-buildpackage -rfakeroot


    I just tried to cd /home/user/Themes then the buildpackage and that turns out not to help.

    so what should i do instead?

  4. #4
    Join Date
    Mar 2008
    Location
    Italy, Milan
    Beans
    234
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: tail: cannot open `debian/changelog' for reading

    Quote Originally Posted by Ampersand. View Post
    could you please expand on this further? i think i understand what you mean, correct me if im wrong.

    so say the folder i need to compile is called BootTheme and it was inside a folder called Themes
    i was doing cd /home/user/Documents/Themes/BootTheme
    then dpkg-buildpackage -rfakeroot


    I just tried to cd /home/user/Themes then the buildpackage and that turns out not to help.

    so what should i do instead?
    basically that command expects to find in the current directory a folder named "debian", and inside the "debian" folder a file named "changelog".
    in the beginning i was with the terminal current directory in the same directory where the file "changelog" is, that was not correct.
    you have to be one level up, so see in the current directory the folder "debian", not the file "changelog".
    if you have further problems, use instead this way to create debian packages: http://tldp.org/HOWTO/Debian-Binary-...OWTO/x169.html it's simple and effective.
    cheers,
    giuseppe.

  5. #5
    Join Date
    Sep 2008
    Location
    Minneapolis
    Beans
    65
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: tail: cannot open `debian/changelog' for reading

    Quote Originally Posted by giuspen View Post
    Ok I was just launching the command from inside the debian directory.
    The "sudo dpkg-buildpackage" command must instead be launched from the upper lever (shame on me).
    Cheers.
    ROFL, I just made the same mistake, but opposite. I was one level too high.

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
  •