How to use rsync and upgradepkg...
Hey, I just did a new install of slackware-current 1/3/05 (courtesy of 'ananke' from #slackware)
and I'm trying to figure out how to use rsync and then check and see about doing an upgradepkg * to stay up to date... I want to do this because it seems like the "correct" way from what everyone is saying... and that swaret and slapt-get are both notorious for borking systems to an unusable state... If someone could please post a HOWTO do this.. I think it would be of great use to myself and a number of other users.. thanks a lot.. |
I'm no expert (four whole months with Slackware, heh), but isn't it better to handle the updates manually so that you have a chance to read the comments in the changelog? It helps me to know my system a lot better. Also, I've realized that there's a lot of stuff that I really don't need now, but if I've read the changelog, I at least know it's there. And on Current, occasionally there's an update that comes with a caveat.
On the other hand, I'd still like to know more about the semi-automated rsync system, too, so I hope somebody responds with a good How-To. |
There is a rsync howto in this site :
http://www.linuxquestions.org/questi...ticle&artid=80 |
Quote:
|
if you go to alt.os.linux.slackware on groups.google.com and search there, iirc there are some scripts you can run in conjunction with rsync. i still prefer to read the changelogs, use wget and proceed according to Pat's notes.
|
Fully support posts about need to read changelog first.
I do have a script which I only use with stable (but can be used with current [unwisely] ). Basic steps are: Mirror (rsync) Slackware ; in new /ourpatches directory link patches you want autoinstalled; modified init scripts check that directory on the server using a copy of upgradepkg called patchpkg which just downloads the package (see below); changes to init 1, uses Pat's upgradepkg to install; then reboots that computer. Note: this is designed for desktops that are turned on and off rather than servers or people crazy about uptime. Here's the diff file which is 80% of the task just add a few more scripts and you don't need mine. Code:
--- /sbin/upgradepkg 2004-05-30 00:22:41.000000000 +0000 Code:
#!/bin/sh ppd |
All times are GMT -5. The time now is 12:06 AM. |