config file installation/removal

Emmanuel Vadot manu at bidouilliste.com
Thu Feb 18 20:12:47 UTC 2021


On Thu, 18 Feb 2021 20:44:29 +0100
Gerrit Kuehn <gerrit.kuehn at aei.mpg.de> wrote:

> 
> On Thu, 18 Feb 2021 20:34:17 +0100
> Baptiste Daroussin <bapt at FreeBSD.org> wrote:
> 
> > Can you try with pkg 1.16.3 which has just been committed to the tree
> > ?
> 
> Still no joy:
> 
> ---
> root at crest:~ # pkg install rsync
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up to date.
> All repositories are up to date.
> Checking integrity... done (0 conflicting)
> The following 1 package(s) will be affected (of 0 checked):
> 
> New packages to be INSTALLED:
> 	rsync: 3.2.3
> 
> Number of packages to be installed: 1
> 
> Proceed with this action? [y/N]: y
> [1/1] Installing rsync-3.2.3...
> [1/1] Extracting rsync-3.2.3: 100%
> 
> root at crest:~ # ll /usr/local/etc/rsync/
> total 4
> -rw-r--r--  1 root  wheel  772 Feb  4 11:31 rsyncd.conf.sample
> 
> root at crest:~ # pkg --version
> 1.16.3
> ---
> 
> 
> cu
>   Gerrit

 I can't even reproduce with 1.16.2 :
manu at amy> ls -l /usr/local/etc/rsync/
ls: /usr/local/etc/rsync/: No such file or directory
manu at amy> sudo pkg install rsync
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        rsync: 3.2.3

Number of packages to be installed: 1

Proceed with this action? [y/N]: y
[1/1] Installing rsync-3.2.3...
[1/1] Extracting rsync-3.2.3: 100%
manu at amy> ls -l /usr/local/etc/rsync/
total 9
-rw-r--r--  1 root  wheel  772 Feb  9 11:11 rsyncd.conf
-rw-r--r--  1 root  wheel  772 Feb  9 11:11 rsyncd.conf.sample
manu at amy> sudo pkg delete rsync
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        rsync: 3.2.3

Number of packages to be removed: 1

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling rsync-3.2.3...
[1/1] Deleting files for rsync-3.2.3: 100%
manu at amy> ls -l /usr/local/etc/rsync/
ls: /usr/local/etc/rsync/: No such file or directory
manu at amy> pkg -v
1.16.2

 Do you have any modification to your system ?

-- 
Emmanuel Vadot <manu at bidouilliste.com>


More information about the freebsd-pkg mailing list