LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-24-2011, 12:27 AM   #1
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Reprepro errors and setting up


I am attempting to learn how to use reprepro but I am getting errors that do not get mentions, as far as I can see, in the man pages.

In my last attempt one error that is coming up is "Cannot find definition of upgrade-rule 'debian' for distribution 'squeeze'!
There have been errors!"

My distributions file is setup like this
Code:
Origin: Debian
Label: Debian
Suite: stable
Version: 6.0
Codename: squeeze
Architectures: amd64 i386 source
Components: main contrib non-free
Description: Debian 6.0 squeeze + security updates
Update: - debian security
Log: logfile
and my updates file is setup like this
Code:
Name: security
Method: http://security.debian.org/debian-security
Suite: */updates
VerifyRelease:
Architectures: amd64 i386 source
Components: main contrib non-free
UDebComponents:
I have them in my home/mylinux/mylinux/conf/ folder.

My first question is what is the "definition of upgrade-rule 'debian' for distribution 'squeeze'!" that the error is referring to?

Second question: Can I rename the stable distribution to something else , e.g. bullfrog, yet still use Debian Stable as the basis? if yes how? is it as simple as putting Suite: stable>bullfrog or Codename: squeeze>bullfrog in the distributions file?

Any and all help greatly appreciated, thanks in advance.
 
Old 09-24-2011, 02:45 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Does this help at all? I'm thinking about the FilterFormula field.
Quote:
Partial mirror, using reprepro only

The next step explain how to create a partial mirror using just reprepro. reprepro is powerful enough to select a subset of a whole package archive.

Code:
Name: debian-etch-update
Method: http://gulus.usherbrooke.ca/debian
Components: main
Architectures: amd64 source
FilterFormula: Priority (==required)
The content above is the content of your conf/updates file. It includes all the rules needed to update the distributions configured in the distributions file. The distribution etch we created in is linked to its respective update rule by the Update configuration field.

The key to partial mirroring in this case is the FilterFormula field, which selects just the Debian package in required in a very basic installation. There is also a FilterList field which can select just the set of package you list. This is the basis of the next section.

To start mirroring, go in the mirror directory and do:

reprepro -V update etch
The complete procedure is found here.
ciao,
jdk

Last edited by jdkaye; 09-24-2011 at 02:47 AM.
 
Old 09-24-2011, 04:27 AM   #3
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Original Poster
Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Hey jdk, thanks for your reply. The link in your post is excellent and helps with other things but not my "squeeze" concern. I'll keep reading and experimenting and post back my findings if/when I get it worked out.
 
Old 09-24-2011, 04:57 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by k3lt01 View Post
Hey jdk, thanks for your reply. The link in your post is excellent and helps with other things but not my "squeeze" concern. I'll keep reading and experimenting and post back my findings if/when I get it worked out.
That's the spirit! Best of luck,
ciao,
jdk
 
Old 12-17-2011, 09:29 PM   #5
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Original Poster
Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
Just an update, I have the update feature working quite well now. My issue was my update file and distributions file were configured incorrectly. Basically my suite and update lines were not pointing to the right locations and this caused the error I was getting.

Now I have a full Debian Squeeze (amd64, i386 and source, along with dsc etc files) repository but have come up against another problem. I wanted to split main into main and free. The new main being only what packages are actually in a basic (Gnome, KDE, XFCE, LXDE etc) install and free being everything else. So for instance if my Gnome install doesn't have rhythmbox but has banshee banshee would be in main and rhythmbox would be in free. The issue I am now getting is one of "exporting".

I'll just keep working through it like I did the updating till I get it right but if anyone has some helpful insights they'd like to share I'd appreciate it.
 
  


Reply

Tags
repository, reprepro



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
dpkg-genchanges/reprepro for making ubuntu repository hamd Ubuntu 15 05-26-2011 08:26 AM
[SOLVED] Need help with setting up gcc and g++ in Source Mage - getting configure errors Dweeb2010 Linux - Software 4 02-21-2011 11:06 AM
can't boot linux knoppix from cd - setting paths errors mam1 Linux - Newbie 6 12-01-2006 05:14 AM
LXer: Setting up and managing an APT repository with reprepro LXer Syndicated Linux News 0 09-01-2006 11:33 AM
[DNS->Experts] Need help setting them up, reports show many errors Aziz Linux - Networking 5 10-06-2004 03:49 PM

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

All times are GMT -5. The time now is 07:28 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