You are not logged in.
Pages: 1
Hi
After todays upgrade, I have a problem. After tazpkg package upgrades, upgrade can't continue and I have an error:
Installation of: tazpkg
================================================================================
Copying tazpkg... [ Done ]
Extracting tazpkg... [ Done ]
Installing tazpkg... [ Done ]
Removing old tazpkg... [ Done ]
Removing all tmp files... [ Done ]
================================================================================
tazpkg (839) is installed.
awk: /var/lib/tazpkg/installed.info: No such file or directory
awk: /var/lib/tazpkg/packages.info: No such file or directory
awk: /var/lib/tazpkg/packages.info: No such file or directory
Message continues with same outcome - remaining packages wasn't installed.
How can I solve this problem? Does anyone else have it?
Offline
Add installed.info:
root@slitaz:/# [c]tazpkg -l[/c]
Add packages.info:
root@slitaz:/# [c]rm -f /var/lib/tazpkg/ID && tazpkg recharge[/c]
Offline
/var/lib/tazpkg/installed.info is missing, deleted. After installing tazpkg all the other packages didn't install (I have problem with missing icons, probably something more). So "tazpkg -l" list only tazpkg that I installed later, again.
tazpkg recharge (11-09 10:07)
Recharging repository "Main"
================================================================================
Checking... [ Done ]
Database timestamp: 11/08/15 18:48
================================================================================
Repository "Main" is up to date.
tazpkg upgrade (11-09 10:10)
Recharging repository "Main"
================================================================================
Checking... [ Done ]
Database timestamp: 11/08/15 18:48
================================================================================
Repository "Main" is up to date.
Package Repository Version Status
================================================================================
System is up-to-date...
1 installed package scanned in 1s
I know my system is f*cked but how to repair it (if can be repaired) and how to prevent that this doesn't happen again? This is my second try to use slitaz. First was ended by the same problem.
Offline
Hi Joshida,
According to tazpkg reports from the first post, you are trying to upgrade at least one-year-old tazpkg.
how to prevent that this doesn't happen again?
SliTaz Rolling rolls little by little. But for a year it has rolled away very far. Old SliTaz will have to overcome a great abyss, and not the fact that it happens. Instead of updating as the old system, install it from scratch. Update packages on a regular basis and report problems here on forum, or in the bug tracker.
Now I tried to remove the [c]/var/lib/tazpkg/installed.info[/c] and restore it, and I did. Remove your incomplete file and do as I do:
[c]root@slitaz:~# rm /var/lib/tazpkg/installed.info
root@slitaz:~# tazpkg
awk: /var/lib/tazpkg/installed.info: No such file or directory
File "installed.info" generated. Please wait...
SliTaz package manager - Version: 839
================================================================================
Installed packages: 758
Installed files: 32283
Blocked packages: 9
Upgradeable packages: 409
Repository: Main
Last recharge: Today at 02:14.
Database timestamp: 11/08/15 20:48
Mirrored packages: 5013
Repository: Undigest Undigest
Last recharge: Today at 02:14.
Database timestamp: 09/23/15 21:24
Mirrored packages: 109
================================================================================
root@slitaz:~#[/c]
If you run tazpkg as regular user in the absence of installed.info it will give you a little advice:
[c]tux@slitaz:~$ tazpkg
awk: /var/lib/tazpkg/installed.info: No such file or directory
Missing: /var/lib/tazpkg/installed.info
Please run tazpkg as root.[/c]
What we already did.
Offline
That's all great, on your system
It's my mistake that I didn't provide all the infos so here are they:
I'm using "latest" cooking core iso. I downloaded it about 2 weeks ago, system is installed about one wick. I did install few packages, didn't upgrade system til this morning. So, I think that my system isn't that old.
File that you mentioned, installed.info is missing. I did try to make it with touch but that didn't help. Errors that I copyed upthere are after "touch"ing that file. But, I'll try again:
[root@slitaz$:lib/tazpkg]# rm /var/lib/tazpkg/installed.info (11-09 11:55)
[root@slitaz$:lib/tazpkg]# tazpkg (11-09 11:56)
awk: /var/lib/tazpkg/installed.info: No such file or directory
SliTaz package manager - Version:
================================================================================
/usr/bin/tazpkg:2679: no such file or directory: /var/lib/tazpkg/installed.info
/usr/bin/tazpkg:2691: parse error near `$PKGS_DB'
/usr/bin/tazpkg:2679: parse error in command substitution
That's the error. I may add that I'm using zsh instead of busybox ash but I think that not the problem (becouse I just change it back to sh and error remains).
About tazpkg package:
[root@slitaz$:/home/ronin]# tazpkg search tazpkg (11-09 11:57)
awk: /var/lib/tazpkg/installed.info: No such file or directory
Search result for "tazpkg"
================================================================================
Installed packages
--------------------------------------------------------------------------------
awk: /var/lib/tazpkg/installed.info: No such file or directory
================================================================================
0 installed packages found for "tazpkg"
Available packages
--------------------------------------------------------------------------------
tazpkg 839 base-system
tazpkg-desc-ru 150616 misc
tazpkg-test 853 base-system
================================================================================
3 available packages found for "tazpkg"
So I think that I have latest "official" tazpkg.
Offline
As I can see, you and I aren't using the same system. Info messagest that your 839 tazpkg show to you aren't as my tazpkg 839.
Offline
New info:
I tried with tazpkg-next package. Installed and installed.info is autogenerated (with strange message that zvbi package is installed ?). After that, tazpkg upgrade show packages that I can upgrade.
Offline
Never mind, I give up. It seems that I was using old version of slitaz. So there are stable, cooking, rolling, rc ... so many to choose from.
Offline
Pages: 1
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]