SK-Yang / torchat

Automatically exported from code.google.com/p/torchat
0 stars 0 forks source link

error installation torchat #104

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
hello,

i send you this message, because i have an error when i try to install torchat 
on my pc .

i have linux ubuntu 11.04 64bits

when i try to install torchat-0.9.9.534.deb ,it give to me this message : 
http://img837.imageshack.us/img837/5021/torchat.png

translation :

The package is of poor quality

The installation of a package that does not meetquality standards is not 
allowed. This could lead to serious problems on your computer. Please contact 
the person or organization that provided the package including the information 
below.

Details:
The package does not provide a field size controlvalid. See Debian Policy 5.6.20

thanks for your help

Original issue reported on code.google.com by areza...@yahoo.fr on 8 May 2011 at 4:51

GoogleCodeExporter commented 9 years ago
A control file is needed for this error to disappear. 

Torchat is now available in the official Debian repository (thanks to Ulises 
Vitulli)[1]. You could use that package for now, it should work in Ubuntu too.

Some of the changes made for the Debian packaging could be backported, the 
source code is the same though (except python-socksipy isn't shipped in the 
package itself).

[1] http://packages.debian.org/sid/torchat

Original comment by erik.est...@googlemail.com on 8 May 2011 at 8:56

GoogleCodeExporter commented 9 years ago
I just learned about the package in sid 5 minutes ago though this issue report 
here. I alrady contacted the maintainer to see if I can include his version of 
the build script in my svn to make it easier to produce conforming packages.

The debian .deb package has removed socksipy and made it depend on the debian 
version of socksipy. But the socksipy that ships with torchat was patched by me 
2 years ago to fix a small error (it cost me a few hours and many nerves to 
find it) in one of the supported socks protocol versions and I simply included 
the patched version since it is only one small file anyways to make it easier 
and also included its license which is compatible to gpl.

Regarding the control file, there is a control file already with most (all?) of 
the required fields but missing many optional ones. It seems that some of the 
optional fields are no longer optional and produce warnings. This should be 
easy to fix in the make_debian_package.py file if I had a list of required 
fields (not all possible fields, only the ones that went from optional to 
required and produce warnings nowadays). 

Original comment by prof7...@gmail.com on 9 May 2011 at 8:36

GoogleCodeExporter commented 9 years ago
Thank you for your answers, but i am a beginner.
What should i do ?

Original comment by areza...@yahoo.fr on 9 May 2011 at 9:25

GoogleCodeExporter commented 9 years ago
Debian Policy[1]:
"5.6.20 Installed-Size

This field appears in the control files of binary packages, and in the Packages 
files. It gives an estimate of the total amount of disk space required to 
install the named package. Actual installed size may vary based on block size, 
file system properties, or actions taken by package maintainer scripts.

The disk space is given as the integer value of the estimated installed size in 
bytes, divided by 1024 and rounded up."

That field is not mandatory for Debian (as of Debian Policy 5.3[1]), but might 
be for Ubuntu.

@ areza...@yahoo.fr: download the .deb file from Debian (link is above) and 
install it or wait for it to be fixed here.

[1] http://www.debian.org/doc/debian-policy/ch-controlfields.html

Original comment by erik.est...@googlemail.com on 9 May 2011 at 10:39

GoogleCodeExporter commented 9 years ago
ok thank you, i succeeded, i had not well searched on the page : 
http://packages.debian.org/sid/torchat

Original comment by areza...@yahoo.fr on 10 May 2011 at 5:43