Looks like Tom sent this direct to me. I generally prefer people don't.
It's likely others here have the same questions, so I'm replying to the
list.

Had I realised what Tom did before I started, I'd have ignored it
(unless there's also a copy to the list).

On Wed, 18 Jun 2003, Tom Duerbusch wrote:

> Now I think I know what apt-get does.  It seems to be a Debian version
> of RPM (for Redhat and Suse), which, I think, YaST is a nice shell
> around RPM (for Suse users).

dpkg -s about equivalent to rpm. apt-get does quite a deal more, and
some folk have expended quite a bit of energy porting it to rpm-based
systems.

Here's up finding what updated packages are available for L/390:
skink:~# apt-get update
Hit http://ftp.wa.au.debian.org stable/main Packages
Hit http://ftp.wa.au.debian.org stable/main Release
Hit http://ftp.wa.au.debian.org stable/non-free Packages
Hit http://ftp.wa.au.debian.org stable/non-free Release
<snip>
Hit http://non-us.debian.org stable/non-US/non-free Release
Fetched 120kB in 9s (12.5kB/s)
Reading Package Lists... Done
Building Dependency Tree... Done
skink:~#

Now to update my packages:
skink:~# apt-get -qu  upgrade
Reading Package Lists...
Building Dependency Tree...
The following packages will be upgraded
  gzip nethack nethack-common nethack-x11
  4 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.
Need to get 1319kB of archives. After unpacking 4096B will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.debian.org stable/updates/main gzip
1.3.2-3woody1 [66.5kB]
Get:2 http://security.debian.org stable/updates/main nethack-common 3.4.0-3.0woody3 
[431kB]
 Get:3 http://security.debian.org stable/updates/main nethack-x11 3.4.0-3.0woody3 
[808kB]
  Get:4 http://security.debian.org stable/updates/main nethack 3.4.0-3.0woody3 [13.0kB]
 Fetched 1319kB in 57s (22.8kB/s)
 (Reading database ... 21217 files and directories currently installed.)
 Preparing to replace gzip 1.3.2-3 (using .../gzip_1.3.2-3woody1_s390.deb) ...
 Unpacking replacement gzip ...
 Setting up gzip (1.3.2-3woody1) ...

(Reading database ... 21217 files and directories currently installed.)
 Preparing to replace nethack-common 3.4.0-3.0woody1 (using 
.../nethack-common_3.4.0-3.0woody3_s390.deb) ...
Unpacking replacement nethack-common ...
Preparing to replace nethack-x11 3.4.0-3.0woody1 (using 
.../nethack-x11_3.4.0-3.0woody3_s390.deb) ...
Unpacking replacement nethack-x11 ...
Preparing to replace nethack 3.4.0-3.0woody1 (using 
.../nethack_3.4.0-3.0woody3_all.deb) ...
Unpacking replacement nethack ...
Setting up nethack-common (3.4.0-3.0woody3) ...

Setting up nethack-x11 (3.4.0-3.0woody3) ...

Setting up nethack (3.4.0-3.0woody3) ...

skink:~#

apt-get does more. Installing packages:
skink:~# apt-get -quy install cupsys
Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
  cupsys-pstoraster libcupsys2 libslp1 libtiff3g
The following NEW packages will be installed:
  cupsys cupsys-pstoraster libcupsys2 libslp1 libtiff3g
0 packages upgraded, 5 newly installed, 0 to remove and 0  not upgraded.
Need to get 4374kB of archives. After unpacking 9322kB will be used.
Get:1 http://ftp.wa.au.debian.org stable/main libtiff3g 3.5.5-6.0.1
[85.8kB]
Get:2 http://security.debian.org stable/updates/main libcupsys2 1.1.14-5
[115kB]
Get:3 http://ftp.wa.au.debian.org stable/main libslp1 1.0.8a-2 [40.6kB]
Get:4 http://security.debian.org stable/updates/main cupsys-pstoraster
1.1.14-5 [2337kB]


I'll leave it in peace, you get the idea. Note that it's getting the
latest security update where applicable.

dpkg -s most equivalent to rpm.



>
> So apt-get and RPM are command line versions with YaST being an
> interactive frontend.


Debian has dselect and tasksel as further wrappers, but I've hardly used
them.

>
> For those keeping track with the home version, I've been downloading
> for 28 hours and have obtained 3.97 MBs so far from the Suse Maintenace
> Web site.


Oh dear. I can pull updates from anywhere I like: I'm not tied to
security.debian.org.
>
> I now see the need for what I assume most shops are doing, of
> automatically downloading new Suse material every night.  Rather have
> the machine do the retrys, instead of me.

;-)
apt-get has '-d' to just download. Running that as a cron job is a
realistic option.

