SliTaz SliTaz Forum

You are not logged in.

#1 2013-02-20 22:50:48

VERAULT
Member
Registered: 2011-07-29
Posts: 119

your packages list is older than 10 days...

I keep getting your packages list is older than 10 days... and when I do tazpkg recharge is says  MAin is up to date. Tazpkg upgrade  /var/lib/tazpkg/packages/list is older than one week... recharging Main is up to date

It doesnt always list packages that I can install, just the ones I have. any ideas?

Offline

#2 2013-02-21 03:35:43

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: your packages list is older than 10 days...

The mirror is working,try this:

[c]# rm /var/lib/tazpkg/ID[/c]

[c]# tazpkg recharge[/c]

You should see this output:

Creating backup of the last packages list...                         [ OK ]

Connecting to mirror.slitaz.org (94.23.209.91:80)

packages.desc        100% |*******************************|   349k 00:00:00 ETA

Connecting to mirror.slitaz.org (94.23.209.91:80)

packages.md5         100% |*******************************|   195k 00:00:00 ETA

Connecting to mirror.slitaz.org (94.23.209.91:80)

packages.txt         100% |*******************************|   274k 00:00:00 ETA

Connecting to mirror.slitaz.org (94.23.209.91:80)

packages.list        100% |*******************************| 61644  --:--:-- ETA

Connecting to mirror.slitaz.org (94.23.209.91:80)

packages.equiv       100% |*******************************|  4091  --:--:-- ETA

Connecting to mirror.slitaz.org (94.23.209.91:80)

files.list.lzma      100% |*******************************|  1816k 00:00:00 ETA

Connecting to mirror.slitaz.org (94.23.209.91:80)

mirrors              100% |*******************************|   692  --:--:-- ETA

If this problem persists the question is why is tazpkg unable to write/modify packages.list on your filesystem.

What filesystem do you have SliTaz installed on?

Offline

#3 2013-02-21 13:34:20

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Re: your packages list is older than 10 days...

MOJO my filesystem is EXT2, and I tried what you said, here is the outcome:

root@slitaz4:/home/user# rm /var/lib/tazpkg/ID

root@slitaz4:/home/user# tazpkg recharge

--2013-02-21 08:25:00--  http://mirror.slitaz.org/packages/4.0/packages.desc

Resolving mirror.slitaz.org (mirror.slitaz.org)... 94.23.209.91

Connecting to mirror.slitaz.org (mirror.slitaz.org)|94.23.209.91|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 357447 (349K) [text/plain]

packages.desc: No such file or directory

Cannot write to `packages.desc' (No such file or directory).

--2013-02-21 08:25:00--  http://mirror.slitaz.org/packages/4.0/packages.md5

Resolving mirror.slitaz.org (mirror.slitaz.org)... 94.23.209.91

Connecting to mirror.slitaz.org (mirror.slitaz.org)|94.23.209.91|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 200142 (195K) [text/plain]

packages.md5: No such file or directory

Cannot write to `packages.md5' (No such file or directory).

--2013-02-21 08:25:00--  http://mirror.slitaz.org/packages/4.0/packages.txt

Resolving mirror.slitaz.org (mirror.slitaz.org)... 94.23.209.91

Connecting to mirror.slitaz.org (mirror.slitaz.org)|94.23.209.91|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 280844 (274K) [text/plain]

packages.txt: No such file or directory

Cannot write to `packages.txt' (No such file or directory).

--2013-02-21 08:25:00--  http://mirror.slitaz.org/packages/4.0/packages.list

Resolving mirror.slitaz.org (mirror.slitaz.org)... 94.23.209.91

Connecting to mirror.slitaz.org (mirror.slitaz.org)|94.23.209.91|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 61644 (60K) [text/plain]

packages.list: No such file or directory

Cannot write to `packages.list' (No such file or directory).

--2013-02-21 08:25:01--  http://mirror.slitaz.org/packages/4.0/packages.equiv

Resolving mirror.slitaz.org (mirror.slitaz.org)... 94.23.209.91

Connecting to mirror.slitaz.org (mirror.slitaz.org)|94.23.209.91|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 4091 (4.0K) [text/plain]

packages.equiv: No such file or directory

