You are not logged in.
Pages: 1
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
Please don't post selective parts of the log: paste the whole thing...
Moving to NC.
Offline
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
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
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
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
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
squid needs proxy group and user.
Last edited by cargoan (2014-10-13 08:13:06)
Offline
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
squid needs proxy group and user.
Do I need to chown any files for that user or something like that?
Offline
Pages: 1