You are not logged in.

#1 2014-10-12 04:37:59

aurabindo
Member
From: Toronto
Registered: 2012-05-26
Posts: 41
Website

Squid: error while installing

Hello all,

I tried installing squid and during installation it says error, but the files seems to be installed properly. The /etc/squid folder was created.

(1/1) checking keys in keyring                                                                                     [####################################################################] 100%
(1/1) checking package integrity                                                                                   [####################################################################] 100%
(1/1) loading package files                                                                                        [####################################################################] 100%
(1/1) checking for file conflicts                                                                                  [####################################################################] 100%
(1/1) checking available disk space                                                                                [####################################################################] 100%
(1/1) installing squid                                                                                             [####################################################################] 100%
error: command failed to execute correctly

Why would that fail? Can I safely discard it ?

Offline

#2 2014-10-12 04:42:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Squid: error while installing

Please don't post selective parts of the log: paste the whole thing...


Moving to NC.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-10-12 12:45:52

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,367

Re: Squid: error while installing

Try pacman -Qk squid to see if everything installed intact.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#4 2014-10-12 12:47:28

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,551
Website

Re: Squid: error while installing

I can confirm the issue.  For the record:

$ sudo pacman -S squid
[sudo] password for jmcclure: 
resolving dependencies...
looking for inter-conflicts...

Packages (1):

Name             New Version  Net Change  Download Size

community/squid  3.4.8-1      8.25 MiB         2.07 MiB

Total Download Size:    2.07 MiB
Total Installed Size:   8.25 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages ...
 squid-3.4.8-1-x86_64                                                    2.1 MiB  1276K/s 00:02 [--------------------------------------------------------] 100%
(1/1) checking keys in keyring                                                                  [--------------------------------------------------------] 100%
(1/1) checking package integrity                                                                [--------------------------------------------------------] 100%
(1/1) loading package files                                                                     [--------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                               [--------------------------------------------------------] 100%
(1/1) checking available disk space                                                             [--------------------------------------------------------] 100%
(1/1) installing squid                                                                          [--------------------------------------------------------] 100%
error: command failed to execute correctly

And squid.install from the ABS:

post_install() {
  systemd-sysusers squid.conf
  systemd-tmpfiles --create squid.conf
}

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2014-10-12 12:53:35

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,367

Re: Squid: error while installing

I updated squid to 3.4.8-1 about a week ago, and I don't remember seeing it (probably not payng that close attention).  Nothing shows error in pacman.log.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#6 2014-10-13 07:15:50

aurabindo
Member
From: Toronto
Registered: 2012-05-26
Posts: 41
Website

Re: Squid: error while installing

jasonwryan wrote:

Please don't post selective parts of the log: paste the whole thing...


Moving to NC.

Sure, thanks for the tip.

Possibly this is an after-effect of that failure :

I tried

~ » sudo systemctl status systemd-tmpfiles-setup
● systemd-tmpfiles-setup.service - Create Volatile Files and Directories
   Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static)
   Active: failed (Result: exit-code) since Mon 2014-10-13 12:33:35 IST; 1min 38s ago
     Docs: man:tmpfiles.d(5)
           man:systemd-tmpfiles(8)
  Process: 413 ExecStart=/usr/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev (code=exited, status=1/FAILURE)
 Main PID: 413 (code=exited, status=1/FAILURE)

Oct 13 12:33:35 aura-envy systemd[1]: Starting Create Volatile Files and Directories...
Oct 13 12:33:35 aura-envy systemd-tmpfiles[413]: [/usr/lib/tmpfiles.d/squid.conf:1] Unknown user 'proxy'.
Oct 13 12:33:35 aura-envy systemd[1]: systemd-tmpfiles-setup.service: main process exited, code=exited, status=1/FAILURE
Oct 13 12:33:35 aura-envy systemd[1]: Failed to start Create Volatile Files and Directories.
Oct 13 12:33:35 aura-envy systemd[1]: Unit systemd-tmpfiles-setup.service entered failed state.

That script is supposed to setup a user?. Is that all ?

Offline

#7 2014-10-13 07:18:12

aurabindo
Member
From: Toronto
Registered: 2012-05-26
Posts: 41
Website

Re: Squid: error while installing

nomorewindows wrote:

Try pacman -Qk squid to see if everything installed intact.

That seems fine

~ » sudo pacman -Qk squid
squid: 2203 total files, 0 missing files

Offline

#8 2014-10-13 07:58:39

cargoan
Member
Registered: 2013-07-13
Posts: 20

Re: Squid: error while installing

squid needs proxy group and user.

Last edited by cargoan (2014-10-13 08:13:06)

Offline

#9 2014-10-13 11:48:57

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,551
Website

Re: Squid: error while installing

nomorewindows wrote:

I updated squid to 3.4.8-1 about a week ago

That install file only specifies a post-install, not a post-upgrade.  Many install files have the same behavior for post-install and upgrade, but in this case, I think those commands would only run after the first time it was installed on a system (or after a full removal and reinstall).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#10 2014-10-15 10:13:04

aurabindo
Member
From: Toronto
Registered: 2012-05-26
Posts: 41
Website

Re: Squid: error while installing

cargoan wrote:

squid needs proxy group and user.


Do I need to chown any files for that user or something like that?

Offline

#11 2014-10-15 13:12:19

foutrelis
Developer
From: Athens, Greece
Registered: 2008-07-28
Posts: 705
Website

Re: Squid: error while installing

This is a packaging bug: FS#42318.

Edit: Upgrading to squid 3.4.8-2 should create the missing user and work fine in general.

Last edited by foutrelis (2014-10-15 15:08:47)

Offline

Board footer

Powered by FluxBB