You are not logged in.
Pages: 1
At least with the 2 last rolling (20150208 and 20150215) I can't arrive to upgrade my system with TazPanel. Exemple:
Full installation from 20150215 iso
[*]Recharge list from the icon in the right side of the upper bar; 4 packages to upgrade
gdk-pixbuf 2.31.1 An image loading library for gtk2
gtk+ 2.24.24 The GIMP Toolkit.
syslinux 4.06 LiveCD ISO bootloader (isolinux)
syslinux-extra 4.06 MBR/FAT/EXT3/PXE bootloader files
[*]Toogle all and install
[*]Reboot. The icon still appears in the panel; 2 packages to upgrade
gdk-pixbuf 2.31.1 An image loading library for gtk2
syslinux-extra 4.06 MBR/FAT/EXT3/PXE bootloader files
[*]Toogle all and install
[*]Reboot... 1 package to upgrade
gdk-pixbuf 2.31.1 An image loading library for gtk2
[*]Select and install
And so on, unable to install this last package
Try with command line (see attached file tazpkg_1.txt), same. Had to clean the cache, recharge list and then upgrade was OK. (note the package version status went from [c]New build[/c]to <New version 2.31.2)
Second test: full installation, always from 20150215 iso
Upgrade directly from the command line -> no package to upgrade, System is up-to-date... and the icon in the upper panel disappeared (see tazpkg_2.txt)
Offline
Pascal Bellard administers the mirrors so he could explain better the situation.
My observation from using tazpkg in terminal is mirror.slitaz.org redirects to other mirrors in the middle of a recharge. If the mirrors are not all updated and in sync it creates this problem. My solution is to not use mirror.slitaz.org but another slitaz mirror which updates every day and gives me a solid connection so every recharge file and tazpkg is pulled from the same server.
Tazpanel/Packages is not verbose enough to see if operations are working correctly,other than testing it I never use it.
Offline
Some years ago the slitaz mirror had some down time.
Now mirror.slitaz.org point to 3 addresses: mirror1.slitaz.org, mirror2.slitaz.org and mirror3.slitaz.org (try 'nslookup mirror.slitaz.org')
These mirrors are synced every day but the cooking development may be faster. (It should be ok with 4.0)
A 'tazpkg recharge' may select a mirror and 'tazpkg update' may select another one.
As workaround, you can define a unique mirror.slitaz.org address in your /etc/hosts. Example using mirror3.slitaz.org only:
# echo '212.83.135.187 mirror.slitaz.org' >> /etc/hosts
Offline
Thanks both of you,
Is that the problem could not come from TazPanel rather than a mirror?
In the first example I described, even if TazPanel is not many verbose, I can see messages telling the 4 packages have been downloaded, copied, extracted and installed, and then tmp files removed...
At the following upgrade, TazPanel said the 2 packages were already in cache and managed to install one of them.
So, packages have been correctly downloaded and aren't corrupted.
This is even more significant with rolling 20150208; it is necessary to successively update 5 or 6 times.
It looks like TazPanel didn't update the packages.list correctly.
But sure, the packages list I downloaded with TazPanel was different the one I downloaded with tazpkg. I'll re-install SliTaz and will change the address of the mirror before first update.
Offline
packages list I downloaded with TazPanel was different the one I downloaded with tazpkg
TazPanel uses TazPkg to load lists.
Problem is with badly syncronized mirrors, as Pascal said. Even IDs may be different:
[c]tux@slitaz:~$ curl -L http://mirror.slitaz.org/packages/cooking/ID
f04c656fe21efb45378418674c7f71c8
tux@slitaz:~$ curl -L http://mirror.slitaz.org/packages/cooking/ID
6046a148189795bdae42ac9caf3738c6
tux@slitaz:~$ curl -L http://mirror.slitaz.org/packages/cooking/ID
6046a148189795bdae42ac9caf3738c6[/c]
What is happen above? When I ask for URI (http://mirror.slitaz.org/packages/cooking/ID), server mirror.slitaz.org redirects me to a random mirror. Some of mirrors has old files.
[c]tux@slitaz:~$ curl -I http://mirror.slitaz.org/packages/rolling/ID
HTTP/1.1 301 Moved Permanently
Location: http://mirror.switch.ch/ftp/mirror/slitaz/packages/rolling/ID
Date: Sun, 15 Feb 2015 23:26:48 GMT
Server: lighttpd (SliTaz GNU/Linux)
tux@slitaz:~$ curl -I http://mirror.slitaz.org/packages/rolling/ID
HTTP/1.1 302 Found
Date: Sun, 15 Feb 2015 23:26:49 GMT
Server: Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0g DAV/2 PHP/5.4.4 mod_wsgi/3.3 Python/2.7.2
Location: http://download.tuxfamily.org/slitaz/packages/rolling/ID
Content-Type: text/html; charset=iso-8859-1[/c]
Mirror1 is a master mirror. Every other mirrors are synchronized using it. So, everytime it has actual updates (and, frankly, I stick to it):
[c]tux@slitaz:~$ curl -L http://mirror1.slitaz.org/packages/cooking/ID
6046a148189795bdae42ac9caf3738c6[/c]
Current state of mirrors:
[c]tux@slitaz:~$ for mirror in $(cat /var/lib/tazpkg/mirrors); do echo -en "$mirror\t"; curl -L ${mirror}packages/cooking/ID; done
http://mirror.slitaz.org/ 6046a148189795bdae42ac9caf3738c6
http://mirror.switch.ch/ftp/mirror/slitaz/ f04c656fe21efb45378418674c7f71c8
ftp://mirror.switch.ch/mirror/slitaz/ f04c656fe21efb45378418674c7f71c8
http://www.gtlib.gatech.edu/pub/slitaz/ 6046a148189795bdae42ac9caf3738c6
ftp://ftp.gtlib.gatech.edu/pub/slitaz/ 6046a148189795bdae42ac9caf3738c6
http://download.tuxfamily.org/slitaz/ f04c656fe21efb45378418674c7f71c8
ftp://download.tuxfamily.org/slitaz/ f04c656fe21efb45378418674c7f71c8
http://slitaz.c3sl.ufpr.br/ 6046a148189795bdae42ac9caf3738c6
ftp://slitaz.c3sl.ufpr.br/slitaz/ 6046a148189795bdae42ac9caf3738c6
http://slitaz.mirror.garr.it/mirrors/slitaz/ 6046a148189795bdae42ac9caf3738c6
ftp://slitaz.mirror.garr.it/mirrors/slitaz/ 6046a148189795bdae42ac9caf3738c6
http://distro.ibiblio.org/pub/linux/distributions/slitaz/ f04c656fe21efb45378418674c7f71c8
http://ftp.ch.xemacs.org/ftp/pool/4/mirror/slitaz/ f04c656fe21efb45378418674c7f71c8
ftp://ftp.ch.xemacs.org/pool/4/mirror/slitaz/ f04c656fe21efb45378418674c7f71c8
http://mirror.clarkson.edu/slitaz/ 6046a148189795bdae42ac9caf3738c6[/c]
7 mirrors of 14 are synchronized with master mirror.
But... No... Not, it is only one file, named "ID"! Really it not mean that sychronization is over! It may have actual "ID" file but outdated "packages.list", etc...
So, Ceel, every your upgrade is unpredictable if you not used master mirror.
(Btw, mirror2.slitaz.org and mirror3.slitaz.org are not intended to mirroring, really:
[c]tux@slitaz:~$ curl http://mirror2.slitaz.org/packages/cooking/ID
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>404 - Not Found</title>
</head>
<body>
<h1>404 - Not Found</h1>
</body>
</html>
tux@slitaz:~$ curl http://mirror3.slitaz.org/packages/cooking/ID
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /packages/cooking/ID was not found on this server.</p>
</body></html>[/c]
Offline
Ceel,
Interesting things in your tazpkg2.txt:
[c]
packages.desc - from download.tuxfamily.org (88.191.250.171:80) -
packages.md5 - from mirror.slitaz.org (188.165.229.172:80) +
packages.txt - from mirror.switch.ch (130.59.10.36:80) -
packages.list - from download.tuxfamily.org (88.191.250.18:80) -
packages.equiv - from mirror.slitaz.org (188.165.229.172:80) +
files.list.lzma - from mirror.switch.ch (130.59.10.36:80) -
extra.list - from download.tuxfamily.org (88.191.250.171:80) -
mirrors - from mirror.slitaz.org (188.165.229.172:80) +
[/c]
I marked with "+" at the end mirrors that are currently updated (likely), and with "-" mirrors that are currently outdated (also likely).
Offline
I have updated mirror2.slitaz.org and mirror3.slitaz.org like this:
$HTTP["host"] =~ "mirror.*\.slitaz\.org$" {
url.redirect = (
"^/packages/cooking/(.*)" => "http://mirror1.slitaz.org/packages/cooking/$1",
"^/iso/rolling/(.*)" => "http://mirror1.slitaz.org/iso/rolling/$1",
"^/(.*)" => "http://mirror.switch.ch/ftp/mirror/slitaz/$1"
)
}
cooking updates should point to mirror1 only now.
$ curl -L http://mirror1.slitaz.org/packages/cooking/ID
7616f21fcee1638d5ee5b29976ebbe01
$ curl -L http://mirror2.slitaz.org/packages/cooking/ID
7616f21fcee1638d5ee5b29976ebbe01
$ curl -L http://mirror3.slitaz.org/packages/cooking/ID
7616f21fcee1638d5ee5b29976ebbe01
Offline
That's OK for me since Bellard has updated mirrors. Thanks.
And thanks too @ Aleksej for your full explanation.
Offline
Pages: 1
[ Generated in 0.018 seconds, 8 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]