dpkg-genchanges/reprepro for making ubuntu repository
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
dpkg-genchanges/reprepro for making ubuntu repository
Hi everyone,
I have been using linux since last 3 months. I am sorry if I am asking stupid question.
--------------------------------------------------------------------
I have some source of some packages( .dsc, diff.gz, orig.tar.gz) and I want to generate a [.changes] file for it so that I can use [reprepro] for generating my desired repository.
I read the manual of dpkg-genchanges and try with it however, It direct me to help of the command.
1. Can I generate from ( .dsc, diff.gz, orig.tar.gz) file a [.changes].
2. If question (1) is not possible, how can I use directly ( .dsc, diff.gz, orig.tar.gz) in reprepro for generating my repository.
Thanks a lot for reply,
Just now I could generate the .change,.deb, .build files using:
1. apt-get source packagename, 2. apt-get build-dep packagename, 3. debuild -us -uc.
and now I want to create my repository, using "reprepro" command using this command:
>>reprepro -Vb . --ignore=wrongdistribution basefoldername /.../../file.changes and I get the following errors:
-----------------------------------------------------------------
Unable to find pool/main/filename.tar.gz needed by filename.dsc!
perhaps you forgot to give dpkg-buildpackage the -sa option,
deleting and forgetting pool/main/file.deb
deleting and forgetting pool/main/file.diff.gz
deleting and forgetting pool/main/file.dsc
deleting and forgetting pool/main/file.deb
removed now empty directory ./pool/main ...
removed now empty directory ./pool/main ...
There have been errors!
-----------------------------------------------------------------
what can be the problem although that I have build the dependencies and rebuild the packages?
Thanks a lot for reply, I have already gone through this procedure, however, I get this message on apt-get dist-upgrade
ATTENTION: The package cannot be authenticated packagename Do you want to install it without varification [y/N]?
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
Are you trying to put Debian packages on Ubuntu. This is not a good idea at all. Ubuntu does not use the same file paths a lot of times and mixing packages from the 2 different sources can break your system very badly.
http://www.jejik.com/articles/2006/0...with_reprepro/
That last link is for Hardy 8.04. I don't have time to search further but is this a maintained package or is no one working on it. That is pretty old for todays kernels I would think.
However, I would run a search in synaptic for repository. I think that should get anything that would help. I know that there are 2 packages in the Debian repo that will do that job. They are likely to be in the 10.04 repo as I am sure I saw them in the Squeeze repo.
I would hunt them up myself but I have a dist-upgrade running right now from testing to sid so I can't run synaptic.
I am sorry I didn't make a note of the packages. I usually do but it was another late night and I forgot.
I have recompiled all packages using which are in my repository for lucid as:
1. apt-get source packagename
2. apt-get build-dep packagename
3. debuild -us -uc
and then I will add integrate the non-free with my recompiled lucid debian files and will generate repository by reprepro.
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
I really do not know but I did find reprepro in the Debian Wheezy repo. I would think it would be in the Squeeze repo and so should be in the Lucid repo.
I got this error at the end of dist-upgrade(The error was in Italian language I translated as):
Some errors have been verified in /var/cache/apt/archive/libgtk2.0-dev_2.20.1-0ubuntu2_adm.deb
/var/cache/apt/archive/libhtml-parser-perl_3.64-1_amd64.deb
E: Sub-process /user/bin/dpkg returned an error code(1)
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
I only mentioned the Debian repo as I would think that similar packages would be in the 10.04 repo or, as you have done, try the Debian package in Ubuntu.
I do assume that you know that mixing the Debian and Ubuntu repos is not a real great idea. Ubuntu uses different paths for many things. This causes problems that can be dangerous to your system.
You could try a small install of Debian to set up your repo. If the packages are prepared in Ubuntu and just put in place by Debian I would think, perhaps wrongly, that it would work.
Probably removing the Debian packages from your Ubuntu install would be a good idea.
I dont know how to solve this problem, by the way in the new link I have put the non-free packages would you please check it and tell me how to integrate it with new lucid? http://tamtam.pischiello.echosolutio.../pool/non-free
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.