Linux - NewbieThis 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.
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.
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?
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
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.
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
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
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
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.
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.
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
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
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.
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:
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
Quote:
Originally Posted by hamd
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.