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 - kraleksandr - 16th Feb, 2013 05:43 PM

Ok, it seems that I must start from zero.
1)
Terminal
xbian@xbian:~# sudo apt-get purge xbian-package-transmission
[sudo] password for xbian:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
xbian-package-transmission*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 57.6 MB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 29797 files and directories currently installed.)
Removing xbian-package-transmission ...
Purging configuration files for xbian-package-transmission ...
dpkg: error processing xbian-package-transmission (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
xbian-package-transmission
E: Sub-process /usr/bin/dpkg returned an error code (1)
2) wget && dpkg -i xbian-package-transmission1.0.deb
3) test with default settings - "Unable to save resume file: No such file or directory"
Terminal
xbian@xbian:~# ls -l
total 15504
drwxrwxrwx 2 xbian xbian 4096 Feb 16 11:25 downloads
drwxrwxrwx 2 xbian xbian 4096 Feb 16 11:25 incomplete
drwxrwxrwx 2 xbian xbian 4096 Feb 16 11:25 torrents
-rw-r--r-- 1 xbian xbian 15863704 Feb 8 01:21 xbian-package-transmission1.0.deb
xbian@xbian:~#



Re: RE: Download torrent & newsserver package - kas_27_es - 16th Feb, 2013 05:53 PM

(16th Feb, 2013 05:43 PM)kraleksandr Wrote:  Ok, it seems that I must start from zero.
1)
Terminal
xbian@xbian:~# sudo apt-get purge xbian-package-transmission
[sudo] password for xbian:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
xbian-package-transmission*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 57.6 MB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 29797 files and directories currently installed.)
Removing xbian-package-transmission ...
Purging configuration files for xbian-package-transmission ...
dpkg: error processing xbian-package-transmission (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
xbian-package-transmission
E: Sub-process /usr/bin/dpkg returned an error code (1)
2) wget && dpkg -i xbian-package-transmission1.0.deb
3) test with default settings - "Unable to save resume file: No such file or directory"
Terminal
xbian@xbian:~# ls -l
total 15504
drwxrwxrwx 2 xbian xbian 4096 Feb 16 11:25 downloads
drwxrwxrwx 2 xbian xbian 4096 Feb 16 11:25 incomplete
drwxrwxrwx 2 xbian xbian 4096 Feb 16 11:25 torrents
-rw-r--r-- 1 xbian xbian 15863704 Feb 8 01:21 xbian-package-transmission1.0.deb
xbian@xbian:~#

Did you remove old transmission daemon?


RE: Download torrent & newsserver package - kraleksandr - 16th Feb, 2013 05:56 PM

(16th Feb, 2013 05:53 PM)kas_27_es Wrote:  Did you remove old transmission daemon?
Yes, at this moment installed only transmission from first post.


RE: Download torrent & newsserver package - harmenzon - 16th Feb, 2013 06:06 PM

(16th Feb, 2013 05:56 PM)kraleksandr Wrote:  
(16th Feb, 2013 05:53 PM)kas_27_es Wrote:  Did you remove old transmission daemon?
Yes, at this moment installed only transmission from first post.

Maybe better to restart with a fresh image of xbian and than follow the steps in this post? That's what I did last nyt and all installed fine. I started with deleting all partitions of the SD card, formatting, installing xbian, update, and than the steps. Should work.


RE: Download torrent & newsserver package - harmenzon - 16th Feb, 2013 08:06 PM

Slightly off topic, but I can't install Samba anymore. I tried both the xbian menu and the following command:
Code:
apt-get install xbian-package-samba
Resulting in this error:
Code:
root@xbian:/home/xbian# apt-get install xbian-package-samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libcups2 libfile-copy-recursive-perl libwbclient0 samba samba-common
  smbclient tdb-tools update-inetd
Suggested packages:
  cups-common openbsd-inetd inet-superserver smbldap-tools ldb-tools ctdb
The following NEW packages will be installed:
  libcups2 libfile-copy-recursive-perl samba smbclient tdb-tools update-inetd
  xbian-package-samba
The following packages will be upgraded:
  libwbclient0 samba-common
2 upgraded, 7 newly installed, 0 to remove and 47 not upgraded.
Need to get 8572 kB of archives.
After this operation, 58.1 MB of additional disk space will be used.
E: You don't have enough free space in /var/cache/apt/archives/.
I should have enough memory. So this is somewhat weird. Any ideas?


RE: Download torrent & newsserver package - kraleksandr - 16th Feb, 2013 08:08 PM

@harmenzon
Terminal
apt-get clean



RE: Download torrent & newsserver package - harmenzon - 16th Feb, 2013 08:30 PM

(16th Feb, 2013 08:08 PM)kraleksandr Wrote:  @harmenzon
Terminal
apt-get clean

That worked. Thanks!

I am trying to setup my external drive following the previous mentioned commands:
Code:
mkdir /media/usb/downloads
mkdir /media/usb/incomplete
cp -R /home/xbian/downloads/* /media/usb/downloads/
cp -R /home/xbian/incomplete/* /media/usb/incomplete/
rm -r /home/xbian/downloads
rm -r /home/xbian/incomplete
ln -s /media/usb/downloads /home/xbian/downloads
ln -s /media/usb/incomplete /home/xbian/incomplete
But after doing this, sickbeard, couchpotato and headphones re not opening their webgui. Any ideas?


RE: Download torrent & newsserver package - CurlyMo - 16th Feb, 2013 08:39 PM

Need error reports by starting with the long command...


RE: Download torrent & newsserver package - harmenzon - 16th Feb, 2013 08:41 PM

(16th Feb, 2013 08:39 PM)CurlyMo Wrote:  Need error reports by starting with the long command...

Code:
root@xbian:/home/xbian# start-stop-daemon -d /usr/local/share/sickbeard -c xbian  --group=xbian --start --pidfile /tmp/sickbeard.pid --exec /usr/bin/python --  SickBeard.py -q --daemon --nolaunch --pidfile=/tmp/sickbeard.pid --datadir=/usr/local/share/sickbeard  --config=/usr/local/etc/sickbeard/sickbeard.ini
/usr/bin/python already running.



RE: Download torrent & newsserver package - CurlyMo - 16th Feb, 2013 08:45 PM

Then stop sickbeard first and rerun the command.


RE: Download torrent & newsserver package - harmenzon - 16th Feb, 2013 09:07 PM

(16th Feb, 2013 08:45 PM)CurlyMo Wrote:  Then stop sickbeard first and rerun the command.

I'm giving up. I'm not getting any errors with that command.
Tried to start sickbeard again.
Get error:
Code:
root@xbian:/home/xbian# /etc/init.d/sickbeard start                                            [ ok ] Sickbeard already running (pid 4702).



RE: Download torrent & newsserver package - CurlyMo - 16th Feb, 2013 09:17 PM

Will look into it later.


RE: Download torrent & newsserver package - CurlyMo - 16th Feb, 2013 11:11 PM

I've updated all packages so purge is supported. However, purge is in case of xbian not different from remove.


RE: Download torrent & newsserver package - harmenzon - 16th Feb, 2013 11:46 PM

(16th Feb, 2013 11:11 PM)CurlyMo Wrote:  I've updated all packages so purge is supported. However, purge is in case of xbian not different from remove.

Is there a different command to use for purge? Or can I use the same commands as stated above?


RE: Download torrent & newsserver package - CurlyMo - 16th Feb, 2013 11:48 PM

Code:
man dpkg
^-- works for almost all programs.

However, no need to use them because in the xbian packages, purge and remove work the same.