LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   local repository server (https://www.linuxquestions.org/questions/linux-newbie-8/local-repository-server-878283/)

hamd 05-02-2011 04:27 AM

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

k3lt01 05-02-2011 04:46 AM

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?

hamd 05-02-2011 05:10 AM

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

hamd 05-02-2011 05:26 AM

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

k3lt01 05-02-2011 05:51 AM

Quote:

Originally Posted by hamd (Post 4343703)
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 (Post 4343703)
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.

hamd 05-02-2011 07:16 AM

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

k3lt01 05-02-2011 02:24 PM

You didn't get anything because it no longer exists, that is why I went looking and found the other link.

hamd 05-03-2011 03:12 AM

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

k3lt01 05-03-2011 03:25 AM

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.

hamd 05-03-2011 04:05 AM

Ok thanks a lot, I will go through the link you provided me.

hamd 05-03-2011 08:50 AM

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

k3lt01 05-03-2011 07:58 PM

Quote:

Originally Posted by hamd (Post 4345075)
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.


All times are GMT -5. The time now is 03:22 PM.