YOU: How to add aditional packages?

First of all, thanks for reading this thread.

So, my problem is as follow: Found many tutorials for YOU servers, teaching how to make it function like a mirror with files from sources-sites. BUT! I have to add other packages in my server, then the terminals [erh… quite A LOT of terminals] can download from it.

These packages are not listed at sourcelist, they will be completely optional ones.

So… how can I do it?

Thanks for the attention [and excuse me for the poor english].

What version of SUSE is this?

Linux 2.6.31.5-0.1-default i686
openSUSE 11.2 (i586)

I’m not sure I fully understand your question but…

Zypper/Usage/11.2 - openSUSE

Natsuiro wrote:
> Linux 2.6.31.5-0.1-default i686
> openSUSE 11.2 (i586)

i’m not at all sure i understand what you want to do…

do you mean you want to set up a server to hold packages which other
computer users can access with the YaST Online Update (YOU) Server on
their openSUSE machine?

to do that i think you just need to run Apache and populate it with
the packages you wish to distribute…and make the address of
directories available to those you wish to distro to…


palladium

Hmmm… let me try to ask the question again. [The language barrier is kinda mean]

Reading some tutorials, I learned how to create mirrors like this:

[openSuse]----->[Local Mirror Server]----->[Local Terminals]

This solves half my problem. I download the updates to a local server, my terminals download from it. Ok. Now, the another half is that I need to add packages/repositories/another programs to this server, so the terminals can download them too from it.

i.e., adding a Winamp.rpm to this Local Server, so the Terminals can download it through YaST/zypper.

I HAVE to do it through this ‘update’ way, because of its automatic nature. This project I am working with is meant for more then ten thousand terminals [yup, I said it was a lot], so using another ways are inviable [like, y’know, the manual copy, paste and install way].

I tried to use feu4s, but my supervisor didn’t like the idea of using something out of the openSuse distribution.

Thanks again for the attention/patience.

The edit function expired, so sorry, I had to do a double-post.

@Palladium
Yeah, something like that! But as I said above, it’s not something that users access then download from it. It HAVE to be something more… automatic, without user interference.

Natsuiro wrote:
> Yeah, something like that! But as I said above, it’s not something that
> users access then download from it. It HAVE to be something more…
> automatic, without user interference.

i am NOT a guru on this, but i think it is as simple as using rsync
to replicate and populate the distant/upstream server’s directory
layout and packages on your local server…

and then give those 10k terminals access to the local copies…

the latter step is as easy as adding the local server as an enabled
repository on the terminal’s YaST, and run the automatic YaST Online
Updaters daily via cron…

you might find it easier in another language, see the list of
“Language Specific Forums” here http://forums.opensuse.org/

additionally, you might find an openSUSE pro in a Linux User Group
near you, see http://www.linux.org/groups/


palladium

Thank you again for the attention. I’ll try this and then post the result.

YOU will only install official patches and not package updates from various unsupported or 3rd party repositories.

