Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

installing rsync

36 views
Skip to first unread message

William A. Mahaffey III

unread,
Jul 24, 2015, 9:54:02 AM7/24/15
to


I just tried to install rsync using pkgin & I got the following:


4256EE1 # pkgin install rsync
calculating dependencies... done.

nothing to upgrade.
1 packages to be installed: rsync-3.1.1 (294K to download, 655K to install)

proceed ? [Y/n]
downloading packages...
rsync-3.1.1 is not available on the repository
proceed ? [y/N] y
installing packages...
pkg_install warnings: 0, errors: 0
4256EE1 #


Nothing in my messages file, /var/db/pkgin/cache had a rsync.tgz dated
today when I ran the command, but it was zero sized. Did I just catch
the std. repo at a bad time ? Are there other sanctioned repos ? TIA &
have a good one.


--

William A. Mahaffey III

----------------------------------------------------------------------

"The M1 Garand is without doubt the finest implement of war
ever devised by man."
-- Gen. George S. Patton Jr.


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de

David Lord

unread,
Jul 24, 2015, 10:31:58 AM7/24/15
to
On 24 Jul 2015 at 8:59, William A. Mahaffey III wrote:

>
>
> I just tried to install rsync using pkgin & I got the following:
>
>
> 4256EE1 # pkgin install rsync
> calculating dependencies... done.
>
> nothing to upgrade.
> 1 packages to be installed: rsync-3.1.1 (294K to download, 655K to install)
>
> proceed ? [Y/n]
> downloading packages...
> rsync-3.1.1 is not available on the repository
> proceed ? [y/N] y
> installing packages...
> pkg_install warnings: 0, errors: 0
> 4256EE1 #
>
>
> Nothing in my messages file, /var/db/pkgin/cache had a rsync.tgz dated
> today when I ran the command, but it was zero sized. Did I just catch
> the std. repo at a bad time ? Are there other sanctioned repos ? TIA &
> have a good one.

Hi

I'm building from 2015Q2 source on i386. Distfiles has
rsync-3.1.1.tar.gz whilst packages has rsync-3.1.1nb1.tgz.
Maybe you just need to wait and try again in a day or two.


David

J. Lewis Muir

unread,
Jul 24, 2015, 10:33:30 AM7/24/15
to
On 7/24/15 8:52 AM, William A. Mahaffey III wrote:
> I just tried to install rsync using pkgin & I got the following:
>
> 4256EE1 # pkgin install rsync
> calculating dependencies... done.
>
> nothing to upgrade.
> 1 packages to be installed: rsync-3.1.1 (294K to download, 655K to install)
>
> proceed ? [Y/n]
> downloading packages...
> rsync-3.1.1 is not available on the repository
> proceed ? [y/N] y
> installing packages...
> pkg_install warnings: 0, errors: 0
> 4256EE1 #

Hi, William.

What do you have in repositories.conf?

Lewis

William A. Mahaffey III

unread,
Jul 24, 2015, 10:38:10 AM7/24/15
to
On 07/24/15 09:36, David Lord wrote:
> On 24 Jul 2015 at 8:59, William A. Mahaffey III wrote:
>
>>
>> I just tried to install rsync using pkgin & I got the following:
>>
>>
>> 4256EE1 # pkgin install rsync
>> calculating dependencies... done.
>>
>> nothing to upgrade.
>> 1 packages to be installed: rsync-3.1.1 (294K to download, 655K to install)
>>
>> proceed ? [Y/n]
>> downloading packages...
>> rsync-3.1.1 is not available on the repository
>> proceed ? [y/N] y
>> installing packages...
>> pkg_install warnings: 0, errors: 0
>> 4256EE1 #
>>
>>
>> Nothing in my messages file, /var/db/pkgin/cache had a rsync.tgz dated
>> today when I ran the command, but it was zero sized. Did I just catch
>> the std. repo at a bad time ? Are there other sanctioned repos ? TIA &
>> have a good one.
>
> Hi
>
> I'm building from 2015Q2 source on i386. Distfiles has
> rsync-3.1.1.tar.gz whilst packages has rsync-3.1.1nb1.tgz.
> Maybe you just need to wait and try again in a day or two.
>
>
> David


That's kinda what I figured, might have caught the repo
updating/recompiling. Thanks.

William A. Mahaffey III

unread,
Jul 24, 2015, 10:42:50 AM7/24/15
to
On 07/24/15 09:39, J. Lewis Muir wrote:
> On 7/24/15 8:52 AM, William A. Mahaffey III wrote:
>> I just tried to install rsync using pkgin & I got the following:
>>
>> 4256EE1 # pkgin install rsync
>> calculating dependencies... done.
>>
>> nothing to upgrade.
>> 1 packages to be installed: rsync-3.1.1 (294K to download, 655K to install)
>>
>> proceed ? [Y/n]
>> downloading packages...
>> rsync-3.1.1 is not available on the repository
>> proceed ? [y/N] y
>> installing packages...
>> pkg_install warnings: 0, errors: 0
>> 4256EE1 #
> Hi, William.
>
> What do you have in repositories.conf?
>
> Lewis
>