Cannot write to `packages.equiv' (No such file or directory).

--2013-02-21 08:25:01--  http://mirror.slitaz.org/packages/4.0/files.list.lzma

Resolving mirror.slitaz.org (mirror.slitaz.org)... 94.23.209.91

Connecting to mirror.slitaz.org (mirror.slitaz.org)|94.23.209.91|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 1859935 (1.8M) [application/octet-stream]

files.list.lzma: No such file or directory

Cannot write to `files.list.lzma' (No such file or directory).

--2013-02-21 08:25:01--  http://mirror.slitaz.org/mirrors

Resolving mirror.slitaz.org (mirror.slitaz.org)... 94.23.209.91

Connecting to mirror.slitaz.org (mirror.slitaz.org)|94.23.209.91|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 692 [text/plain]

mirrors: No such file or directory

Cannot write to `mirrors' (No such file or directory).

diff: can't stat 'packages.list': No such file or directory

Mirrored packages diff

================================================================================

No new packages on the mirror.

Offline

#4 2013-02-21 16:15:47

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: your packages list is older than 10 days...

I just checked mirror, still OK.

But look at the difference between our connections.

Verault:

Resolving mirror.slitaz.org (mirror.slitaz.org)... 94.23.209.91

Connecting to mirror.slitaz.org (mirror.slitaz.org)|94.23.209.91|:80... connected.

Mojo:

Connecting to mirror.slitaz.org (94.23.209.91:80)

The resolving message indicates DNS server problem.

Post the output:

[c]cat /etc/resolv.conf[/c]

Is your i.p. address static or is it assigned DHCP ?

root@slitaz:/home/tux# rm /var/lib/tazpkg/ID

root@slitaz:/home/tux# tazpkg recharge

Creating backup of the last packages list...                         [ OK ]

Connecting to mirror.slitaz.org (94.23.209.91:80)

packages.desc        100% |*******************************|   349k 00:00:00 ETA

Connecting to mirror.slitaz.org (94.23.209.91:80)

packages.md5         100% |*******************************|   195k --:--:-- ETA

Connecting to mirror.slitaz.org (94.23.209.91:80)

packages.txt         100% |*******************************|   274k 00:00:00 ETA

Connecting to mirror.slitaz.org (94.23.209.91:80)

packages.list        100% |*******************************| 61644  --:--:-- ETA

Connecting to mirror.slitaz.org (94.23.209.91:80)

packages.equiv       100% |*******************************|  4091  --:--:-- ETA

Connecting to mirror.slitaz.org (94.23.209.91:80)

files.list.lzma      100% |*******************************|  1816k 00:00:00 ETA

Connecting to mirror.slitaz.org (94.23.209.91:80)

mirrors              100% |*******************************|   692  --:--:-- ETA

Mirrored packages diff

================================================================================

No new packages on the mirror.

Offline

#5 2013-02-21 16:33:50

ernia
Member
Registered: 2011-05-20
Posts: 299

Re: your packages list is older than 10 days...

what's the | symbol before :80 ?

Offline

#6 2013-02-21 17:14:46

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Re: your packages list is older than 10 days...

mojo, its assigned via dhcp. I dont know if this is related,  but im using wireless now,  I was using my ethernet connection prior. As soon as I got the wireless working, my ethernet couldnt connect anymore, even via dhcp. I also noticed somthing in the boot log: I dont know if its related

e1000e: Intel(R) PRO/1000 Network Driver - 1.2.7-k2

e1000e: Copyright (c) 1999 - 2010 Intel Corporation.

e1000e 0000:00:19.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22

e1000e 0000:00:19.0: setting latency timer to 64

e1000e 0000:00:19.0: (unregistered net_device): Failed to initialize MSI interrupts.  Falling back to legacy interrupts.

e1000e 0000:00:19.0: eth0: (PCI Express:2.5GB/s:Width x1) 00:1f:29:7e:97:2e

e1000e 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection

e1000e 0000:00:19.0: eth0: MAC: 6, PHY: 6, PBA No: ffffff-0ff

Offline

#7 2013-02-21 17:52:13

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: your packages list is older than 10 days...

SliTaz network only allows one network adapter so it's normal if the user configures wireless the ethernet stops working.

Please post the output:

[c]cat  /etc/resolv.conf[/c]

Offline

#8 2013-02-21 17:56:55

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Re: your packages list is older than 10 days...

here is the output:

search YNHH.ORG

nameserver 10.50.105.39

nameserver 10.52.105.39

Offline

#9 2013-02-21 18:04:18

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: your packages list is older than 10 days...

Post output from these commands:

[c]nslookup mirror.slitaz.org 8.8.8.8[/c]

[c]nslookup mirror.slitaz.org 8.8.4.4[/c]

Offline

#10 2013-02-21 18:31:37

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Re: your packages list is older than 10 days...

OK

root@slitaz4:/home/user/Desktop# nslookup mirror.slitaz.org 8.8.8.8

Server:    8.8.8.8

Address 1: 8.8.8.8 google-public-dns-a.google.com

Name:      mirror.slitaz.org

Address 1: 94.23.209.91 ns303969.ovh.net

root@slitaz4:/home/user/Desktop# nslookup mirror.slitaz.org 8.8.4.4

Server:    8.8.4.4

Address 1: 8.8.4.4 google-public-dns-b.google.com

Name:      mirror.slitaz.org

Address 1: 94.23.209.91 ns303969.ovh.net

Offline

#11 2013-02-21 18:37:32

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: your packages list is older than 10 days...

The following edit will use google DNS servers:

su, password: root

[c]# /etc/init.d/network.sh stop[/c]

[c]# leafpad /usr/share/udhcpc/default.script[/c]

Add what's in bold:

#!/bin/sh

# udhcpc script edited by Tim Riker

dns="8.8.8.8 8.8.4.4"

[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1

...

leafpad=>File/Save/File/Quit

Restart networking:

[c]# /etc/init.d/network.sh start[/c]

Test the new configuration:

[c]ping mirror.slitaz.org[/c]

root@slitaz4:/home/user`# rm /var/lib/tazpkg/ID

