SliTaz SliTaz Forum

You are not logged in.

#1 2013-04-11 19:19:00

yves04
Member
Registered: 2012-09-23
Posts: 135

Help : my tazpkg is broken

Hello

I think I'v made a big mistake somewhere because when I type

#tazpkg up

the result is

fgrep: /var/lib/tazpkg/packages.md5: Aucun fichier ou dossier de ce type

grep: /var/lib/tazpkg/packages.list: Aucun fichier ou dossier de ce type

Is it possible to fix my system without make a new installation ?

Thanks a lot for this very light, fast and pleasant Linux

Offline

#2 2013-04-11 20:31:12

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Help : my tazpkg is broken

Could you translate the error? Did you recharge before using up? Have you noticed that mirror.slitaz.org is down and that you need to use one of the alternative mirrors? Try one of the ones found in the second post @ http://forum.slitaz.org/topic/please-read-this-before-posting

Offline

#3 2013-04-11 21:16:57

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

Re: Help : my tazpkg is broken

If I do this:

[c]# rm /var/lib/tazpkg/packages.md5[/c]

[c]# rm /var/lib/tazpkg/packages.list[/c]

Then the same error:

[c]# tazpkg up[/c]

fgrep: /var/lib/tazpkg/packages.md5: No such file or directory

grep: /var/lib/tazpkg/packages.list: No such file or directory

One way to fix:

[c]# cp /var/lib/tazpkg/packages.md5.bak /var/lib/tazpkg/packages.md5[/c]

[c]# cp /var/lib/tazpkg/packages.list.bak /var/lib/tazpkg/packages.list[/c]

or

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

[c]# tazpkg up -r[/c]

Offline

#4 2013-04-12 04:03:25

yves04
Member
Registered: 2012-09-23
Posts: 135

Re: Help : my tazpkg is broken

Thanks Trixar & mojo for your quick answers.

Before posting, I have read the read-this-before-posting but certainly I had erased packages.md5 packages.list and the back files by typing rm packages* .

It was stupid !. Fortunately the commands

#rm /var/lib/tazpkg/ID

and

#tazpkg up -r

have given my system a second life.

Have a nice day

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

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