4256EE1 # find / -xdev -name \*epositor\* -print
/var/db/pkg.refcount/files/usr/pkg/etc/pkgin/repositories.conf
4256EE1 # file
/var/db/pkg.refcount/files/usr/pkg/etc/pkgin/repositories.conf
/var/db/pkg.refcount/files/usr/pkg/etc/pkgin/repositories.conf: directory
4256EE1 # lf /var/db/pkg.refcount/files/usr/pkg/etc/pkgin/repositories.conf
+PERMISSIONS pkgin-0.6.4nb8
4256EE1 # lltr !$
ls: !$: No such file or directory
4256EE1 # lltr
/var/db/pkg.refcount/files/usr/pkg/etc/pkgin/repositories.conf
total 8
816227 2 drwxr-xr-x 3 root wheel 512 Jul 17 07:10 ../
816229 2 -rw-r--r-- 1 root wheel 27 Jul 17 07:10 pkgin-0.6.4nb8
816228 2 drwxr-xr-x 2 root wheel 512 Jul 17 07:10 ./
816230 2 -rw-r--r-- 1 root wheel 7 Jul 17 07:10 +PERMISSIONS
4256EE1 #

William A. Mahaffey III

unread,
Jul 24, 2015, 11:10:43 AM7/24/15
to
On 07/24/15 10:08, J. Lewis Muir wrote:
> On 7/24/15 9:41 AM, William A. Mahaffey III wrote:
>> 4256EE1 # find / -xdev -name \*epositor\* -print
>> /var/db/pkg.refcount/files/usr/pkg/etc/pkgin/repositories.conf
>> 4256EE1 # file
>> /var/db/pkg.refcount/files/usr/pkg/etc/pkgin/repositories.conf
>> /var/db/pkg.refcount/files/usr/pkg/etc/pkgin/repositories.conf: directory
>> 4256EE1 # lf /var/db/pkg.refcount/files/usr/pkg/etc/pkgin/repositories.conf
>> +PERMISSIONS pkgin-0.6.4nb8
>> 4256EE1 # lltr !$
>> ls: !$: No such file or directory
>> 4256EE1 # lltr
>> /var/db/pkg.refcount/files/usr/pkg/etc/pkgin/repositories.conf
>> total 8
>> 816227 2 drwxr-xr-x 3 root wheel 512 Jul 17 07:10 ../
>> 816229 2 -rw-r--r-- 1 root wheel 27 Jul 17 07:10 pkgin-0.6.4nb8
>> 816228 2 drwxr-xr-x 2 root wheel 512 Jul 17 07:10 ./
>> 816230 2 -rw-r--r-- 1 root wheel 7 Jul 17 07:10 +PERMISSIONS
>> 4256EE1 #
> ?? That's not what I'm after. It should be in
> ${PREFIX}/etc/pkgin/repositories.conf (or overridden by the PKG_REPOS
> environment variable). You don't have that file?
>
> What bootstrap did you use to get pkgin?
>
> Lewis
>

Don't have the file in /etc, don't even have a /etc/pkgin directory :-/.
I *think* I did a 'pkg_add pkgin' a week or 2 ago, but unfortunately I
don't recall precisely. A bit more info I should have included in the OP:

4256EE1 # printenv
ENV=/root/.shrc
BLOCKSIZE=1k
PWD=/etc
HOME=/root
LC_ALL=C
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
HOST=4256EE1.CFD.COM
TERM=xterm
OLDPWD=/root
USER=root
TZ=MCST5:53:45MCDT,M3.2.0,M11.1.0
PKG_PATH=ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/6.1/All;ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/6.0/All;ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/5.1/All;ftp://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/amd64/5.0/All
LOGNAME=root
SU_FROM=wam
SHELL=/bin/sh
HISTSIZE=100
4256EE1 # uname -a
NetBSD 4256EE1.CFD.COM 6.1.5 NetBSD 6.1.5 (GENERIC) amd64
4256EE1 #

All *very* std. I hope, I am trying to stay as canonical as possible.
Thanks & TIA for any more info.

William A. Mahaffey III

