Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jan 2019 16:37:49 +0100
From:      Matthias Oestreicher <matthias@smormegpa.no>
To:        freebsd-questions@freebsd.org
Subject:   Re: cannot install xsane and/or skanlite
Message-ID:  <cdb9eb4e921813904fad59c177f2eeb9eb5fcb2f.camel@smormegpa.no>
In-Reply-To: <CAJ5UdcOK9vG=mJe8EV6HQDC85t9784MBD%2Bs8eOz3FvuYJoDxAQ@mail.gmail.com>
References:  <CAJ5UdcOK9vG=mJe8EV6HQDC85t9784MBD%2Bs8eOz3FvuYJoDxAQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Montag, den 07.01.2019, 07:53 -0600 schrieb Antonio Olivares:
> Dear FreeBSD users,
> I cannot get xsane or scanlite to install on my machine.  Here's what
> I get:
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up to date.
> All repositories are up to date.
> Checking integrity... done (0 conflicting)
> The following 4 package(s) will be affected (of 0 checked):
> 
> New packages to be INSTALLED:
> xsane: 0.999_6
> emby-server: 3.5.3.0
> sane-backends: 1.0.27_4
> gimp-app: 2.10.8_1,1
> 
> Number of packages to be installed: 4
> 
> The process will require 167 MiB more space.
> 
> Proceed with this action? [y/N]: [1/4] Installing sane-backends-
> 1.0.27_4...
> ===> Creating groups.
> Using existing group 'saned'.
> ===> Creating users
> Creating user 'saned' with uid '194'.root@quadcore:~ # pkg install
> skanliteUpdating FreeBSD repository catalogue...FreeBSD repository is
> up to date.All repositories are up to date.Checking integrity... done
> (0 conflicting)The following 7 package(s) will be affected (of 0
> checked):
> New packages to be INSTALLED:        skanlite: 2.1.0.1_1        emby-
> server: 3.5.3.0        libksane: 18.12.0        sane-backends:
> 1.0.27_4        kf5-kio: 5.53.0        kf5-solid: 5.53.0        kf5-
> kbookmarks: 5.53.0
> Number of packages to be installed: 7
> The process will require 92 MiB more space.
> Proceed with this action? [y/N]:Proceed with this action? [y/N]:
> y[1/7] Installing sane-backends-1.0.27_4...===> Creating groups.Using
> existing group 'saned'.===> Creating usersCreating user 'saned' with
> uid '194'.pw: user 'saned' disappeared during updatepkg: PRE-INSTALL
> script failedroot@quadcore:~ #
> Any ideas on how to fix this?
> Best Regards,
> 
> Antonio

Hei Antonio,
Your password database is somehow out of sync. This happens rarely and
I have experienced it once myself.

There are two ways to fix it:

You can run the following command...
# pwd_mkdb -p /etc/master.passwd

or...
# vipw
no need to make any changes to /etc/master/passwd, just :wg to save and
leave the editor.

Now you should be able to  create the 'saned' group.

Regards
Matthias






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cdb9eb4e921813904fad59c177f2eeb9eb5fcb2f.camel>