Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Lintian errors with Ubuntu 12.10

  1. #1
    Join Date
    Mar 2008
    Location
    Ireland
    Beans
    767
    Distro
    Ubuntu 14.04 Trusty Tahr

    Lintian errors with Ubuntu 12.10

    Hi all,

    I packaged my program for Ubuntu 12.04 but the same package failed to install due to a dependency problem which has since been fixed. However, other lintian errors persist when I try to install.

    This one is the most common:

    wrong-file-owner-uid-or-gid 1000/1000
    How do I go about fixing this? :/
    Projects: PhotoFiltre LX | Xwii | URT-2D | TTM

  2. #2
    Join Date
    Mar 2008
    Location
    Ireland
    Beans
    767
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Lintian errors with Ubuntu 12.10

    Anyone ever come across this?
    Projects: PhotoFiltre LX | Xwii | URT-2D | TTM

  3. #3
    Join Date
    Apr 2009
    Location
    Germany
    Beans
    2,134
    Distro
    Ubuntu Development Release

    Re: Lintian errors with Ubuntu 12.10

    well your files have the wrong uid or gid
    there is only a small range which is allowed:
    http://lintian.debian.org/tags/wrong...id-or-gid.html

    possibly you are missing a dh_fixperms call

  4. #4
    Join Date
    Mar 2008
    Location
    Ireland
    Beans
    767
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Lintian errors with Ubuntu 12.10

    How do I use dh_fixperms?

    I tried:
    dh_fixperms MyTopLevelDirectory
    and I got this:

    dh_fixperms: cannot read debian/control: No such file or directory
    What am I doing wrong here?
    Projects: PhotoFiltre LX | Xwii | URT-2D | TTM

  5. #5
    Join Date
    Apr 2009
    Location
    Germany
    Beans
    2,134
    Distro
    Ubuntu Development Release

    Re: Lintian errors with Ubuntu 12.10

    dh_fixperms is run during the package build from the top source directory
    it is included in the standard sequencers so unless you have a really manual or old rules file it may already be run, I don't know if it fixes uid's too, if not you have to fix it yourself (with chmod/chown).

  6. #6
    Join Date
    Apr 2012
    Beans
    44

    Re: Lintian errors with Ubuntu 12.10

    Maybe you must run dh_fixperms in directory which is you can see debian/ folder there.

    I have mirrorred Lintian Tags pages (whole) and it helps me to fixing any error reported by Lintian. So, i just open my chromium and ctrl+f > paste exactly the error message, and exactly the page title found Maybe you can follow same way with WebHTTRACK. Install it from repo

  7. #7
    Join Date
    Apr 2009
    Location
    Germany
    Beans
    2,134
    Distro
    Ubuntu Development Release

    Re: Lintian errors with Ubuntu 12.10

    Quote Originally Posted by Malsasa View Post
    Maybe you must run dh_fixperms in directory which is you can see debian/ folder there.

    I have mirrorred Lintian Tags pages (whole) and it helps me to fixing any error reported by Lintian. So, i just open my chromium and ctrl+f > paste exactly the error message, and exactly the page title found Maybe you can follow same way with WebHTTRACK. Install it from repo
    you can just use lintian-info:
    Code:
    lintian-info --tags wrong-file-owner-uid-or-gid

  8. #8
    Join Date
    Apr 2012
    Beans
    44

    Re: Lintian errors with Ubuntu 12.10

    Quote Originally Posted by MadCow108 View Post
    you can just use lintian-info:
    Code:
    lintian-info --tags wrong-file-owner-uid-or-gid
    Wow i don't know it before... Thank you for info...

  9. #9
    Join Date
    Mar 2008
    Location
    Ireland
    Beans
    767
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Lintian errors with Ubuntu 12.10

    Well the UID/GID is 1000 which is my own user. dh_fixperms didn't do anything for me.

    What exactly should I do to solve this? Make a new user/group with a correct value?

    Also why did they make .deb packaging more difficult? It was fine in 12.04 but not in 12.10.
    Projects: PhotoFiltre LX | Xwii | URT-2D | TTM

  10. #10
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: Lintian errors with Ubuntu 12.10

    UID/GID=1000 is definitely wrong: pretty much all the files in your package should be owned by root.

    The info you've provided is not enough to give any other help.
    Please post the output of your debian/rules here.

Page 1 of 2 12 LastLast

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
  •