You are not logged in.

#1 2015-01-23 01:50:41

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

Pacman intermittent output

Pacman seems to be showing intermittent output that has occurred now during database update and downloading packages.   Installing packages could also be happening.  It acts as if nothing is happening, when the normal course is taking place.  I've seen this on two different machines now.  The mirror at kernel.org seems to be giving a fit also (maybe it's related?)


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

Offline

#2 2015-01-23 01:52:15

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,472
Website

Re: Pacman intermittent output

Can you post the output?

Offline

#3 2015-01-23 01:58:32

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

Re: Pacman intermittent output

For databases,

:: Synchronizing package databases
core                 [#################################]100%
:: Starting full system upgrade
resolving dependencies...

Just jumps without printing anything. I have the normal repos and some unofficial.
For packages

:: Proceed with installation [Y/n]?
:: Retrieving packages ...

Acts like it is tied up, but packages are downloading like normal without showing progress bar. Would think pacman is otherwise locked up or network error.

Have added another mirror to mirrorlist in addition to mirrors.kernel.org, when kernel.org times out.

Ctrl-C out when it appears to be doing nothing, and the Download size is less than the first time, so something was being downloaded.

Last edited by nomorewindows (2015-01-23 15:50:02)


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

Offline

#4 2015-01-23 15:46:56

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

Re: Pacman intermittent output

It seems to be the problem with the databases not printing is when I do a different root with a different architecture than host. Needless to say running pacman --debug causes all kinds of output and doesn't help determine the soure of the problem.

Last edited by nomorewindows (2015-01-23 16:04:16)


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

Offline

#5 2015-01-23 17:45:27

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: Pacman intermittent output

Can you post the full output with --debug?

Offline

#6 2015-01-23 18:53:01

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

Re: Pacman intermittent output

It shows everything working as it should with --debug counter to the lines it skips otherwise, so it's not much help.  It appears that pacman is working like it should, but just a few skipped lines indicating what the current action is.


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

Offline

#7 2015-01-23 21:18:23

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: Pacman intermittent output

It would be helpful to know exactly what url pacman is trying to download, which is provided in the --debug output.

Offline

#8 2015-01-24 00:09:06

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

Re: Pacman intermittent output

It's not having problems actually downloading anything, it just doesn't show what it is doing.  It's just one of those beserk problems that has some weird glitch in normal operation.  Has anyone else noticed this while they were running pacman?

Last edited by nomorewindows (2015-01-24 00:11:42)


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

Offline

#9 2015-01-24 00:14:07

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: Pacman intermittent output

Right, and the thing that it is failing to show is the download progress.  So, what is it downloading?

Offline

#10 2015-01-24 00:25:47

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

Re: Pacman intermittent output

apg wrote:

Right, and the thing that it is failing to show is the download progress.  So, what is it downloading?

Just as previously mentioned it happens at either the downloading the database or the packages.  When it fails to show the status it would make me think that it isn't doing anything (like it's going to time out, but it never does, because it is downloading contrary to what it shows or fails to show that it is doing).


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

Offline

#11 2015-01-24 00:29:55

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: Pacman intermittent output

This is the last time I am going to ask.  Please provide the --debug output with the download information so I can try to determine why the information is not being shown.

Offline

#12 2015-01-24 00:34:28

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

Re: Pacman intermittent output

Is there a way to do that because redirection isn't storing debug output (this is probably stderr) and piping to less isn't stopping it?  The line feed is scrolling past the buffer.

Last edited by nomorewindows (2015-01-24 00:36:58)


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

Offline

#13 2015-01-24 00:43:21

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Pacman intermittent output

pacman 2>&1 | tee -a file

Using tee so that you can see the output and save it to a file simulataneously.

More info.: http://wiki.bash-hackers.org/syntax/redirection


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#14 2015-01-24 00:52:52

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

Re: Pacman intermittent output

Do I need all of these lines about

debug: searching for replacements for xyz in repoxyz

because right now I'm all synced up.


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

Offline

#15 2015-01-24 00:58:22

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: Pacman intermittent output

It fails to show the download status for databases right? So, just give me all of the output from

pacman -Syy --debug

Offline

#16 2015-01-24 01:24:48

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

Re: Pacman intermittent output

apg wrote:

It fails to show the download status for databases right? So, just give me all of the output from

pacman -Syy --debug

As well as packages, but I don't have a failsafe way to cause it do what it is doing.  Surprised noone else is saying they have noticed it.  But then most people don't panic until pacman says 'error'.