root@slitaz4:/home/user[c]# tazpkg recharge[/c]

Offline

#12 2013-02-21 23:34:23

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Re: your packages list is older than 10 days...

OK Mojo, I did what you said, here is the outcome:

root@slitazCPX:/home/user# /etc/init.d/network.sh start

ifconfig: SIOCGIFFLAGS: No such device

ifconfig: SIOCGIFFLAGS: No such device

Configuring wlan0...                                                 [ OK ]

Starting wpa_supplicant for WPA-PSK...

Starting udhcpc client on: wlan0...

Selected interface 'wlan0'

root@slitazCPX:/home/user# ping mirror.slitaz.org

PING mirror.slitaz.org (94.23.209.91): 56 data bytes

64 bytes from 94.23.209.91: seq=0 ttl=48 time=116.388 ms

64 bytes from 94.23.209.91: seq=1 ttl=48 time=112.723 ms

64 bytes from 94.23.209.91: seq=2 ttl=48 time=114.980 ms

64 bytes from 94.23.209.91: seq=3 ttl=48 time=113.030 ms

64 bytes from 94.23.209.91: seq=4 ttl=48 time=113.900 ms

64 bytes from 94.23.209.91: seq=5 ttl=48 time=167.791 ms

c64 bytes from 94.23.209.91: seq=6 ttl=48 time=116.265 ms

64 bytes from 94.23.209.91: seq=7 ttl=48 time=113.349 ms

64 bytes from 94.23.209.91: seq=8 ttl=48 time=115.693 ms

^C

--- mirror.slitaz.org ping statistics ---

9 packets transmitted, 9 packets received, 0% packet loss

round-trip min/avg/max = 112.723/120.457/167.791 ms

root@slitazCPX:/home/user# rm /var/lib/tazpkg/ID

root@slitazCPX:/home/user# tazpkg recharge

Creating backup of the last packages list...                         [ OK ]

--2013-02-21 18:30:59--  http://mirror.slitaz.org/packages/4.0/packages.desc

Resolving mirror.slitaz.org (mirror.slitaz.org)... 94.23.209.91

Connecting to mirror.slitaz.org (mirror.slitaz.org)|94.23.209.91|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 357447 (349K) [text/plain]