After all my work to make this system of mine works, this single line kick my a**. {:
Laughs

I was wondering about why openoffice and adobe reader rpms didn’t show at YaST Online Updater, even after triple-checking all rsync/nfs I did.

Now some people pointed a new way for me: ZMD [now obsolete] and Libzypp, and that those can MAYBE make this work.

So, anyone have any suggestions? Anything will help, srsly.

Thanks for the attention.

I use Yast - Software Management -
Then Filter the view by repositories, select Update channel
open office and adobe show in mine.

Please post result of this

zypper lr -d

caf4926 wrote:
> Code:
> --------------------
> zypper lr -d
> --------------------

careful Carl, (check the full thread) he wants to set up a local repo
server to feed 10,000 users…well, not even that…he actually wants
no user involvement in keeping all those 10,000 updated…he wants to
PUSH updates (and i guess upgrades) from his server to the masses (i
envision the OP as an administrator of a network of net-cafes with
locked-down machines he is calling “terminals”)

i had thought he could get YOU to do the work at the ‘terminals’, but
i guess not–there MUST be a way to push, but i have no idea how…

do you?


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
NNTP w/TBird 2.0.0.23 | HTTP w/FFox 3.0.14-0.1 | KDE 3.5.7 | openSUSE
10.3 2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

DD
Darn, it a job keepin’ track of these threads. Maybe Heidi could answer this ?

caf4926 wrote:
> Darn, it a job keepin’ track of these threads. Maybe Heidi could answer
> this ?

only way i know to get her attention is to say something good about
nntp or bad about KDE4! :slight_smile:


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

Wow, thanks for the answers {:

So, let me report my advance… or better, my actual status, 'cuz I think it’s getting very confusing reading all the topic. And sorry for the ‘terminal’ thing, it’s kinda a language slang, I think. I’ll use ‘clients’ for those pcs now.

Btw, I had it working way easier than before thought ._.

I have 3 pcs: 1 server, 2 clients. *

Server is running nfs server, clients are running nfs client.

nfs is working fine. All the files in the ‘shared’ folder at server are showing up on the 2 clients.
This was the only way I could make zypper to add the local repository, with a

zypper ar /folder/ local

command.

Therefore, the other repositories were deleted on clients, so they can only connect to my local server.

So, I succeeded? Almost!

I added 3 rpms to my folder, to feed zypper. Those are: openOffice, Adobe Reader and nfs-kernel-server. [For test purposes].

Result: Clients can only ‘see’ nfs-kernel-server, even after cache clean and refresh.

Why?

I read some articles about zypper and thought that he could install those ‘non-official’ packages for SuSE, so why can’t it install/see the other packages [openOffice and Adobe Reader]?

Even if this need to use command lines for zypper, that is nothing that a cron can manage, right?

…right? :frowning:

And a curiosity: why this only works after a firewall stop on both server and client?
Even after opening 2049 ports, it dont let nfs work without the stop.

I am really thankful for the attention you people are giving to me.*

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wait, do you want to make a local repository?


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkvEuC8ACgkQJQ+0ABWtaVlxxQCg0JX+sTUMWoSX2/lpKdahxOH/
fCIAn0xw8xQdi/ZdZWHGuAL2hjrtRqxD
=hzbs
-----END PGP SIGNATURE-----

One which can make available non-official packages.

Let me try to explain how this will work:

There is the main server, with the official repositories [for install purposes] and non-official [like pdf reader, third parties softwares and our ‘company’ own software].

About other 30 ‘second-level’ servers scattered around the country will connect to this main server, copying it’s packages.

Another quantity of ‘third-level’ servers will connect to them [depends on the region, we can count max 400 for each, I think]. Packages are again copied.

Then, finally, the clients will connect to the ‘third-level’ servers, which really varies in quantity. [The one which I work have about 200 clients, but there is those with less and with more].

The ‘third-level’ servers will be the local ones, which I am testing now with the local repository thing.

For the others [Main Server to SecondLevel Server, and SecondLevel server to ThirdLevel server], I am studying rsync for the purpose. Any better idea?

But oh well, I am kinda more focused on making this local-repository-with-non-official-and-third-parties-packages to work.

Breathes heavily

Hi
When the repository ‘local’ was added, did you specify as a ‘plain rpm’
one? I have quite a few non-oss and oss ones in a local repository
without issues.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 2:25, 2 users, load average: 1.22, 0.48, 0.51
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> For the others [Main Server to SecondLevel Server, and SecondLevel
> server to ThirdLevel server], I am studying rsync for the purpose. Any
> better idea?

I would use rsync too

> But oh well, I am kinda more focused on making this
> local-repository-with-non-official-and-third-parties-packages to work.

first make the directory public to the clients, copy all rpm files to it
(you can use subdirectories too) and then use createrepo (for example:
createrepo -v /localrepo)
Supose you make it available at ftp://myserver.com/localrepo, so you
have to add it to each client (zypper ar ftp://myserver.com/localrepo alias)


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkvEw/wACgkQJQ+0ABWtaVle0ACgpe7BJRD9qUMyhYm7xSU6qI3A
OrkAmwTz7FyWScw61T0YBwip7h2GvT0y
=3uFH
-----END PGP SIGNATURE-----

Hi
Shouldn’t have to worry about that these days, works fine with a plain
rpm directory.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 2:36, 2 users, load average: 0.80, 0.44, 0.44
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15