unread,
Jul 24, 2015, 11:27:48 AM7/24/15
to
On 07/24/15 10:27, J. Lewis Muir wrote:
> On 7/24/15 10:09 AM, William A. Mahaffey III wrote:
>> Don't have the file in /etc, don't even have a /etc/pkgin directory
>> :-/. I *think* I did a 'pkg_add pkgin' a week or 2 ago, but
>> unfortunately I don't recall precisely. A bit more info I should have
>> included in the OP:
> Hmm, I don't know how this works, then. Maybe it has a built-in
> repository path or something?
>
> Anyway, can you do a "pkgin update" and then the install?
>
> # pkgin update
> # pkgin install rsync
>
> The "pkgin update" should synchronize the pkgin database with the
> package repo (whichever one you're using). You have to run the update
> command regularly to keep them in sync.
>
> Lewis


*Aaaaaaaahhhhh* !!!! That did it, thanks. I thought pkgin might sorta do
the update automagically whenever it was invoked, but no matter, simple
to do. *Booooyah* !!!!


4256EE1 # pkgin update
pkg_summary.bz2 100% 2353KB 784.4KB/s 749.6KB/s 00:03
processing remote summary
(ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/6.0/All)...
updating database: 100%
4256EE1 # pkgin install rsync
calculating dependencies... done.

nothing to upgrade.
1 packages to be installed: rsync-3.1.1nb1 (293K to download, 655K to
install)

proceed ? [Y/n]
downloading packages...
rsync-3.1.1nb1.tgz 100% 293KB 292.7KB/s 292.7KB/s 00:01
installing packages...
installing rsync-3.1.1nb1...
===========================================================================
The following files should be created for rsync-3.1.1nb1:

/etc/rc.d/rsyncd (m=0755)
[/usr/pkg/share/examples/rc.d/rsyncd]

===========================================================================
pkg_install warnings: 1, errors: 0
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log
reading local summary...
processing local summary...
updating database: 100%
marking rsync-3.1.1nb1 as non auto-removable
4256EE1 #

J. Lewis Muir

unread,
Jul 24, 2015, 11:40:23 AM7/24/15
to
On 7/24/15 10:09 AM, William A. Mahaffey III wrote:
> Don't have the file in /etc, don't even have a /etc/pkgin directory
> :-/. I *think* I did a 'pkg_add pkgin' a week or 2 ago, but
> unfortunately I don't recall precisely. A bit more info I should have
> included in the OP:

Hmm, I don't know how this works, then. Maybe it has a built-in
repository path or something?

Anyway, can you do a "pkgin update" and then the install?

# pkgin update
# pkgin install rsync

The "pkgin update" should synchronize the pkgin database with the
package repo (whichever one you're using). You have to run the update
command regularly to keep them in sync.

Lewis

J. Lewis Muir

unread,
Jul 24, 2015, 11:40:43 AM7/24/15
to
On 7/24/15 9:41 AM, William A. Mahaffey III wrote:
> 4256EE1 # find / -xdev -name \*epositor\* -print
> /var/db/pkg.refcount/files/usr/pkg/etc/pkgin/repositories.conf
> 4256EE1 # file
> /var/db/pkg.refcount/files/usr/pkg/etc/pkgin/repositories.conf
> /var/db/pkg.refcount/files/usr/pkg/etc/pkgin/repositories.conf: directory
> 4256EE1 # lf /var/db/pkg.refcount/files/usr/pkg/etc/pkgin/repositories.conf
> +PERMISSIONS pkgin-0.6.4nb8
> 4256EE1 # lltr !$
> ls: !$: No such file or directory
> 4256EE1 # lltr
> /var/db/pkg.refcount/files/usr/pkg/etc/pkgin/repositories.conf
> total 8
> 816227 2 drwxr-xr-x 3 root wheel 512 Jul 17 07:10 ../
> 816229 2 -rw-r--r-- 1 root wheel 27 Jul 17 07:10 pkgin-0.6.4nb8
> 816228 2 drwxr-xr-x 2 root wheel 512 Jul 17 07:10 ./
> 816230 2 -rw-r--r-- 1 root wheel 7 Jul 17 07:10 +PERMISSIONS
> 4256EE1 #

?? That's not what I'm after. It should be in
${PREFIX}/etc/pkgin/repositories.conf (or overridden by the PKG_REPOS
environment variable). You don't have that file?

What bootstrap did you use to get pkgin?

Lewis

J. Lewis Muir

unread,
Jul 24, 2015, 12:05:19 PM7/24/15
to
On 7/24/15 9:37 AM, William A. Mahaffey III wrote:
> That's kinda what I figured, might have caught the repo
> updating/recompiling. Thanks.

If that's true, then I'd say the repo updating needs some work. I would
think it should add new packages and then create a pkg_summary.bz2.new
(or whatever) and atomically move it to the pkg_summary.bz2 file. It
should keep old packages for, say, a day, before deleting them to ensure
that a large active pkgin install, upgrade, etc., does not fail because
a package it expects has disappeared from the repo.

Lewis

J. Lewis Muir

unread,
Jul 24, 2015, 12:20:19 PM7/24/15
to
On 7/24/15 9:29 AM, David Lord wrote:
> I'm building from 2015Q2 source on i386. Distfiles has
> rsync-3.1.1.tar.gz whilst packages has rsync-3.1.1nb1.tgz. Maybe you
> just need to wait and try again in a day or two.

I wouldn't think so because pkgin gets its repository information from
the repository's pkg_summary archive, so I would expect that to be in
sync with whatever is actually in the repository.

However, if William has more than one repository configured in
repositories.conf, then I don't know what the behavior is.

William, you could also try a "pkgin update" to ensure you have the
latest information on available packages.

Regards,

Lewis
0 new messages