My .deb package is missing files

Asked by Томица Кораћ on 2021-01-09

I uploaded a package to my PPA. The upload and build pass successfully, but the built .deb file does not contain all the folders and files it is supposed to. After the package is built in Launchpad, the most important folder gets omitted for some reason. My package is an icon pack which should install a folder with icon files inside '/usr/share/icons/MyPackage'. Instead, the only file that gets installed is '/usr/share/doc/mypackage/changelog.gz'.

My PPA can be found here:

If I build .deb file locally, everything works. What am I doing wrong here?

Question information

English Edit question
Launchpad itself Edit question
No assignee Edit question
Solved by:
Manfred Hampl
Last query:
Last reply:

@m-hampl thanks for the reply. I'm not sure I understand. Are you suggesting that I should specify all of my package's payload files in the 'debian/install' file? If yes, then I'm confused.

1. Is this really necessary? Shouldn't my package's payload files be automatically picked up from the same level where 'debian' directory is found?
2. Surely I am not expected to list each individual file? There can potentially be thousands of files in a very complex directory structure.
3. If I create 'debian/install' and set contents to be 'icons/* usr/share/icons', I get this error: dh_install: warning: Cannot find (any matches for) "icons/*" (tried in ., debian/tmp)

Best Manfred Hampl (m-hampl) said : #3

Cannot find (any matches for) "icons/*"

In gnomenza_0.9.4.tar.gz the directory is not named named icons with a small i, but Icons with a capital i.

@m-hampl thanks for spotting that! Everything worked.

Thanks Manfred Hampl, that solved my question.