SliTaz SliTaz Forum

You are not logged in.

#1 2015-12-12 11:43:57

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Tazpkg bug

Hi Aleksej,

Long time I didn't use TazPanel. This morning I saw md5 in the displayed packages list.

Checked with TazPkg, same:

root@slitaz:/home/ceel# tazpkg -l | more

Liste des paquets installés
================================================================================
1f7aa67b5cd831b4af1b28af560bfb7d
3d18df375ec99839c1d0f370931c3ca2
915resolution                      0.5.3             outils système
acl                                2.2.51            outils système
alsa-lib                           1.0.27.2          multimédia
alsaplayer                         0.99.81           multimédia
alsa-utils                         1.0.27.2          multimédia
asunder                            2.7               multimédia
atk                                2.15.4            X-window
atkmm                              2.22.6            X-window
attr                               2.4.47            outils système
beaver                             0.4.1             développement
busybox                            1.23.2            système de base
bzlib                              1.0.6             utilitaires
c9e7edb9275de085a34f8d8b7b2e4602
cacerts                            20150429          sécurité
cairo                              1.14.4            X-window
cairomm                            1.11.2            X-window
cdparanoia-III                     10.2              multimédia
cdrkit                             1.1.11            utilitaires
cherrytree                         0.28.5            bureautique
clearlooks-colors                  2.22              système de base
clearlooks-compact                 1.5               système de base
cookutils                          781               système de base
curl                               7.40.0            réseau
cyrus-sasl                         2.1.23            réseau
db                                 5.3.21            divers
dbus                               1.6.22            X-window
dbus-glib                          0.102             X-window
dbus-helper                        1.6.22            développement
desktop-file-utils                 0.21              X-window
dialog                             1.1-20110707      système de base
dropbear                           2015.68           sécurité
e2fsprogs                          1.42.12           système de base
e3ae5670c929799228da011ae593e608
--More--

So I suppose bug is in TazPkg.

I thought there was an opened topic to report bugs in TazPkg but I only found the one about tazpkg-test.

Offline

#2 2015-12-12 14:58:53

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Tazpkg bug

Hi Ceel,

Nothing wrong to create new topic.

Your output seems like some garbage produced by transitional versions of the TazPkg.

How long have you updated TazPkg? How long have you launched a specified command?

Will there be recently this garbage, or perhaps he was here for a long time?

The simplest way to remove garbage is to recreate [c]/var/lib/tazpkg/installed.info[/c] from scratch:

[c]# rm /var/lib/tazpkg/installed.info
# tazpkg[/c]
But I suggest you deal with this garbage:

[c]# mv /var/lib/tazpkg/installed.info /var/lib/tazpkg/installed.info.old
# tazpkg
$ sort /var/lib/tazpkg/installed.info.old > /tmp/list.old
$ sort /var/lib/tazpkg/installed.info     > /tmp/list.new
$ diff /tmp/list.old /tmp/list.new[/c]
Is something changed except the garbage?

Second, you can try to search garbage-md5 inside the [c]/var/lib/tazpkg[/c] folder:

[c]grep -Hr 3d18df375ec99839c1d0f370931c3ca2 /var/lib/tazpkg[/c]
I have an 10 old backups here dated from May to August this year (150508 - 150817), so I found there:

[c]1f7aa67b5cd831b4af1b28af560bfb7d sqlite-3.8.11.1    (now  and 150817)
3d18df375ec99839c1d0f370931c3ca2 libsqlite-3.8.08.2 (150508 - 150817)
c9e7edb9275de085a34f8d8b7b2e4602 libjpeg-8c         (150508 - 150817)
e3ae5670c929799228da011ae593e608 curl-7.40.0        (150508 - 150817)[/c]
Please check do you have installed all the packages mentioned above? Or there is only garbage without useful info about installed package?

[c]$ tazpkg info sqlite
$ tazpkg info libsqlite
$ tazpkg info libjpeg
$ tazpkg info curl[/c]
I can find more md5sums in my backups if you need.

Offline

#3 2015-12-12 15:08:40

alexx
Member
Registered: 2015-11-14
Posts: 49

Re: Tazpkg bug

Hello, Alexey! I think need show post     request in Tazpanel (Application section)

after push button search form is clear

Offline

#4 2015-12-12 17:17:08

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Tazpkg bug

Привет, alexx. Можно по-русски?

Або ж українською. На жаль, не можу зрозуміти, про що йдеться.

Offline

#5 2015-12-12 17:52:38

Ceel
Administrator
Registered: 2011-04-02
Posts: 1,424

Re: Tazpkg bug

@Alelsej

How long have you updated TazPkg?

Last update = yesterday:

[c]2015-12-11 21:16:44 - Installed - tazpkg (888) - d3a004d7e85036533dd303bb2c6e6e07[/c]

