You are not logged in.

#1 2013-03-05 05:59:41

dlin
Member
From: Taipei,Taiwan
Registered: 2005-09-21
Posts: 264

my compiled pacman get wrong data

I use one line web server to do local repository(local.db).

python2 -m SimpleHTTPServer 8000


And I just build pacman 4.0.3-7 for special CPU sh4.

If I use 'pacman -Sy'  it will get the my local repository db file into /var/lib/pacman/sync/local.db.

But the local.db's content seems like a web file listing content.

So, I changed the /etc/pacman.conf to use wget or curl.  Both wget or curl works.

Is there any tip to found out what's wrong in my compiled pacman?


Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages, old project Arch on colinux,

Offline

#2 2013-03-08 00:59:35

dlin
Member
From: Taipei,Taiwan
Registered: 2005-09-21
Posts: 264

Re: my compiled pacman get wrong data

My pacman command is:

PKG="pacman filessytem ..."
DEST=/mnt/sda2   # where /mnt/sda2 is mounted on dev/sda2 have 6GB space
pacman -Syy --noconfirm -r $DEST --cachedir $DEST/var/cache/pacman $PKG

The error shows like

perl-5.16.2-3-sh4         12.5 MiB   385K/s 00:33 [######################] 100%
error: failed retrieving file 'openssl-1.0.1.e-3-sh4.pkg.tar.xz' from t:8000 : Failed writing body (11436 != 16384)
warning: failed to retrieve some files from sh4twbox
error: failed retrieving file 'xz-5.0.4-1-sh4.pkg.tar.xz' from t:8000 : Failed writing body (5596 != 13788)
warning: failed to retrieve some files from sh4twbox

And I found, I must have enough '/' space (I only left about 32MB for it).
But, which file occupied my diskspace on /?

Last edited by dlin (2013-03-08 01:03:23)


Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages, old project Arch on colinux,

Offline

Board footer

Powered by FluxBB