LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-11-2011, 04:51 AM   #1
hamd
LQ Newbie
 
Registered: Apr 2011
Posts: 28

Rep: Reputation: 0
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 in advance
 
Old 05-11-2011, 09:54 PM   #2
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
What in flinderation are you setting up a repository for?
 
Old 05-13-2011, 03:50 AM   #3
hamd
LQ Newbie
 
Registered: Apr 2011
Posts: 28

Original Poster
Rep: Reputation: 0
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
 
Old 05-13-2011, 01:51 PM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
I do not know what your problem is.

Seems to me it is a path problem. Have you seen this;
http://www.debian-administration.org/articles/286

It may be a help.
 
Old 05-16-2011, 03:27 AM   #5
hamd
LQ Newbie
 
Registered: Apr 2011
Posts: 28

Original Poster
Rep: Reputation: 0
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]?
 
Old 05-16-2011, 09:49 AM   #6
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
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.

Doesn't Ubuntu have packages for this program? May have a different name.
http://www.jejik.com/articles/2006/0...with_reprepro/

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.
 
Old 05-17-2011, 07:28 AM   #7
hamd
LQ Newbie
 
Registered: Apr 2011
Posts: 28

Original Poster
Rep: Reputation: 0
Thanks my repository is in this link which is in old hardy I want to upgrade it with its personal packages to lucid:
http://tamtam.pischiello.echosolution.it/echolinux

Can you please tel me how to upgrade it to lucid?

Thanks
 
Old 05-20-2011, 11:41 PM   #8
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Quote:
Originally Posted by hamd View Post
Thanks my repository is in this link which is in old hardy I want to upgrade it with its personal packages to lucid:
http://tamtam.pischiello.echosolution.it/echolinux

Can you please tel me how to upgrade it to lucid?

Thanks
I don't think that you can.

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.
 
Old 05-23-2011, 03:54 AM   #9
hamd
LQ Newbie
 
Registered: Apr 2011
Posts: 28

Original Poster
Rep: Reputation: 0
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.

What do you think will it works?

Please help me thanks
 
Old 05-23-2011, 07:37 AM   #10
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
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.
 
Old 05-24-2011, 08:36 AM   #11
hamd
LQ Newbie
 
Registered: Apr 2011
Posts: 28

Original Poster
Rep: Reputation: 0
Smile

I tried the following method and I think I am getting closer to it:

1.I rebuild some packages, and downloaded some packages from debian archive and integrated my personal packages according to this link:
2. http://tamtam.pischiello.echosolution.it/echolinux main non-free freedit
3. I made a new repository from .deb files of above packages(Item 1), using reprepro as:
NEW REPOSITORY http://tamtam.pischiello.echosolution.it/echolinux_new/

and during executing reprepro command I got
error at the end as "There are several errors ..."

than I tried in a box:
1. I added http://tamtam.pischiello.echosolution.it/echolinux_new/ lamlam main non-free freedit in source.list
2. apt-get update
3. apt-get dist-upgrade

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)

What do you advise me next?
 
Old 05-24-2011, 08:48 AM   #12
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
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.
 
Old 05-24-2011, 10:05 AM   #13
hamd
LQ Newbie
 
Registered: Apr 2011
Posts: 28

Original Poster
Rep: Reputation: 0
I did a new repository in which I excluded the debian packages however, I get still the same error
any idea?

thanks
 
Old 05-24-2011, 03:42 PM   #14
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
I have no idea what so ever.

Edit
I was clicking on the links and all worked for me up to the non-free which returned that I didn't have "permission to access the server".

Don't know if that is any help or not.

Last edited by widget; 05-24-2011 at 03:46 PM.
 
Old 05-26-2011, 02:43 AM   #15
hamd
LQ Newbie
 
Registered: Apr 2011
Posts: 28

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 'dpkg--configure-a' E: dpkg was interrupted error Mountain Man 77 Linux - Newbie 8 02-21-2015 10:59 PM
Ubuntu newbie, E: dpkg was interrupted, you must manually run 'dpkg --configure -a' ? chinkychan Linux - Newbie 1 01-28-2009 10:21 PM
Making an Debian Etch repository fatal_err0r Debian 5 12-01-2007 11:54 PM
Making One's Own Repository gizza23 Fedora 2 12-04-2006 06:09 PM
LXer: Setting up and managing an APT repository with reprepro LXer Syndicated Linux News 0 09-01-2006 11:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration