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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-02-2011, 05:27 AM
|
#1
|
LQ Newbie
Registered: Apr 2011
Posts: 28
Rep:
|
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
|
|
|
05-02-2011, 05:46 AM
|
#2
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
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?
|
|
|
05-02-2011, 06:10 AM
|
#3
|
LQ Newbie
Registered: Apr 2011
Posts: 28
Original Poster
Rep:
|
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
|
|
|
05-02-2011, 06:26 AM
|
#4
|
LQ Newbie
Registered: Apr 2011
Posts: 28
Original Poster
Rep:
|
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
|
|
|
05-02-2011, 06:51 AM
|
#5
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
Quote:
Originally Posted by hamd
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
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.
|
|
|
05-02-2011, 08:16 AM
|
#6
|
LQ Newbie
Registered: Apr 2011
Posts: 28
Original Poster
Rep:
|
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
|
|
|
05-02-2011, 03:24 PM
|
#7
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
You didn't get anything because it no longer exists, that is why I went looking and found the other link.
|
|
|
05-03-2011, 04:12 AM
|
#8
|
LQ Newbie
Registered: Apr 2011
Posts: 28
Original Poster
Rep:
|
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
|
|
|
05-03-2011, 04:25 AM
|
#9
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
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.
|
|
|
05-03-2011, 05:05 AM
|
#10
|
LQ Newbie
Registered: Apr 2011
Posts: 28
Original Poster
Rep:
|
Ok thanks a lot, I will go through the link you provided me.
|
|
|
05-03-2011, 09:50 AM
|
#11
|
LQ Newbie
Registered: Apr 2011
Posts: 28
Original Poster
Rep:
|
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 09:54 AM.
|
|
|
05-03-2011, 08:58 PM
|
#12
|
Senior Member
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
|
Quote:
Originally Posted by hamd
|
Possibly the files are corrupted.
|
|
|
All times are GMT -5. The time now is 03:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|