Previous updates:

[c]2015-12-07 19:22:04 - Installed - tazpkg (884) - b351a39a4db9cf39d26101fb9e972a96

2015-12-06 01:29:47 - Installed - tazpkg (884) - cf6ca4a9015bce4c5427edfbe864aea8

2015-12-01 19:51:47 - Installed - tazpkg (878) - 035b996c161bc9ef2b4a604c76775271

2015-11-29 23:13:48 - Installed - tazpkg (866) - 49d8ec6338e004af3b624a418fbcc5fc

2015-11-20 19:45:02 - Installed - tazpkg (866) - dc52ddaa534e4fb7a485d51257733c86

2015-11-18 21:37:42 - Installed - tazpkg (860) - f1e40972c9724dbd51d27d1946651228

2015-11-14 16:39:43 - Installed - tazpkg (859) - 1db3aebca35b534c5795faf9aa786154

2015-09-19 12:44:15 - Installed - tazpkg (839) - 5765447cda22ca1995de2e6662865291

2015-08-25 21:06:53 - Installed - tazpkg (839) - c12a47cf11ceeebcefa12eb68ea1aff3

2015-08-21 19:31:12 - Installed - tazpkg (836) - 622f29ee0f9bbd2a0ed3bcb3a71f9444

2015-08-10 18:16:23 - Installed - tazpkg (827) - 9c8dc8ea62d1524a811ade65f092c583

2015-08-04 10:40:12 - Installed - tazpkg (824) - 58ab14b571f90fd9ca40eb0cf777e313

2015-07-26 22:18:44 - Installed - tazpkg (819) - 77f355cf4e73102966dfc675664292cc

2015-07-21 22:00:01 - Installed - tazpkg (818) - 84f5e9fede6cbd4fe420b944ccdd09e1

2015-07-18 18:08:13 - Installed - tazpkg (817) - 4e8fbbd12de4135be97dc42c83d97850[/c]

Will there be recently this garbage, or perhaps he was here for a long time?

I really don't know. It's possible it is here for a long time. I didn't use TazPanel for months so I didn't see my pakages list, and I never use [c]tazpkg -l[/c]

$ diff /tmp/list.old /tmp/list.new

Is something changed except the garbage?

Yes! But I think that's normal because when updating a package because a new build, TazPkg updates the corresponding line in installed.info file. But when TazPkg updates a package because a new version, it creates a new line and doesn't delete the old one. The fresh installed.info has only the current versions of installed packages.

Please check do you have installed all the packages mentioned above?

Yes, the four of them.

I gave look in tazpkg.log.

The md5 1f7aa67b5cd831b4af1b28af560bfb7d for the first time between 2 lines:

[c]2015-08-10 18:16:17 - Installed - sqlite (3.8.11.1) - c4c56e7584b9ae012643e41481158eaa

1f7aa67b5cd831b4af1b28af560bfb7d

2015-08-10 18:16:20 - Installed - tazpanel (522) - 06909601d0f6a27918cf238aec1c168c[/c]

and e3ae5670c929799228da011ae593e608 the 21th of august

3d18df375ec99839c1d0f370931c3ca2 and c9e7edb9275de085a34f8d8b7b2e4602 are not found.

I remebered someone's (gdesilva) already signaled this but I didn't find the topic. I have it: http://forum.slitaz.org/topic/strange-package-name-have-i-been-hacked#post-38869

It was the 4th august just after TazPkg 824 has been released; it is the culprit!

You're right; this is garbages from an old version of TazPkg.

Offline

#6 2015-12-12 18:46:26

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Tazpkg bug

Ceel,

I hope the problem is solved for now.

But you have strange results of the diff, is it another bug? — both lists are sorted alphabetically and should provide almost the same info. You wrote, old lines are not has been removed from installed.info, it may be the clue.

Offline

#7 2015-12-12 19:44:22

alexx
Member
Registered: 2015-11-14
Posts: 49

Re: Tazpkg bug

@Alexey,

/var/www/pkgs.cgi

[c]<br />
(<br />
#<br />
# xHTML functions<br />
#</p>
<p># ENTER will search but user may search for a button, so put one.<br />
search_form() {<br />
<input type="text" name="search" size="20"></p>
<p>)<br />[/c]
==>

[c]<br />
<input value="$(GET search)" type="text" name="search" size="20"><br />

(я просто заметил, что не удобно когда ищешь что-либо по-новой вбивать
название пакета, хотел сказать давно уже, по-моему удобнее чтобы запрос в текстовом поле был, ах да, get-запрос..

А, уже в новой версии поправили, сейчас только попробовал новый rolling, tazpanel хорошо смотрится[/c]

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.56 MiB (Peak: 1.77 MiB) ]