LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


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

Rep: Reputation: 0
local repository server


Hi everyone,
I have been working in linux since last 2 months, I have got a local repository server(which I will name it as AX server) in Debian having the folders:
Pool: contrib,freedit,libs,main,non-free etc
dists: contrib,freedit,main,non-free

all client machines which have ubuntu takes it repository from AX server. before the client machines has had ubuntu 8.x version. Now
I upgraded it with compiling a kernel to 10.4 ubuntu.

Now I get error when I do apt-get update, because, the repository server(AX Server) has got all aforementioned folder for ubuntu 8.x.

How can I update my repository server for ubuntu 10.4?


Thanks
 
Old 05-02-2011, 04:46 AM   #2
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
Hi Hamd.

I'm sorry but your explanation of your setup is a little confusing so I may go off track because I don;t quite understand your repository server setup.

There are a couple of ways of doing this. I have personally used this method with some modifications and like it alot.

You can also use apt-mirror if you wish and it setups up the folders for you. All you need to do then is point your client machines to the server in their sources.list (e.g. deb http://[servername]/debian.org squeeze main etc etc etc.) It is highly advisable to read the appropriate man pages for any application because they have all the info you need to set it up.

There is also mirrordir (sorry can't find a link at the moment) and a host of other applications that you can find in synaptic by typing apt into the search function.

Why is your directory structured the way it is?
 
Old 05-02-2011, 05:10 AM   #3
hamd
LQ Newbie
 
Registered: Apr 2011
Posts: 28

Original Poster
Rep: Reputation: 0
Thanks for replay, I dont know why the directory structure is complex like this. Because, this all system has been developed by some
other people. On other hand, I am brand new in the world of Linux. Thanks once again, and I will let you know of the outcome
 
Old 05-02-2011, 05:26 AM   #4
hamd
LQ Newbie
 
Registered: Apr 2011
Posts: 28

Original Poster
Rep: Reputation: 0
would you please tell me what are the meanings of these folders and url?
1. contrib,freedit,non-free and main?
2. deb tamtam.pischiello.echosolution.it/echolinux_new/tamtam main non-free freedit? in source.list file I have only this

I wonder if you tell me each part of url briefly.

I read some documents but I could not understand it

Thanks in advance
 
Old 05-02-2011, 05:51 AM   #5
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
Quote:
Originally Posted by hamd View Post
1. contrib,freedit,non-free and main?
Main is the main section of Debians repository. Non-free is a section of Debians repository that has software in it that has problems associated with licensing (meaning it isn't free to change). Contrib is software in Debians repository that while it is free is linked somehow to non-free software. I have no idea what the freedit section is I have never seen it in Debians system but the line below may give some clues.

Quote:
Originally Posted by hamd View Post
2. deb tamtam.pischiello.echosolution.it/echolinux_new/tamtam main non-free freedit? in source.list file I have only this
echosolutions.it is a website from Italy. It appears that at one stage they hosted a repository. I don;t know what tamtam or pischiello is but it may simple be someone's personal area on the echosolution site. It seems as though they have added freedit as a section. Doing a google search found this IP address http://80.21.49.132/ which is echolinux's new home by the looks of it.

Hope that helps.
 
Old 05-02-2011, 07:16 AM   #6
hamd
LQ Newbie
 
Registered: Apr 2011
Posts: 28

Original Poster
Rep: Reputation: 0
Thanks a lot for your kind support till this point.
In my repository server,I created a folder and put all the folders inside(contrib,freedit,non-free and main from new ubuntu 10.4 alternate cd). then I generated the Package.gz and Sources.gz of the mail and put it inside dists folder. and in client machine I did apt-get update it was ok, but when I did apt-get dist upgrade, I got this error:
Impossible to get http://tamtam.pischiello.xxxxx ... Hash Sum mismach, then I searched internet however, I did not find anything specific.

Thanks
 
Old 05-02-2011, 02:24 PM   #7
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
You didn't get anything because it no longer exists, that is why I went looking and found the other link.
 
Old 05-03-2011, 03:12 AM   #8
hamd
LQ Newbie
 
Registered: Apr 2011
Posts: 28

Original Poster
Rep: Reputation: 0
Smile

I dont know may be I did not explain better, I update my repository not creating repository. because,in my repository, I have
some uncommon packages that I could not find in ubuntu archive. I am really confused, would you please give me a simple solution for it
thanks a lot
 
Old 05-03-2011, 03:25 AM   #9
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
Simple explanation is you cannot update your repository using that address because the repository no longer exists there. Use the link I posted and update your repository from that address instead.
 
Old 05-03-2011, 04:05 AM   #10
hamd
LQ Newbie
 
Registered: Apr 2011
Posts: 28

Original Poster
Rep: Reputation: 0
Ok thanks a lot, I will go through the link you provided me.
 
Old 05-03-2011, 08:50 AM   #11
hamd
LQ Newbie
 
Registered: Apr 2011
Posts: 28

Original Poster
Rep: Reputation: 0
Thanks a lot till this point I did apt-get mirror option, however, now I get error when I do apt-get ugrade it do upgrade but at the end it generates this error:

Impossible to get http://tamtam.pischiello.echosolutio...ntu3_amd64.deb Hash Sum Mismatch
Impossible to get http://tamtam.pischiello.echosolutio...ntu1_amd64.deb Hash Sum Mismatch


although the relative files are exist int the relative path

Any idea

Last edited by hamd; 05-03-2011 at 08:54 AM.
 
Old 05-03-2011, 07:58 PM   #12
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
Quote:
Originally Posted by hamd View Post
Thanks a lot till this point I did apt-get mirror option, however, now I get error when I do apt-get ugrade it do upgrade but at the end it generates this error:

Impossible to get http://tamtam.pischiello.echosolutio...ntu3_amd64.deb Hash Sum Mismatch
Impossible to get http://tamtam.pischiello.echosolutio...ntu1_amd64.deb Hash Sum Mismatch


although the relative files are exist int the relative path

Any idea
Possibly the files are corrupted.
 
  


Reply



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
yum local repository rames2075 Linux - Enterprise 2 10-25-2008 08:16 AM
using up2date with local repository bajones Linux - Newbie 1 09-16-2008 03:23 PM
local repository abd_bela Solaris / OpenSolaris 1 01-12-2008 05:23 PM
how can i add a local Folder on local Hard Disk as Yum Repository ?? vahid_p Fedora 4 02-22-2007 10:43 AM
Up2date and local repository Deviathan Red Hat 5 12-14-2006 08:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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