Saving to: `packages.desc'

100%[======================================>] 357,447      211K/s   in 1.7s   

2013-02-21 18:31:01 (211 KB/s) - `packages.desc' saved [357447/357447]

--2013-02-21 18:31:01--  http://mirror.slitaz.org/packages/4.0/packages.md5

Resolving mirror.slitaz.org (mirror.slitaz.org)... 94.23.209.91

Connecting to mirror.slitaz.org (mirror.slitaz.org)|94.23.209.91|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 200142 (195K) [text/plain]

Saving to: `packages.md5'

100%[======================================>] 200,142      154K/s   in 1.3s   

2013-02-21 18:31:03 (154 KB/s) - `packages.md5' saved [200142/200142]

--2013-02-21 18:31:03--  http://mirror.slitaz.org/packages/4.0/packages.txt

Resolving mirror.slitaz.org (mirror.slitaz.org)... 94.23.209.91

Connecting to mirror.slitaz.org (mirror.slitaz.org)|94.23.209.91|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 280844 (274K) [text/plain]

Saving to: `packages.txt'

100%[======================================>] 280,844      177K/s   in 1.6s   

2013-02-21 18:31:05 (177 KB/s) - `packages.txt' saved [280844/280844]

--2013-02-21 18:31:05--  http://mirror.slitaz.org/packages/4.0/packages.list

Resolving mirror.slitaz.org (mirror.slitaz.org)... 94.23.209.91

Connecting to mirror.slitaz.org (mirror.slitaz.org)|94.23.209.91|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 61644 (60K) [text/plain]

Saving to: `packages.list'

100%[======================================>] 61,644      81.0K/s   in 0.7s   

2013-02-21 18:31:06 (81.0 KB/s) - `packages.list' saved [61644/61644]

--2013-02-21 18:31:06--  http://mirror.slitaz.org/packages/4.0/packages.equiv

Resolving mirror.slitaz.org (mirror.slitaz.org)... 94.23.209.91

Connecting to mirror.slitaz.org (mirror.slitaz.org)|94.23.209.91|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 4091 (4.0K) [text/plain]

Saving to: `packages.equiv'

100%[======================================>] 4,091       --.-K/s   in 0.1s   

2013-02-21 18:31:06 (41.0 KB/s) - `packages.equiv' saved [4091/4091]

--2013-02-21 18:31:06--  http://mirror.slitaz.org/packages/4.0/files.list.lzma

Resolving mirror.slitaz.org (mirror.slitaz.org)... 94.23.209.91

Connecting to mirror.slitaz.org (mirror.slitaz.org)|94.23.209.91|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 1859935 (1.8M) [application/octet-stream]

Saving to: `files.list.lzma'

100%[======================================>] 1,859,935    529K/s   in 4.1s   

2013-02-21 18:31:11 (442 KB/s) - `files.list.lzma' saved [1859935/1859935]

--2013-02-21 18:31:11--  http://mirror.slitaz.org/mirrors

Resolving mirror.slitaz.org (mirror.slitaz.org)... 94.23.209.91

Connecting to mirror.slitaz.org (mirror.slitaz.org)|94.23.209.91|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 692 [text/plain]

Saving to: `mirrors'

100%[======================================>] 692         --.-K/s   in 0s     

2013-02-21 18:31:11 (13.6 MB/s) - `mirrors' saved [692/692]

Mirrored packages diff

================================================================================

No new packages on the mirror.

Offline

#13 2013-02-22 00:15:24

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: your packages list is older than 10 days...

It looks to me that downloading the package/mirror files is solved.

[c]tazpkg search xorg[/c] <= should list installed followed by available.

Offline

#14 2013-02-25 12:58:33

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Re: your packages list is older than 10 days...

Thanks for all your help Mojo, The issue I believe is DNS at my office. It functions completely differently at home. But honestly as you can see from my post, it is still showing the "|" even when I am at home, why is that?

Offline

#15 2013-03-20 15:15:57

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Re: your packages list is older than 10 days...

any ideaS?

Offline

#16 2013-03-20 16:32:55

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: your packages list is older than 10 days...

Post the output:

[c]cat /etc/resolv.conf[/c]

[c]nslookup mirror.slitaz.org[/c]

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.58 MiB (Peak: 1.77 MiB) ]