You are not logged in.

#1 2009-10-15 22:37:07

OrangeRoot1000
Member
From: TN -- USA
Registered: 2008-08-07
Posts: 106
Website

No state file, cannot resume! Love, Pacman... ***SOLVED***

Hey all, I don't know what happened to pacman, and I can't find another entry with the above error in it. How do I fix my little dot eating gal?

Last edited by OrangeRoot1000 (2009-10-16 01:13:57)

Offline

#2 2009-10-15 22:43:14

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: No state file, cannot resume! Love, Pacman... ***SOLVED***

Could you please post here the exact message in the output ?

Offline

#3 2009-10-15 22:44:08

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

Re: No state file, cannot resume! Love, Pacman... ***SOLVED***

Please post the exact output.  Preferably with the "--debug" and "--verbose" flags.

Offline

#4 2009-10-15 22:48:38

OrangeRoot1000
Member
From: TN -- USA
Registered: 2008-08-07
Posts: 106
Website

Re: No state file, cannot resume! Love, Pacman... ***SOLVED***

pacman --debug -v -Syyu
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: chomp
debug: config: SyncFirst: pacman
debug: config: xfercommand: /usr/bin/axel -a %u -o %o
debug: config: IgnorePkg: kernel26
debug: config: new section 'core'
debug: setlibpaths() called
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'core': ftp://cesium.di.uminho.pt/pub/archlinux/core/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: registering sync database 'extra'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'extra': ftp://cesium.di.uminho.pt/pub/archlinux/extra/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: registering sync database 'community'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server URL to database 'community': ftp://cesium.di.uminho.pt/pub/archlinux … ty/os/i686
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'archlinuxfr'
debug: registering sync database 'archlinuxfr'
debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/i686
debug: config: finished parsing /etc/pacman.conf
Root      : /
Conf File : /etc/pacman.conf
DB Path   : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/ 
Lock File : /var/lib/pacman/db.lck
Log File  : /var/log/pacman.log
Targets   : None
debug: registering local database
:: Synchronizing package databases...
debug: running command: /usr/bin/axel -a ftp://cesium.di.uminho.pt/pub/archlinux … .db.tar.gz -o /var/lib/pacman/core.db.tar.gz.part
Initializing download: ftp://cesium.di.uminho.pt/pub/archlinux … .db.tar.gz
File size: 35474 bytes
No state file, cannot resume!
debug: XferCommand command returned non-zero status code (256)
debug: returning error 43 from download : error invoking external downloader
debug: failed to sync db: error invoking external downloader
error: failed to update core (error invoking external downloader)
debug: running command: /usr/bin/axel -a ftp://cesium.di.uminho.pt/pub/archlinux … .db.tar.gz -o /var/lib/pacman/extra.db.tar.gz.part
Initializing download: ftp://cesium.di.uminho.pt/pub/archlinux … .db.tar.gz
File size: 447183 bytes
No state file, cannot resume!
debug: XferCommand command returned non-zero status code (256)
debug: returning error 43 from download : error invoking external downloader
debug: failed to sync db: error invoking external downloader
error: failed to update extra (error invoking external downloader)
debug: running command: /usr/bin/axel -a ftp://cesium.di.uminho.pt/pub/archlinux … .db.tar.gz -o /var/lib/pacman/community.db.tar.gz.part
Initializing download: ftp://cesium.di.uminho.pt/pub/archlinux … .db.tar.gz
File size: 377900 bytes
No state file, cannot resume!
debug: XferCommand command returned non-zero status code (256)
debug: returning error 43 from download : error invoking external downloader
debug: failed to sync db: error invoking external downloader
error: failed to update community (error invoking external downloader)
debug: running command: /usr/bin/axel -a http://repo.archlinux.fr/i686/archlinuxfr.db.tar.gz -o /var/lib/pacman/archlinuxfr.db.tar.gz.part
Initializing download: http://repo.archlinux.fr/i686/archlinuxfr.db.tar.gz
File size: 25186 bytes
No state file, cannot resume!
debug: XferCommand command returned non-zero status code (256)
debug: returning error 43 from download : error invoking external downloader
debug: failed to sync db: error invoking external downloader
error: failed to update archlinuxfr (error invoking external downloader)
error: failed to synchronize any databases
debug: unregistering database 'local'
debug: unregistering database 'core'
debug: unregistering database 'extra'
debug: unregistering database 'community'
debug: unregistering database 'archlinuxfr'

Offline

#5 2009-10-15 23:02:47

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: No state file, cannot resume! Love, Pacman... ***SOLVED***

Looks like a problem with axel. Try the default transfer command.

Offline

#6 2009-10-16 01:13:18

OrangeRoot1000
Member
From: TN -- USA
Registered: 2008-08-07
Posts: 106
Website

Re: No state file, cannot resume! Love, Pacman... ***SOLVED***

@SamC

Ya, it was axel. I switched her over to wget and it built a databse fine and offered upgrade options. So I cancelled that and changed it back to axel and it built fine and offered upgrade options properly again.
That --debug -v is kinda neat. It definitely lets ya see everything going on. Thanks ya'll.

OR1K



*****SOLVED******

Offline

#7 2017-03-31 04:51:27

mahendral
Member
Registered: 2017-03-31
Posts: 2

Re: No state file, cannot resume! Love, Pacman... ***SOLVED***

If you want to use axel try this wrapper script:

$ grep axel /etc/pacman.conf
XferCommand = /opt/myapps/axelw.sh -n 4 -a -o %o %u

$ cat  /opt/myapps/axelw.sh
#!/bin/bash                                         
CMD=/usr/bin/axel                                   
OF=`echo $@ | grep -o -e '-o [^ .]*' | sed 's/-o //'`
OPT=`echo $@ | sed -e 's/-o [^ .]*//'`               
                                                     
if [[ $@  == *"-o"* ]]                               
then                                                 
   if [[ ! -f $OF ]]                                 
   then                                             
      cd `dirname $OF`                               
      $CMD $OPT                                     
   fi                                               
else                                                 
   $CMD $@                                           
fi

Offline

#8 2017-03-31 04:54:13

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,844
Website

Re: No state file, cannot resume! Love, Pacman... ***SOLVED***

Thank you for sharing, but please do not necrobump.

https://wiki.archlinux.org/index.php/Co … bumping.22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

Board footer

Powered by FluxBB