Forum
[Part 1] Download torrent & newsserver package - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Testing & Experimental (/forum-21.html)
+--- Thread: [Part 1] Download torrent & newsserver package (/thread-196.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29


RE: Download torrent & newsserver package - CurlyMo - 2nd Feb, 2013 10:17 PM

Should be fixed, just skip the removal part and just do the install.

Creating a deb package is an extensive procedure as you guys see know ... Smile


RE: Download torrent & newsserver package - harmenzon - 2nd Feb, 2013 10:30 PM

Code:
root@xbian:/home/xbian# dpkg -i xbian-package-nzbget1.0.deb
Selecting previously unselected package xbian-package-nzbget.
(Reading database ... 29097 files and directories currently installed.)
Preparing to replace xbian-package-nzbget 1.0 (using xbian-package-nzbget1.0.deb                                                                                                                     ) ...
Unpacking replacement xbian-package-nzbget ...
/var/lib/dpkg/info/xbian-package-nzbget.postrm: line 3: syntax error in conditio                                                                                                                     nal expression
/var/lib/dpkg/info/xbian-package-nzbget.postrm: line 3: syntax error near `-o'
/var/lib/dpkg/info/xbian-package-nzbget.postrm: line 3: `if [[ $1 == "remove" -o                                                                                                                      $1 == "purge" ]]; then'
dpkg: warning: subprocess old post-removal script returned error exit status 2
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: line 3: syntax error in conditional expression
/var/lib/dpkg/tmp.ci/postrm: line 3: syntax error near `-o'
/var/lib/dpkg/tmp.ci/postrm: line 3: `if [[ $1 == "remove" -o $1 == "purge" ]];                                                                                                                      then'
dpkg: error processing xbian-package-nzbget1.0.deb (--install):
subprocess new post-removal script returned error exit status 2
/var/lib/dpkg/tmp.ci/postrm: line 3: syntax error in conditional expression
/var/lib/dpkg/tmp.ci/postrm: line 3: syntax error near `-o'
/var/lib/dpkg/tmp.ci/postrm: line 3: `if [[ $1 == "remove" -o $1 == "purge" ]];                                                                                                                      then'
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 2
Errors were encountered while processing:
xbian-package-nzbget1.0.deb
root@xbian:/home/xbian#



RE: Download torrent & newsserver package - CurlyMo - 2nd Feb, 2013 10:35 PM

Did you actually download the new package?

Or maybe still try to first remove the package and that installing it again.

Or run a 'apt-get clean' first?


RE: Download torrent & newsserver package - harmenzon - 2nd Feb, 2013 11:04 PM

Quote:Did you actually download the new package?

Or maybe still try to first remove the package and that installing it again.

Or run a 'apt-get clean' first?
Yes I did download.
Should I remove previous download first?
And what is the command again to remove the package?
Thanks!


RE: Download torrent & newsserver package - CurlyMo - 2nd Feb, 2013 11:09 PM

http://forum.xbian.org/thread-196-post-3373.html#pid3373


RE: Download torrent & newsserver package - harmenzon - 2nd Feb, 2013 11:32 PM

Code:
root@xbian:/home/xbian# dpkg -r xbian-package-nzbget
dpkg: error processing xbian-package-nzbget (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
xbian-package-nzbget



RE: Download torrent & newsserver package - CurlyMo - 2nd Feb, 2013 11:38 PM

Now you should be able to install it the again...


RE: Download torrent & newsserver package - harmenzon - 3rd Feb, 2013 12:03 AM

Just to inform you I will copy all errors again. I will start a fresh new install. That's what I always do anyway. To start totally new.

Code:
root@xbian:/home/xbian# wget http://jb.xenserver.sk/xbian/xbian-package-nzbget1.0.deb
--2013-02-02 14:01:20--  http://jb.xenserver.sk/xbian/xbian-package-nzbget1.0.deb
Resolving jb.xenserver.sk (jb.xenserver.sk)... 92.240.248.83
Connecting to jb.xenserver.sk (jb.xenserver.sk)|92.240.248.83|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1947956 (1.9M) [application/x-debian-package]
Saving to: `xbian-package-nzbget1.0.deb.5'

100%[=====================================================>] 1,947,956   1.86M/s   in 1.0s

2013-02-02 14:01:21 (1.86 MB/s) - `xbian-package-nzbget1.0.deb.5' saved [1947956/1947956]

root@xbian:/home/xbian# apt-get install libpar2-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package xbian-package-nzbget needs to be reinstalled, but I can't find an archive for it.
root@xbian:/home/xbian# dpkg -r xbian-package-nzbget
dpkg: error processing xbian-package-nzbget (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
xbian-package-nzbget
root@xbian:/home/xbian# dpkg -i xbian-package-nzbget1.0.deb
Selecting previously unselected package xbian-package-nzbget.
(Reading database ... 29097 files and directories currently installed.)
Preparing to replace xbian-package-nzbget 1.0 (using xbian-package-nzbget1.0.deb) ...
Unpacking replacement xbian-package-nzbget ...
/var/lib/dpkg/info/xbian-package-nzbget.postrm: line 3: syntax error in conditional expression
/var/lib/dpkg/info/xbian-package-nzbget.postrm: line 3: syntax error near `-o'
/var/lib/dpkg/info/xbian-package-nzbget.postrm: line 3: `if [[ $1 == "remove" -o $1 == "purge" ]]; then'
dpkg: warning: subprocess old post-removal script returned error exit status 2
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: line 3: syntax error in conditional expression
/var/lib/dpkg/tmp.ci/postrm: line 3: syntax error near `-o'
/var/lib/dpkg/tmp.ci/postrm: line 3: `if [[ $1 == "remove" -o $1 == "purge" ]]; then'
dpkg: error processing xbian-package-nzbget1.0.deb (--install):
subprocess new post-removal script returned error exit status 2
/var/lib/dpkg/tmp.ci/postrm: line 3: syntax error in conditional expression
/var/lib/dpkg/tmp.ci/postrm: line 3: syntax error near `-o'
/var/lib/dpkg/tmp.ci/postrm: line 3: `if [[ $1 == "remove" -o $1 == "purge" ]]; then'
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 2
Errors were encountered while processing:
xbian-package-nzbget1.0.deb



RE: Download torrent & newsserver package - CurlyMo - 3rd Feb, 2013 12:23 AM

First off all, can you please use our markup code (also applies to your previous posts).

Second of all, look at this line:
Code:
2013-02-02 14:01:21 (1.86 MB/s) - `xbian-package-nzbget1.0.deb.5' saved [1947956/1947956]
You're constantly installing the wrong package:
Code:
dpkg -i xbian-package-nzbget1.0.deb
Instead of:
Code:
dpkg -i xbian-package-nzbget1.0.deb.5



RE: Download torrent & newsserver package - harmenzon - 3rd Feb, 2013 12:37 AM

That was stupid of me. Thanks for pointing me to my mistake.
How do I use the markup code?

The package installed now, but still no success with unpacking.
The original warning is still there:

Code:
Loading configuration failed

Could not load template configuration file nzbget.conf. NZBGet reads the description of options from this file. Please put the file nzbget.conf which comes with the distribution archive of NZBGet into webui-directory (option WebDir). Do not put your actual configuration file but rather the unchanged original file.



RE: Download torrent & newsserver package - CurlyMo - 3rd Feb, 2013 12:43 AM

Quote:How do I use the markup code?
Switching to full reply helps.

Quote:The package installed now, but still no success with unpacking.
The original warning is still there:

Loading configuration failed

Could not load template configuration file nzbget.conf. NZBGet reads the description of options from this file. Please put the file nzbget.conf which comes with the distribution archive of NZBGet into webui-directory (option WebDir). Do not put your actual configuration file but rather the unchanged original file.
Tried to fix it, but hard to test because i'm not home. Please try again.


RE: Download torrent & newsserver package - harmenzon - 3rd Feb, 2013 12:54 AM

Quote:Tried to fix it, but hard to test because i'm not home. Please try again.

I tried and the warning is gone now. But still not able to unpack. Getting these messages in the 'messages screen':

Code:
Sat Feb 02 2013 15:48:43    Collection person of interest s02e13 x264 added to history
Sat Feb 02 2013 15:48:43    post-process-script for person of interest s02e13 x264/person.of.interest.213.720p-dimension failed
Sat Feb 02 2013 15:48:43    Completed post-process-script for person of interest s02e13 x264/person.of.interest.213.720p-dimension
Sat Feb 02 2013 15:48:43    Post-Process: Configuration file /usr/local/bin/nzbget-postprocess.conf not found, exiting
Sat Feb 02 2013 15:48:43    Post-Process: Post-process script successfully started
Sat Feb 02 2013 15:48:43    Executing post-process-script for person of interest s02e13 x264/person.of.interest.213.720p-dimension
Sat Feb 02 2013 15:48:43    Queueing person of interest s02e13 x264/person.of.interest.213.720p-dimension for par-check
Sat Feb 02 2013 15:48:43    person of interest s02e13 x264 returned from history back to download queue



RE: Download torrent & newsserver package - CurlyMo - 3rd Feb, 2013 01:55 AM

And try again...

Also, can you still fix your previous posts as in markup.


RE: Download torrent & newsserver package - harmenzon - 3rd Feb, 2013 02:55 AM

(3rd Feb, 2013 01:55 AM)CurlyMo Wrote:  And try again...

Also, can you still fix your previous posts as in markup.

Tried. One step closer. No error's as you can see below, but the files are still not unpacked.

Code:
Sat Feb 02 2013 17:52:08    Collection person of interest s02e13 x264 added to history
Sat Feb 02 2013 17:52:08    Unpausing queue after post-process-script
Sat Feb 02 2013 17:52:08    post-process-script for person of interest s02e13 x264/person.of.interest.213.720p-dimension sucessful
Sat Feb 02 2013 17:52:08    Completed post-process-script for person of interest s02e13 x264/person.of.interest.213.720p-dimension
Sat Feb 02 2013 17:52:08    Post-Process: Cleaning up
Sat Feb 02 2013 17:52:08    Post-Process: Post-process script successfully started
Sat Feb 02 2013 17:52:08    Executing post-process-script for person of interest s02e13 x264/person.of.interest.213.720p-dimension
Sat Feb 02 2013 17:52:08    Pausing queue before post-process-script
Sat Feb 02 2013 17:52:07    Queueing person of interest s02e13 x264/person.of.interest.213.720p-dimension for par-check
Feb 02 2013 17:52:07    person of interest s02e13 x264 returned from history back to download queue



RE: Download torrent & newsserver package - kas_27_es - 3rd Feb, 2013 03:00 AM

I downloaded "Download package" and the first day it worked fine, but now it doesn't start.

Please, help me.

___________________
Xbian 1.0 alpha 4
Donwload package 1.0