I've chosen to configure my network to use transparent (http) proxy, and
apt-get to use http for most sites. This means packages I install get
cached by my proxy, and it's reasonable to run apt-get -d on all my
systems nightly: the first to run caches packages, the rest pull from
the cache.

I don't have to mirror the security site (but I can if I choose)..

> Perhaps Suse should go back to sending out quarterly CDs if they don't
> want to beef up their electronic distribution system.


Quarterly isn't good enough. Slapper came by here maybe two weeks after
RH released the fix, a week after I applied it. It was a near miss.


>
> A few weeks ago, I started the query on how Penguin Farms (Penguins
> don't live on farms, they live off the ice shelf on the ocean.  Perhaps
> Penguin Farms should be Sea of Penguins?), anyway, how sites with
> multiple Linux systems, keeps their systems up to date and at the same
> maintenance levels.  Like download everything from Suse and your images
> are updated from your site.  It seems to me that YOU from the Suse site,
> is pretty much unreliable and a failure.

I don't and haven't uses SuSE, so can't comment on that And, I'm
inviting kaos here by littering my office with Macs (68xxx and power),
Sparcs, (virtual) S/390. If I can find an RS/6000 or an Alpha at "the
right price," it's welcome too.

I've been running RHL for years, and for that I run a cron job to
download all the latest fixes when I then applied
a. Automatically to all newly-built systems
b. When I got a round tuit.

I never used Red Hat's up2date because
a. I already had my mirroring in place before RH introduced it and RHN.
b. RHN uses only Red Hat servers, and those are outside my "free
download zone."
b1. Updated packages do (or did, before the mirror moved) get mirrored
inside my FDZ.
c. I like to know when my system gets updated.
d. up2date only downloads the packages the system it's running on needs.
It doesn't help with fresh installs which may need extra updates.

In contrast, I can configure apt-get to get updates from any repository
I like including my own office server. As you can see from the run I
quoted above, it automatically produces a fully-updated system.

btw, my S/390 has finished with cups:
Selecting previously deselected package cupsys.
Unpacking cupsys (from .../cupsys_1.1.14-5_s390.deb) ...
Setting up libtiff3g (3.5.5-6.0.1) ...

Setting up libcupsys2 (1.1.14-5) ...

Setting up libslp1 (1.0.8a-2) ...
NOTE: You must use a IP multicast enabled kernel for OpenSLP to
function efficiently.
NOTE: You don't seem to have a multicast route configured. You may need
to
add a multicast route by running the command:

route add -net 224.0.0.0 netmask 240.0.0.0 dev <interface>

You can add this command to your network init scripts to do this
automatically
at startup.

Setting up cupsys-pstoraster (1.1.14-5) ...

Setting up cupsys (1.1.14-5) ...
Adding group lpadmin (102)...
Done.
Adding user root to group lpadmin...
Done.
Starting CUPSys: cupsd.

skink:~#


--


Cheers
John.

Join the "Linux Support by Small Businesses" list at
http://mail.computerdatasafe.com.au/mailman/listinfo/lssb

Reply via email to