You are not logged in.

#1 2005-03-03 13:24:23

kcy29581
Member
From: CA
Registered: 2004-12-23
Posts: 231

Pacman saves its logs ...where???[SOLVED]

I love pacman but I would like to know a bit more about its inner workings with logs. Specifically which and how many logs does it create when you install something (or upgrade). Reason for this is obviously when you install something with a bucketload of dependancies messages about individual packages fly on the screen without managing to read them (or I might be out of the room...). So how do you make sure you read everything needed?
My solution has always been a directory under /var/log (eg. /var/log/pacman) and the say for example:

cd /var/log/pacman
pacman -Syuw
pacman -Su | tee Syu

The second line is to actually download the needed files, otherwise my Syu log created in the third line would be filled with scrolling  ##### while downloading/installing the files!
Is this the best I can do? Or does pacman have a cunning way to deal with this?
Thanks


There is no spoon in Arch...

Offline

#2 2005-03-03 14:23:26

tranquility
Member
From: Portugal
Registered: 2004-08-06
Posts: 136

Re: Pacman saves its logs ...where???[SOLVED]

how about looking into /var/log/pacman.log ?

Offline

#3 2005-03-03 14:33:02

kcy29581
Member
From: CA
Registered: 2004-12-23
Posts: 231

Re: Pacman saves its logs ...where???[SOLVED]

I have seen pacman.log but I wasn't sure if it also saved the messages reffering to packages. I thought it only saved the time a package was installed or updated. So does pacman.log keep track of EVERYTHING?
(ps. by messages I mean like the ones after the installation of openoffice saying "run oofice" or kde reffering to java bindings etc)
Also what doc or man page did you read that told you about pacman.log?
Thanks


There is no spoon in Arch...

Offline

#4 2005-03-03 16:05:09

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Pacman saves its logs ...where???[SOLVED]

why not just "pacman -Syu --noconfirm > /my/pacman/log.file"

Offline

#5 2005-03-08 00:27:46

kcy29581
Member
From: CA
Registered: 2004-12-23
Posts: 231

Re: Pacman saves its logs ...where???[SOLVED]

I thought that when you use > it omits to show stuff on screen where it really matters? Thats why I use tee, as it does both screen and file.
Unless that mysterious --noconfirm does something???


There is no spoon in Arch...

Offline

#6 2005-03-08 08:50:31

mercy
Member
Registered: 2004-04-24
Posts: 62

Re: Pacman saves its logs ...where???[SOLVED]

--noconfirm simply omits user-input ... so yes/no questions get answered with yes automatically


and i wouldnt use > but &> to redirect std-out and error-out but ...

pacman -Syu | tee [some file]

has the advantage of that you can control the update AND have a log of what had happend..
so you just spend some secs at the screen making your desicions .. and than you can leave your box alone smile

Offline

#7 2018-08-26 13:42:44

cooperrc
Member
Registered: 2018-08-26
Posts: 13

Re: Pacman saves its logs ...where???[SOLVED]

It looks like like the power cut out here:

[2018-08-23 14:46] [ALPM] running 'systemd-udev-reload.hook'...                                                   [2018-08-23 14:46] [ALPM] running 'systemd-update.hook'...                                                        [2018-08-23 14:46] [ALPM] running 'update-ca-trust.hook'.
^a^a...

The only suspect part of pacman - Qkk are some backup file mismatch :

backup file: xorg-xinit: /etc/X11/xinit/xinitrc (Modification time mismatch)                                      backup file: xorg-xinit: /etc/X11/xinit/xinitrc (Size mismatch)

Last edited by cooperrc (2018-08-26 13:47:44)

Offline

#8 2018-08-26 13:44:03

cooperrc
Member
Registered: 2018-08-26
Posts: 13

Re: Pacman saves its logs ...where???[SOLVED]

The only suspect part of pacman - Qkk are some backup file mismatch :

backup file: xorg-xinit: /etc/X11/xinit/xinitrc (Modification time mismatch)                                      backup file: xorg-xinit: /etc/X11/xinit/xinitrc (Size mismatch)

Offline

#9 2018-08-26 14:41:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,558

Re: Pacman saves its logs ...where???[SOLVED]

Please don't necrobump 13 year old threads, https://wiki.archlinux.org/index.php/Co … bumping.22

If you make your own post about this include more details and post them in [ code ] tags.

Closing.

Online

Board footer

Powered by FluxBB