debug: pacman v4.2.0 - libalpm v9.0.0
debug: parseconfig: options pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: arch: x86_64
debug: config: SigLevel: Required
debug: config: SigLevel: DatabaseOptional
debug: config: LocalFileSigLevel: Optional
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 75: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 84: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'multilib'
debug: config: new section 'xyne-x86_64'
debug: config: finish section 'xyne-x86_64'
debug: config: new section 'heftig'
debug: config: finish section 'heftig'
debug: config: new section 'archassault'
debug: config: finish section 'archassault'
debug: config: new section 'blackarch'
debug: config: finish section 'blackarch'
debug: config: new section '(null)'
debug: config: finished parsing /etc/pacman.conf
debug: setup_libalpm called
debug: option 'logfile' = /var/log/pacman.log
debug: option 'gpgdir' = /etc/pacman.d/gnupg/
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: parseconfig: repo pass
debug: config: attempting to read file /etc/pacman.conf
debug: config: finish section '(null)'
debug: config: new section 'options'
debug: config: finish section 'options'
debug: config: new section 'core'
debug: config file /etc/pacman.conf, line 75: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'core'
debug: registering sync database 'core'
debug: database path for tree core set to /var/lib/pacman/sync/core.db
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for core repoistory
debug: adding new server URL to database 'core': http://mirrors.kernel.org/archlinux/core/os/x86_64
debug: adding new server URL to database 'core': http://dfw.mirror.rackspace.com/archlinux/core/os/x86_64
debug: config: new section 'extra'
debug: config file /etc/pacman.conf, line 78: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'extra'
debug: registering sync database 'extra'
debug: database path for tree extra set to /var/lib/pacman/sync/extra.db
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for extra repoistory
debug: adding new server URL to database 'extra': http://mirrors.kernel.org/archlinux/extra/os/x86_64
debug: adding new server URL to database 'extra': http://dfw.mirror.rackspace.com/archlinux/extra/os/x86_64
debug: config: new section 'community'
debug: config file /etc/pacman.conf, line 84: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'community'
debug: registering sync database 'community'
debug: database path for tree community set to /var/lib/pacman/sync/community.db
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for community repoistory
debug: adding new server URL to database 'community': http://mirrors.kernel.org/archlinux/community/os/x86_64
debug: adding new server URL to database 'community': http://dfw.mirror.rackspace.com/archlinux/community/os/x86_64
debug: config: new section 'multilib'
debug: config file /etc/pacman.conf, line 93: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finish section 'multilib'
debug: registering sync database 'multilib'
debug: database path for tree multilib set to /var/lib/pacman/sync/multilib.db
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for multilib repoistory
debug: adding new server URL to database 'multilib': http://mirrors.kernel.org/archlinux/multilib/os/x86_64
debug: adding new server URL to database 'multilib': http://dfw.mirror.rackspace.com/archlinux/multilib/os/x86_64
debug: config: new section 'xyne-x86_64'
debug: config: SigLevel: Required
debug: config: finish section 'xyne-x86_64'
debug: registering sync database 'xyne-x86_64'
debug: database path for tree xyne-x86_64 set to /var/lib/pacman/sync/xyne-x86_64.db
debug: GPGME version: 1.5.3
debug: GPGME engine info: file=/usr/bin/gpg2, home=/etc/pacman.d/gnupg/
debug: checking signature for /var/lib/pacman/sync/xyne-x86_64.db
debug: 1 signatures returned
debug: fingerprint: EC3CBE7F607D11E663149E811D1F0DC78F173680
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1421303029
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: EC3CBE7F607D11E663149E811D1F0DC78F173680, Xyne. (key #3) <----------------->, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
debug: setting usage of 15 for xyne-x86_64 repoistory
debug: adding new server URL to database 'xyne-x86_64': http://xyne.archlinux.ca/repos/xyne
debug: config: new section 'heftig'
debug: config: finish section 'heftig'
debug: registering sync database 'heftig'
debug: database path for tree heftig set to /var/lib/pacman/sync/heftig.db
debug: "/var/lib/pacman/sync/heftig.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/heftig.db.sig could not be opened
debug: missing optional signature
debug: setting usage of 15 for heftig repoistory
debug: adding new server URL to database 'heftig': http://pkgbuild.com/~heftig/repo/x86_64
debug: config: new section 'archassault'
debug: config: finish section 'archassault'
debug: registering sync database 'archassault'
debug: database path for tree archassault set to /var/lib/pacman/sync/archassault.db
debug: checking signature for /var/lib/pacman/sync/archassault.db
debug: 1 signatures returned
debug: fingerprint: E384662C75094B22E00BB2F65326E505CC1D2606
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1422049676
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: E384662C75094B22E00BB2F65326E505CC1D2606, Jeremy Lynch (ArchAssault Developer Key) <----------------->, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
debug: setting usage of 15 for archassault repoistory
debug: adding new server URL to database 'archassault': http://repo.archassault.org/archassault/archassault/os/x86_64
debug: config: new section 'blackarch'
debug: config: finish section 'blackarch'
debug: registering sync database 'blackarch'
debug: database path for tree blackarch set to /var/lib/pacman/sync/blackarch.db
debug: checking signature for /var/lib/pacman/sync/blackarch.db
debug: 1 signatures returned
debug: fingerprint: F9A6E68A711354D84A9B91637533BAFE69A25079
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1422025232
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: F9A6E68A711354D84A9B91637533BAFE69A25079, Levon 'noptrix' Kayan (BlackArch Developer) <------------------>, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
debug: setting usage of 15 for blackarch repoistory
debug: adding new server URL to database 'blackarch': http://blackarch.org/blackarch/blackarch/os/x86_64
debug: config: new section '(null)'
debug: config: finished parsing /etc/pacman.conf
:: Synchronizing package databases...
debug: url: http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.part (wb)
downloading core.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://mirrors.kernel.org/archlinux/core/os/x86_64/core.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/core.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/core.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/core.db.sig could not be opened
debug: missing optional signature
debug: url: http://mirrors.kernel.org/archlinux/extra/os/x86_64/extra.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.part (wb)
downloading extra.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://mirrors.kernel.org/archlinux/extra/os/x86_64/extra.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/extra.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/extra.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/extra.db.sig could not be opened
debug: missing optional signature
debug: url: http://mirrors.kernel.org/archlinux/community/os/x86_64/community.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.part (wb)
downloading community.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://mirrors.kernel.org/archlinux/community/os/x86_64/community.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/community.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/community.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/community.db.sig could not be opened
debug: missing optional signature
debug: url: http://mirrors.kernel.org/archlinux/multilib/os/x86_64/multilib.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/multilib.db.part (wb)
downloading multilib.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://mirrors.kernel.org/archlinux/multilib/os/x86_64/multilib.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/multilib.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/multilib.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/multilib.db.sig could not be opened
debug: missing optional signature
debug: url: http://xyne.archlinux.ca/repos/xyne/xyne-x86_64.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/xyne-x86_64.db.part (wb)
downloading xyne-x86_64.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://xyne.archlinux.ca/repos/xyne/xyne-x86_64.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/xyne-x86_64.db.sig.part (wb)
downloading xyne-x86_64.db.sig...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: checking signature for /var/lib/pacman/sync/xyne-x86_64.db
debug: 1 signatures returned
debug: fingerprint: EC3CBE7F607D11E663149E811D1F0DC78F173680
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1421303029
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: EC3CBE7F607D11E663149E811D1F0DC78F173680, Xyne. (key #3) <----------------------->, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
debug: url: http://pkgbuild.com/~heftig/repo/x86_64/heftig.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/heftig.db.part (wb)
downloading heftig.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://pkgbuild.com/~heftig/repo/x86_64/heftig.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/heftig.db.sig.part (wb)
debug: curl returned error 0 from transfer
debug: response code: 404
debug: "/var/lib/pacman/sync/heftig.db.sig" is not readable: No such file or directory
debug: sig path /var/lib/pacman/sync/heftig.db.sig could not be opened
debug: missing optional signature
debug: url: http://repo.archassault.org/archassault/archassault/os/x86_64/archassault.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/archassault.db.part (wb)
downloading archassault.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: https://repo.archassault.org/archassault/archassault/os/x86_64/archassault.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/archassault.db.sig.part (wb)
downloading archassault.db.sig...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: checking signature for /var/lib/pacman/sync/archassault.db
debug: 1 signatures returned
debug: fingerprint: E384662C75094B22E00BB2F65326E505CC1D2606
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1422049676
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: E384662C75094B22E00BB2F65326E505CC1D2606, Jeremy Lynch (ArchAssault Developer Key) <---------------------->, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
debug: url: http://blackarch.org/blackarch/blackarch/os/x86_64/blackarch.db
debug: maxsize: 26214400
debug: opened tempfile for download: /var/lib/pacman/sync/blackarch.db.part (wb)
downloading blackarch.db...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: url: http://blackarch.org/blackarch/blackarch/os/x86_64/blackarch.db.sig
debug: maxsize: 16384
debug: opened tempfile for download: /var/lib/pacman/sync/blackarch.db.sig.part (wb)
downloading blackarch.db.sig...
debug: curl returned error 0 from transfer
debug: response code: 200
debug: checking signature for /var/lib/pacman/sync/blackarch.db
debug: 1 signatures returned
debug: fingerprint: F9A6E68A711354D84A9B91637533BAFE69A25079
debug: summary: valid
debug: summary: green
debug: status: Success
debug: timestamp: 1422061972
debug: exp_timestamp: 0
debug: validity: full; reason: Success
debug: key: F9A6E68A711354D84A9B91637533BAFE69A25079, Levon 'noptrix' Kayan (BlackArch Developer) <----------------->, owner_trust unknown, disabled 0
debug: signature is valid
debug: signature is fully trusted
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'multilib'
debug: unregistering database 'xyne-x86_64'
debug: unregistering database 'heftig'
debug: unregistering database 'archassault'
debug: unregistering database 'blackarch'

Last edited by nomorewindows (2015-01-24 01:27:37)


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

Offline

#17 2015-01-24 09:40:22

ma
Member
Registered: 2012-01-29
Posts: 54

Re: Pacman intermittent output

nomorewindows wrote:

Has anyone else noticed this while they were running pacman?

I seem to have the same problem. Sometimes it does not display the progress bars while downloading packages.

Edit: Hm, does --debug disable all progress bars? If so, how useful is it in this case?

Anyway, I have two straces for pacman -S mplayer: one for normal operation, and one for when the download progress bar is not displayed. A quick glance shows that the progress bar is never even written to stdout in the second case:

$ zgrep '^write(1,' pacman_-S_-mplayer.strace.noprogressbars.gz 
write(1, "resolving dependencies...\n", 26) = 26
write(1, "looking for conflicting packages"..., 36) = 36
write(1, "\n", 1)                       = 1
write(1, "\33[0;1mPackages (1)\33[0m mplayer-3"..., 39) = 39
write(1, "\n", 1)                       = 1
write(1, "\33[0;1mTotal Download Size: \33[0m "..., 43) = 43
write(1, "\33[0;1mTotal Installed Size:\33[0m "..., 43) = 43
write(1, "\n", 1)                       = 1
write(1, "\33[1;34m::\33[0;1m Retrieving packa"..., 40) = 40
write(1, "\33[0m", 4)                   = 4
write(1, "(0/1) checking keys in keyring  "..., 176) = 176
write(1, "(1/1) checking keys in keyring  "..., 176) = 176
write(1, "(0/1) checking package integrity"..., 176) = 176
write(1, "(1/1) checking package integrity"..., 176) = 176
write(1, "(0/1) loading package files     "..., 176) = 176
write(1, "(1/1) loading package files     "..., 176) = 176
write(1, "(0/1) checking for file conflict"..., 176) = 176
write(1, "(1/1) checking for file conflict"..., 176) = 176
write(1, "(0/1) checking available disk sp"..., 176) = 176
write(1, "(1/1) checking available disk sp"..., 176) = 176
write(1, "(1/1) installing mplayer        "..., 176) = 176
write(1, "(1/1) installing mplayer        "..., 176) = 176
write(1, "(1/1) installing mplayer        "..., 176) = 176
write(1, "(1/1) installing mplayer        "..., 176) = 176
write(1, "(1/1) installing mplayer        "..., 176) = 176
write(1, "(1/1) installing mplayer        "..., 176) = 176
write(1, "(1/1) installing mplayer        "..., 176) = 176
write(1, "(1/1) installing mplayer        "..., 176) = 176
write(1, "(1/1) installing mplayer        "..., 176) = 176
write(1, "(1/1) installing mplayer        "..., 176) = 176
write(1, "(1/1) installing mplayer        "..., 176) = 176
write(1, "(1/1) installing mplayer        "..., 176) = 176
write(1, "(1/1) installing mplayer        "..., 176) = 176
write(1, "(1/1) installing mplayer        "..., 176) = 176
write(1, "(1/1) installing mplayer        "..., 176) = 176

Which is just stating the obvious, really. :-(

Last edited by ma (2015-01-24 11:02:41)

Offline

#18 2015-01-24 11:20:06

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

Re: Pacman intermittent output

ma wrote:
nomorewindows wrote:

Has anyone else noticed this while they were running pacman?

I seem to have the same problem. Sometimes it does not display the progress bars while downloading packages.

Edit: Hm, does --debug disable all progress bars? If so, how useful is it in this case?

Debug comes to mind, but yes it doesn't really help in this case.


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

Offline

#19 2015-01-24 15:22:10

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: Pacman intermittent output

Can you build pacman with this patch and reproduce the issue with it?  https://github.com/andrewgregory/pacman … 7b54.patch

Offline

#20 2015-01-24 17:03:03

ma
Member
Registered: 2012-01-29
Posts: 54

Re: Pacman intermittent output

@apg: I applied the patch. It looks like some servers do not (always) report the content length…

No Content-Length header = no progress bar:

(chroot) [root@duo /]# pacman -S ruby
resolving dependencies...
looking for conflicting packages...

Package (2)    New Version  Net Change  Download Size

extra/libyaml  0.1.6-1        0.21 MiB       0.05 MiB
extra/ruby     2.2.0-1       20.23 MiB       4.00 MiB

Total Download Size:    4.06 MiB
Total Installed Size:  20.44 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages ...
* Couldn't find host mirrors.kernel.org in the .netrc file; using defaults
*   Trying 198.145.20.143...
* Connected to mirrors.kernel.org (198.145.20.143) port 80 (#0)
> GET /archlinux/extra/os/x86_64/libyaml-0.1.6-1-x86_64.pkg.tar.xz HTTP/1.1
User-Agent: pacman/4.2.0 (Linux x86_64) libalpm/9.0.0
Host: mirrors.kernel.org
Accept: */*

< HTTP/1.1 200 OK
< Server: nginx
< Date: Sat, 24 Jan 2015 16:37:48 GMT
< Content-Type: application/octet-stream
< Last-Modified: Tue, 12 Aug 2014 11:48:11 GMT
< ETag: "53e9fefb-d3d8"
< X-Frame-Options: DENY
< X-Varnish: 6039862
< Age: 0
< Via: 1.1 varnish-v4
< X-Cache: MISS
< Transfer-Encoding: chunked
< Accept-Ranges: bytes
< 
* Connection #0 to host mirrors.kernel.org left intact
* Couldn't find host mirrors.kernel.org in the .netrc file; using defaults
* Found bundle for host mirrors.kernel.org: 0x1c032f0
* Re-using existing connection! (#0) with host mirrors.kernel.org
* Connected to mirrors.kernel.org (198.145.20.143) port 80 (#0)
> GET /archlinux/extra/os/x86_64/ruby-2.2.0-1-x86_64.pkg.tar.xz HTTP/1.1
User-Agent: pacman/4.2.0 (Linux x86_64) libalpm/9.0.0
Host: mirrors.kernel.org
Accept: */*

< HTTP/1.1 200 OK
< Server: nginx
< Date: Sat, 24 Jan 2015 16:37:49 GMT
< Content-Type: application/octet-stream
< Last-Modified: Thu, 25 Dec 2014 13:36:10 GMT
< ETag: "549c12ca-40103c"
< X-Frame-Options: DENY
< X-Varnish: 17836134
< Age: 0
< Via: 1.1 varnish-v4
< X-Cache: MISS
< Transfer-Encoding: chunked
< Accept-Ranges: bytes
< 
* Connection #0 to host mirrors.kernel.org left intact
(2/2) checking keys in keyring                     [######################] 100%
(2/2) checking package integrity                   [######################] 100%
(2/2) loading package files                        [######################] 100%
(2/2) checking for file conflicts                  [######################] 100%
(2/2) checking available disk space                [######################] 100%
(1/2) installing libyaml                           [######################] 100%
(2/2) installing ruby                              [######################] 100%
The default location of gem installs is $HOME/.gem/ruby
Add the following line to your PATH if you plan to install using gem
$(ruby -rubygems -e "puts Gem.user_dir")/bin
If you want to install to the system wide location, you must either:
edit /etc/gemrc or run gem with the --no-user-install flag.
Optional dependencies for ruby
    ruby-docs: Ruby documentation
    tk: for Ruby/TK

This time the ruby package has a Content-Length header and a progress bar, while libyaml has neither:

(chroot) [root@duo /]# pacman -S ruby
resolving dependencies...
looking for conflicting packages...

Package (2)    New Version  Net Change  Download Size

extra/libyaml  0.1.6-1        0.21 MiB       0.05 MiB
extra/ruby     2.2.0-1       20.23 MiB       4.00 MiB

Total Download Size:    4.06 MiB
Total Installed Size:  20.44 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages ...
* Couldn't find host mirrors.kernel.org in the .netrc file; using defaults
*   Trying 149.20.37.36...
* Connected to mirrors.kernel.org (149.20.37.36) port 80 (#0)
> GET /archlinux/extra/os/x86_64/libyaml-0.1.6-1-x86_64.pkg.tar.xz HTTP/1.1
User-Agent: pacman/4.2.0 (Linux x86_64) libalpm/9.0.0
Host: mirrors.kernel.org
Accept: */*

< HTTP/1.1 200 OK
< Server: nginx
< Date: Sat, 24 Jan 2015 16:40:08 GMT
< Content-Type: application/octet-stream
< Last-Modified: Tue, 12 Aug 2014 11:48:11 GMT
< ETag: "53e9fefb-d3d8"
< X-Frame-Options: DENY
< X-Varnish: 33350379
< Age: 0
< Via: 1.1 varnish-v4
< X-Cache: MISS
< Transfer-Encoding: chunked
< Accept-Ranges: bytes
< 
* Connection #0 to host mirrors.kernel.org left intact
* Couldn't find host mirrors.kernel.org in the .netrc file; using defaults
* Found bundle for host mirrors.kernel.org: 0x142d2f0
* Re-using existing connection! (#0) with host mirrors.kernel.org
* Connected to mirrors.kernel.org (149.20.37.36) port 80 (#0)
> GET /archlinux/extra/os/x86_64/ruby-2.2.0-1-x86_64.pkg.tar.xz HTTP/1.1
User-Agent: pacman/4.2.0 (Linux x86_64) libalpm/9.0.0
Host: mirrors.kernel.org
Accept: */*

< HTTP/1.1 200 OK
< Server: nginx
< Date: Sat, 24 Jan 2015 16:36:45 GMT
< Content-Type: application/octet-stream
< Last-Modified: Thu, 25 Dec 2014 13:36:10 GMT
< ETag: "549c12ca-40103c"
< X-Frame-Options: DENY
< X-Varnish: 27950138 22634909
< Age: 203
< Via: 1.1 varnish-v4
< X-Cache: HIT
< Content-Length: 4198460
< Accept-Ranges: bytes
< 
 ruby-2.2.0-1-x86_64        4.0 MiB   263K/s 00:16 [######################]  98%
* Connection #0 to host mirrors.kernel.org left intact
(2/2) checking keys in keyring                     [######################] 100%
(2/2) checking package integrity                   [######################] 100%
(2/2) loading package files                        [######################] 100%
(2/2) checking for file conflicts                  [######################] 100%
(2/2) checking available disk space                [######################] 100%
(1/2) installing libyaml                           [######################] 100%
(2/2) installing ruby                              [######################] 100%
The default location of gem installs is $HOME/.gem/ruby
Add the following line to your PATH if you plan to install using gem
$(ruby -rubygems -e "puts Gem.user_dir")/bin
If you want to install to the system wide location, you must either:
edit /etc/gemrc or run gem with the --no-user-install flag.
Optional dependencies for ruby
    ruby-docs: Ruby documentation
    tk: for Ruby/TK

Offline

#21 2015-01-24 17:26:27

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: Pacman intermittent output

Thanks.  I think I see the problem.

Offline

#22 2015-01-24 23:48:12

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: Pacman intermittent output

ma wrote:
* Couldn't find host mirrors.kernel.org in the .netrc file; using defaults
*   Trying 198.145.20.143...

Yep, the kernel.org servers seem to be broken somehow. They also got significantly slower recently...


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#23 2015-01-25 00:49:17

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

Re: Pacman intermittent output

Leonid.I wrote:
ma wrote:
* Couldn't find host mirrors.kernel.org in the .netrc file; using defaults
*   Trying 198.145.20.143...

Yep, the kernel.org servers seem to be broken somehow. They also got significantly slower recently...

Well I also noted that, but wasn't sure if it was a factor or not.  And then added a second mirror, and things seemed to go ok.

Last edited by nomorewindows (2015-01-25 00:56:17)


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

Offline

#24 2015-01-25 14:06:02

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

Re: Pacman intermittent output

Pacman updated today, wonder if this is a fix?


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

Offline

#25 2015-01-25 14:07:51

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: Pacman intermittent output

It's not.  I am still working on it.

Offline

Board footer

Powered by FluxBB